Page 2 of 8 FirstFirst 1234 ... LastLast
Results 11 to 20 of 75

Thread: HOWTO: Share desktops with x11vnc instead of Built in Remote Desktop

  1. #11
    Join Date
    Jan 2005
    Beans
    276
    Distro
    Ubuntu

    Re: HOWTO: Share desktops with x11vnc instead of Built in Remote Desktop

    Assuming you have both the above setup done and ssh installed on the remote server, in the client machine open a terminal and go:

    Code:
    ssh <remoteusername>@<remoteserver> -L 5900:127.0.0.1:5900
    Then in another terminal go:

    Code:
    xvncviewer localhost:0
    That's very basic. You should confirm that works before you go crazy with passwordless (key auth) stuff. Some manual reading wouldn't go astray after that...
    If anyone asks you to
    sudo rm -rf /
    you would be better to just format the partition. It's faster and at least you may be able to recover all your LOST DATA!!

  2. #12
    Join Date
    Jun 2005
    Beans
    211
    Distro
    Ubuntu

    Re: HOWTO: Share desktops with x11vnc instead of Built in Remote Desktop

    is it possible to have more than one connection to one remote desktop, when i try to connect from a second client, one can enter a password but then then connection breaks immediatly, as long as there is already another client connected to the server

  3. #13
    Join Date
    Feb 2006
    Beans
    1

    Re: HOWTO: Share desktops with x11vnc instead of Built in Remote Desktop

    I followed the instructions and it worked... 1 time

    If I disconnect and try to reconnect i get an error:

    "the connection closed unexpectedly"

    I'm using ubuntu (5.10) with gdm
    I connect through ssh
    If I reboot the machine, I can reconnect again
    Is there an log available somewhere??

    What am I doing wrong???
    sharex11 script:

    #!/bin/sh

    x11vnc -nap -bg -desktop "VNC ${USER}@${HOSTNAME}"|grep -Eo "[0-9]{4}">~/.vnc/port.txt

    # comment out the following if you don't want a popup telling you which port you're using.
    zenity --info --text="Your VNC port is `cat ~/.vnc/port.txt`"

  4. #14
    Join Date
    Nov 2005
    Beans
    9

    Re: HOWTO: Share desktops with x11vnc instead of Built in Remote Desktop

    Hey, Will you be able to VNC in when logged out with this guide?

  5. #15
    Join Date
    Oct 2005
    Beans
    244
    Distro
    Ubuntu Development Release

    Question Re: HOWTO: Share desktops with x11vnc instead of Built in Remote Desktop

    Hi,

    this might be a very basic question, but I cannot figure it out:

    Which viewer and with which parameters do I connect to the x11vnc server?

    I've tried
    Code:
    vncviewer <hostnameofthevncserver>:1
    but I only seem to connect to the vino-server (i.e the connection is just as slow as usual and the clipboard is not working) instead of to the x11vnc server.

    Do I have to kill the vino-server process, or is there a way to specify which vnc server I want to connect to?

    BTW, the port x11vnc is listening to is 5901.

    Thanks.

  6. #16
    Join Date
    Mar 2005
    Beans
    99
    Distro
    Ubuntu 6.10 Edgy

    Re: HOWTO: Share desktops with x11vnc instead of Built in Remote Desktop

    Well this works all fine and dandy but its slower than the built in remote desktop and more limited. For example it doesn't show the windows when you drag them, it only shows a gray rectangle.

  7. #17
    Join Date
    Oct 2004
    Location
    Røyken, Norway
    Beans
    35
    Distro
    Ubuntu

    Re: HOWTO: Share desktops with x11vnc instead of Built in Remote Desktop

    Thank you intangible !!!

    This is what I've been looking for for a long time. I have never been satisfied with Vino.

    It worked perfect for my Dapper install. Only the libxaw8-dev package doesn't exist in Dapper. As mentioned earlier libxaw7-dev works though.

    Quote Originally Posted by desp
    Hi,
    Which viewer and with which parameters do I connect to the x11vnc server?
    I've tried
    Code:
    vncviewer <hostnameofthevncserver>:1
    but I only seem to connect to the vino-server (i.e the connection is just as slow as usual and the clipboard is not working) instead of to the x11vnc server.

    Do I have to kill the vino-server process, or is there a way to specify which vnc server I want to connect to?

    BTW, the port x11vnc is listening to is 5901.

    Thanks.
    You need the port after the colon, not 1
    Code:
    $ vncviewer <vncServerHost>:5901
    The Vinoserver can run parallel.

    __________
    Regards
    Stian H. Larssen
    Last edited by strips; May 20th, 2006 at 09:06 PM.

  8. #18
    Join Date
    Oct 2004
    Location
    Røyken, Norway
    Beans
    35
    Distro
    Ubuntu

    Re: HOWTO: Share desktops with x11vnc instead of Built in Remote Desktop

    Quote Originally Posted by bryan986
    Well this works all fine and dandy but its slower than the built in remote desktop and more limited. For example it doesn't show the windows when you drag them, it only shows a gray rectangle.
    If you got 100Mbit LAN Vino might run faster. But if you like to save some bandwidth, x11vnc uses incredible less bandwidth.

    Vino server with no arguments very quickly maxes my wlan to 20MBit throughout. With -bgr233 -encoding hextile it consumes typically 3-6Mbit

    x11vnc server with no arguments consumes never more than 3Mbit and lowers down no almost zero with little usage. Thats sweet

    So x11vnc kicks Vinos *** when you need to save a bit bandwidth.

    Some thinks just showing a rectangle is a positive thing. Why waste bandwidth.

  9. #19
    Join Date
    Oct 2004
    Location
    Røyken, Norway
    Beans
    35
    Distro
    Ubuntu

    Re: HOWTO: Share desktops with x11vnc instead of Built in Remote Desktop

    Quote Originally Posted by intellidenuser
    Hey, Will you be able to VNC in when logged out with this guide?
    No

  10. #20
    Join Date
    May 2006
    Location
    On your couch
    Beans
    60
    Distro
    Ubuntu 8.10 Intrepid Ibex

    Re: HOWTO: Share desktops with x11vnc instead of Built in Remote Desktop

    Maybe someone can redirect answers regarding remote logging to here?:
    http://www.ubuntuforums.org/showthread.php?t=213877
    Last edited by NinjitsuStylee; July 12th, 2006 at 03:44 AM.
    -----------------------------
    -Aashay Desai (NinjitsuStylee)

Page 2 of 8 FirstFirst 1234 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •