You are not logged in.

#1 2014-12-25 10:39:46

kai_18
Member
Registered: 2014-12-25
Posts: 10

[SOLVED]Can't get any display mangers to work.Sytem-logind errors.

I have tried lightdm lxdm and currently i am trying to make kdm work, but i can't. The desktop environments however work properly(mostly?) . Everytime i try to run a display manger, the screen flashes and returns back to prompt. Lightdm terminates, lxdm hangs and kdm runs in the background, after hitting ctrl+c however i get back the command prompt. I am new to arch. Also adding a user results in wierd behaviour(i am assuming i added the users properly). The user gets added. But eventhough i add them to the wheel group they don't get sudoer access. I tried deleting the  the user and succeded but when i again try to add the same user i get user already exists. When i  try removing the user i get user does not exists.

Error in lxdm log

 
(EE) 
Fatal server error:
(EE) systemd-logind disappeared (stopped/restarted?)
(EE) 
(EE) 

Lightdm Log

[+0.03s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.03s] DEBUG: Starting Light Display Manager 1.12.2, UID=0 PID=392
[+0.03s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.03s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.03s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.03s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.03s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.08s] DEBUG: Registered seat module xlocal
[+0.08s] DEBUG: Registered seat module xremote
[+0.08s] DEBUG: Registered seat module unity
[+0.14s] DEBUG: Monitoring logind for seats
[+0.14s] DEBUG: New seat added from logind: seat0
[+0.14s] DEBUG: Seat seat0: Starting
[+0.14s] DEBUG: Seat seat0: Creating greeter session
[+0.20s] DEBUG: Seat seat0: Creating display server of type x
[+0.20s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.20s] DEBUG: Using VT 1
[+0.20s] DEBUG: Seat seat0: Starting local X display on VT 1
[+0.20s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.21s] DEBUG: DisplayServer x-0: Writing X server authority to /run/lightdm/root/:0
[+0.21s] DEBUG: DisplayServer x-0: Launching X Server
[+0.21s] DEBUG: Launching process 396: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt1 -novtswitch
[+0.21s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.21s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.21s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.23s] WARNING: Error getting user list from org.freedesktop.Accounts: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Accounts was not provided by any .service files
[+0.23s] DEBUG: Loading user config from /etc/lightdm/users.conf
[+2.99s] DEBUG: Got signal 10 from process 396
[+2.99s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+2.99s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+2.99s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+2.99s] DEBUG: Session pid=405: Started with service 'lightdm-greeter', username 'lightdm'
[+3.07s] DEBUG: Session pid=405: Authentication complete with return value 0: Success
[+3.07s] DEBUG: Seat seat0: Session authenticated, running command
[+3.07s] DEBUG: Session pid=405: Running command /usr/bin/lightdm-gtk-greeter
[+3.07s] DEBUG: Creating shared data directory /var/lib/lightdm-data/lightdm
[+3.07s] DEBUG: Session pid=405: Logging to /var/log/lightdm/x-0-greeter.log
[+3.07s] DEBUG: Activating VT 1
[+3.07s] DEBUG: Activating login1 session c2
[+3.09s] DEBUG: Session pid=405: Greeter closed communication channel
[+3.09s] DEBUG: Session pid=405: Exited with return value 1
[+3.09s] DEBUG: Seat seat0: Session stopped
[+3.09s] DEBUG: Seat seat0: Stopping; failed to start a greeter
[+3.09s] DEBUG: Seat seat0: Stopping
[+3.09s] DEBUG: Seat seat0: Stopping display server
[+3.09s] DEBUG: Sending signal 15 to process 396
[+3.92s] DEBUG: Process 396 exited with return value 0
[+3.92s] DEBUG: DisplayServer x-0: X server stopped
[+3.93s] DEBUG: Releasing VT 1
[+3.93s] DEBUG: DisplayServer x-0: Removing X server authority /run/lightdm/root/:0
[+3.93s] DEBUG: Seat seat0: Display server stopped
[+3.93s] DEBUG: Seat seat0: Stopped
[+3.94s] DEBUG: Required seat has stopped
[+3.94s] DEBUG: Stopping display manager
[+3.94s] DEBUG: Display manager stopped
[+3.94s] DEBUG: Stopping daemon
[+3.95s] DEBUG: Exiting with return value 1

Also kde says no power mangement modules are loaded. I beliee it's talking about upower. It is installed, how do i enable that.
I do not know how to get kdm logs journalctl -u kdm doesn't display anything, but at some points journalctl does log that system-logind has failed.
Please let me know any other information that i need to provide to make this go away.

Last edited by kai_18 (2015-01-02 12:21:35)

Offline

#2 2014-12-25 12:18:46

rebootl
Member
Registered: 2012-01-10
Posts: 431
Website

Re: [SOLVED]Can't get any display mangers to work.Sytem-logind errors.

As for sudo, have you adapted the sudoers file ?
See: https://wiki.archlinux.org/index.php/sudo

As for your users, to better help it would be good to see the commands you used...

As for the display managers, I can't really tell currently. How did you start them ?
And maybe show the output of 'systemctl status systemd-logind'.
Edit: Do you actually have a user beside root? Maybe it just needs one.

Last edited by rebootl (2014-12-25 12:20:45)


Personal website: reboot.li
GitHub: github.com/rebootl

Offline

#3 2014-12-25 13:34:05

kai_18
Member
Registered: 2014-12-25
Posts: 10

Re: [SOLVED]Can't get any display mangers to work.Sytem-logind errors.

ok! Edited the sudoer file to include wheel most of the problems now gone, except for the display manager. I again tried running kdm as root, this time got a blank screen. Posting kdm logs shortly.

Offline

#4 2014-12-27 11:15:25

kai_18
Member
Registered: 2014-12-25
Posts: 10

Re: [SOLVED]Can't get any display mangers to work.Sytem-logind errors.

Adding another user and reinstalling lightdm+gnome did the trick. Though gdm gave "Unable to give slave programs access to screen".

Offline

Board footer

Powered by FluxBB