LinuxQuestions.org
Help answer threads with 0 replies.
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 07-02-2003, 12:10 AM   #1
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Getting VNC to run with Gnome


I was hoping someone could tell me how to get Gnome running in a VNC server. I've edited ~/.vnc/.xstartup to try and get it to work. I've tried invoking gnome-session by itself, and I've also tried 'exec gnome-session'. Regardless of the line, when I connect to the vnc server, all I get is the standard grey background and the big X for a cursor. It's really starting to bug me...

Any ideas (or answers) would be greatly appreciated. Thanks.
 
Old 07-02-2003, 12:15 AM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Original Poster
Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
Hmmm... maybe I ought to look at log files before posting. It says I "already have a session manager running". So, I guess I need to read some more about Gnome, but feel free to step in anytime if you've don all this before.
 
Old 07-02-2003, 12:30 AM   #3
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Original Poster
Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
I found the answer to the problem thanks to an archived thread already here.

Change the ~/.vnc/xstartup file to contain the following:

Code:
#!/bin/sh
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
That works for Red Hat and was provided by azornoz. Don't you moderators just love seeing self-answering threads? Especially when I should have looked in the archive before asking...
 
  


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
Xvnc couldn't start-->trying to run vnc..... pablovschby Linux - Networking 14 10-20-2012 03:19 AM
need VNC to allow 'logout/login' from Gnome (gnome & VNC runs fine) spudler Linux - Networking 3 11-14-2004 10:02 AM
How do i Run vnc on my linux box? hornet74 Linux - Networking 4 11-14-2003 04:52 PM
Can VNC run under LAN? iamthewind Linux - Software 7 10-16-2003 10:33 PM
How do you run vnc madiyaan Linux - Newbie 2 05-04-2003 11:26 PM


All times are GMT -5. The time now is 07:55 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration