Takeover a running X11 Session

Taking over a local X11 session which is running on a linux box far away. Nevertheless, the box is accessible via vpn/ssh.

Try this:
Download / Install x11vnc using ssh on your remote box as described here

Connect to the remote box using ssh (here the local port 5904 is used)
ssh -L5904:localhost:5900 remote.address 
Start the X11 server taking over the session of the currently logged in user
x11vnc -find -auth guess
Start a VNC Client connecting to localhost:5904

This entry was posted in Uncategorized. Bookmark the permalink.

1 Response to Takeover a running X11 Session

  1. doclazy says:

    Version 0.9.13 allows to be started with: -display ${DISPLAYNO}
    e.g. x11vnc -display :0
    This also provides X11 session DISPLAX :0 as a vnc session.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.