Remote Linux running through xmanager in Windows

Source: Internet
Author: User

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.

  1. Open the/etc/inittab file with the editor VI and gedit.
  2. 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.

  1. Open/etc/X11/mcm/TPD. conf file. (/etc/mcm/custom. conf for Fedora Core 5)
  2. Find [XDMCP] se
  3. Change the value of enable to true or 1.

Step 3. Set KDM (when your machine uses KDE.

  1. Open the file/etc/X11/xdm-config.
  2. Set displaymanager. requestport: 0
    Changed! Displaymanager. requestport: 0
  3. Open/etc/X11/xdm/xaccess.
  4. Delete the # number in front of the row below:
    # * # Any host can get a login window
    ==>
    * # Any host can get a login window
  5. Open the file/etc/X11/xdm/kdmrc,
    /Usr/share/config/KDM/kdmrc or
    /Etc/opt/kde2/share/config/KDM/kdmrc.
  6. 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.

  1. Open the/etc/inittab file with the editor VI and gedit.
  2. 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.

  1. Open/etc/X11/mcm/TPD. conf file. (/etc/mcm/custom. conf for Fedora Core 5)
  2. Find [XDMCP] se
  3. Change the value of enable to true or 1.

Step 3. Set KDM (when your machine uses KDE.

  1. Open the file/etc/X11/xdm-config.
  2. Set displaymanager. requestport: 0
    Changed! Displaymanager. requestport: 0
  3. Open/etc/X11/xdm/xaccess.
  4. Delete the # number in front of the row below:
    # * # Any host can get a login window
    ==>
    * # Any host can get a login window
  5. Open the file/etc/X11/xdm/kdmrc,
    /Usr/share/config/KDM/kdmrc or
    /Etc/opt/kde2/share/config/KDM/kdmrc.
  6. 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)

  1. Open/etc/sysconfig/ipchains file.
  2. 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.