环境介绍
服务器端:Centos 6.4
客户端:Windows 7
服务器端配置
将系统默认启动模式设置为图形模式,配置文件/etc/inittab文件内容调整如下:
# Default runlevel. The runlevels used are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3, if you do not have networking) # 3 - Full multiuser mode # 4 - unused # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) # id:5:initdefault:
gdm配置,配置文件/etc/pdm/custom.conf
# GDM configuration storage [daemon] [security] AllowRemoteRoot=true [xdmcp] Enable=1 [greeter] [chooser] [debug]
iptables配置:
# Firewall configuration written by system-config-firewall # Manual customization of this file is not recommended. *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -m state --state ESTABLISHED,RELATED -j ACCEPT -A INPUT -p icmp -j ACCEPT -A INPUT -i lo -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 22 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 177 -j ACCEPT -A INPUT -m state --state NEW -m udp -p udp --dport 177 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 80 -j ACCEPT -A INPUT -m state --state NEW -m tcp -p tcp --dport 3306 -j ACCEPT -A INPUT -j REJECT --reject-with icmp-host-prohibited -A FORWARD -j REJECT --reject-with icmp-host-prohibited COMMIT
客户端配置
Windows防火墙允许Xmanger访问网络
Xmanger远程登录Linux服务器
原创文章标签 Xmanger 远程登录linux 文章分类 服务器
©著作权归作者所有:来自51CTO博客作者baresnail的原创作品,请联系作者获取转载授权,否则将追究法律责任
上一篇:正则表达式30分钟入门教程
下一篇:我的友情链接
提问和评论都可以,用心的回复会被更多人看到
评论
发布评论
相关文章