Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] cannot start lightdm after upgrade
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
Rhiakath
Guru
Guru


Joined: 10 Feb 2006
Posts: 572
Location: Hell...

PostPosted: Wed Jan 23, 2013 11:07 am    Post subject: [SOLVED] cannot start lightdm after upgrade Reply with quote

Hi there.
I've done some tests, and like some other users out here, i could no longer boot into lightdm. I can however, start X with startx on my user session.
Also, if i install slim, it does work ( but amazingly enough does not recognize razorqt as a valid desktop environment... ).

Only lightdm does not start. I edited /etc/lightdm/lightdm.conf to enable logging, and this is what i've got.
Code:
 [+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.4.0, UID=0 PID=3927
[+0.00s] DEBUG: Loaded configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Adding default seat
[+0.00s] DEBUG: Starting seat
[+0.00s] DEBUG: Starting new display for greeter
[+0.00s] DEBUG: Starting local X display
[+0.00s] DEBUG: Could not run plymouth --ping: Failed to execute child process "plymouth" (No such file or directory)
[+0.00s] DEBUG: Using VT 7
[+0.00s] DEBUG: Activating VT 7
[+0.01s] DEBUG: Logging to /var/log/lightdm/x-0.log
[+0.01s] DEBUG: Writing X server authority to /var/run/lightdm/root/:0
[+0.01s] DEBUG: Launching X Server
[+0.01s] DEBUG: Launching process 3935: /usr/bin/X :0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: Waiting for ready signal from X server :0
[+0.01s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.01s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.14s] DEBUG: Got signal 10 from process 3935
[+0.14s] DEBUG: Got signal from X server :0
[+0.14s] DEBUG: Connecting to XServer :0
[+0.14s] DEBUG: Starting greeter
[+0.14s] DEBUG: Started session 3942 with service 'lightdm-greeter', username 'root'
[+0.15s] DEBUG: Session 3942 authentication complete with return value 0: Success
[+0.15s] DEBUG: Greeter authorized
[+0.15s] DEBUG: Logging to /var/log/lightdm/x-0-greeter.log
[+0.15s] DEBUG: Failed to load session file /usr/share/xgreeters/lightdm-gtk-greeter.desktop: No such file or directory
[+0.15s] DEBUG: Greeter failed to start
[+0.15s] DEBUG: Stopping display
[+0.15s] DEBUG: Session 3942: Sending SIGTERM
[+0.15s] DEBUG: Greeter closed communication channel
[+0.15s] DEBUG: Session 3942 terminated with signal 15
[+0.15s] DEBUG: Greeter quit
[+0.15s] DEBUG: Sending signal 15 to process 3935
[+0.28s] DEBUG: Process 3935 exited with return value 0
[+0.28s] DEBUG: X server stopped
[+0.28s] DEBUG: Removing X server authority /var/run/lightdm/root/:0
[+0.28s] DEBUG: Releasing VT 7
[+0.28s] DEBUG: Display server stopped
[+0.28s] DEBUG: Display stopped
[+0.28s] DEBUG: Stopping X local seat, failed to start a display
[+0.28s] DEBUG: Stopping seat
[+0.28s] DEBUG: Seat stopped
[+0.28s] DEBUG: Required seat has stopped
[+0.28s] DEBUG: Stopping display manager
[+0.28s] DEBUG: Display manager stopped
[+0.28s] DEBUG: Stopping daemon
[+0.28s] DEBUG: Exiting with return value 1


It seems to fail because of that missing .desktop file. It really isn't there, but equery files lightdm does not show it either.

EDIT:
Now, i checked which files i had in that folder, and i found razorqt-lightdm-greeter.desktop.
I looked in the conf file ( /etc/lightdm/lightdm.conf ) and i found the entry greeter-session. I changed it to lightdm-razor-greeter, and i got lightdm back, but with a whole different login screen.

Now, why did the upgrade break this? Shouldn't lightdm default to the first entry found in that folder, if the specified one isn't found? Also, why does it keep looking for a gtk greeter that isn't there?

EDIT2:
On another pc i still have lightdm 1.0.11, which has 3 greeters in that folder
Code:
rhiakath@gentoo /usr/share/xgreeters $ equery belongs lightdm-gtk-greeter.desktop
 * Searching for lightdm-gtk-greeter.desktop ...
x11-misc/lightdm-1.0.11 (/usr/share/xgreeters/lightdm-gtk-greeter.desktop)
rhiakath@gentoo /usr/share/xgreeters $ ls
lightdm-gtk-greeter.desktop  lightdm-razor-greeter.desktop
lightdm-qt-greeter.desktop


Upgrading now. Lets see if those greeters disappear like on the first pc.

EDIT3:
They did.

Code:
rhiakath@gentoo /usr/share/xgreeters $ ls
lightdm-razor-greeter.desktop


And as such....
_________________
pc-rhiakath ~ $ emerge -s happiness
Searching..
[ Results for search key : happiness ]
[ Applications found : 0 ]

-------------------------------------------

I see dead pixels...


Last edited by Rhiakath on Mon Jan 28, 2013 10:19 am; edited 1 time in total
Back to top
View user's profile Send private message
Rhiakath
Guru
Guru


Joined: 10 Feb 2006
Posts: 572
Location: Hell...

PostPosted: Wed Jan 23, 2013 4:09 pm    Post subject: Reply with quote

Ok, so i've just confirmed it. The lightdm package has now removed the other greeters ( gtk and qt ) which were in the previous version.

Now, they're on separate packages. But this means, that, if one emerges lightdm, it is unusable. It should include at least the gtk greeter, as per standard.

gonna try reporting it as bug.
_________________
pc-rhiakath ~ $ emerge -s happiness
Searching..
[ Results for search key : happiness ]
[ Applications found : 0 ]

-------------------------------------------

I see dead pixels...
Back to top
View user's profile Send private message
yngwin
Retired Dev
Retired Dev


Joined: 19 Dec 2002
Posts: 4572
Location: Suzhou, China

PostPosted: Mon Jan 28, 2013 7:19 am    Post subject: Reply with quote

Rhiakath wrote:
Ok, so i've just confirmed it. The lightdm package has now removed the other greeters ( gtk and qt ) which were in the previous version.

Now, they're on separate packages. But this means, that, if one emerges lightdm, it is unusable. It should include at least the gtk greeter, as per standard.

gonna try reporting it as bug.

It did say that in the elog message, which apparently some people missed. But we have added dependencies in lightdm-1.4.0-r1, with the gtk greeter enabled by default.
_________________
"Those who deny freedom to others deserve it not for themselves." - Abraham Lincoln
Free Culture | Defective by Design | EFF
Back to top
View user's profile Send private message
Rhiakath
Guru
Guru


Joined: 10 Feb 2006
Posts: 572
Location: Hell...

PostPosted: Mon Jan 28, 2013 10:18 am    Post subject: Reply with quote

danke. thank you. arigato. gracias. obrigado. :)
_________________
pc-rhiakath ~ $ emerge -s happiness
Searching..
[ Results for search key : happiness ]
[ Applications found : 0 ]

-------------------------------------------

I see dead pixels...
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum