• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 7826
  • Last Modified:

How to configure VNC display

I want to try to use VNC from Windows XP to remote control a RedHat Linux ES server.
I am able to connect to the Linux server through VNC. After I get connected, it does not show the desktop of the lLinux server and just a terminal window. I was told the xstart script file need to be modified in order to show the desktop.
Could anyone help on this?

The xstart script file is as follow:

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
 setroot -solid grey
 vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

Thanks!
0
csyrich
Asked:
csyrich
  • 2
1 Solution
 
wesly_chenCommented:
> [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
> setroot -solid grey
> vncconfig -iconic &
>xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
>twm &
Hi,

   Change the last line from "twm &" to "gnome-session &".
And restart vncerver.

Wesly
0
 
wesly_chenCommented:
By the way, if you use KDE, then use
"startkde &"

Wesly
0
 
csyrichAuthor Commented:
It works just fine.
Thank you!
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now