Giter VIP home page Giter VIP logo

Comments (11)

dcommander avatar dcommander commented on June 25, 2024

Does the same thing happen when you start the "Ubuntu on Xorg" session from GDM? Since you are using a new operating system, it is possible that there is some issue with the installation. I need to eliminate that as a possibility before proceeding to diagnose this as a TurboVNC bug.

from turbovnc.

Daraan avatar Daraan commented on June 25, 2024

Thank you for the fast response. Can you do an idiot walkthrough for me, what you need me to do?

from turbovnc.

dcommander avatar dcommander commented on June 25, 2024

Assuming you have access to the local display on the machine, you should see a login screen. (That screen is provided by GDM, the "GNOME Display Manager.") Click on your user name (or click on "Not listed" and type in your user name.) Then, on the password screen, you'll see a gear icon in the lower right. Click on the gear icon and select "Ubuntu on Xorg" before entering your password. Once you log in, verify whether the browser and other applications are still missing.

from turbovnc.

Daraan avatar Daraan commented on June 25, 2024

I was not at the machine, there is no "Ubunto on Xorg" option. The two options are

  • "Ubuntu" (default)
  • "Ubuntu with Wayland"

On the local desktop both give me the normal view with the browser and favorite applications.


I assume something is not configures like it should for TurboVNC?


Some more infos not sure how relevant:

  • Xorg is installed, and when I use nvidia-smi it always shows it running
  • disabling wayland with enableWayland=False in the gdm3 custom.conf; only removed the with wayland option but changed nothing with TurboVNC

from turbovnc.

dcommander avatar dcommander commented on June 25, 2024

That's weird. My Ubuntu 22.04 installation shows two Ubuntu session options, "Ubuntu" and "Ubuntu on Xorg", when Wayland is enabled in GDM (which is the default.) I wonder if whatever is causing that difference is also causing the issue you observe with TurboVNC. (To be clear, I cannot reproduce that issue on my system, and I just ran apt upgrade to install the latest Ubuntu 22.04 updates and still can't reproduce the issue.)

Whether or not Wayland is enabled in GDM or Xorg is installed/using the GPU doesn't matter for TurboVNC, since TurboVNC is an independent virtual X server. It only mattered for the purpose of testing whether the issue was reproducible on the local display.

Can you do the following and post the output?

$ ls -l /usr/share/xsessions/ubuntu*
$ for file in /usr/share/xsessions/ubuntu*; do echo "*** $file"; cat $file; done

Also please post the output of env from a GNOME terminal inside the TurboVNC session and the same from a GNOME terminal inside the local Ubuntu/Xorg session. You can e-mail me the files if you don't want to post them here.

from turbovnc.

Daraan avatar Daraan commented on June 25, 2024
$ ls -l /usr/share/xsessions/ubuntu*
-rw-r--r-- 1 root root 292 Apr  7  2022 /usr/share/xsessions/ubuntu.desktop
-rw-r--r-- 1 root root 300 Apr  7  2022 /usr/share/xsessions/ubuntu-xorg.desktop
$ for file in /usr/share/xsessions/ubuntu*; do echo "*** $file"; cat $file; done
*** /usr/share/xsessions/ubuntu.desktop
[Desktop Entry]
Name=Ubuntu
Comment=This session 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

*** /usr/share/xsessions/ubuntu-xorg.desktop
[Desktop Entry]
Name=Ubuntu on Xorg
Comment=This session 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

env # local

HELL=/bin/bash
SESSION_MANAGER=local/<XXXX>:@/tmp/.ICE-unix/158280,unix/<XXXX>:/tmp/.ICE-unix/158280
QT_ACCESSIBILITY=1
COLORTERM=truecolor
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu-wayland:/etc/xdg
SSH_AGENT_LAUNCHER=gnome-keyring
XDG_MENU_PREFIX=gnome-
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
CONDA_EXE=<XXXX>/bin/conda
_CE_M=
LANGUAGE=en
LC_ADDRESS=de_DE.UTF-8
GNOME_SHELL_SESSION_MODE=ubuntu
LC_NAME=de_DE.UTF-8
SSH_AUTH_SOCK=/run/user/<XXXX>/keyring/ssh
XMODIFIERS=@im=ibus
DESKTOP_SESSION=ubuntu-wayland
LC_MONETARY=de_DE.UTF-8
GTK_MODULES=gail:atk-bridge
PWD=<XXXX>
LOGNAME=<XXXX>
XDG_SESSION_DESKTOP=ubuntu-wayland
XDG_SESSION_TYPE=wayland
CONDA_PREFIX=<XXXX>miniconda3
SYSTEMD_EXEC_PID=164569
XAUTHORITY=/run/user/<XXXX>/.mutter-Xwaylandauth.30ZLK2
IM_CONFIG_CHECK_ENV=1
HOME=/home/<XXXX>
USERNAME=<XXXX>
IM_CONFIG_PHASE=1
LC_PAPER=de_DE.UTF-8
LANG=en_US.UTF-8

LS_COLORS=<I assume you do not need this>

XDG_CURRENT_DESKTOP=ubuntu:GNOME
VTE_VERSION=6800
WAYLAND_DISPLAY=wayland-0
CONDA_PROMPT_MODIFIER=(base) 
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/c4b078fd_5e7b_406c_82c3_c4b50445cf74
GNOME_SETUP_DISPLAY=:2
LESSCLOSE=/usr/bin/lesspipe %s %s
XDG_SESSION_CLASS=user
PYTHONPATH=<XXXX>
TERM=xterm-256color
LC_IDENTIFICATION=de_DE.UTF-8
_CE_CONDA=
LESSOPEN=| /usr/bin/lesspipe %s
USER=<XXXX>
GNOME_TERMINAL_SERVICE=:1.228
CONDA_SHLVL=1
DISPLAY=:1
SHLVL=1
LC_TELEPHONE=de_DE.UTF-8
QT_IM_MODULE=ibus
LC_MEASUREMENT=de_DE.UTF-8
PAPERSIZE=a4
CLASSPATH=.:/usr/local/lib/antlr-4.10.1-complete.jar:
XDG_RUNTIME_DIR=/run/user/<XXXX>
CONDA_DEFAULT_ENV=base
LC_TIME=de_DE.UTF-8
XDG_DATA_DIRS=/usr/share/ubuntu-wayland:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop
PATH=/home/<XXXX>/miniconda3/bin:/home/<XXXX>/miniconda3/condabin:/home/<XXXX>/.local/bin:/home/<XXXX>/.local/bin:/home/<XXXX>/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
GDMSESSION=ubuntu-wayland
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/<XXXX>/bus
LC_NUMERIC=de_DE.UTF-8
_=/usr/bin/env
OLDPWD=<XXXX>

env #remote

SHELL=/bin/bash
SESSION_MANAGER=local/<xxxx>:@/tmp/.ICE-unix/230003,unix/<xxxx>:/tmp/.ICE-unix/230003
QT_ACCESSIBILITY=1
COLORTERM=truecolor
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg
XDG_MENU_PREFIX=gnome-
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GTK_IM_MODULE=ibus
CONDA_EXE=<xxxx>
_CE_M=
LANGUAGE=en
LC_ADDRESS=de_DE.UTF-8
GNOME_SHELL_SESSION_MODE=ubuntu
LC_NAME=de_DE.UTF-8
SSH_AUTH_SOCK=/tmp/ssh-XXXXXXvlcPGA/agent.230003
XMODIFIERS=@im=ibus
DESKTOP_SESSION=ubuntu
LC_MONETARY=de_DE.UTF-8
SSH_AGENT_PID=230085
GTK_MODULES=gail:atk-bridge
LOGNAME=<xxxx>
XDG_SESSION_DESKTOP=ubuntu
XDG_SESSION_TYPE=x11
CONDA_PREFIX=<xxxx>
GPG_AGENT_INFO=/run/user/<xxxx>/gnupg/S.gpg-agent:0:1
MOTD_SHOWN=pam
HOME=<xxxx>
LC_PAPER=de_DE.UTF-8
LANG=en_US.UTF-8
LS_COLORS=<shorted>
XDG_CURRENT_DESKTOP=ubuntu:GNOME
VNCDESKTOP=TurboVNC: <xxxx>:3 (<xxxx>)
VTE_VERSION=6800
CONDA_PROMPT_MODIFIER=(base) 
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/<some hash>
SSH_CONNECTION=<local> <yyyy> <IP of remote> <xxxx>
LESSCLOSE=/usr/bin/lesspipe %s %s
XDG_SESSION_CLASS=user
VGL_COMPRESS=0
PYTHONPATH=<xxxx>
TERM=xterm-256color
LC_IDENTIFICATION=de_DE.UTF-8
_CE_CONDA=
LESSOPEN=| /usr/bin/lesspipe %s
USER=<xxxx>
GNOME_TERMINAL_SERVICE=:1.81
CONDA_SHLVL=1
DISPLAY=:3
SHLVL=1
LC_TELEPHONE=de_DE.UTF-8
QT_IM_MODULE=ibus
LC_MEASUREMENT=de_DE.UTF-8
PAPERSIZE=a4
CLASSPATH=.:/usr/local/lib/antlr-4.10.1-complete.jar:
CONDA_PYTHON_EXE=/home/<xxxx>/miniconda3/bin/python
XDG_RUNTIME_DIR=/run/user/<xxxx>
SSH_CLIENT=<local> <yyyy> <xxxx>
CONDA_DEFAULT_ENV=base
FONT_ENCODINGS_DIRECTORY=/usr/share/fonts/X11/encodings
LC_TIME=de_DE.UTF-8
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/local/share/:/usr/share/
GDK_BACKEND=x11
PATH=/home/<xxxx>/miniconda3/bin:/home/<xxxx>/miniconda3/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
GDMSESSION=ubuntu
DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-1afre3pxa9,guid=<do you need this?>
LC_NUMERIC=de_DE.UTF-8
VGL_PROBEGLX=0
_=/usr/bin/env

