LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 03-19-2003, 12:15 AM   #1
jasoncngo
LQ Newbie
 
Registered: Mar 2003
Location: Melbourne, Australia
Distribution: Red Hat 8.0
Posts: 6

Rep: Reputation: 0
Unhappy VNC : can log in but i dont have a Gnome GUI


Hi guys,

I am new to Linux so forgive my ignorance.

I have managed to log in to my Linux box but all I can see is a TWM Icon manager. I cant see the GUI

my startup script is below ~/.vnc/xstartup

[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" & /var/X11R6/lib/xinit/xinitrc.gnome &


Could it be because I am running KDE ?

Thanx people
 
Old 03-19-2003, 01:16 AM   #2
mayankjohri
Member
 
Registered: Mar 2002
Location: INDIA
Distribution: Mandrake Linux 9.2, Knoppix 3.0
Posts: 158

Rep: Reputation: 30
my .vnc/xstartup file contains this and i get the kdm
##################################
#!/bin/sh

# Red Hat Linux VNC session startup script
exec /etc/X11/xinit/xinitrc
##################################
 
Old 03-19-2003, 04:41 PM   #3
TimeSaver
LQ Newbie
 
Registered: Mar 2003
Posts: 12

Rep: Reputation: 0
Two Solutions try one by one:

1. start your VNC server not from a shell on the linux box but telnet it from remote and then start your vncserver. (Cuz looks like gnome is not started when it already has started the X once)

2. In your xstartup file, at the end type

kdestart &
startkde &

not both of the lines but just one..I forgot the command that if itis kdestart of startkde..just try. This should work.
 
Old 03-19-2003, 08:54 PM   #4
jasoncngo
LQ Newbie
 
Registered: Mar 2003
Location: Melbourne, Australia
Distribution: Red Hat 8.0
Posts: 6

Original Poster
Rep: Reputation: 0
HELP

Its definitely startkde. thanks mayankjohri & TimeSaver

TimeSaver, I ussed startkde & in the xstartup script. I got a grey screen but cant see anything else !!!! The VNC screen says Roots X Desktop. Does this mean anything to you guys ?

Still stuck, can not get GUI through VNC, manage to get a Grey blank dotted screen with the cursor showing. !!!

HELP !!!!!!!
 
Old 03-19-2003, 09:44 PM   #5
stikboy
Member
 
Registered: Mar 2003
Location: Colorado
Distribution: RedHat 7.1/Redhat 8.0/Gentoo 1.4
Posts: 45

Rep: Reputation: 15
if you login locally, and kde is your default dektop, just use mayankjohri's xstartup script - it's nothing fancy, just those 3 lines, but it will start your default Xsession in VNC
 
Old 03-20-2003, 05:29 PM   #6
TimeSaver
LQ Newbie
 
Registered: Mar 2003
Posts: 12

Rep: Reputation: 0
Did u start the VNC server from the linux box itself or by telnet from a remote machine. Try via telnet and it will work. I had the same problem long back and came to this conclusion. Telnet to the linux box kill the VNC servers that u have started, do a ps -al and check the id's of Xvnc's and kill em.

Then start the VNC server with atleast the mayankjohri's lines in xstartup file and then try to connect it should work.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
I dont have /var/log/messages rag_mg Red Hat 3 10-26-2005 03:56 AM
need VNC to allow 'logout/login' from Gnome (gnome & VNC runs fine) spudler Linux - Networking 3 11-14-2004 10:02 AM
Suse got broke and now YaST2 gui dont work... DoomRider Linux - Hardware 0 08-30-2002 03:54 PM
I dont want the MAC GUI in redhat anymore Laxin22 Linux - Newbie 1 02-17-2002 01:57 PM
Dont know how to get to a GUI Laxin22 Linux - Newbie 5 01-02-2002 06:03 AM

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

All times are GMT -5. The time now is 12:07 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