Frederk
Posts: 27
Joined: Wed Aug 02, 2017 8:56 pm

Problems with lightdm test mode

Mon Aug 13, 2018 1:31 pm

If I run

Code: Select all

sudo lightdm --test-mode
I get a small black window and I can't do anything.
Last edited by Frederk on Mon Aug 13, 2018 7:49 pm, edited 2 times in total.

DirkS
Posts: 9936
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: Lightdm test mode not working.

Mon Aug 13, 2018 1:37 pm

Please give more information about your setup...
Such as OS + version, model Pi, how did you install lightdm, etc

Are you sure you need to use sudo?

Frederk
Posts: 27
Joined: Wed Aug 02, 2017 8:56 pm

Re: Lightdm test mode not working.

Mon Aug 13, 2018 6:23 pm

I found this post on the Internet and the first method worked for me:
http://ubuntuhandbook.org/index.php/201 ... ntu-14-04/

Frederk
Posts: 27
Joined: Wed Aug 02, 2017 8:56 pm

Re: Problems with lightdm test mode

Mon Aug 13, 2018 7:38 pm

It doesn't work most of the time for some reason. I had luck that it worked on my second try. If you know how to make it work every time please tell me.
You also have to give permissions to lightdm to edit the contents of var/lib/lightdm. I just logged into root and did it manually.
Last edited by Frederk on Mon Aug 13, 2018 8:08 pm, edited 3 times in total.

Frederk
Posts: 27
Joined: Wed Aug 02, 2017 8:56 pm

Re: Problems with lightdm test mode

Mon Aug 13, 2018 7:48 pm

And there is also a problem that the mouse and keyboard don't work.

Frederk
Posts: 27
Joined: Wed Aug 02, 2017 8:56 pm

Re: Problems with lightdm test mode

Mon Aug 13, 2018 7:58 pm

This is part of the Debug output when lightdm test mode doesn't work:

Code: Select all

.
.
.
[+0.13s] DEBUG: DisplayServer x-1: Waiting for ready signal from X server :1
[+0.13s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.13s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.58s] DEBUG: Process 6797 terminated with signal 11
[+0.58s] DEBUG: DisplayServer x-1: X server stopped
.
.
.

and this is when it works:

Code: Select all

.
.
.
[+0.14s] DEBUG: DisplayServer x-1: Waiting for ready signal from X server :1
[+0.14s] DEBUG: Acquired bus name org.freedesktop.DisplayManager
[+0.15s] DEBUG: Registering seat with bus path /org/freedesktop/DisplayManager/Seat0
[+0.66s] DEBUG: Got signal 10 from process 6827
[+0.66s] DEBUG: DisplayServer x-1: Got signal from X server :1
.
.
.

Ps: Command for debug mode:

Code: Select all

lightdm --test-mode -d

Return to “Troubleshooting”