This is my ~/.vnc/xstartup file
#!/bin/sh xrdb $HOME/.Xresources startxfce4 & While connecting from another system where xtightvncviewer is installed, I get only a gray screen.
1 Answer
I solved it by adding the following lines to ~/.vnc/xstartup, killed the session and started it again.
Instead of the gray window, I get a brand new session of the remote machine.
unset SESSION_MANAGER exec /etc/X11/xinit/xinitrc 2