Page 1 of 1

No GUI for Admin

Posted: 2018/11/15 23:06:43
by Gseroje
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?

Re: No GUI for Admin

Posted: 2018/11/16 15:39:11
by hunter86_bg
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

Re: No GUI for Admin

Posted: 2018/11/18 18:00:35
by Gseroje
Thank you that worked!!

Re: No GUI for Admin

Posted: 2019/01/07 16:36:40
by Gseroje
update, I have been using systemctl isolate graphical.target for a while now but from what i can tell it stopped working ever since I installed wine, I cant get to the GUI, yet again.

Re: No GUI for Admin

Posted: 2019/01/07 17:12:21
by hunter86_bg
Any errors in /var/log/messages or in the journal (journalctl -xe )?

Re: No GUI for Admin

Posted: 2019/01/07 22:18:23
by Gseroje
I haven't checked but I doubt there would be any because it just gives a solid black screen until i turn off the device

Re: No GUI for Admin

Posted: 2019/01/09 16:34:42
by Mike_Rochefort
It may give a solid black screen on that session, but you might be able to switch to an alternate like Ctrl+Alt+F2 or other. Those TTY shells should hopefully be unaffected.

Cheers,
Mike

Re: No GUI for Admin

Posted: 2019/01/10 18:02:26
by Gseroje
no that didn't work still the same thing