Article Title: use Linux to enable remote xWindows. Linux is a technology channel of the IT lab in China. Includes desktop applications, Linux system management, kernel research, embedded systems, open source, and other basic classification methods 1:
Go to the/etc/X11/xdm directory and edit the xdm-conf and Xaccess files.
Edit the xdm-conf file and find the DisplayManager. requestPort: 0 line (note the last line! Comment out this line.
Edit the Xaccess file, find # any host can get a login window, and enter the network segment of the terminal host in the blank line below, for example, 192.168.1.0 (enter the network segment according to the actual situation)
Method 2:
Go to the/etc/X11/MCM directory, edit the directory of the [xdmcp] section
Enable = false: change one line to Enable = true
Restart the system
After the system is restarted, run xhost + or xhost + "terminal host ip address" as the root user to write xhost + to the/etc/rc. d/rc. local file.
Run the following command: X? Query localhost: 2 test whether the X graphical interface can be started locally.
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