Replies: 1 comment 4 replies
-
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Environment:
I installed Ubuntu 22.04 and GNOME desktop in WSL2. Below are the steps:
git clone https://github.com/DamionGans/ubuntu-wsl2-systemd-script.git
cd ubuntu-wsl2-systemd-script/
bash ubuntu-wsl2-systemd-script.sh
wsl --shutdown
The problems are:
gnome-session
, the GNOME desktop appears but crashes after about one minute.If I click "Log Out" button and run
gnome-session
again in WSL, I receive the following error:If I run
export XDG_CURRENT_DESKTOP=ubuntu:GNOME
and rungnome-session
again, I receive just "Terminated".dbus-launch --exit-with-session gnome-session
, the GNOME desktop does not crash, but I get a lot of other problems.2.1) dialog freezes easily on desktop, and I can find no way to remove them.

2.2) Because of 2.1), the frozen dialog covers the desktop, so I can't log out or power down the GNOME desktop using its GUI. If I press Ctrl-C in command line and try to run
dbus-launch --exit-with-session gnome-session
again, I receive an error saying2.3) If I run
dbus-launch --exit-with-session gnome-session
with sudo, I can go back into the GNOME desktop, but the desktop is still covered by frozen dialogs, and I cannot type in the search bar of Activities.2.4) If I click "Power Off" in the GNOME desktop, the desktop does not power off, but stops response unless I press Ctrl-C in WSL command line. In that case, the desktop shows this:

and the erroneous desktop quits if I click "Log Out" button. If I quit WSL, run
wsl --shutdown
in Windows command line and run wsl again,dbus-launch --exit-with-session gnome-session
can start the GNOME desktop but got the same problem of 2.3), and so on and on ...Do you know how these problems are caused according to my steps, or how to fix these issues, or how to reset the GNOME desktop to remove the frozen dialogs (if I don't have to redo the whole thing due to brick)? Thanks a lot.
Beta Was this translation helpful? Give feedback.
All reactions