U1.03 Ubuntu Quick Start (QS): Remote Desktop - chempkovsky/CS2WPF-and-CS2XAMARIN GitHub Wiki
- From inside the Hyper-V Manager window
- Right click you virtual machine
- Select connect
- Start the virtual machine if necessary
- Select connect
- Right click you virtual machine
Click to show the picture
- After login
- click Activities
- type "Terminal"
- click "Terminal"-icon
Click to show the picture
- From inside terminal window
- run the "sudo apt-get update"-command
- Note: update is not the same as upgrade
- enter password
sudo apt-get update
Click to show the picture
- From inside terminal window
- run the command
sudo apt install xrdp
- From inside terminal window
- run the command
sudo systemctl enable --now xrdp
- Please read the output of "enable xrdp" command
Click to show the picture
- From inside terminal window
- run the commands
sudo mv /etc/xrdp/sesman.ini /etc/xrdp/sesman.ini.sav
sudo mv /etc/xrdp/startwm.sh /etc/xrdp/startwm.sh.sav
sudo mv /etc/xrdp/xrdp.ini /etc/xrdp/xrdp.ini.sav
sudo apt -o Dpkg::Options::="--force-confmiss" install --reinstall xrdp
- From inside terminal window
- run the commands
sudo systemctl enable --now xrdp
- From inside terminal window
- run the commands
- remember Ip-address
ip a
Click to show the picture
Note: Never login twice, otherwise you will see a black window. Before logging in using Remote Desktop, you must log out from the Hyper-V connection window.
- Log out using the quick menu as shown in the figure below.
Click to show the picture
- In the Search Box type "Remote" and click the Remote Desctop connection-icon
Click to show the picture
- enter ubuntu device name and click connect
Click to show the picture
- enter ubuntu user name and password
Click to show the picture
- if ubuntu device name does not work
- enter IP-address of the ubuntu machine