ITPub博客

首页 > Linux操作系统 > Linux操作系统 > Xmanager远程桌面

Xmanager远程桌面

原创 Linux操作系统 作者:hooca 时间:2014-11-08 11:03:23 0 删除 编辑
在服务器端(RHEL6)
[root@localhost ~]# more /etc/gdm/custom.conf 
# GDM configuration storage

[daemon]
RemoteGreeter=/usr/libexec/gdmgreeter
[security]
AllowRemoteRoot=true
[xdmcp]
Enable=true
[greeter]

[chooser]

[debug]

若michael用户要远程连接,则
[michael@localhost ~]$ export DISPLAY=192.168.0.100:0.0
[michael@localhost ~]$ 
192.168.0.100是客户端IP

IPtables
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 177 -j ACCEPT

telinit 5

OEL 4.8
vi /etc/X11/gdm/gdm.conf 

找到[xdmcp]这一节,在这一节中修改
Enable=true
把下面这两行前的注释符号#删去,使之生效
#DisplaysPerHost=2
#Port=177

防火墙
-A RH-Firewall-1-INPUT -m state --state NEW -m udp -p udp --dport 177 -j ACCEPT


打开Xbrowser,输入远程IP,进入远程桌面。

来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/22621861/viewspace-1325035/ ,如需转载,请注明出处,否则将追究法律责任。

请登录后发表评论 登录
全部评论

注册时间:2009-09-29

  • 博文量
    239
  • 访问量
    490895