LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-14-2008, 05:20 PM   #1
sidra
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora Core 3, Red Hat 9, CentOS 4.2, Mandriva, Ret Hat Enterprise Linux 4.0
Posts: 116

Rep: Reputation: 15
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.
 
Old 05-14-2008, 05:25 PM   #2
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
What do you mean by
Quote:
i don't see the proper graphical desktop
What's not proper about the way it looks?
 
Old 05-14-2008, 05:42 PM   #3
sidra
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora Core 3, Red Hat 9, CentOS 4.2, Mandriva, Ret Hat Enterprise Linux 4.0
Posts: 116

Original Poster
Rep: Reputation: 15
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.
 
Old 05-14-2008, 08:43 PM   #4
{BBI}Nexus{BBI}
Senior Member
 
Registered: Jan 2005
Location: Nottingham, UK
Distribution: Mageia 6, KDE Neon
Posts: 4,313

Rep: Reputation: 212Reputation: 212Reputation: 212
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)
 
Old 05-15-2008, 12:28 PM   #5
sidra
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora Core 3, Red Hat 9, CentOS 4.2, Mandriva, Ret Hat Enterprise Linux 4.0
Posts: 116

Original Poster
Rep: Reputation: 15
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 &
 
Old 05-15-2008, 12:55 PM   #6
sidra
Member
 
Registered: Oct 2004
Location: USA
Distribution: Fedora Core 3, Red Hat 9, CentOS 4.2, Mandriva, Ret Hat Enterprise Linux 4.0
Posts: 116

Original Poster
Rep: Reputation: 15
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.
 
Old 05-16-2008, 03:28 PM   #7
scheidel21
Senior Member
 
Registered: Feb 2003
Location: CT
Distribution: Debian 6+, CentOS 5+
Posts: 1,323

Rep: Reputation: 100Reputation: 100
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.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
VNC desktop display Problems with Fedora/Windows XP vonedaddy Linux - Software 3 10-04-2007 01:27 PM
gnome desktop won't display on VNC viewer davsnotn Linux - Networking 2 05-19-2006 07:03 PM
VNC - Display excatly MY desktop Jamel75 Linux - Software 3 11-10-2004 02:43 PM
VNC vs Remote Desktop: display confusion klandingham Linux - Newbie 0 11-03-2004 11:27 AM
Tight VNC won't display my KDE desktop jspaceman Linux - Networking 4 10-22-2004 02:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration