Sample Header Ad - 728x90

TightVnc server shows only a grey screen

0 votes
1 answer
9309 views
I am trying to reach a TightVnc server on an Ubuntu machine with VNC Viewer from a Windows machine. TightVnc was already installed, so I started it with: *vncserver :1* If I am connecting to it from a VNC Viewer, i see only a grey background (no gnome desktop): enter image description here My xstartup file (generated automatically by vncserver): #!/bin/sh xrdb $HOME/.Xresources xsetroot -solid grey #x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & #x-window-manager & # Fix to make GNOME work export XKL_XMODMAP_DISABLE=1 /etc/X11/Xsession Someone suggested to change this to (to start gnome explicitly): # Uncomment the following two lines for normal desktop: # unset SESSION_MANAGER # exec /etc/X11/xinit/xinitrc [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources xsetroot -solid grey vncconfig -iconic & x-terminal-emulator -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & x-window-manager & gnome-panel & gnome-settings-daemon & metacity & nautilus & The result: enter image description here Nautilus is started, but no desktop is shown. What am I missing? How can I reach the gnome desktop as well? Thank you for any good suggestions.
Asked by Lázár Antal (1 rep)
Jul 11, 2022, 05:30 PM
Last activity: Nov 28, 2023, 02:03 AM