LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Desktop doesn't display properly via VNC (https://www.linuxquestions.org/questions/linux-software-2/desktop-doesnt-display-properly-via-vnc-642217/)

sidra 05-14-2008 05:20 PM

Desktop doesn't display properly via VNC
 
Hi all,

I've configured VNC on numerous servers and it seems to work fine on most of them. However on the last 2 or 3 servers i installed on, i don't see the proper graphical desktop. I've followed instructions from:
http://bobpeers.com/linux/vnc.php

I don't know if there is anything wrong with my X windows or what. Please help..

Thanks.

{BBI}Nexus{BBI} 05-14-2008 05:25 PM

What do you mean by
Quote:

i don't see the proper graphical desktop
What's not proper about the way it looks?

sidra 05-14-2008 05:42 PM

Well the screen is gray and i don't see the blue graphical desktop, i can't move the console anywhere, it's not right.

{BBI}Nexus{BBI} 05-14-2008 08:43 PM

Sounds like you didn't specify which desktop environment to use.

Replace twm & with the appropriate choice from below:


startkde & (used for the KDE window manager)

exec gnome-session & (used for the Gnome window manager)

startxfce4 & (used for the XFCE4 window manager)

sidra 05-15-2008 12:28 PM

It doesn't work, still get the same screen. Below is my xstartup:

#!/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" &
exec gnome-session &

sidra 05-15-2008 12:55 PM

I think i found the problem. I believe i don't have X server installed on this system, how would i go about installing it or running it?

Thanks.

scheidel21 05-16-2008 03:28 PM

Well you should install the Xserver from the packages for your distro, however, I do not think that X is not installed because you should not get a grey background unless X is installed, it sounds more like your window manager is not starting.


All times are GMT -5. The time now is 10:59 AM.