[root@TeguhLab ~]# yum grouplist
Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
* base: sumberterbuka.beritagar.id
* extras: sumberterbuka.beritagar.id
* updates: sumberterbuka.beritagar.id
Available environment groups:
Minimal Install
Compute Node
Infrastructure Server
File and Print Server
Basic Web Server
Virtualization Host
Server with GUI
GNOME Desktop
KDE Plasma Workspaces
Development and Creative Workstation
Available Groups:
Compatibility Libraries
Console Internet Tools
Development Tools
Graphical Administration Tools
Legacy UNIX Compatibility
Scientific Support
Security Tools
Smart Card Support
System Administration Tools
System Management
Done
[root@TeguhLab ~]# cat /etc/redhat-release
CentOS Linux release 7.1.1503 (Core)
[root@TeguhLab ~]#
[root@TeguhLab ~]# startx
-bash: startx: command not found
[root@TeguhLab ~]#
2. List Packages in a Group
# yum groupinfo "GNOME Desktop"
[root@TeguhLab ~]# yum groupinfo "GNOME Desktop"
Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
* base: sumberterbuka.beritagar.id
* extras: sumberterbuka.beritagar.id
* updates: sumberterbuka.beritagar.id
Environment Group: GNOME Desktop
Environment-Id: gnome-desktop-environment
Description: GNOME is a highly intuitive and user friendly desktop environment.
Mandatory Groups:
+base
+core
+desktop-debugging
+dial-up
+directory-client
+fonts
+gnome-desktop
+guest-agents
+guest-desktop-agents
+input-methods
+internet-browser
+java-platform
+multimedia
+network-file-system-client
+networkmanager-submodules
+print-client
+x11
Optional Groups:
+backup-client
+gnome-apps
+internet-applications
+legacy-x
+office-suite
+remote-desktop-clients
+smart-card
[root@TeguhLab ~]#
3. Upgrade from Minimal installation to GNOME Desktop:
# yum -y groupinstall "GNOME Desktop"
[root@TeguhLab ~]# yum -y groupinstall "GNOME Desktop"
Loaded plugins: fastestmirror
There is no installed groups file.
Maybe run: yum groups mark convert (see man yum)
Loading mirror speeds from cached hostfile
* base: sumberterbuka.beritagar.id
* extras: sumberterbuka.beritagar.id
* updates: sumberterbuka.beritagar.id
Resolving Dependencies
--> Running transaction check
---> Package ModemManager.x86_64 0:1.6.0-2.el7 will be installed
--> Processing Dependency: ModemManager-glib(x86-64) = 1.6.0-2.el7 for package: ModemManager-1.6.0-2.el7.x86_64
--> Processing Dependency: libqmi-utils for package: ModemManager-1.6.0-2.el7.x86_64
..............................................................
Replaced:
NetworkManager.x86_64 1:1.0.0-14.git20150121.b4ea599c.el7 pygobject3-base.x86_64 0:3.8.2-6.el7
rdma.noarch 0:7.1_3.17-5.el7
Complete!
[root@TeguhLab ~]#
4. Starting GNOME
$ startx
or
$ /sbin/telinit 5
To have CentOS boot into runlevel 5 “X11” instead of runlevel 3 “Full multiuser mode”, modify the /etc/inittab file to change start up level from
id:3:initdefault:
to
id:5:initdefault:
[root@TeguhLab ~]# startx
hostname: Name or service not known
xauth: file /root/.serverauth.5364 does not exist
xauth: file /root/.Xauthority does not exist
xauth: file /root/.Xauthority does not exist
X.Org X Server 1.19.3
Release Date: 2017-03-15
X Protocol Version 11, Revision 0
Build Operating System: 3.10.0-514.16.1.el7.x86_64
Current Operating System: Linux TeguhLab 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-3.10.0-229.el7.x86_64 root=UUID=fa73217f-e158-471b-bea0-ab9538335ae3 ro crashkernel=auto rhgb quiet LANG=en_US.UTF-8
Build Date: 05 August 2017 06:19:43AM
Build ID: xorg-x11-server 1.19.3-11.el7
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Mon Sep 25 16:12:10 2017
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
VMware: No 3D enabled (0, Success).
touch: cannot touch ‘/root/.cache/imsettings/log’: No such file or directory
5. Now you can login Server using Desktop
[root@TeguhLab ~]# ifconfig -a
ens160: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 10.10.10.10 netmask 255.255.255.0 broadcast 10.10.10.255
inet6 fe80::20c:29ff:fe98:95ed prefixlen 64 scopeid 0x20<link>
ether 00:0c:29:98:95:ed txqueuelen 1000 (Ethernet)
RX packets 735920 bytes 1066519730 (1017.1 MiB)
RX errors 0 dropped 60 overruns 0 frame 0
TX packets 405306 bytes 32564163 (31.0 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 0 (Local Loopback)
RX packets 16 bytes 960 (960.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 16 bytes 960 (960.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
[root@TeguhLab ~]#
6. Install vncserver if needed
[root@TeguhLab ~]# yum -y install tigervnc-server
go to Enable VNC server on linux
No comments:
Post a Comment