Continuing the discussion from Can log in only as root, even with a fresh user:
my situation is similar to this linked Topic. I am on xfce4 though.
I …
- can not login (password not accepted) with any user, but
- can login as root (with gui) since just 30 minutes ago.
The last successful login happened yesterday. After that I might have installed oh-my-bash
on one of the user’s accounts (not 100% sure whether that was before or after that successful reboot though).
I …
- set password(s) of personal users successfully.
- created new personal users with
useradd
(none of these existing, nor new user accounts can login (password not accepted)) - can do
su [username]
in the terminal (not being prompted for the users password) - can do (as personal user)
sudo ls -l /root
. The users password is accepted in that situation - can not run
podman ps
as personal user (RunRoot is pointing to a path (/run/user/1000/containers) which is not writable. Most likely podman will fail.
), but - can do
sudo podman ps
without any problem as personal user - can not start any multimedia applications (vlc, clementine). It seems they are complaining about pusleaudio
I have not tried yet …
- … to allow passwordless login (because I do not know how)
- … login directly into a tty session as a personal user. There is a button at the lightdm (I assume that is what I m loggin in to) login which let’s you choose the session type, but that only offers xfce as an option.
any ideas how to get over this?
ADDITION:
trying to run some applications as personal user, starting them from the bash I tend to see errors like …
Using X11 for dbus-daemon autolaunch was disabled at compile time, set your DBUS_SESSION_BUS_ADDRESS instead
[14864:1004/104246.809822:ERROR:ozone_platform_x11.cc(240)] Missing X server or $DISPLAY
and in fact the personal users have nothing in the DISPLAY
environment variable.
Would it be an idea trying to get in there what root
has (:0.0
)? If so,how do I do that?