CentoOS7 CLI to GUI

Issues related to applications and software problems
Post Reply
Posts: 1
Joined: 2018/07/17 07:05:22

CentoOS7 CLI to GUI

Post by buchiramulu » 2018/07/17 07:19:52

Good morning,

We have taken CentOs VM from 1&1 provider. At a first, they have installed centos 7 without any graphical interface.
At a second time, I have added graphical interface using the command yum -y groups install "GNOME Desktop".
I now connect to the centos7 using a putty. After logging in, I type the command startx, but i get the following error
(==) Log file: "/var/log/Xorg.1.log", Time: Tue Jul 17 02:52:26 2018
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d" pci id for fd 15: 102b:0534, driver (null) EGL_MESA_drm_image required. EGL_MESA_drm_image required.
-- here i have used to Ctrl+C to come out from executing the command
^Cxinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0). Closing log file. xinit: unexpected signal 2

As a result, graphical interface does not start. Any help to solve this problem ?

Best regards,

User avatar
Forum Moderator
Posts: 24821
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: CentoOS7 CLI to GUI

Post by TrevorH » 2018/07/17 13:12:20

You cannot run startx over an ssh connection. It needs to run at a local console.

I suspect you need to look at installing, configuring and using a VNC connection instead.
CentOS 5 died in March 2017 - migrate NOW!
Full time Geek, part time moderator. Use the FAQ Luke

Posts: 1607
Joined: 2015/02/17 15:14:33
Location: Bulgaria

Re: CentoOS7 CLI to GUI

Post by hunter86_bg » 2018/07/18 13:47:13

Also set the default target to graphical.target

Post Reply