|
发表于 2003-12-26 12:42:00
|
显示全部楼层
如何通过Xmanager远程控制linux8.0?
1. 修改/etc/inittab,改变runlevel为5,例如
[root@QRedHat etc]# cat /etc/inittab
......
id:5:initdefault:
......
2. 修改GDM的配置文件,/etc/X11/gdm/gdm.conf,将[xdmcp]中的enable选项设置为1,例如
[root@QRedHat etc]# cat /etc/X11/gdm/gdm.conf
......
[xdmcp]
Enable=1
3. 修改/etc/X11/xdm/xdm-config文件,将DisplayManager.requestPort: 0注释掉,例如
[root@QRedHat etc]# cat /etc/X11/xdm/xdm-config
......
! SECURITY: do not listen for XDMCP or Chooser requests
! Comment out this line if you want to manage X terminals with xdm
! DisplayManager.requestPort: 0
4. 修改/etc/X11/xdm/Xaccess文件,例如,
[root@QRedHat etc]# cat /etc/X11/xdm/Xaccess
......
* #any host can get a login window
......
* CHOOSER BROADCAST #any indirect host can get a chooser
5. 关闭防火墙
6. 重新启动RedHat Linux |
|