vnc session black screen in linux
Dear friends,
We are having OEL 5.3 server and VNC is installed on it.
The vnc graphical mode was runing fine till yesterday but suddenly I dont know what happened, today our developers tried to login to vnc in graphical mode but the screen is completely black, we cant see anything here.
I just tried to kill all the active sessions and logs and restarted the vnc but no luck.
The xstartup file is as follows:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &
In non-graphical mode we can start the vnc and it is running fine.
Could you please let me know how to start working in graphical mode with no issues.
Thanks in advance.