Author Topic: LightDM does not start after 2016-04-26 Update [FIX]  (Read 6111 times)

0 Members and 1 Guest are viewing this topic.

Offline Holmes

  • Mirror Support Team
  • ***
  • Posts: 2039
  • Brazilian and Hispanic Support Team
    • Manjaro Brasil
  • Branch: Stable
  • Desktop: Manjaro XFCE
  • GPU Card: Mobile Intel (R) 945
  • GPU driver: Non-free
  • Kernel: kernellinux
  • Skill: Novice
Re: LightDM does not start after 2016-04-26 Update
« Reply #30 on: 30. April 2016, 03:41:07 »
hi guys, i changed everything to systemd and even then did not work out the iso. it is irresponsible of the maintainers to release this update. many things break ...

vlw fwi, Holmes :)


==> Manjaro Brasil I Manjaro Hispano
==> IRC Manjaro Brasil: #manjaro-br I IRC Manjaro Hispano: #manjaro-es

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: LightDM does not start after 2016-04-26 Update
« Reply #31 on: 30. April 2016, 03:54:33 »
hi guys, i changed everything to systemd

As Artoo said, twice already, the issue is with virtualbox modules, nothing to do with init system or display managers.

Check what version of vbox you have, check that your module versions match, manually load them with modprobe and ensure there's no errors, etc.

Offline thrasymachus

  • Neuling
  • *
  • Posts: 11
  • I'm new. Be nice!
  • Desktop: Awesome WM
  • Skill: Intermediate
Re: LightDM does not start after 2016-04-26 Update
« Reply #32 on: 30. April 2016, 04:45:47 »
As Artoo said, twice already, the issue is with virtualbox modules, nothing to do with init system or display managers.

Check what version of vbox you have, check that your module versions match, manually load them with modprobe and ensure there's no errors, etc.

I am indeed having this issue in a vm. before the update everything was fine in the vm.  but I also have: vboxvideo: kernel driver found, not loading.  how do I load those manually?

