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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
03-19-2003, 12:15 AM
|
#1
|
LQ Newbie
Registered: Mar 2003
Location: Melbourne, Australia
Distribution: Red Hat 8.0
Posts: 6
Rep:
|
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
|
|
|
03-19-2003, 01:16 AM
|
#2
|
Member
Registered: Mar 2002
Location: INDIA
Distribution: Mandrake Linux 9.2, Knoppix 3.0
Posts: 158
Rep:
|
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
##################################
|
|
|
03-19-2003, 04:41 PM
|
#3
|
LQ Newbie
Registered: Mar 2003
Posts: 12
Rep:
|
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.
|
|
|
03-19-2003, 08:54 PM
|
#4
|
LQ Newbie
Registered: Mar 2003
Location: Melbourne, Australia
Distribution: Red Hat 8.0
Posts: 6
Original Poster
Rep:
|
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 !!!!!!!
|
|
|
03-19-2003, 09:44 PM
|
#5
|
Member
Registered: Mar 2003
Location: Colorado
Distribution: RedHat 7.1/Redhat 8.0/Gentoo 1.4
Posts: 45
Rep:
|
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
|
|
|
03-20-2003, 05:29 PM
|
#6
|
LQ Newbie
Registered: Mar 2003
Posts: 12
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 12:07 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|