remote desktop over home network

Discussion in 'Networking' started by newseamus, Mar 26, 2009.

  1. newseamus

    newseamus

    Joined:
    Jan 7, 2009
    Messages:
    8
    Likes Received:
    0
    i would like to get remote access to my desktop (running ubuntu 8.10) from my Acer Linpus
    I tried rdesktop but got error: unable to connect

    Specifically:
    I am trying to control the VLC Player on my desktop from my Aspire 1.

    any ideas?
     
    newseamus, Mar 26, 2009
    #1
  2. newseamus

    jackluo923

    Joined:
    Aug 26, 2008
    Messages:
    843
    Likes Received:
    0
    Isn't remote desktop for Windows operating system?
     
    jackluo923, Mar 26, 2009
    #2
  3. newseamus

    DonQuichote

    Joined:
    Jul 30, 2008
    Messages:
    49
    Likes Received:
    0
    It depends how your desktop PC is running. If it is in a "waiting for login" state, XDMCP is the best way to log in. You will have to enable it in your desktop PC (and on your netbook if you want to do the reverse login). If your settings menu does not show any command like login settings, use "sudo gdmsetup" on a command line.
    Logging in after that is easy, click the exit button on your task bar, click "switch user" and then choose "chooser server". You will then see all machines on your network that support XDMCP.

    If you are already logged in to your PC, the above method will issue a warning, because all kinds of temp file and setting files will possibly clash. In that case, an SSH connection is by far better. There is a program called "PuTTY" that exists to use a graphic UI instead of the command-line. Either way, make sure you tell SSH to enable X connections:
    Code:
    ssh -X user@address
    And use your real user name instead of "user" and the real address of the PC instead of "address". You can omit the user@ portion if you login with the same user name. If this does not work because the X connection is not trusted, type instead:
    Code:
    ssh -Y user@address
    You will get a terminal, but from that terminal you will be able to start graphic programs (like mousepad). You can push them to the background with the & character:
    Code:
    mousepad &
    Do not try this in combination with the sudo command, or the password request is also pushed to the background. However, you can do the following trick:
    Code:
    sudo echo
    sudo update-manager &
    The first command will just print a newline as root. Nothing special, but is asks for your password. The second command will not ask for a password if it is issued quickly enough after the first command.

    Last but not least, it IS possible to use RDP connections between ubuntu machines, but I did not manage to do so reliably. Meaning that on some machines it works and on others it does not. So I would not recommend it as a first try.
     
    DonQuichote, Mar 26, 2009
    #3
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.