RHEL6 Linux manual installation of graphical desktop management (Xorg + Gnome)
The graphic management interface is not installed when RHEL6 Linux is minimized or customized. After installation, you can install the interface manually.
If the graphical desktop management program is not installed, the following error is reported when you run startx.
Www.2cto.com [root @ rhel-a ~] # Startx
Hostname: host name search failed
Xauth: creating new authority file/root /. serverauth.2‑xinit: No such file or directory (errno 2): no server "/usr/bin/X" in PATHUse the -- option, or make sure that/usr/bin is in your path and
That "/usr/bin/X" is a program or a link to the right type of server
For your display. Possible server names include: Xorg Common X server for most displays
Xvfb Virtual frame buffer
Xfake kdrive-based virtual frame buffer
Xnest X server nested in a window on another X server
Xephyr kdrive-based nested X servergiving up.
Xinit: No such file or directory (errno 2): unable to connect to X server
Xinit: No such process (errno 3): Server error.
[Root @ rhel-a ~] # Use yum grouplist to view installed programs and programs that can be installed [root @ rhel-a ~] # Yum grouplist
Loaded plugins: rhnplugin
This system is not registered with RHN.
RHN support will be disabled.
Setting up Group Process
Base | 3.7 kB...
Base/group_gz | 190 kB...
Installed Groups:
Java platform
NFS File Server
Perl support
Chinese support
Armenia support
Support for Inuit
Graphic management tools
Basic
Tajik support
Large System Performance
Font
Hebrew support
Performance Tools
Console Internet tools
Server Platform
Grogea support
Email server
Directory Client
Hardware monitoring tools
Scientific note support
Inherit UNIX compatibility
Inherit the compatibility of X Windows
Network File System Client
Support for slang
Networking tools
Debugging tools
Input Method
Universal Desktop
Arabic support
Additional development
Available Groups:
CIFS File Server
Eclipse
Emacs
FCoE storage Client
FTP Server
Infiniband support
KDE Desktop
MySQL database Client
MySQL Database Server
PHP support
PostgreSQL database Client
PostgreSQL database server
SNMP support
Swati support
TeX support
TurboGear Application Framework
Web server program Engine
X Window System
ISCSI storage Client
World Wide Web Server
Support for ssobu
Supported by the tedan Language
World Language Support
Danish support
Master framework access
Ukrainian support
Uzbekistan support
Urdu support
Internet browser
Support for low-land sasters'
Freiuri support
Russian support
Supported by Bulgaria
Supported in German
Support for kshmils
Support for slang
Compatible Library
Ice island support
Galicion support
Supported Galon Language
Hungarian support
Hualong Language Support
Ndebele support
South Korean Language Support
Supported by naflans
Kashibi support
Rwanda Support
Luxembourg support
Hindi support
Hindi support
Syrian Language Support
Late support
Late support
Siwahili support
Kazakh support
International language support
Graphic Generation tools
Support for slang
Turkish support
Canonicone support
Support for ancient Egyptian languages
Ethiopian Language Support
Webpage-based enterprise-level management
Tagaluo support
Support for slang
Backup client
Backup Server
Supported by FRIS
Chicawa support
Support for oxissian
Support for slang
Storage availability tools
Bengale support
Security Tools
Zongjiayu support
Alicloud support
Busklanguage support
Brazilian Portuguese support
Support for Boolean
Support for Boolean
Support for hilagnon
Greek support
German Library support
Kanggan Language Support
Development Tools
German support
Support for Deton Language
Supported by chategar
Italian support
Print Client
Print Server
Latin support
Support for slang
Dial-Up Network Support
Norwegian Support
Czech support
Wenda Language Support
Fiji support
Slovak support
Language Support
New Hala support
Punjabi support
Japanese
Smart Card support
Man island support
Server platform development
Desktop
Desktop Platform
Desktop platform development
Desktop debugging and running tools
Sanskrit support
Bihar support
Mao LiYu support
Faro support
French support
Polish support
Persian support
Telugu support
Support for tyavenia
Alililoan support
Thai support
Message Server Support
Irish support
Language Support
Swedish support
Support for slang
Galin support
Directory Server
SMS Client Support
Support for Zulu
Technology writing
Kossa support
Lithuania support
System Management
System Management Tools
Somalia Support
Burmese support
Network Infrastructure Server
Network Storage Server
Romanian support
Finnish Support
English support
Dutch support
Filipino support
Supported sadiania
Portuguese support
Mongolian support
Tibetan support
Virtualization
Virtual Client
Virtualization tools
Virtualization platform
Spanish support
Vietnamese support
Remote Desktop client
Support for slang
Language Support
Support for AMAM
Support for amasgs
Korean
Support for slang
Support of martalon
Malay support
Malay support
Madagascar support
Khmer language support
Done
[Root @ rhel-a ~] # X Window System (x org) is the basis for graph Desktop Management. Whether using gnome or kde Desktop, you must install [root @ rhel-a ~] # Yum groupinstall "X Window System"
Install 102 Package (s)
Upgrade 0 Package (s) Total download size: 38 M
Installed size: 114 M
Is this OK [y/N]: rhel6 uses gnome Desktop by default [root @ rhel-a ~] # Yum groupinstall "desktop"
Install 133 Package (s)
Upgrade 0 Package (s) Total download size: 63 M
Installed size: 230 M
Is this OK [y/N]: after the two are installed, run init 5 to enter the desktop initialization interface [root @ rhel-a ~] # Init 5 initialize the desktop as prompted
After initialization, you can run the startx or init 5 command to access the desktop program.
You can also modify the/etc/inittab file to change the default Interface for system startup. [Root @ rhel-a ~] # Vi/etc/inittab #
# Default runlevel. The runlevels used are:
#0-halt (Do NOT set initdefault to this)
#1-Single user mode
#2-Multiuser, without NFS (The same as 3, if you do not have networking)
#3-Full multiuser mode
#4-unused
#5-X11
#6-reboot (Do NOT set initdefault to this)
#
Id: 3: initdefault: 5 is the graphical desktop environment.