Xtightvncviewer Showing a Gray Screen

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

Your Answer

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

James H. Sterling

James H. Sterling

Environmental Science & Climate Journalist

James Sterling reports on renewable energy developments, climate policy, ecological conservation, and green tech innovations around the globe.

Share this article
Twitter Facebook Pinterest