LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Any way to VNC to native desktop? (https://www.linuxquestions.org/questions/linux-software-2/any-way-to-vnc-to-native-desktop-218329/)

Phaethar 08-16-2004 11:45 AM

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.

ranger_nemo 08-16-2004 12:35 PM

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.

darin3200 08-16-2004 12:42 PM

Re: Any way to VNC to native desktop?
 
I just use libvncserver which is activatived using 'x11vnc'

Phaethar 08-16-2004 01:43 PM

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!

Dubby 09-25-2004 08:03 PM

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

Robaix 09-28-2004 08:20 AM

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 :)


All times are GMT -5. The time now is 08:44 PM.