I have almost spent a day in trying out all the possibilities and by now I have no clue..
What I want to do
When I connect to my linux server using vnc viewer I want to see xfce desktop
Operating system: GNU/Linux
I install xfce by doing "sudo yum groupinstall xfce"
then I made changes in the /.vnc/xstartup file to include startxfce4 &, but it is not working. Below is my xstartup file. Please help.
vncconfig -iconic &
if [ $OS = 'Linux' ]; then
case "$WINDOWMANAGER" in
if [ -e /etc/SuSE-release ]; then
#exec /bin/sh /etc/xdg/xfce4/xinitrc
if [ -x /etc/X11/xinit/xinitrc ]; then
if [ -f /etc/X11/xinit/xinitrc ]; then
exec sh /etc/X11/xinit/xinitrc
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "XFCE" &