Results 1 to 10 of 12

Thread: Stay connected to VNC during logout

Hybrid View

  1. #1
    Join Date
    May 2007
    Beans
    236
    Distro
    Ubuntu

    Stay connected to VNC during logout

    How can I stay connected to VNC, or be able to connect to VNC while the screen is logged out. I would like to be able to connect instantly to my machine upon boot up like with RDC of Windows.

  2. #2
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Stay connected to VNC during logout

    Use an alternate vnc server, such as vnc4server or similar.

    Not sure you can watch your machine boot over VNC (you can if it is booting in virtualization).
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  3. #3
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    7,909

    Re: Stay connected to VNC during logout

    Use SSH. It can do everything VNC does, only better and securely. VNC is a serious security hole.

    ssh -C -c blowfish -X user@server "gnome-panel"

  4. #4
    Join Date
    May 2007
    Beans
    236
    Distro
    Ubuntu

    Re: Stay connected to VNC during logout

    Quote Originally Posted by HermanAB View Post
    Use SSH. It can do everything VNC does, only better and securely. VNC is a serious security hole.

    ssh -C -c blowfish -X user@server "gnome-panel"
    Thanks, I don't know anything about SSH though, or how to run it on windows.

    *edit* I just download Putty.exe for Windows, it lets me ssh to Ubuntu but says Cannot open display:
    run 'gnome-panel --help' to see a full list of available command line options"
    Last edited by davethewave83; August 7th, 2009 at 01:02 AM.

  5. #5
    Join Date
    Apr 2006
    Location
    Montana
    Beans
    Hidden!
    Distro
    Kubuntu Development Release

    Re: Stay connected to VNC during logout

    You have to run an X client on Windows, see Xming

    http://www.straightrunning.com/XmingNotes/

    I run Xming and Putty on a usb =)

    Then when you connect with putty, you have to allow X

    It is in the menu on the right, when you first start Putty, before you connect.

    Under "connection"
    Under the "X11" sub menu

    check off the box "Enable X11 forwarding"

    Then start Xming
    Then connect via putty.
    There are two mistakes one can make along the road to truth...not going all the way, and not starting.
    --Prince Gautama Siddharta

    #ubuntuforums web interface

  6. #6
    Join Date
    May 2007
    Beans
    236
    Distro
    Ubuntu

    Re: Stay connected to VNC during logout

    Quote Originally Posted by bodhi.zazen View Post
    You have to run an X client on Windows, see Xming

    http://www.straightrunning.com/XmingNotes/

    I run Xming and Putty on a usb =)

    Then when you connect with putty, you have to allow X

    It is in the menu on the right, when you first start Putty, before you connect.

    Under "connection"
    Under the "X11" sub menu

    check off the box "Enable X11 forwarding"

    Then start Xming
    Then connect via putty.
    Thanks but it appears to be hopeless.
    Start Xming: no client (will chose later)
    Xming starts up...

    start putty
    Enable X11 forwarding
    X display location *my local IP*
    "Open"
    login as: myname *success*
    myname@server's password:
    Linux server 2.6.28-14-generic #47-Ubuntu SMP Sat Jul 25 00:28:35 UTC 2009 i686

    /usr/bin/X11/xauth: error in locking authority file /home/myname/.Xauthority

    myname@server:~$ ssh -C -c blowfish -X myname@server "gnome-panel"
    *fail*
    Warning: No xauth data; using fake authentication data for X11 forwarding. /usr/bin/X11/xauth: error in locking authority file /home/myname/ .Xauthority X11 connection rejected because of wrong authentication.
    Cannot open display:
    Run 'gnome-panel --help' to see a full list of available command line options.

    the authentication appears to be wrong, but I have not yet the knowledge on how to fix that.
    Last edited by davethewave83; August 7th, 2009 at 03:03 AM.

  7. #7
    Join Date
    Mar 2006
    Location
    Williams Lake
    Beans
    Hidden!
    Distro
    Ubuntu Development Release

    Re: Stay connected to VNC during logout

    I guess you didn't notice that the last post in this thread was made in August of 2009, and the thread is marked solved. Thread closed.

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
  •