9. Linux远程登录

时间:2023-03-09 09:29:57
9. Linux远程登录

1. 检查网络是否通畅

C:\Users\cfm>ping 192.168.232.131

正在 Ping 192.168.232.131 具有 32 字节的数据:
来自 192.168.232.131 的回复: 字节=32 时间<1ms TTL=64
来自 192.168.232.131 的回复: 字节=32 时间<1ms TTL=64
来自 192.168.232.131 的回复: 字节=32 时间<1ms TTL=64

192.168.232.131 的 Ping 统计信息:
数据包: 已发送 = 3,已接收 = 3,丢失 = 0 (0% 丢失),
往返行程的估计时间(以毫秒为单位):

2. 关闭防火墙

[root@cfm880 ~]# /etc/init.d/iptables stop

iptables:清除防火墙规则: [确定]
iptables:将链设置为政策 ACCEPT:nat mangle filter [确定]
iptables:正在卸载模块: [确定]

3. 终端登录

使用xshell登录

9. Linux远程登录

4. 图形登录

使用vnc登录

安装tigervnc

关闭防火墙

[root@cfm880 ~]# vncserver

You will require a password to access your desktops.

Password:
Verify:

New 'cfm880.com:1 (root)' desktop is cfm880.com:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/cfm880.com:1.log