also, do we have confirmation of successful updates (ie where xdm isn't crashing) on metal? I am having this problem on a vm, but I use that vm to make sure updates work before I update my other machine on metal.
« Last Edit: 30. April 2016, 05:42:06 by thrasymachus »

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: LightDM does not start after 2016-04-26 Update
« Reply #33 on: 30. April 2016, 05:26:41 »
If you mean LightDM, yes it works on bare metal. The main Xfce edition and many other editions use it so we'd know if it wasn't working. It'd never have made it out of unstable branch if it wasn't.

I suppose i can't be sure for the specific OpenRC edition you're running, but i'd think aaditya and artoo would know if LightDM was outright broken.

Offline thrasymachus

  • Neuling
  • *
  • Posts: 11
  • I'm new. Be nice!
  • Desktop: Awesome WM
  • Skill: Intermediate
Re: LightDM does not start after 2016-04-26 Update
« Reply #34 on: 30. April 2016, 05:45:04 »
If you mean LightDM, yes it works on bare metal. The main Xfce edition and many other editions use it so we'd know if it wasn't working. It'd never have made it out of unstable branch if it wasn't.

I suppose i can't be sure for the specific OpenRC edition you're running, but i'd think aaditya and artoo would know if LightDM was outright broken.

so as long as the gtk3.20 compatible themes are installed and lightdm is set to use them, it is safe to update my metal version running openrc 20.5?  xdm won't crash when I reboot?

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: LightDM does not start after 2016-04-26 Update
« Reply #35 on: 30. April 2016, 06:15:02 »
so as long as the gtk3.20 compatible themes are installed and lightdm is set to use them, it is safe to update my metal version running openrc 20.5?  xdm won't crash when I reboot?

Even when LightDM is set to a theme that is not GTK 3.20 compatible, it still runs and works, it just looks dodgy and stuff is all squashed together, but it does still work.

I don't know if XDM means something else in OpenRC land, but i know XDM as a DM, so it and LightDM are mutually exclusive, you run one or the other, no both.

Offline thrasymachus

  • Neuling
  • *
  • Posts: 11
  • I'm new. Be nice!
  • Desktop: Awesome WM
  • Skill: Intermediate
Re: LightDM does not start after 2016-04-26 Update
« Reply #36 on: 30. April 2016, 06:32:09 »
Even when LightDM is set to a theme that is not GTK 3.20 compatible, it still runs and works, it just looks dodgy and stuff is all squashed together, but it does still work.

I don't know if XDM means something else in OpenRC land, but i know XDM as a DM, so it and LightDM are mutually exclusive, you run one or the other, no both.

on this thread the problem is that right before lightdm runs, the screen goes black.  rc-status reports that xdm has crashed.  the fix was to install gtk3.20 compatible icons and set lightdm to use them.

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: LightDM does not start after 2016-04-26 Update
« Reply #37 on: 30. April 2016, 06:48:51 »
It doesn't say it crashed, it says "no matching processes found".

And where in the thread does it say that changing the icon theme fixed the issue?

One person said:
I have openrc and I changed the theme. It works for me.
Which isn't clear if they were experiencing this actual issue.

Offline thrasymachus

  • Neuling
  • *
  • Posts: 11
  • I'm new. Be nice!
  • Desktop: Awesome WM
  • Skill: Intermediate
Re: LightDM does not start after 2016-04-26 Update
« Reply #38 on: 30. April 2016, 07:00:50 »
It doesn't say it crashed, it says "no matching processes found".

And where in the thread does it say that changing the icon theme fixed the issue?

One person said:Which isn't clear if they were experiencing this actual issue.

rc-status reports xdm to have crashed, that is why we do not get lightdm but a black screen


in the second post, aaditya says to install the themes and set lightdm to use them, as a fix for the op's problem, one person reported that worked, others (like me) reported it didn't, but subsequently it was decided our vm's were likely the problem...
« Last Edit: 30. April 2016, 07:02:53 by thrasymachus »

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: LightDM does not start after 2016-04-26 Update
« Reply #39 on: 30. April 2016, 07:30:19 »
rc-status reports xdm to have crashed, that is why we do not get lightdm but a black screen
I can't comment on rc-status using that wording, but again, unless XDM is something else in OpenRC land, LightDM and XDM are mutually exclusive.

in the second post, aaditya says to install the themes and set lightdm to use them, as a fix for the op's problem,
And aaditya was mistaken about that being a fix for this.

one person reported that worked
Their report is unclear.

others (like me) reported it didn't, but subsequently it was decided our vm's were likely the problem...
Nothing was 'subsequent' or 'likely', Read post #23 of this thread.

Offline Rob

  • Core Team
  • *****
  • Posts: 5390
  • Alias: Korrode
  • Branch: Unstable
  • Desktop: Xfce+Compiz
  • GPU Card: nVidia GTX560Ti
  • GPU driver: non-free
  • Kernel: linux314 x64
  • Skill: Advanced
Re: LightDM does not start after 2016-04-26 Update
« Reply #40 on: 30. April 2016, 07:55:12 »
Is Virtualbox up-to-date on your host systems?

Offline artoo

  • OpenRC Team
  • ****
  • Posts: 2373
  • Branch: Unstable
  • Desktop: LXQT/Plasma5, openrc & eudev
  • Kernel: x86_64
  • Skill: Advanced
Re: LightDM does not start after 2016-04-26 Update
« Reply #41 on: 30. April 2016, 11:11:34 »
rc-status reports xdm to have crashed, that is why we do not get lightdm but a black screen

xdm is just a script that start any DM, you just set the DM in /etc/conf.d/xdm.

So, it shows crashed, because your lightdm or lxdm are misconfigured or something wrong with vbox modules.

Again, it is no openrc issue, rather than either lightdm or vbox.

Offline v17564

  • Vollwertiges Mitglied
  • ***
  • Posts: 138
  • I'm new. Be nice!
  • Skill: Novice
Re: LightDM does not start after 2016-04-26 Update
« Reply #42 on: 30. April 2016, 17:51:22 »
Hello to all.

Is Virtualbox up-to-date on your host systems?

Virtualbox is the last version in the distribution: 5.0.18. In the VM the version is the 5.0.16 because the update was not even applied.

Is your user member of vboxguest group?

Do you use vbox dkms modules?

I don't use vbox dkms modules.

Real machine:
Code: [Select]
$ grep vbox /etc/group
vboxusers:x:108:myuser

$ cat /etc/conf.d/modules
# You can give modules a different name when they load - the new name
# will also be used to pick arguments below.
#modules="dummy:dummy1"
modules="vboxdrv vboxnetadp vboxnetflt vboxpci"

$ lsmod | grep vbox
vboxpci                24576  0
vboxnetflt             28672  0
vboxnetadp             28672  0
vboxdrv               385024  4 vboxnetadp,vboxnetflt,vboxpci


VM machine:
Code: [Select]
$ lsmod | grep vbox
vboxsf                 49152  0
vboxguest             221184  11 vboxsf
vboxvideo              16384  2
drm                   286720  4 vboxvideo

The group vboxguest don't exist
Code: [Select]
# grep vbox /etc/group
vboxsf:x:109:

I exec:
Code: [Select]
# groupadd vboxguest
# gpasswd -a myuser vboxguest
Adding the user myuser to the group vboxguest

I add vboxvideo in /etc/conf.d/modules:
Code: [Select]
# You can give modules a different name when they load - the new name
# will also be used to pick arguments below.
#modules="dummy:dummy1"
modules="vboxvideo vboxsf"

And also exec:
Code: [Select]
# groupadd vboxusers
# gpasswd -a myuser vboxusers
Adding the user myuser to the group vboxusers

# gpasswd -a myuser vboxsf
Adding the user myuser to the group vboxsf

#grep vbox /etc/group
vboxsf:x:109:myuser
vboxguest:x:1000:myuser
vboxusers:x:1001:myuser

After realizing the previous steps and reboot, the lsmod is the same:
Code: [Select]
$ lsmod | grep vbox
vboxsf                 49152  0
vboxguest             221184  11 vboxsf
vboxvideo              16384  2
drm                   286720  4 vboxvideo

I apply the update and it keeps on failing.

Some another test that i could realize?

Offline v17564

  • Vollwertiges Mitglied
  • ***
  • Posts: 138
  • I'm new. Be nice!
  • Skill: Novice
Re: LightDM does not start after 2016-04-26 Update
« Reply #43 on: 30. April 2016, 21:09:08 »
Hello to all.

Sorry but another long post.

After update i acces in a console and get the next logs and data. I found errors in Xorg.0.log, lightdm.log and x-0.log.

The issue occurs in the process: /usr/bin/X

# grep vboxvideo Xorg.0.log

Before update
Code: [Select]
[    29.521] (II) LoadModule: "vboxvideo"
[    29.522] (II) Loading /usr/lib/xorg/modules/drivers/vboxvideo.so
[    29.540] (II) Module vboxvideo: vendor="Oracle Corporation"
[    29.591] (II) VBoxVideo(0): [DRI2]   DRI driver: vboxvideo
[    29.867] (II) Next line is added to allow vboxvideo_drv.so to appear as whitelisted driver
[    29.868] (EE) AIGLX error: vboxvideo does not export required DRI extension

After update
Quote
[    29.064] (II) LoadModule: "vboxvideo"
[    29.065] (II) Loading /usr/lib/xorg/modules/drivers/vboxvideo.so
[    29.065] (II) Module vboxvideo: vendor="Oracle Corporation"
[    29.066] (II) vboxvideo: kernel driver found, not loading

# cat lightdm.log

Before update
Code: [Select]
[+0.23s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.23s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.23s] DEBUG: DisplayServer x-0: Writing X server authority to /run/lightdm/root/:0
[+0.23s] DEBUG: DisplayServer x-0: Launching X Server
[+0.23s] DEBUG: Launching process 1640: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.23s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.24s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.24s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+3.56s] DEBUG: Got signal 10 from process 1640
[+3.56s] DEBUG: DisplayServer x-0: Got signal from X server :0
[+3.56s] DEBUG: DisplayServer x-0: Connecting to XServer :0
[+3.60s] DEBUG: Seat seat0: Display server ready, starting session authentication
[+3.61s] DEBUG: Session pid=1834: Started with service 'lightdm-autologin', username 'myuser'
[+3.75s] DEBUG: Session pid=1834: Authentication complete with return value 0: Success
[+3.75s] DEBUG: Seat seat0: Session authenticated, running command
[+3.75s] DEBUG: Registering session with bus path /org/freedesktop/DisplayManager/Session0
[+3.77s] DEBUG: Session pid=1834: Running command /etc/lightdm/Xsession startxfce4
[+3.77s] DEBUG: Creating shared data directory /var/lib/lightdm-data/myuser
[+3.77s] DEBUG: Session pid=1834: Logging to .xsession-errors
[+4.46s] DEBUG: Activating VT 7
[+4.46s] DEBUG: Activating ConsoleKit session manjaro-1462044248.858108-1819279853
[+4.48s] WARNING: Error activating ConsoleKit session: GDBus.Error:org.freedesktop.ConsoleKit.Session.Error.AlreadyActive: Session already active

