:: Re: [DNG] [libseat/backend/logind.c…
Góra strony
Delete this message
Reply to this message
Autor: Mark Hindley
Data:  
Dla: Андрей Сорокин
CC: dng
Temat: Re: [DNG] [libseat/backend/logind.c:137] Could not take device: Device or resource busy
Andrey

On Wed, Jul 05, 2023 at 08:36:23PM +0100, Mark Hindley wrote:
> I will have to do some more testing to try and replicate.


Can you verify seatd is running and using the correct socket:

~% sudo fuser -v /run/seatd.sock 
                     USER        PID ACCESS COMMAND
/run/seatd.sock:     root       1500 F.... seatd


What are the perms on /dev/dri/card0?

~% ls -l /dev/dri/card0
crw-rw----+ 1 root video 226, 0 Jun 18 10:40 /dev/dri/card0

Let's get some debug info from seatd.

At the console:

- Stop the running seatd:

    sudo service seatd stop


- Run a debug instance in the background:

    sudo seatd -g video -l debug 2>&1 | tee seatd.log&


- startx

- exit xorg

- What does seatd.log say?

Mark