Specifiying Ubuntu desktop does not work, always GNOME | pressku.com

Trending 3 months ago

I login pinch bid statement and past link to nan desktop done TigerVNC, not done a section GUI login screen. That is, systemctl get-default returns multi-user.target.

In GUI login screen, we tin prime GNOME aliases Ubuntu desktop easy by rodent click. But successful bid line, nan /ubuntu-xorg.desktop record successful /usr/share/xsessions/ provides bid to commencement Ubuntu desktop. The contents of this record is:

[Desktop Entry] Name=Ubuntu connected Xorg Comment=This convention logs you into Ubuntu Exec=env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --session=ubuntu TryExec=/usr/bin/gnome-shell Type=Application DesktopNames=ubuntu:GNOME X-GDM-SessionRegisters=true X-Ubuntu-Gettext-Domain=gnome-session-42

It suggests that nan bid to commencement Ubuntu desktop successful ~/.vnc/xstartup be

GNOME_SHELL_SESSION_MODE=ubuntu dbus-launch --exit-with-session gnome-session --session=ubuntu

But it does not work. The desktop is ever GNOME (verified by echo $XDG_CURRENT_DESKTOP). Did I miss thing for illustration package aliases configuration to commencement Ubuntu desktop successful TigerVNC?

I'm utilizing Ubuntu 22.04.3 LTS. The GNOME type is 42.9. GDM3 is installed.