After update
Quote
[+0.15s] DEBUG: Seat seat0: Starting local X display on VT 7
[+0.15s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+0.15s] DEBUG: DisplayServer x-0: Writing X server authority to /run/lightdm/root/:0
[+0.15s] DEBUG: DisplayServer x-0: Launching X Server
[+0.15s] DEBUG: Launching process 1632: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+0.16s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+0.16s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.16s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+1.03s] DEBUG: Process 1632 exited with return value 1
[+1.03s] DEBUG: DisplayServer x-0: X server stopped

[+1.03s] DEBUG: Releasing VT 7
[+1.03s] DEBUG: DisplayServer x-0: Removing X server authority /run/lightdm/root/:0
[+1.03s] DEBUG: Seat seat0: Display server stopped
[+1.03s] DEBUG: Seat seat0: Stopping session
[+1.03s] DEBUG: Seat seat0: Session stopped
[+1.03s] DEBUG: Seat seat0: Stopping display server, no sessions require it
[+1.03s] DEBUG: Seat seat0: Active display server stopped, starting greeter
[+1.03s] DEBUG: Seat seat0: Creating greeter session
[+1.05s] DEBUG: Seat seat0: Creating display server of type x
[+1.05s] DEBUG: Using VT 7
[+1.05s] DEBUG: Seat seat0: Starting local X display on VT 7
[+1.05s] DEBUG: DisplayServer x-0: Logging to /var/log/lightdm/x-0.log
[+1.05s] DEBUG: DisplayServer x-0: Writing X server authority to /run/lightdm/root/:0
[+1.05s] DEBUG: DisplayServer x-0: Launching X Server
[+1.06s] DEBUG: Launching process 1686: /usr/bin/X :0 -seat seat0 -auth /run/lightdm/root/:0 -nolisten tcp vt7 -novtswitch
[+1.06s] DEBUG: DisplayServer x-0: Waiting for ready signal from X server :0
[+1.28s] DEBUG: Process 1686 exited with return value 1
[+1.28s] DEBUG: DisplayServer x-0: X server stopped
[+1.28s] DEBUG: Releasing VT 7
[+1.28s] DEBUG: DisplayServer x-0: Removing X server authority /run/lightdm/root/:0
[+1.29s] DEBUG: Seat seat0: Display server stopped
[+1.29s] DEBUG: Seat seat0: Stopping; greeter display server failed to start
[+1.29s] DEBUG: Seat seat0: Stopping
[+1.29s] DEBUG: Seat seat0: Stopping session
[+1.29s] DEBUG: Seat seat0: Session stopped
[+1.29s] DEBUG: Seat seat0: Stopped
[+1.29s] DEBUG: Required seat has stopped
[+1.29s] DEBUG: Stopping display manager
[+1.29s] DEBUG: Display manager stopped
[+1.29s] DEBUG: Stopping daemon
[+1.29s] DEBUG: Seat seat0: Stopping session
[+1.29s] DEBUG: Exiting with return value 1


