Skip to content
Rorymon Logo
  • Blogroll
  • About
  • Contact
Menu
  • Blogroll
  • About
  • Contact
Twitter
Linkedin
Rss
  • All Articles
  • Applications
    • App Compatibility
    • App Deployment
    • App Virtualization
      • App-V
        • Decision Matrix
        • App-V 4.x Recipes
        • App-V 5.x Recipes
        • App-V Videos
      • AppSense StrataApps
      • Cameyo
      • Evalaze
      • Frame
      • Numecent CloudPaging
      • P-Apps
      • ThinApp
      • Turbo
      • Workspace Streaming
      • XenApp Profiling
    • Containers
    • Layering
      • App Volumes
      • Citrix App Layering
      • FlexApp
      • Unidesk
  • Citrix
    • AppDNA
    • Citrix App Layering
    • Citrix Monitoring
    • Citrix Profiling
    • Citrix XenApp
  • Microsoft
    • ACT
    • Azure
    • BitLocker
    • Hyper-V
    • inTune
    • MDOP
      • AGPM
      • APP-V
      • DaRT
      • MBAM
      • MED-V
    • RDS
    • System Center
      • SCCM
      • SCOM
    • WDS
    • Windows
      • Windows 7
      • Windows 8
      • Windows 10
      • Windows Server 2012
  • VMware
    • App Volumes
    • ThinApp
  • Downloads
  • Podcast

How to: RDP to Ubuntu

  • Rory Monaghan
  • October 24, 2016
Share on reddit
Share on facebook
Share on twitter
Share on linkedin
Software Management System Administration

If like me, you RDP to VMs running in Hyper-V, XenServer or vSphere quite often and you run Ubuntu you likely want to remote to these VMs too. Every time I setup a new Linux VM, I set this up. I documented the manual process for my own purposes and I thought I’d share. There are alternatives to using RDP of course but this is for those of you who prefer it.

step1

Enter sudo apt-get update and hit enter. When prompted enter suitable credentials.

step2

Enter sudo apt-get install xrdp and hit enter. This will install xrdp the remote desktop agent.

step3

Enter sudo apt-get install xfce4 and hit enter.  This will install Xfce desktop environment.

step4

Enter echo xfce4-session >~/.xsession and hit enter.

step5

Enter sudo nano /etc/xrdp/startwm.sh and hit enter to modify the text file.

step6

Remove the line . /etc/X11/Xsession and add the line startxfce4 and then hit ctrl+X and save the file.

step7

Enter sudo service xrdp restart and hit enter.

step8

Enter hostname -I and hit enter. Make a note of the IP address.

step9

Enter sudo usermod -a -G tsusers <username> and hit enter. This will add your account to the tsusers group which by default is the group with rights to RDP to this machine. Repeat this for all accounts you wish to RDP to the box with.

step10

Launch the RDP client on your Windows machine, Mac or whatever you use and Connect to the IP address from your Ubuntu VM.

step11

Enter your account credentials. Remember the username is case sensitive and hit OK.

step12

The desktop will look pretty different but you should be able to work with it.

RDP from OS X to Ubuntu,RDP from Windows to Ubuntu,RDP to Ubuntu
PrevPreviousGetting Started With Docker
NextApp-V Decision Matrix UpdateNext
Rory Monaghan

Rory Monaghan

Microsoft MVP. Citrix CTA. IGEL Insider. VMware EUC Champion & vExpert.
Twitter
Linkedin
Rss
Vimeo
Youtube
Soundcloud

Get the App-V Decison Matrix and Interactive Tool.

See what the right deployment option for your applications is.
Let's Go!
FREE TOOL
Further Reading

Windows 10 Migration Checklist

Application packaging and virtualization services.
Learn More

Let's make virtualization EASIER!

Be amongst the first to know when I publish new reviews, guides and tools to simplify your virtualization projects.

Categories
  • All Articles
  • Application Compatibility
  • Application Virtualization
  • Containers
  • Citrix XenApp
  • Application Layering
Connect
  • Blogroll
  • About
  • Contact
Twitter
Linkedin
Rss
Vimeo
Youtube
Soundcloud
© Copyright Rorymon.com. All rights reserved 2021.
Privacy   |   Cookies
Marketing Services by Riabro.