from turbovnc.

dcommander avatar dcommander commented on June 25, 2024

Can you re-post the local environment variables from an Xorg session instead of a Wayland session? Thanks.

from turbovnc.

Daraan avatar Daraan commented on June 25, 2024

Yah sure. Thank you too

I marked the lines that are different with # <--

SHELL=/bin/bash
SESSION_MANAGER=local/<XXXX>:@/tmp/.ICE-unix/3118,unix/<XXXX>:/tmp/.ICE-unix/3118 # <--
QT_ACCESSIBILITY=1
COLORTERM=truecolor
XDG_CONFIG_DIRS=/etc/xdg/xdg-ubuntu:/etc/xdg # <--
SSH_AGENT_LAUNCHER=gnome-keyring
XDG_MENU_PREFIX=gnome-
GNOME_DESKTOP_SESSION_ID=this-is-deprecated
GTK_IM_MODULE=ibus # <--new
CONDA_EXE=<XXXX>/bin/conda
_CE_M=
LANGUAGE=en
LC_ADDRESS=de_DE.UTF-8
GNOME_SHELL_SESSION_MODE=ubuntu
LC_NAME=de_DE.UTF-8
SSH_AUTH_SOCK=/run/user/<XXXX>/keyring/ssh
XMODIFIERS=@im=ibus
DESKTOP_SESSION=ubuntu # <--
LC_MONETARY=de_DE.UTF-8
GTK_MODULES=gail:atk-bridge
PWD=<XXXX>
LOGNAME=<XXXX>
XDG_SESSION_DESKTOP=ubuntu # <--
XDG_SESSION_TYPE=x11 # <--
CONDA_PREFIX=<XXXX>miniconda3
GPG_AGENT_INFO=/run/user/<XXXX>/gnupg/S.gpg-agent:0:1 # <--new
SYSTEMD_EXEC_PID=3138 # <--
XAUTHORITY=/run/user/<XXXX>/gdm/Xauthority # <--
WINDOWPATH=2 # <--new
HOME=/home/<XXXX>
USERNAME=<XXXX>
IM_CONFIG_PHASE=1
LC_PAPER=de_DE.UTF-8
LANG=en_US.UTF-8

LS_COLORS=<I assume you do not need this>

XDG_CURRENT_DESKTOP=ubuntu:GNOME
VTE_VERSION=6800
CONDA_PROMPT_MODIFIER=(base) 
GNOME_TERMINAL_SCREEN=/org/gnome/Terminal/screen/<some hash>
LESSCLOSE=/usr/bin/lesspipe %s %s
XDG_SESSION_CLASS=user
PYTHONPATH=<XXXX>
TERM=xterm-256color
LC_IDENTIFICATION=de_DE.UTF-8
_CE_CONDA=
LESSOPEN=| /usr/bin/lesspipe %s
USER=<XXXX>
GNOME_TERMINAL_SERVICE=:1.90 # <--
CONDA_SHLVL=1
DISPLAY=:2 # <--
SHLVL=1
LC_TELEPHONE=de_DE.UTF-8
QT_IM_MODULE=ibus
LC_MEASUREMENT=de_DE.UTF-8
PAPERSIZE=a4
CLASSPATH=.:/usr/local/lib/antlr-4.10.1-complete.jar:
XDG_RUNTIME_DIR=/run/user/<xxxx>
CONDA_DEFAULT_ENV=base
LC_TIME=de_DE.UTF-8
XDG_DATA_DIRS=/usr/share/ubuntu:/usr/share/gnome:/usr/local/share/:/usr/share/:/var/lib/snapd/desktop # <--
PATH=/home/<XXXX>/miniconda3/bin:/home/<XXXX>/miniconda3/condabin:/home/<XXXX>/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin:/snap/bin
GDMSESSION=ubuntu # <--
DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/<XXXX>/bus
LC_NUMERIC=de_DE.UTF-8
_=/usr/bin/env

I assume the display changed to 2 because I logged in via TurboVNC before login in after reboot.
Ubuntu and "Ubuntu with Wayland" are still the only options in the login screen.

A apt upgrade was also done; not fixing the problem.

from turbovnc.

dcommander avatar dcommander commented on June 25, 2024

I'll compare these to the results from my system when I get a chance, but at the moment I don't see any obvious explanation for the issue.

from turbovnc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.