Results 1 to 5 of 5

Thread: [SOLVED] VNC after reboot

  1. #1
    Join Date
    Nov 2007
    Location
    Bundaberg, Australia
    Beans
    31
    Distro
    Hardy Heron (Ubuntu Development)

    [SOLVED] VNC after reboot

    Hi all,

    Here is my problem: I am currently have a VPN connection to work so I can use my work computer with VNC. After putting on updates I was required to reboot. After rebooting I can't VNC because I haven't logged in yet. I do have ssh access.

    Is there a way of being able to VNC again without having to physically go to the machine(about 100km away)

    Thanks in advance

  2. #2
    Join Date
    Apr 2007
    Location
    Redmond, WA
    Beans
    1,371
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: VNC after reboot

    You could try a VNC ssh tunnel. If I am understanding you right. VNC will not log in because no user has logged in. Try the following.

    Code:
    ssh -L 5900:localhost:5900 username@domain.com
    Now, in your VNC client use localhost as the domain and 5900 as the port. The 5900 needs to be the same port number you VNC into the remote machine.

    BTW, you should tunnel your VNC connections anyway.

  3. #3
    Join Date
    Nov 2007
    Location
    Bundaberg, Australia
    Beans
    31
    Distro
    Hardy Heron (Ubuntu Development)

    Re: VNC after reboot

    Didn't work - although I'm not sure if I understand what you mean and how to do it..

  4. #4
    Join Date
    Apr 2007
    Location
    Redmond, WA
    Beans
    1,371
    Distro
    Ubuntu 8.04 Hardy Heron

    Re: VNC after reboot

    What part did you not understand, the VNC part? It looks like you just need to start the VNC server on the remote machine. You can do this with ssh. I am just unsure what the command is.

  5. #5
    Join Date
    Nov 2007
    Location
    Bundaberg, Australia
    Beans
    31
    Distro
    Hardy Heron (Ubuntu Development)

    Re: VNC after reboot

    I got it working using this tutorial.
    http://ubuntuforums.org/showthread.php?t=795036

    Thanks for your help - you put me on the right track.

    Cheers

Tags for this Thread

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
  •