[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#1008992: xwayland: all X clients hang indefinitely waiting for /tmp/.X11-unix/X0



On 2022-07-05 18:28, Paul Cercueil wrote:
> Le mar., juil. 5 2022 at 15:51:08 +0200, Michel Dänzer <michel.daenzer@mailbox.org> a écrit :
>> On 2022-07-05 14:48, Paul Cercueil wrote:
>>>
>>>  Is there a way I can provide more information?
>>
>> Come to think of it, capturing the journal output after trying to start an X11 client might be interesting:
>>
>>  journalctl --user -b0
> 
> This was giving me zero results so I ran 'journalctl -b0' and some things happened when trying to run 'xterm':
> 
> [...]
>
> juil. 05 17:24:03 frank gsd-xsettings[3959]: Impossible d’ouvrir l’affichage :
> juil. 05 17:24:03 frank systemd[2111]: org.gnome.SettingsDaemon.XSettings.service: Main process exited, code=exited, status=1/FAILURE
> juil. 05 17:24:03 frank systemd[2111]: org.gnome.SettingsDaemon.XSettings.service: Failed with result 'exit-code'.
> juil. 05 17:24:03 frank systemd[2111]: Failed to start GNOME XSettings service.
> juil. 05 17:24:03 frank gnome-shell[2215]: Window manager warning: L’initialisation de GDK a échoué
> juil. 05 17:24:03 frank gnome-shell[2215]: Failed to initialize X11 display: Failed to initialize GDK

Looks like the problem is either that gsd-xsettings fails to start, or that gnome-shell fails to initialize GDK.

On the former, does

 journalctl --user-unit=org.gnome.SettingsDaemon.XSettings.service -b0


or

 systemctl --user status org.gnome.SettingsDaemon.XSettings.service

provide more information about the failure?


>> Also, does setting DISPLAY=:1 (or whatever is the default number + 1) work better?
> 
> It does not seem to change anything, running 'DISPLAY=:1 xterm' just hangs (doesn't open a window), the only difference I can see is that no Xwayland process is started.

What value does $DISPLAY contain after logging in?

What if you try DISPLAY=:1 once Xwayland is running? If that works, maybe try

 DISPLAY=:1 /usr/libexec/gsd-xsettings -v

to see if that gives more information about the failure.


On 2022-07-05 18:26, Paul Cercueil wrote:
> Le mar., juil. 5 2022 at 15:31:25 +0200, Michel Dänzer <michel.daenzer@mailbox.org> a écrit :
>> On 2022-07-05 14:48, Paul Cercueil wrote:
> 
>>>  I end up having to work under Windows, ugh.
>>
>> Surely you can use a GNOME on Xorg session in the worst case.
> 
> Is that still a thing? I can't select Gnome on X11 anymore since the last few releases of Gnome. GDM simply doesn't give me the option.

That's unexpected, I can still choose "GNOME on Xorg" on my machines.

Do you have xserver-xorg installed?


-- 
Earthling Michel Dänzer            |                  https://redhat.com
Libre software enthusiast          |         Mesa and Xwayland developer


Reply to: