Recently, I have been tossing over linux. CentOS and RedHat have been installed again, and redhat has been installed at the end. I have been familiar with linux many times before, but I don't know much about it. (this time, although it is also a fake, but I know something about it and I am selling it now.) I 've been tossing linux for myself from scratch, it is indeed a tough task for linux. There are many differences between linux and windows. We have the opportunity to continue with the introduction. This time we will talk about the experience of using Xmanager to remotely connect to Redhat. Xmanager is not much said,
Recently, I have been tossing over linux. CentOS and RedHat have been installed again, and redhat has been installed at the end.
I have been familiar with linux many times before, but I don't know much about it. (this time, although it is also a fake, but I know something about it and I am selling it now.) I 've been tossing linux for myself from scratch, it is indeed a tough task for linux. There are many differences between linux and windows. We have the opportunity to continue with the introduction. This time we will talk about the experience of using Xmanager to remotely connect to Redhat.
Xmanager is a very good management tool. However, to allow Xmanager to remotely connect to redhat, in fact, remote connection is mainly intended to be the same as windows Remote Desktop. The graphic interface is convenient!
However, this time Xmanager configuration is quite painful. redhat is configured according to various information on the Internet, and reboot is not stopped. However, xmanager cannot be connected.
The modified files include:
/Usr/share/TPD/defaults. conf:
Enable = true
DisplaysPerHost = 10
Port = 177
There is also the/etc/inittab file, mainly because the default level is 5. This file seems to have been set to 5 by default during installation. Id: 5: initdefault:
Then the "x: 5: respawn:/etc/X11/preofdm-nodaemon" in the last line is adjusted:
X: 5: respawn:/usr/sbin/TPD
Of course, you have to change it!
Still/usr/share/TPD/defaults. conf. In [security], adjust the following values:
AllowRoot = true
AllowRemoteRoot = true
AllowRemoteAutoLogin = true
If the firewall is enabled, open port 177. I have disabled the firewall temporarily.
Reboot! Reboot is always important!
If the connection still fails after the above adjustment, I am in this situation and cannot connect !!!!
I found several other articles casually, maybe related to the hosts file!
Open the/etc/hosts file and check it. It's blank !!!
When 127.0.0.1 localhost and reboot are added, I always like reboot, which is clean! Relatively thorough!
After configuring the corresponding parameters in Xstart, You must select "GNOME" in Commond so that the Xbrowser will open the redhat desktop for a long time!