Xmanager configuration to connect to Linux Server

Source: Internet
Author: User

 

Step 1: Create a Telnet connection Xstart Session to connect to the Linux Server

After Xmanager3 is installed, open Xbrowser to create an Xstart Session.

File-> New Session Wizzard create XstartSession

Next: Enter the Host IP address, select the connection protocol, and select SSH

Next: Enter the user name/Password

Next: select the command to be executed, xterm (Linux)

Next:

Next:

Finished

Step 2: Telnet to the server and set the Xmanager Server

 

Use Xstart Session to connect to the Linux server.

Step 1: in Linux, modify the/etc/X11/xdm/Xaccess file and find the following statement:

# * # Any host can get a login window

 

Remove the # At the beginning and become

* # Any host can get a login window

 

Step 2: Modify the/etc/X11/TPD. conf file and find the following statement:

[Xdmcp]

Enable = false

Change Enable = false to Enable = true or Enable = 1.

At the same time, make sure that the following statement exists, because port 177 is the listening port of the xdmcp service we want to configure. We will see the xmanager later.

Port = 177

 

Step 3: Modify the/etc/inittab file and run the following statement:

Id: 3: initdefault

If it is id: 5: initdefault, you do not need to change it.

At the same time, find the place where the text is located,

X: 5: respawn:/etc/X11/preofdm-nodaemon

Change it to x: 5: respawn:/usr/bin/TPD

 

Step 4: Modify the last line of/etc/X11/xdm-config and add one before displayManager. requestPort: 0! The result is as follows:

! DisplayManager. requestPort: 0

 

Step 5: Make sure that the attribute of/etc/X11/xdm/Xservers is 444 and that of/etc/X11/xdm/Xsetup_0 is 755.

Finally, if our Linux machine is configured with a firewall, we must add the following rules to prevent the firewall from worrying over the data on port 177 (xdmcp service:

Iptables-a input-p udp-s 0/0-d 0/0 -- dport 177-j ACCEPT

 

After the configuration is complete, restart the Linux system reboot.

 

Step 3: Create a graphical interface to connect to the XDMCP Session

File-> New Session Wizzard create XDMCPSession

Next: Method: Secure XDMCP; enter the host IP address; port 177

Next:

Finish

 

Open the created XDMCP Session and enter the user name and password. The graphic interface is displayed.

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.