This article can be reproduced at will, but the source and translator's name must be retained
Translator: rainfish
Source: http://blog.csdn.net/bat603/archive/2006/08/31/1146310.aspx
Environment: redhat9
Xmanager latest: http://download.netsarang.com/files/xme21.exe
Xmanager introduction:
Xmanager is an easy-to-use high-performance X server software running on Windows platforms. It can seamlessly bring remote Unix/Linux desktops to your windows, even after your computer is on the Intranet or firewall, you can also securely run remote X applications through the SSH protocol. Features include:
-You can use xcongfig to set multiple xmanager settings;
-Supports multi-user Windows terminal environments.-supports multiple IP addresses;
-Supports local resource databases;
-Use a hotkey to convert the keyboard ing;
-Supports Windows Printing in multiple windows.
After installation, you need to set the following content on the Linux machine:
Step 1. Change runlevel to enable TPD or KDM.
- Open the/etc/inittab file with the editor VI and gedit.
- Change the running mode to 5. Of course, if your sub-database enters X-window by default, you do not need to set
ID: 5: initdefault:
Step 2. Set the name of the target machine (If your machine runs gnome). Note: This is the default installation method for rh9, So if you use
Gnome, no operation is required in step 3.
- Open/etc/X11/mcm/TPD. conf file. (/etc/mcm/custom. conf for Fedora Core 5)
- Find [XDMCP] se
- Change the value of enable to true or 1.
Step 3. Set KDM (when your machine uses KDE.
- Open the file/etc/X11/xdm-config.
- Set displaymanager. requestport: 0
Changed! Displaymanager. requestport: 0
- Open/etc/X11/xdm/xaccess.
- Delete the # number in front of the row below:
# * # Any host can get a login window
==>
* # Any host can get a login window
- Open the file/etc/X11/xdm/kdmrc,
/Usr/share/config/KDM/kdmrc or
/Etc/opt/kde2/share/config/KDM/kdmrc.
- Change the value of "enable" to "true ".
Step 4. Set a firewall (if you set a firewall)
If our Linux machine is configured with a firewall, we need to make the firewall worry over the data through port 177 (XDMCP service,
Add the following rules:
Iptables-A input-p udp-s 0/0-D 0/0 -- dport 177-J accept
Find the/etc/sysconfig/iptables file. If the above line is used
Step 5. Start the computer.
The test was just completed. Because I used gnome, I did not test KDE. The above Article translated from the xmanager official website and made some modifications, that is, the firewall settings.
Reference: http://www.netsarang.com/products/xmg_faq.html#p2
This article can be reproduced at will, but the source and translator's name must be retained
Translator: rainfish
Source:
Environment: redhat9
Xmanager latest: http://download.netsarang.com/files/xme21.exe
Xmanager introduction:
Xmanager is an easy-to-use high-performance X server software running on Windows platforms. It can seamlessly bring remote Unix/Linux desktops to your windows, even after your computer is on the Intranet or firewall, you can also securely run remote X applications through the SSH protocol. Features include:
-You can use xcongfig to set multiple xmanager settings;
-Supports multi-user Windows terminal environments.-supports multiple IP addresses;
-Supports local resource databases;
-Use a hotkey to convert the keyboard ing;
-Supports Windows Printing in multiple windows.
After installation, you need to set the following content on the Linux machine:
Step 1. Change runlevel to enable TPD or KDM.
- Open the/etc/inittab file with the editor VI and gedit.
- Change the running mode to 5. Of course, if your sub-database enters X-window by default, you do not need to set
ID: 5: initdefault:
Step 2. Set the name of the target machine (If your machine runs gnome). Note: This is the default installation method for rh9, So if you use
Gnome, no operation is required in step 3.
- Open/etc/X11/mcm/TPD. conf file. (/etc/mcm/custom. conf for Fedora Core 5)
- Find [XDMCP] se
- Change the value of enable to true or 1.
Step 3. Set KDM (when your machine uses KDE.
- Open the file/etc/X11/xdm-config.
- Set displaymanager. requestport: 0
Changed! Displaymanager. requestport: 0
- Open/etc/X11/xdm/xaccess.
- Delete the # number in front of the row below:
# * # Any host can get a login window
==>
* # Any host can get a login window
- Open the file/etc/X11/xdm/kdmrc,
/Usr/share/config/KDM/kdmrc or
/Etc/opt/kde2/share/config/KDM/kdmrc.
- Change the value of "enable" to "true ".
Step 4. Set a firewall (if you set a firewall)
If our Linux machine is configured with a firewall, we need to make the firewall worry over the data through port 177 (XDMCP service,
Add the following rules:
Iptables-A input-p udp-s 0/0-D 0/0 -- dport 177-J accept
Find the/etc/sysconfig/iptables file. If the above line is used
Step 5. Start the computer.
The test was just completed. Because I used gnome, I did not test KDE. The above Article translated from the xmanager official website and made some modifications, that is, the firewall settings, according to the methods they provided, the operation fails.
Original article:
Step 4. firewall configuration (if the firewall has been configured)
- Open/etc/sysconfig/ipchains file.
- Add the following lines at the top of the file:
-A input-p udp-s 0/0-D 0/0 177-J accept
-A input-P TCP/IP 0/0-D 0/0 telnet-J accept
-A input-p tcp-s 0/0-D 0/0 ssh-J accept
-A input-P TCP/IP 0/0-D 0/0 login-J accept
-A input-P TCP/IP 0/0-D 0/0 Exec-J accept
-A input-P TCP/IP 0/0-D 0/0 shell-J accept
-A input-p tcp-s 0/0-D 0/0 7100-J accept
Reference: http://www.netsarang.com/products/xmg_faq.html#p2