Monday 1 August 2016

VNC Screen Displaying Black screen with a cross mark:Error xsetroot,xterm,twm command not found.

VNC Application is used to remotely connect to a server from our local machine and work from our local instance, it works like Team Viewer. This application is really helpful in the situations like if our server is located in different network and while accessing our server from our client  it is really slow. Like this situation VNC application is really helpfull.

In our case  we have to access a server located in 10.#.#.# network from 192.#.#.# network so for that we installed VNC server in 10.#.#.# network and client in 192.#.#.# network.

Steps to install VNC viewer and client is provided in the below mentioned blog:

https://oracle-base.com/articles/linux/configuring-vnc-server-on-linux



After configuring VNC Server and Client when i connected to the server from my local windows i can only see a blank black screen and a cross mark.

So i checked the log files and the issue description is given below:

/root/.vnc/xstartup: line 27: xsetroot: command not found
/root/.vnc/xstartup: line 28: xterm: command not found
/root/.vnc/xstartup: line 29: twm: command not found

It shows some of the packages are missing.

So please download and install rpms related to xorg-x11-twm , xterm ,xsetroot.

yum install xorg-x11-twm
yum install xterm
yum install xsetroot

Then restart VNC Server.

After restarting server try connecting from client.




No comments:

Post a Comment