Home>Article>Operation and Maintenance> What should I do if xmanager cannot connect to linux?

What should I do if xmanager cannot connect to linux?

WBOY
WBOY Original
2022-07-21 14:37:00 2696browse

Solution: 1. Modify the specified content of "/etc/X11/xdm/Xaccess" and other files, and ensure that the attributes of "/etc/X11/xdm/Xservers" are 444 and "/etc/X11 /xdm/Xsetup_0" attribute is 755; 2. Use "vi /etc/X11/xdm/xdm-config" to comment out the specified content in the file; 3. Use "/etc/init.d/iptables stop" to turn off the firewall That’s it.

What should I do if xmanager cannot connect to linux?

#The operating environment of this tutorial: linux7.3 system, Dell G3 computer.

What should I do if xmanager cannot connect to linux

Solution:

Step1:

Edit /etc/X11/xdm/Xaccess and change the following line:

  #* # any host can get a login window

to:

  * # any host can get a login window

Modify /etc/X11/gdm/gdm.conf and find the following information:

  [xdmcp]   Enable=0 或Enable=false

Modify to:

  [xdmcp]   Enable=1 或Enable=true

And make sure the following information exists:

  Port=177

Modify /etc/inittab and modify

  id:3:initdefault:

to:

  id:5:initdefault:

Make sure the attributes of /etc/X11/xdm/Xservers are 444 and the attributes of /etc/X11/xdm/Xsetup_0 are 755

Step2:

  #vi /etc/X11/xdm/xdm-config

On the last line: DisplayManager.requestPort: 0 in front of ! No. Comment out this line.

  #vi /etc/X11/xdm/Xservers

In the last line: :0 local /usr/X11R6/bin/X Add a # sign in front to comment out this line.

Finally run #xdm. Then you can use xmanager and other tools to connect to Linux!

If you want to start xdm automatically every time you start it, please add it to the end of the /etc/rc.d/rc.local file. /etc/X11R6/bin/xdm (execute the xdm script, the path may be inconsistent, just use which xdm to find)

Step3:

Turn off the firewall

  /etc/init.d/iptables stop

xmanager tutorial on connecting to linux desktop

You can use vnc and xmanager to visualize the desktop, but vnc does not support Chinese. After reading online blogs, I solved it myself. Summarized an article

The steps for xmanager to connect to the Linux desktop are as follows:

Run the software, click File, New, and Xstart Session in sequence, and a dialog box will pop up.

What should I do if xmanager cannot connect to linux?

Enter the host IP in the session properties, the username and password required to log in to the server. Then enter /usr/bin/gnome-session in the text box below the execution command, and click OK.

What should I do if xmanager cannot connect to linux?

Click OK, and then double-click the newly created conversation in session management.

What should I do if xmanager cannot connect to linux?

#After waiting for the server connection and verification to be successful, you can connect to the Linux system interface.

What should I do if xmanager cannot connect to linux?

Recommended learning:Linux video tutorial

The above is the detailed content of What should I do if xmanager cannot connect to linux?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn