PDA

View Full Version : 14.04 LightDM /sbin/hybrid-power failed



CLST
April 19th, 2014, 12:58 PM
Hi,
i have upgraded from Xubuntu 13.10 to 14.04. My laptop has an Intel Graphicscard and a nvida (610M). After the upgrade i got a black screen with the cursor flashing. I have purged all previous nvidia drivers and installed nvidia-331-updates.
But that did not solve the problem. I have also tried the drivers from the xorg-edgers ppa and from the nvidia page.
When i try to start lightdm from tty1 the following error is printed:
start: Job failed to start
The /var/log/lighdm/lightdm.log contains:

[+0.00s] DEBUG: Logging to /var/log/lightdm/lightdm.log[+0.00s] DEBUG: Starting Light Display Manager 1.10.0, UID=0 PID=1777
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-greeter-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-guest-wrapper.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-unity-greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/50-xserver-command.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/60-lightdm-gtk-greeter.conf
[+0.00s] DEBUG: Loading configuration from /usr/share/lightdm/lightdm.conf.d/90-nvidia.conf
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading 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: Registered seat module unity
[+0.00s] DEBUG: Registered seat module surfaceflinger
[+0.00s] DEBUG: Adding default seat
[+0.00s] DEBUG: Seat: Starting
[+0.00s] DEBUG: Seat: Creating greeter session
[+0.00s] DEBUG: Seat: Creating display server of type x
[+0.01s] DEBUG: Using VT 7
[+0.01s] DEBUG: Seat: Starting local X display on VT 7
[+0.01s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.01s] DEBUG: DisplayServer x-0: Writing X server authority to /var/run/lightdm/root/:0
[+0.01s] DEBUG: DisplayServer x-0: Launching X Server
[+0.01s] DEBUG: Launching process 1784: /usr/bin/X -core :0 -seat seat0 -auth /var/run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.01s] DEBUG: DisplayServer x-0: 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.01s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.01s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.63s] DEBUG: Got signal 10 from process 1784
[+0.63s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+0.63s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+0.63s] DEBUG: Launching process 1793: /sbin/hybrid-power
[+0.63s] DEBUG: Process 1793 exited with return value 1
[+0.63s] DEBUG: Seat: Exit status of /sbin/hybrid-power: 1
[+0.63s] DEBUG: Seat: Stopping display server due to failed setup script
[+0.63s] DEBUG: Sending signal 15 to process 1784
[+0.96s] DEBUG: Process 1784 exited with return value 0
[+0.96s] DEBUG: DisplayServer x-0: X server stopped
[+0.96s] DEBUG: Releasing VT 7
[+0.96s] DEBUG: DisplayServer x-0: Removing X server authority /var/run/lightdm/root/:0
[+0.96s] DEBUG: Seat: Display server stopped
[+0.96s] CRITICAL: x_server_local_get_authority_file_path: assertion 'server != NULL' failed
[+0.96s] CRITICAL: x_server_get_address: assertion 'server != NULL' failed
[+0.96s] DEBUG: Launching process 1794: /sbin/prime-switch
[+0.99s] DEBUG: Process 1794 exited with return value 0
[+0.99s] DEBUG: Seat: Exit status of /sbin/prime-switch: 0
[+0.99s] DEBUG: Seat: Stopping; greeter display server failed to start
[+0.99s] DEBUG: Seat: Stopping
[+0.99s] DEBUG: Seat: Stopping session
[+0.99s] DEBUG: Seat: Session stopped
[+0.99s] DEBUG: Seat: Stopped
[+0.99s] DEBUG: Required seat has stopped
[+0.99s] DEBUG: Stopping display manager
[+0.99s] DEBUG: Display manager stopped
[+0.99s] DEBUG: Stopping daemon
[+0.99s] DEBUG: Seat: Stopping session
[+0.99s] DEBUG: Exiting with return value 1


I can't see any errors in the Xorg.0.log and lightdm/x-0.log files.
Any ideas what i can do about this?
thanks.

ivan-janes
April 19th, 2014, 07:08 PM
There is error in /var/log/lightdm.log:


[+0.63s] DEBUG: Launching process 1793: /sbin/hybrid-power
[+0.63s] DEBUG: Process 1793 exited with return value 1
[+0.63s] DEBUG: Seat: Exit status of /sbin/hybrid-power: 1
[+0.63s] DEBUG: Seat: Stopping display server due to failed setup script

Comment out or remove entry


display-setup-script=/sbin/hybrid-power

in /etc/lightdm/lightdm.conf file.

After that try to start lightdm service with
service lightdm start or reboot machine.


Regards,
Ivan

CLST
April 20th, 2014, 09:54 AM
That helped, thank you ivan. After commenting out the line the greeter was shown. When i logged in a black screen was visible for some seconds and then the login screen was shown again. This seemed to be the bug mentioned here https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1036830. After taking ownership of the ~/.Xauthority file i could log in successfully.
There is one minor problem now. The login screen has the wrong resolution... could that be because of the missing display-setup-script?

ivan-janes
April 20th, 2014, 05:00 PM
The login screen has the wrong resolution... could that be because of the missing display-setup-script?

I am not sure but I think that is causing this issue. I would try one of the solutions described in http://askubuntu.com/questions/73804/wrong-login-screen-resolution.

Maybe the one which suggest copying proper monitors.xml file to the /var/lib/lightdm/.config directory.

Ivan