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.enter image description here

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

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy