15.10 lightdm broken - trabalhos do gdm

2

Depois de algumas atualizações no meu sistema, lightdm parece estar quebrado (não consigo fazer uma sessão com lightdm funcionar, sempre terminando no modo de gráficos baixos na inicialização). Se eu escolhi gdm , no entanto, funciona. Mas eu gostaria de ter o lightdm de volta porque eu realmente não gosto do lightdm-gtk-greeter .

lightdm --test-mode --debug

[+0.00s] DEBUG: Logging to /home/andreas/.cache/lightdm/log/lightdm.log
[+0.00s] DEBUG: Starting Light Display Manager 1.16.6, UID=1000 PID=11764
[+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-ubuntu.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-gnome.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:   [SeatDefaults] is now called [Seat:*], please update this configuration
[+0.00s] DEBUG: Loading configuration dirs from /usr/local/share/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/gnome/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/ubuntu/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /usr/share/upstart/xdg/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration dirs from /etc/xdg/xdg-ubuntu/lightdm/lightdm.conf.d
[+0.00s] DEBUG: Loading configuration from /etc/lightdm/lightdm.conf
[+0.00s] DEBUG:   [SeatDefaults] is now called [Seat:*], please update this configuration
[+0.00s] DEBUG: Using D-Bus name org.freedesktop.DisplayManager
[+0.00s] DEBUG: Running in user mode
[+0.00s] DEBUG: Using Xephyr for X servers
[+0.00s] DEBUG: Registered seat module xlocal
[+0.00s] DEBUG: Registered seat module xremote
[+0.00s] DEBUG: Registered seat module unity
[+0.02s] DEBUG: Monitoring logind for seats
[+0.02s] DEBUG: New seat added from logind: seat0
[+0.02s] DEBUG: Seat seat0: Loading properties from config section Seat:*
[+0.02s] DEBUG: Seat seat0: Starting
[+0.02s] DEBUG: Seat seat0: Creating greeter session
[+0.02s] DEBUG: Loading users from org.freedesktop.Accounts
[+0.02s] DEBUG: User /org/freedesktop/Accounts/User1000 added
[+0.02s] DEBUG: Seat seat0: Creating display server of type x
[+0.03s] DEBUG: Seat seat0: Starting local X display
[+0.03s] DEBUG: DisplayServer x-1: Logging to /home/andreas/.cache/lightdm/log/x-1.log
[+0.03s] DEBUG: DisplayServer x-1: Writing X server authority to /home/andreas/.cache/lightdm/run/root/:1
[+0.03s] DEBUG: DisplayServer x-1: Launching X Server
[+0.03s] DEBUG: Launching process 11769: /usr/bin/Xephyr :1 -seat seat0 -auth /home/andreas/.cache/lightdm/run/root/:1 -nolisten tcp
[+0.03s] DEBUG: DisplayServer x-1: Waiting for ready signal from X server :1
[+0.03s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.03s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.04s] DEBUG: Process 11769 exited with return value 1
[+0.04s] DEBUG: DisplayServer x-1: X server stopped
[+0.04s] DEBUG: DisplayServer x-1: Removing X server authority /home/andreas/.cache/lightdm/run/root/:1
[+0.04s] DEBUG: Seat seat0: Display server stopped
[+0.04s] DEBUG: Launching process 11770: /sbin/prime-switch
Warning: writing to /var/log/gpu-manager.log failed (Permission denied)
log_file: /var/log/gpu-manager.log
last_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
new_boot_file: /var/lib/ubuntu-drivers-common/last_gfx_boot
/etc/modprobe.d is not a file
grep dmesg status 256
dmesg status 256 == 0? No
/etc/modprobe.d is not a file
/etc/modprobe.d is not a file
/etc/modprobe.d is not a file
Is nvidia loaded? yes
Was nvidia unloaded? no
Is nvidia blacklisted? no
Is fglrx loaded? no
Was fglrx unloaded? no
Is fglrx blacklisted? no
Is intel loaded? yes
Is radeon loaded? no
Is radeon blacklisted? no
Is nouveau loaded? no
Is nouveau blacklisted? yes
Is fglrx kernel module available? no
Is nvidia kernel module available? yes
Vendor/Device Id: 8086:a16
BusID "PCI:0@0:2:0"
Is boot vga? yes
Vendor/Device Id: 10de:1290
BusID "PCI:9@0:0:0"
Is boot vga? no
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Skipping "/dev/dri/card0", driven by "i915"
Skipping "/dev/dri/card1", driven by "nvidia-drm"
Found "/dev/dri/card0", driven by "i915"
output 0:
    eDP connector
Number of connected outputs for /dev/dri/card0: 1
Does it require offloading? yes
last cards number = 2
Has amd? no
Has intel? yes
Has nvidia? yes
How many cards? 2
Has the system changed? No
main_arch_path x86_64-linux-gnu, other_arch_path i386-linux-gnu
update-alternatives: error: no alternatives for x86_64-linux-gnu_gfxcore_conf
Current alternative: /usr/lib/nvidia-358-prime/ld.so.conf
Current core alternative: (null)
Is nvidia enabled? no
Is fglrx enabled? no
Is mesa enabled? no
Is pxpress enabled? no
Is prime enabled? yes
Is nvidia available? yes
Is fglrx available? no
Is fglrx-core available? no
Is mesa available? yes
Is pxpress available? no
Is prime available? yes
Intel IGP detected
Intel hybrid system
Nvidia driver version 358.16 detected
Removing xorg.conf. Path: /etc/X11/xorg.conf
Moved /etc/X11/xorg.conf to /etc/X11/xorg.conf.01122016
Powering off the discrete card
initctl: Name "com.ubuntu.Upstart" does not exist
Unloading nvidia-uvm with "no" parameters
rmmod: ERROR: Module nvidia_uvm is not currently loaded
Unloading nvidia with "no" parameters
rmmod: ERROR: Module nvidia is in use by: nvidia_modeset
[+0.08s] DEBUG: Process 11770 exited with return value 0
[+0.08s] DEBUG: Seat seat0: Exit status of /sbin/prime-switch: 0
[+0.08s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+0.08s] DEBUG: Seat seat0: Stopping
[+0.08s] DEBUG: Seat seat0: Stopping session
[+0.08s] DEBUG: Seat seat0: Session stopped
[+0.08s] DEBUG: Seat seat0: Stopped
[+0.08s] DEBUG: Required seat has stopped
[+0.08s] DEBUG: Stopping display manager
[+0.08s] DEBUG: Display manager stopped
[+0.08s] DEBUG: Stopping daemon
[+0.08s] DEBUG: Seat seat0: Stopping session
[+0.08s] DEBUG: Exiting with return value 1

Alguém tem uma ideia?

    
por wa4557 12.01.2016 / 19:48

2 respostas

1

Descobri isso sozinho após dois dias de tentativas:

O problema era que o arquivo .Xauthority do lightdm estava faltando de alguma forma. A criação com touch /var/lib/lightdm/.Xauthority e sudo chown lightdm:lightdm /var/lib/lightdm/.Xauthority corrigiu o problema.

    
por wa4557 14.01.2016 / 14:40
1

Minha área de trabalho foi rejeitada para ser iniciada após a atualização de 15.04 para 15.10.

No meu caso, a pasta /var/lib/lightdm simplesmente não estava lá e, como descobri, ela também não faz parte do pacote lightdm. Criar essa pasta e transferir a propriedade para o lightdm resolveu o problema para mim:

mkdir /var/lib/lightdm
chown -R lightdm /var/lib/lightdm
    
por hek2mgl 23.02.2016 / 20:06