Why is my VNC server grey on my Desktop?

Why is my VNC server grey on my Desktop?

From there you can debug the commands in the .vnc/xstartup script, like startxfce4, or you can try manually the ones required for minimal desktop functionality: This is a error caused by the config file which was badly generated on VNC server install. You just need and only need to update your file with the default one.

Why is my Linux VM showing a gray screen?

Your /root/.vnc/xstartup looks very strange. The exec line passes control permanently to the file specified as its parameter, so only the first two non-comment lines of your script get executed. It would be worth looking in the references xinitrc to see what it wants to do. (If the file’s not too long please add it to the question.)

How to create a VNC server in Linux?

After using those commands to install stuff (a VNC server and Gnome, I think), I created this file at /root/.vnc/xstartup:

How to kill vncserver in Ubuntu 16.04 LTS?

Add the following lines to the file. Kill the vncserver. Start the vncserver. Run nc IP PORT. I had the same issue, but found ~/.vnc/xstartup.bak to have my old config. I just needed to: A general solution is to configure your Autostart settings to include xterm. From there I click in “Add Program…”

Can a VNC Connect to a Linux VM?

I had similar problem. VNC started, can connect, but empty desktop. Oracle Linux 7.2 (which is almost 1:1 from RHEL7.2) I have checked commands executed in /etc/X11/xinit/xinitrc and has found that default (!!!!) window manager /usr/bin/twm file is not present in system (despite “Server with GUI” was selected as installation option).

How to run VNC server in Debian 10?

First , I installed debian10-netinstall. Then I installed Gnome via ‘Tasksel’ command. Then I used this Tutorial for installing vnc server. Then I start vncserver via this command tightvncserver -geometry 1024×720 :1 and here is the output :