Finding nothing useful in the X logs ?
Does startx or xinit work for root but not for you ?
Does your "Display Manager" (slim or {g,x,k}dm* or lightdm)
startup fine but fail to allow you to log in ?
You may be using devuan or debian or arch or even NetBSD .
Try this it _may_ help:
log in to a real terminal / console .
( something like )
ctl+alt+F2
try: you@yourhost~$ startx
No go ? Then try this:
you@yourhost~$ mv ~/.xinitrc ~/xinintrc.copy
Now again: you@yourhost~$ startx
If that works :
1/ You need to ask your window manager / session manager
to run any apps you had auto starting in .xinitrc.
2/ You will also have to select _your_ desktop from the
display managers options or set the system default ...
ELSE Still no go ?
Bummer leave everything above done as is.
Next check that :
Your using xwrapper to allow X to create and destroy sockets on your behalf.
you@yourhost~$ man Xwrapper.conf
Its a short man page have a quick look.
see: /etc/X11/Xwrapper.conf
This has to exist and is activating the following settings :
#######################
#allowed_users=anybody
allowed_users=console
needs_root_rights=auto
#######################
See the man page for other options.
Try startx again if still no go you may have to install the Xwrapper:
Note / aside / man-splainer :
This apparently is now considered legacy or rather the assumption that your
using the systemd auth chain seems to be the thing to do.
So you could drink the grey gruel cordial ... or
You may need to install ""legacy"" versions of xorg
e.g.
you@yourhost~$ apt-cache search xorg | grep wrap
==> xserver-xorg-legacy
(so go install that )
So now at least you can startx or xinit or X -query from a console.
Which is all I need.
Try lightdm if you need a Graphical Login / Display manager ...
If you need xdmcp may Gandalf help you :)
Do feel free to pass on my best wishes to the XDG Systemd *kits mafia .
They seem to also have broken PAMs auth chain ...
Hey bloat obfuscation and spaghetti is always better than simple and clean. Also BSDz are cool too.
The Hairiest shirt of all is NetBSD and it works fine !
Its quite possibly about and past time we had a proper minimal Linux distro. Devuan is cool though has the assumption that the "only" thing wrong is systemd.
- I like and even use runlevels or even simple rc.d
- Its fine for it to be in place it just need not be compulsory.
No comments:
Post a Comment