37 lines
1.4 KiB
Markdown
37 lines
1.4 KiB
Markdown
<!--
|
||
SPDX-FileCopyrightText: 2022 debgerme <fossgerme@tuta.io>
|
||
|
||
SPDX-License-Identifier: CC-BY-SA-4.0
|
||
-->
|
||
|
||
# Gnome isn't able to enter wayland: solution
|
||
|
||
[Versión en español](https://gitea.sergiotarxz.freemyip.com/germedeb/Luci-Blogpost/src/branch/master/Posts/Gnome-Xwayland/Gnome-Xwayland-ES.md)
|
||
|
||
Ok, this will be a short post, but I hope this can help you if someone has the same problem as I had.
|
||
|
||
Here's the problem we been dealing: You try to open a session with Gnome (Wayland) but it closes right at the moment. After this, you are at the same we started, the GDM (Gnome Display Manager).
|
||
|
||
If you can see the logs, there's an entry that says there is an error with the group and user of the folder '/tmp/.X11-unix'.
|
||
|
||
## Solution:
|
||
|
||
There's an explanation for this, an error occurs with the group and user access of ´/tmp/.X11-unix´, the owner of this folder should be 'root'.
|
||
|
||
This can be solved with the next commands:
|
||
|
||
```
|
||
sudo chown root /tmp/.X11-unix
|
||
sudo chgrp root /tmp/.X11-unix
|
||
```
|
||
|
||
After that, it would be over. I launched the commands in 'sway', but I'm not sure if there would be any side-effects if you launch the commands in a X11 session. I recommend you to launch the commands in TTY mode, or a WM-session that doesn't use X11.
|
||
|
||
## Bye bye!
|
||
|
||
With that, I leave. Hope I helped you
|
||
|
||
feel free to [contact me](t.me/debgerme) If you have questions or something to say. You can send a commit here if you want
|
||
|
||
English version corrected by: @xp0sed_relay43
|