关于在windows端用Xmanager控制linux步骤
时间:2006-03-20 来源:yekf
1、在Linux系统下,修改/etc/X11/xdm/Xaccess,将语句:# * #any host can get a login window前的#去掉;
2、修改/etc/X11/gdm/gdm.conf,将
# Distributions: Ship with this off. It is never a safe thing to leave
# out on the net. Alternatively you can set up /etc/hosts.allow and
# /etc/hosts.deny to only allow say local access.
Enable=false改为Enable=true 同时注意:# The port. 177 is the standard port so better keep it that way
Port=177 3、修改/etc/inittab,将 id:3:initdefault: 改为 id:5:initdefault: //如果已经是就不需要改。 将最后一行的 x:5:respawn:/etc/X11/prefdm -nodaemon 改为 x:5:respawn:/usr/bin/gdm 4、修改/etc/X11/xdm/xdm-config的最后一行 DisplayManager.requestPort: 0 加上!,变为 !DisplayManager.requestPort: 0 5、ls -l查看 /etc/X11/xdm/Xservers的属性为444 /etc/X11/xdm/Xsetup_0的属性为755 6、重启xfs服务:/etc/init.d/xfs restart 7、启动xdm:xdm 8、在windows端的xmanager中用xbrowser开启新任务,在属性connection method中选择XDM Query,在host中输入linux的IP,差不多了,试试吧。不过防火墙如果设置在高级可能不行哦。
# out on the net. Alternatively you can set up /etc/hosts.allow and
# /etc/hosts.deny to only allow say local access.
Enable=false改为Enable=true 同时注意:# The port. 177 is the standard port so better keep it that way
Port=177 3、修改/etc/inittab,将 id:3:initdefault: 改为 id:5:initdefault: //如果已经是就不需要改。 将最后一行的 x:5:respawn:/etc/X11/prefdm -nodaemon 改为 x:5:respawn:/usr/bin/gdm 4、修改/etc/X11/xdm/xdm-config的最后一行 DisplayManager.requestPort: 0 加上!,变为 !DisplayManager.requestPort: 0 5、ls -l查看 /etc/X11/xdm/Xservers的属性为444 /etc/X11/xdm/Xsetup_0的属性为755 6、重启xfs服务:/etc/init.d/xfs restart 7、启动xdm:xdm 8、在windows端的xmanager中用xbrowser开启新任务,在属性connection method中选择XDM Query,在host中输入linux的IP,差不多了,试试吧。不过防火墙如果设置在高级可能不行哦。
相关阅读 更多 +