?
Solved

blank screen with VNC and Redhat 8.0

Posted on 2003-03-07
11
Medium Priority
?
474 Views
Last Modified: 2013-12-15
Hello there,

I have just recently done a fresh install of Redhat 8.0. Previously I had been running 7.3 in which I was using the VNC program with no problems whatsoever.
The server machine was obviously my linux box, whilst the client machine was my winxp laptop.

However, upon freshly installing Redhat 8.0 and going about the same way as before (setting vncserver up as a service and then starting it at the bash prompt by typing: vncserver), when I went to start my client machine, all I get is a grey screen. The VNC website calls it the 'rootweave' screen. The vnc website said to look in the log file for that particular session for errors. However I have no errors showing up!!
Except for , it says the following:
gnome-session: you're already running a session manager.

Would that have something to do with it? I am running kDE...

Thanks,

Tim.
0
Comment
Question by:tomcrom
9 Comments
 
LVL 3

Expert Comment

by:Flash828
ID: 8100323
try "switchdesk-gnome" and see if that works.  Are you running X while loading the vncserver (although I dont think that should matter).  
0
 

Expert Comment

by:zeus11
ID: 8106664
type "vncserver n " where n is the display number, then try to connect by "vncviewer ip:n"
0
 
LVL 2

Accepted Solution

by:
dlusty earned 220 total points
ID: 8142257
in ~/.vnc/xstartup you need:

unset SESSION_MANAGER
xrdb $HOME/.Xresources
exec gnome session

if you want the vncserver at startup the open /etc/rc.local and enter the line

su -l root -c vncserver

if you want it run as root obviously :o)

this worked for me, I now have a gnome session on VNC from startup. hope this helped
0
Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

 
LVL 2

Expert Comment

by:dlusty
ID: 8142263
oh bugger you said you're running KDE :O( silly me! change the "exec gnome-session" to "exec kde" or whatever the command to start kde is :o)
0
 

Author Comment

by:tomcrom
ID: 8144266
thanks dlusty!

I figured out that you need to put that unset SESSION MANAGER in myself a couple of days ago.. I wonder why?!..

Anyways, I have had trouble getting kde to work - only Gnome has been working, which isn't really the end of hte world..

But you've shown me how!!

Cheers.
0
 
LVL 2

Expert Comment

by:dlusty
ID: 8145118
the session manager variable is only for gnome, it sets whether there is a running session or not because gnome only supports 1 session per user. it ahouldn't be needed to start kde at all, but with kde you should use suse or similar as redhat it designed around gnome so the tools won;t look as good.

as for the file try startkde, just looked it up and seems to be the answer :o)

so
exec startkde
instead of
exec gnome-session

0
 
LVL 2

Expert Comment

by:dlusty
ID: 8233697
did you get this working?
0
 

Expert Comment

by:CleanupPing
ID: 9076650
tomcrom:
This old question needs to be finalized -- accept an answer, split points, or get a refund.  For information on your options, please click here-> http:/help/closing.jsp#1 
EXPERTS:
Post your closing recommendations!  No comment means you don't care.
0
 
LVL 2

Expert Comment

by:dlusty
ID: 9077215
I'd like to know if you got this working :o) also I think it looks like I helped so do I get the points?
0

Featured Post

The new generation of project management tools

With monday.com’s project management tool, you can see what everyone on your team is working in a single glance. Its intuitive dashboards are customizable, so you can create systems that work for you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I have written articles previously comparing SARDU and YUMI.  I also included a couple of lines about Easy2boot (easy2boot.com).  I have now been using, and enjoying easy2boot as my sole multiboot utility for some years and realize that it deserves …
Cron is one of the most popular and basic utilities found on Unix systems. Combined with other tools, cron makes it exceptionally easy to automate a broad range of tasks on your server.
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.
Suggested Courses

593 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question