31

Would like to be able to connect to an existing X display, so can access my work environment and everything I left open from home. I vaguely remember something about using x11vnc in the past. But the package does not exists for Fedora 11, so I am thinking there is some built in method now.

NOTE: I connect to my work machine through a VPN so password protection is all I need security wise.

41

Use x11vnc, It will attach to a running session and let you share the desktop. If you run it as root to connect to an xdm session, you will need to do some research into Xauth as it can be a bit fiddly to set up.

Another advantage of this server is that it supports alot of the advanced VNC features used by UltraVNC including large bitmap caching and file-transfer.

2

If you're using KDE at work, KDE already has a VNC server built in.

Presumably, GNOME does too.

  • 1
    -1 - Those create new sessions, don't use the existing one. – Robert Munteanu Jun 17 '09 at 7:19
  • Robert Munteanu: no you are mistaken. gnome has vino and you can dinamically bind vnc to an already running X session. – cstamas Jun 17 '09 at 7:27
  • 1
    @cstamas - the original answer gave no indication of it - a name/link/config sample would be appreciated. – Robert Munteanu Jun 17 '09 at 7:40
  • @Robert: gnome.org/~markmc/remote-desktop-2.html – cstamas Jun 17 '09 at 9:09
  • @cstamas - thanks for pointing out vino – grom Jun 18 '09 at 1:15
1

As an alternative, you might want to look at NX. It is usually much faster than VNC over the Internet, and I know you can configure it to be able to access the running X session on the console.

1

x11vnc (http://www.karlrunge.com/x11vnc/)

1

I did a fairly elaborate setup for a customer site that might be appropriate for you.

This is based on a configuration I did for a customer. They wanted the following:

  • that users could remote-desktop into an already-running desktop running on the system console;
  • that users could initiate a session running on the console if one wasn't already running, and then use that; and
  • that other users could connect to an already-running desktop, sharing access with the user who was already logged in.

See the details here.

Beware the security implications too.

0

Use xrfb.

I need to type more than 10 characters, lalalaa.

  • 5
    A link to the home page would be much more useful. – vines May 30 '15 at 13:06
0

According documentation Tigervnc has support for this.

x0vncserver is a TigerVNC Server which makes any X display remotely accessible via VNC, TigerVNC or compatible viewers. Unlike Xvnc(1), it does not create a virtual display. Instead, it just shares an existing X server (typically, that one connected to the physical screen).

x0vncserver -display :0

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.