2. Linux operating system operations-Xmanager remote access to the Linux graphical interface

Source: Internet
Author: User

2. Linux operating system operations-Xmanager remote access to the Linux graphical interface

Red Hat remote access to Linux with Xmanager Configuration:

1. modify the content of the configuration file in the bold text.

/Etc/TPD/custom. conf

[Daemon]

[Security]

AllowRemoteRoot = true

[Xdmcp]

Port = 177

Enable = true

[Gui]

[Greeter]

[Chooser]

[Debug]

2. Modify the startup sequence and start X.

/Etc/inittab

Id: 5: initdefault:

3. Disable the firewall or open the port in the firewall. (UDP 177 TCP6000 to 6010)

4. Restart sudo reboot.


Configure Xmanager to remotely access Linux in SUSE:

# Vi/etc/X11/xdm-config

Add "DisplayManager. requestPort: 0" to the last row! Comment out this line.

# Vi/etc/X11/xdm/Xservers

Comment out this line with # In front of the last line: 0 local/usr/X11R6/bin/X.

# Vi/etc/X11/xdm/Xaccess

Find # * # any host can get a login window

Remove the # sign before this line and change it:

* # Any host can get a login window

Run # xdm. In this way, you can use tools such as xmanager.

If you want to automatically start xdm at each startup, add/etc/X11R6/bin/xdm to the end of the/etc/rc. d/rc. local file.

Note: Disable the firewall.

Q &:

1. SUSE graphical Installation

Zypper install "* kde *" to install the KDE environment.

2. Remote logon is prohibited from SUSE root.

Edit the "/etc/sysconfig/displaymanager" file and change "DISPLAYMANAGER_REMOTE_ACCESS =" no "" to "DISPLAYMANAGER_REMOTE_ACCESS =" yes ""

Change "DISPLAYMANAGER_ROOT_LOGIN_REMOTE =" no "to" DISPLAYMANAGER_ROOT_LOGIN_REMOTE = "yes ""

3. yum lock

When you use yum to upgrade some files, the following situations may occur:

Another app iscurrently holding the yum lock; waiting for it to exit...

You can disable the yum process by force:

# Rm-f/var/run/yum. pid

Then you can use yum.


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.