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.