# cat x-0.log

Before update
Code: [Select]
X.Org X Server 1.17.4
Release Date: 2015-10-28
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.2.5-1-ARCH x86_64
Current Operating System: Linux manjaro 4.4.6-1-MANJARO #1 SMP PREEMPT Sat Mar 19 06:00:37 CET 2016 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.4-x86_64 root=UUID=5408b320-4df9-44b3-83f8-b21a3b3ee4f5 rw ipv6.disable=1 resume=UUID=758bb63f-10ab-49b9-84e1-8f42c4473843
Build Date: 01 November 2015  10:36:50AM
 
Current version of pixman: 0.34.0
Before reporting problems, check http://wiki.x.org
to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 30 21:24:05 2016
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"

After update
Quote
X.Org X Server 1.17.4
Release Date: 2015-10-28
X Protocol Version 11, Revision 0
Build Operating System: Linux 4.2.5-1-ARCH x86_64
Current Operating System: Linux manjaro 4.4.8-1-MANJARO #1 SMP PREEMPT Thu Apr 21 00:21:08 UTC 2016 x86_64
Kernel command line: BOOT_IMAGE=/vmlinuz-4.4-x86_64 root=UUID=5408b320-4df9-44b3-83f8-b21a3b3ee4f5 rw ipv6.disable=1 resume=UUID=758bb63f-10ab-49b9-84e1-8f42c4473843
Build Date: 01 November 2015  10:36:50AM
 
Current version of pixman: 0.34.0
   Before reporting problems, check http://wiki.x.org
   to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
   (++) from command line, (!!) notice, (II) informational,
   (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Sat Apr 30 21:42:18 2016
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE)
Fatal server error:
(EE) no screens found(EE)
(EE)
Please consult the The X.Org Foundation support
    at http://wiki.x.org
 for help.
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE)
(EE) Server terminated with error (1). Closing log file.

Offline artoo

  • OpenRC Team
  • ****
  • Posts: 2373
  • Branch: Unstable
  • Desktop: LXQT/Plasma5, openrc & eudev
  • Kernel: x86_64
  • Skill: Advanced
Re: LightDM does not start after 2016-04-26 Update
« Reply #44 on: 30. April 2016, 21:36:58 »
Can you please try with the vbox dkms modules?

Looks to me as if the binary modules need to be rebuild eventually.