Enter your Ubuntu credentials

Please see Connect via RDP to Ubuntu 14.04 using XRDP for an updated version of this post.

If you need to connect to a Linux machine, and in the scope of this guide, Ubuntu 13.10 (I’m sure this guide should be fine for earlier versions as well), then your options include:

  • Pure and simple SSH – The admin’s super tool! (just install openssh-server – works every time!)
  • VNC – I don’t like this method because you need to install software on your client AND server
  • XRDP – This still involves VNC to some degree but you can use the normal Windows Remote Desktop Client

The latter is the one I’ll guide you through here. Continue reading

I cannot believe how simple this is, yet I had to google to figure it out (why oh why didn’t I just read the ‘man’ pages). The syntax for executing a remote command is as simple as:

ssh [user]@[remote host] [command]
ssh techedemic@ df -h
techedemic@'s password: 
Filesystem                             Size  Used Avail Use% Mounted on
/dev/mapper/td--VG1-td--LV2            443G   89G  332G  22% /
udev                                   993M  4.0K  993M   1% /dev
tmpfs                                  401M  628K  401M   1% /run
none                                   5.0M     0  5.0M   0% /run/lock
none                                  1002M     0 1002M   0% /run/shm
/dev/sda1                              241M   38M  191M  17% /boot