You are not logged in.
Hello all.
I have been with this problem for some time. Now I get the time to try and solve it.
When I use the command xinit for my normal user account ( it has a well-configured
.xinitrc), or startxfce4 from a log-in shell, XORG and DE open fine.
When I try to issue an xinit command for my root account from a log-in shell, XORG
does open. XFCE pannel opens OK and quickly. But wallpaper and desktop icons do
_not_ show up for quite some time, maybe 2 minutes. All there is is a grey wallpaper.
Also, I cannot change the wallpaper while it is grey.
If in the meantime of desktop wallpaper loading, I try to log-out or shutdown from
the wisker menu, nothing happens. Logout only happens after wallpaper and desktop
icons get loaded.
I also tried to remove the root user folder and make an empty folder for root.
I also tried to xinit to load TWM, only to find that the problems persists even with
TWM instead of XFCE! meaning in this latter case, I cannot exit TWm until wallpaper
loads completely...
Here are XORG logs.
This one is from the root (/var/log/Xorg.0.log):
https://pastebin.com/sHfaJ939
And this one for my normal user:
https://pastebin.com/CXY9cJXB
I did a vimdiff and the only part of the logs that differs, so far have not
helped me out to find what is causing this problem.
From Root's XORG log:
Root Xorg
[ 263.568] (II) modeset(0): using drv /dev/dri/card0
[ 263.568] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
Which interestingly, but uselessly, differs from normal user's
at about line number 90:
User Xorg
[ 169.444] xf86EnableIOPorts: failed to set IOPL for I/O (Operation not permitted)
[ 169.444] (II) modeset(0): using drv /dev/dri/card0
[ 169.444] (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support
[ 169.444] (II) modeset(0): Creating default Display subsection in Screen section
"Default Screen Section" for depth/fbbpp 24/32
What I did so far after some googling:
1) Reinstalled XORG,
2) and installed acpi and acpid
3) tried to unplug bluetooth mouse,
usb keyboard and external HDMI monitor
Neither solved the problem.
Last edited by mountaineerbr (2019-05-30 00:05:01)
Offline
Why are you trying to run X as root?
Offline
Well, that is a good question really...
It is not absolutely necessary for root to have a graphical interface,
so should I just forget about running X as root then?
PS: I'd be very happy to mark this as solved, to know that that is not
a bug with my system and live my life happily without trying to start X
as root ever again.. lol
Last edited by mountaineerbr (2019-05-29 23:13:00)
Offline
It is not absolutely necessary for root to have a graphical interface
No it is not necessary - and it's generally considered a very bad idea. The question was why would you even want to do it? If you have some reason it'd be good to share it as there might be some other misunderstanding or miscommunication - but if your reasons for running X as root are "just cause" then definitely stop immediately.
"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" - Richard Stallman
Online
That is it, guys. Thanks!
I do not need a GUI for root at all. I use the shell.
So no good reason to run X as root...
There are many not-problems I incur, but that
is because my lack of *NIX etiquette.
Cheers!
Last edited by mountaineerbr (2019-05-30 00:08:47)
Offline