Hello
it is on wsl
after doing
sudo apt install gnome
sudo apt install ubuntu-destop
the next command say
root@DESKTOP-71NRFPV:~# gnome-session
** (process:7528): WARNING **: 11:52:15.022: Could not make bus activated clients aware of XDG_CURRENT_DESKTOP=GNOME environment variable: Could not connect: No such file or directory
Terminated
root@DESKTOP-71NRFPV:~#
and the errors message the firs is RED written , the others are yellow
Mar 08 11:34:26 DESKTOP-71NRFPV kernel: misc dxg: dxgk: dxgglobal_acquire_channel_lock: Failed to acquire global channel lock
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session[5727]: gnome-session-binary[5727]: WARNING: Failed to upload environment to DBus: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session-binary[5727]: WARNING: Failed to upload environment to DBus: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session[5727]: gnome-session-binary[5727]: WARNING: Failed to upload environment to systemd: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session-binary[5727]: WARNING: Failed to upload environment to systemd: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session[5727]: gnome-session-binary[5727]: WARNING: Failed to reset failed state of units: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session-binary[5727]: WARNING: Failed to reset failed state of units: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session[5727]: gnome-session-binary[5727]: WARNING: Falling back to non-systemd startup procedure due to error: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session[5727]: gnome-session-binary[5727]: WARNING: Could not make bus activated clients aware of QT_IM_MODULE=ibus environment variable: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session-binary[5727]: WARNING: Falling back to non-systemd startup procedure due to error: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session[5727]: gnome-session-binary[5727]: WARNING: Could not make bus activated clients aware of XMODIFIERS=@im=ibus environment variable: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session[5727]: gnome-session-binary[5727]: WARNING: Could not make bus activated clients aware of GNOME_DESKTOP_SESSION_ID=this-is-deprecated environment variable: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session-binary[5727]: WARNING: Could not make bus activated clients aware of QT_IM_MODULE=ibus environment variable: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session[5727]: gnome-session-binary[5727]: WARNING: Could not make bus activated clients aware of XDG_MENU_PREFIX=gnome- environment variable: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session-binary[5727]: WARNING: Could not make bus activated clients aware of XMODIFIERS=@im=ibus environment variable: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session-binary[5727]: WARNING: Could not make bus activated clients aware of GNOME_DESKTOP_SESSION_ID=this-is-deprecated environment variable: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session-binary[5727]: WARNING: Could not make bus activated clients aware of XDG_MENU_PREFIX=gnome- environment variable: Could not connect: No such file or directory
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session[5727]: gnome-session-binary[5727]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session-binary[5727]: WARNING: Could not get session id for session. Check that logind is properly installed and pam_systemd is getting used at login.
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session-binary[5727]: WARNING: Lost name on bus: org.gnome.SessionManager
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session[5727]: gnome-session-binary[5727]: WARNING: Lost name on bus: org.gnome.SessionManager
Mar 08 11:34:26 DESKTOP-71NRFPV gnome-session-f[5750]: Cannot open display:
ProblemType: Bug
DistroRelease: Ubuntu 22.04
Package: evince 42.3-0ubuntu3
Uname: Linux 5.15.90.1-microsoft-standard-WSL2 x86_64
ApportVersion: 2.20.11-0ubuntu82.3
Architecture: amd64
CasperMD5CheckResult: unknown
Date: Wed Mar 8 11:55:32 2023
KernLog:
Security
security
ProcEnviron:
TERM=xterm-256color
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=C.UTF-8
SHELL=/bin/bash
SourcePackage: evince
UpgradeStatus: No upgrade log present (probably fresh install)
See also https:/ /github. com/microsoft/ WSL/issues/ 9033#issuecomme nt-1458631903
And some contents of journalctl