No GUI for Admin

General support questions
Post Reply
Gseroje
Posts: 2
Joined: 2018/11/15 23:00:28

No GUI for Admin

Post by Gseroje » 2018/11/15 23:06:43

So I am having this Issue on my CentOS 7 computer where if I use the startx command on the root account the GUI launches up just fine but when I use the startx command it says x server has refused connection. This is only for Admin account, I used a normal user and the GUI launched just fine but when I remove admin privileges from that account it still wont work. Any Ideas?

hunter86_bg
Posts: 1450
Joined: 2015/02/17 15:14:33
Location: Bulgaria
Contact:

Re: No GUI for Admin

Post by hunter86_bg » 2018/11/16 15:39:11

Try with

Code: Select all

systemctl isolate graphical.target
If you want it always with GUI , then run:

Code: Select all

systemctl set-default graphical.target

Gseroje
Posts: 2
Joined: 2018/11/15 23:00:28

Re: No GUI for Admin

Post by Gseroje » 2018/11/18 18:00:35

Thank you that worked!!

Post Reply