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 08-16-2004, 11:45 AM   #1
Phaethar
Member
 
Registered: Oct 2003
Location: MN
Distribution: CentOS, Fedora
Posts: 182

Rep: Reputation: 30
Any way to VNC to native desktop?


Just wondering if anyone knows of any methods or hacks that would allow me to VNC to a Fedora Core 2 machine's native desktop (display :0). I need to be able to start some apps on some servers locally on the network and then check them from a workstation, meaning I need to see the same display I start them on. I've been able to do it in the past, as there were a couple of different methods to do it, those being:

RealVNC.com recommends loading the vnc.so module at startup by following the instructions on their site.

For earlier versions of VNC, someone else wrote a hack to export the primary display to VNC. This worked really well actually..

Now, the problem is that both these methods require some editing of the XF86Config file, which no longer exists on FC2. So of course, both these methods are out for the time being.

So far, the only method I've found is to use the x0vncserver command, which is almost useless. It maxes out the CPU utilization, causes a lot of typos (duplicate characters entered), and has caused some other weird glitches.

So, might anyone know of a way to use VNC to view the primary display of a FC2 system?

Thanks in advance.
 
Old 08-16-2004, 12:35 PM   #2
ranger_nemo
Senior Member
 
Registered: Feb 2003
Location: N'rn WI -- USA
Distribution: Kubuntu 8.04, ClarkConnect 4
Posts: 1,142

Rep: Reputation: 47
Re: Any way to VNC to native desktop?

Quote:
Now, the problem is that both these methods require some editing of the XF86Config file, which no longer exists on FC2. So of course, both these methods are out for the time being.
FC2 uses X.org rather than XFree86. I'm not exactly sure, but I've read somewhere that X.org started as a fork of XFree when XFree changed their license. So, X.org should run pretty similar to XFree for quite awhile. /etc/X11/xorg.conf is the config file that used to be XF86Config. You could try editting the xorg.conf the way you would the XF86Config and see if either hack will work.

I know it worked exactly the same when I was configuring the touchpad on my laptop, and had to edit XF86Config.
 
Old 08-16-2004, 12:42 PM   #3
darin3200
LQ Guru
 
Registered: Dec 2002
Distribution: Gentoo!
Posts: 1,153

Rep: Reputation: 45
Re: Any way to VNC to native desktop?

I just use libvncserver which is activatived using 'x11vnc'
 
Old 08-16-2004, 01:43 PM   #4
Phaethar
Member
 
Registered: Oct 2003
Location: MN
Distribution: CentOS, Fedora
Posts: 182

Original Poster
Rep: Reputation: 30
Quote:
You could try editting the xorg.conf the way you would the XF86Config and see if either hack will work.
Thanks for the tip ranger_nemo, this worked perfectly. Loaded vnc.so as a module and set up the password path and I was able to get right to the primary display.

Thanks!
 
Old 09-25-2004, 08:03 PM   #5
Dubby
LQ Newbie
 
Registered: Sep 2004
Location: Bellvue, CO USA
Posts: 1

Rep: Reputation: 0
I am trying to do the same thing I beleive. Since you've been successful would you help me understand how its done? I opened the file /etc/X11/xorg.conf to see if there was anything obvious to tweak but I'm unsure what to do. I am running Fedora 2 core and need to VNC in to use this GNOME X system as if I were sitting in front of it (logging in, running and monitoring applications, etc.). When I start the VNC server and access it remotely, its very unusual looking... It doesnt look like the main X desktop that I log into.

Any help will be greatly appreciated.

-Dubby
 
Old 09-28-2004, 08:20 AM   #6
Robaix
LQ Newbie
 
Registered: Sep 2004
Location: Germany (Aachen)
Distribution: Fedora Core 2
Posts: 1

Rep: Reputation: 0
I got it working following what ranger_nemo said:

in /etc/X11 I edited the file xorg.conf and inserted the lines as instructed in http://www.realvnc.com/v4/x0.html

Then I logged in with the VNC-RealViewer: I have exactly what I expected: the Fedora Core 2 login and then Gnome from a "remote" machine.

Thanx a lot for your tips
 
  


Reply

Tags
fc2, vnc, x11, x11vnc



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 forwarding on :0 ??? nicedreams Linux - Software 4 06-01-2005 02:39 AM
VNC Default Desktop setup Rosooki Mandriva 4 03-07-2005 03:23 AM
Vnc native X server (":0" X display) on Mandrake 10.1 sunny.shah Mandriva 0 12-13-2004 03:07 PM
VNC native display (:0) on FC2 tawalker Fedora 1 06-10-2004 04:00 PM
Cannot view Desktop in VNC teodavinci Fedora - Installation 3 04-21-2004 08:44 PM

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

All times are GMT -5. The time now is 04:14 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
Open Source Consulting | Domain Registration