Total of 1197 characters, estimated to take 3 minutes to read.
X Window, or X Windows Graphical User Interface, is a computer software system and network protocol that provides a basic graphical user interface (GUI) and rich input device capabilities for networked computers. Software is written using a generalized command set, which creates a hardware abstraction layer that allows device independence and reuse of solutions on any computer. This article explains how to install X Window in a minimally installed RedHat (for learning purposes only, not in a production environment)
#ssh logs in as XWindow support
[root@larrywen software]# ssh 192.168.0.29 -X
The authenticity of host '192.168.0.29 (192.168.0.29)' can't be established.
RSA key fingerprint is 38:a0:60:c2:e8:71:26:e5:b3:83:75:a8:e6:25:d8:5e.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added '192.168.0.29' (RSA) to the list of known hosts.
root@192.168.0.29's password:
Last login: Sat Jul 27 13:46:29 2013 from 192.168.0.10
# creates a file locally, edits and saves a file to the remote, and you can see that the newly created file exists remotely
[root@linuxidc ~]# gedit
[root@linuxidc ~]#
# logs in as XWindow. The XWindow service is not installed remotely. You can see the files edited and saved by the local computer.
[root@larrywen Desktop]# ssh 192.168.1.11 -X
root@192.168.1.11's password:
Last login: Sat Jul 27 19:26:38 2013 from 192.168.1.1
/usr/bin/xauth: creating new authority file /root/.Xauthority
[root@serv01 ~]# gedit
[root@serv01 ~]# ls Unsaved\ Document\ 1
Unsaved Document 1
# installs X Window, it is recommended to restart after installation
[root@serv01 ~]# yum groupinstall “X Window System” “Desktop” -y
# Uninstall X Window
[root@serv01 ~]# yum groupremove “X Window System” “Desktop” -y
# can choose to install Gnome or KDE
#RHEL5 6, Desktop default is Gnome
#RHEL4, Desktop default is KDE
To start the graphical interface in # virtual machine, you need to adjust the memory, preferably 800M
1. Start the graphical interface in the TP5T character interface
[root@serv01 ~]# startx
# returns to the character interface in the graphical interface
Ctrl+Alt+Back
Discover more from Li yingjie Pests
Subscribe to get the latest posts sent to your email.