Results 1 to 6 of 6

Thread: VNC when user is not logged in??

  1. #1
    Join Date
    Feb 2011
    Location
    Detroit, MI
    Beans
    30

    Question VNC when user is not logged in??

    This is driving me crazy. It seems I have 2 options using VNC to connect to an Ubuntu box:
    b) connect to a logged-in user's desktop, or
    c) connect to a special reserved desktop just for the VNC session.

    Whatever happened to option:
    a) Connect to the computer - whatever is on the screen, be it the login prompt or a user's desktop?

    That's what I'm used to with Windows, and often times if a server reboots, I still want to be able to connect remotely to administer it.

    Isn't there some technology, be it VNC or not, that will work? I have tried the built-in desktop sharing, x11vnc, tightvnc, vnc4server (I think that's what, plain vanilla Real VNC?). What else is there?

  2. #2
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: VNC when user is not logged in??

    Quote Originally Posted by jimerman View Post
    This is driving me crazy. It seems I have 2 options using VNC to connect to an Ubuntu box:
    b) connect to a logged-in user's desktop, or
    c) connect to a special reserved desktop just for the VNC session.

    Whatever happened to option:
    a) Connect to the computer - whatever is on the screen, be it the login prompt or a user's desktop?

    That's what I'm used to with Windows, and often times if a server reboots, I still want to be able to connect remotely to administer it.

    Isn't there some technology, be it VNC or not, that will work? I have tried the built-in desktop sharing, x11vnc, tightvnc, vnc4server (I think that's what, plain vanilla Real VNC?). What else is there?

    For administering a Server (where no DE or GUI should be installed) then ssh is the tool of choice.

    If you must use GUI then you can ssh -X but that depends on X forwarding and the gui apps being installed remotely for use on the X loopback locally.

    I dont use VNC so not not sure where that option is for Linux based VNC
    Last edited by haqking; September 16th, 2011 at 02:29 PM.
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  3. #3
    Join Date
    Feb 2011
    Location
    Detroit, MI
    Beans
    30

    Re: VNC when user is not logged in??

    Quote Originally Posted by haqking View Post
    For administering a Server (where no DE or GUI should be installed) then ssh is the tool of choice.
    Yes, I did install ssh. However, I should add what I am calling my server is actually Ubuntu desktop. I have my Windows AD server running in a VM on that machine (it is much more stable as a host than Windows). I also have a VPN server on an Ubuntu desktop box. So, I'd prefer to be able to remote into the GUI and jump to a command line if needed, but still do GUI stuff as I am not familiar enough with Ubuntu and don't want to jump to Google for everything.

    If you must use GUI then you can ssh -X but that depends on X forwarding and the gui apps being installed remotely for use on the X loopback locally.

    I dont use VNC so not not sure where that option is for Linux based VNC
    Found this page about VNC servers.

    I should add - my kids' machines are also Ubuntu, so these are the ones where I may want to connect and help them out (e.g. when I am traveling), or log in and administer (but I choose 1 or the other, either log in while they are logged in, or log into an Admin desktop).
    Last edited by jimerman; September 16th, 2011 at 05:14 PM.

  4. #4
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: VNC when user is not logged in??

    Quote Originally Posted by jimerman View Post
    Yes, I did install ssh. However, I should add what I am calling my server is actually Ubuntu desktop. I have my Windows AD server running in a VM on that machine (it is much more stable as a host than Windows). I also have a VPN server on an Ubuntu desktop box. So, I'd prefer to be able to remote into the GUI and jump to a command line if needed, but still do GUI stuff as I am not familiar enough with Ubuntu and don't want to jump to Google for everything.

    Found this page about VNC servers.

    So you want to administer the VM ? then you can do that directly without ssh to your UBuntu host, if the VM is bridged with its own IP ?

    and yeah i know what VNC is, used it alot on a LAN for desktop support, i meant i dont use it for remote admin (server admin) on Linux,. so dont know why that option you refer to is not there is what i meant
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

  5. #5
    Join Date
    Feb 2011
    Location
    Detroit, MI
    Beans
    30

    Re: VNC when user is not logged in??

    Actually, the administration activities are regardless of the VM. I am fine with managing the VM through the web interface. I need to do standard Gnome GUI stuff remotely. VNC means I have to leave myself logged in - so if the power goes out an the machine reboots while I am not home, I am hosed (other than SSH, which I am not enough of a Linux geek to get by on command line alone).

  6. #6
    Join Date
    Jun 2011
    Location
    The Shadow Gallery
    Beans
    6,744

    Re: VNC when user is not logged in??

    Quote Originally Posted by jimerman View Post
    Actually, the administration activities are regardless of the VM. I am fine with managing the VM through the web interface. I need to do standard Gnome GUI stuff remotely. VNC means I have to leave myself logged in - so if the power goes out an the machine reboots while I am not home, I am hosed (other than SSH, which I am not enough of a Linux geek to get by on command line alone).
    then like i mentioned before ssh -X which allows you to run the remote GUI apps locally from your own X server.
    Backtrack - Giving machine guns to monkeys since 2006
    Kali-Linux - Adding a grenade launcher to the machine guns since 2013

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
  •