最近有用户让我给配置xmanager,连接linux,有学生也问道这个问题,配置的数目多了就烦了,这么多版本,每个版本的配置方法还不一样,哎。算了,干脆开始查找xmanager的帮助文件,未果。回到本真的想法,干脆上xmanager官网找文档,运气不错,找到了,看来还是原厂的好,最全面。收藏备用。
所有操作系统连接xmanager的配置方法都可以在这里找到:
http://www.netsarang.com/faq/xmanager/list
[@more@]
For XDMCP connection to Red Hat 7, Red Hat 8, Red Hat 9, Red Hat 3.0 AS |
1. XDM Configuration |
1. Change runlevel to 5
Open
/etc/inittab and set the initial runlevel to 5 as following:
id:5:initdefault:
| 2. Enable XDMCP | | For GDM: | |
Open
/etc/X11/gdm/gdm.conf and set the Enable entry to 1 in the [xdmcp] section as following.
[xdmcp] Enable=1
| | For KDM: | |
Open
/etc/X11/xdm/xdm-config comment out the "requestPort" option as following:
DisplayManager.requestPort: 0 ==>
!DisplayManager.requestPort: 0
Open
/etc/X11/xdm/Xaccess and remove the initial "#" character for the following line:
#* #any host can get a login window ==>
* #any host can get a login window
Open
/etc/kde/kdm/kdmrc and set the Enable entry to
true in the [xdmcp] section as following.
[xdmcp] Enable=true
|
| 2. Firewall (TCP/UDP Ports) Configuration | Open UDP port 177 from the PC to the remote host direction. Open incoming TCP ports 6000~6010 from the remote host to your PC. | 3. Reboot the remote host and start Xmanager | # init 3; init 5 |
|
For XDMCP connection to Red Hat 5 EL |
1. XDM Configuration |
1. Change runlevel to 5
Open
/etc/inittab and set the initial runlevel to 5 as following:
id:5:initdefault:
| 2. Enable XDMCP | | For GDM: | |
Open
/etc/gdm/custom.conf and set the Enable entry to 1 in the [xdmcp] section as following.
[xdmcp] Enable=1
| | For KDM: | |
Open
/usr/share/config/kdm/Xaccess and remove the initial "#" character for the following line:
#* #any host can get a login window ==>
* #any host can get a login window
Open
/usr/share/config/kdm/kdmrc and set the Enable entry to
true in the [xdmcp] section as following.
[xdmcp] Enable=true
|
| 2. Firewall (TCP/UDP Ports) Configuration | Open UDP port 177 from the PC to the remote host direction. Open incoming TCP ports 6000~6010 from the remote host to your PC. | 3. Reboot the remote host and start Xmanager | # init 3; init 5 |
|
For XDMCP connection to Red Hat 4 EL |
1. XDM Configuration |
1. Change runlevel to 5
Open
/etc/inittab and set the initial runlevel to 5 as following:
id:5:initdefault:
| 2. Enable XDMCP | | For GDM: | |
Open
/etc/X11/gdm/gdm.conf set the Enable entry to true in the [xdmcp] section as following.
[xdmcp] Enable=true
| | For KDM: | |
Open
/usr/share/config/kdm/Xaccess and remove the initial "#" character for the following line:
#* #any host can get a login window ==>
* #any host can get a login window
Open
/usr/share/config/kdm/kdmrc and set the Enable entry to
true in the [xdmcp] section as following.
[xdmcp] Enable=true
|
| 2. Firewall (TCP/UDP Ports) Configuration | Open UDP port 177 from the PC to the remote host direction. Open incoming TCP ports 6000~6010 from the remote host to your PC. | 3. Reboot the remote host and start Xmanager | # init 3; init 5 |
|
For XDMCP connection to Suse 8, Suse 9, Suse 10 |
1. XDM Configuration |
1. Change runlevel to 5
Open
/etc/inittab and set the initial runlevel to 5 as following:
id:5:initdefault:
| 2. Enable XDMCP | | For GDM: | |
Open
/etc/X11/gdm/gdm.conf and set the Enable entry to 1 in the [xdmcp] section as following.
[xdmcp] Enable=1
| |
Open
/etc/X11/gdm/gdm.conf and set the DisallowTCP entry to false in the [security] section as following.
[security] DisallowTCP=false
| | For KDM: | |
Open
/etc/X11/xdm/xdm-config comment out the "requestPort" option as following:
DisplayManager.requestPort: 0 ==>
!DisplayManager.requestPort: 0
Open
/etc/X11/xdm/Xaccess and remove the initial "#" character for the following line:
#* #any host can get a login window ==>
* #any host can get a login window
Open
/etc/opt/kde3/share/config/kdm/kdmrc and set the Enable entry to
true in the [xdmcp] section as following.
[xdmcp] Enable=true
|
| 2. Firewall (TCP/UDP Ports) Configuration | Open UDP port 177 from the PC to the remote host direction. Open incoming TCP ports 6000~6010 from the remote host to your PC. | 3. Reboot the remote host and start Xmanager | # init 3; init 5 |
For XDMCP connection to Suse 11 1.修改/etc/sysconfig/displaymanager
DISPLAYMANAGER_REMOTE_ACCESS="yes" DISPLAYMANAGER_ROOT_LOGIN_REMOTE="yes" DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN="yes"
2.相应的配置文件/etc/gdm/custom.conf也会更改成如下样子 # GDM configuration storage
[xdmcp] # SuSEconfig: displaymanager:DISPLAYMANAGER_REMOTE_ACCESS Enable=true Port=177
[chooser]
[security] # SuSEconfig: displaymanager:~DISPLAYMANAGER_XSERVER_TCP_PORT_6000_OPEN DisallowTCP=false # SuSEconfig: displaymanager:DISPLAYMANAGER_ROOT_LOGIN_REMOTE AllowRemoteRoot=true
[debug]
3.然后,更改/etc/X11/xdm/xdm-config,注销掉这一行(在起点加以个!) ! DisplayManager.requestPort: 0
4.重启xdm # /etc/init.d/xdm restart
然后可以在windows下安装XManager之类的软件来远程控制suse了 |
来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/26006637/viewspace-1059684/,如需转载,请注明出处,否则将追究法律责任。
转载于:http://blog.itpub.net/26006637/viewspace-1059684/