-
Notifications
You must be signed in to change notification settings - Fork 4
Notes
mrseanryan edited this page Jan 8, 2019
·
16 revisions
-
Created 'manually' not using the Quick option, so can configure hard drive size
- Network Adapter:
Default Switch
- [after VM created]
Secure Boot disabled
(so Ubuntu ISO can boot)
- Network Adapter:
-
memory:
- basic VM: 3 Gb seems enough
- with large site and containers: 10 Gb so docker containers in Ubuntu don't cause VM to freeze up
- (maybe less memory would work, but 4 Gb also froze)
- dynamic memory OFF as tends to grow too much
-
CPU:
- set 4 virtual processors (I think total on my laptop was 8 physical cores)
-
Hard drive:
- basic VM: 10 Gb is fine (5 Gb free)
- large site and containers: 20 Gb in size
- Hosted on SSD
summary:
- Install xrdp
sudo apt install xrdp
sudo systemctl enable xrdp
- logout (or reboot)
- do NOT login again
- Windows box: run mstsc
- Type in the IP address
- Connect
- enter Ubuntu user credentials
- connect using Xorg session
- Make sure you’re not already logged on to the Ubuntu desktop… best thing is to restart and don’t logon
- If you try Xorg session and it quickly disconnect… select the X11rdp from the drop-down list.. it will hang and not fully logon… close the session and try the Xorg session again… that time it will work… but keep prompting you to authenticate (about 'color')… you can cancel the prompt windows…
- Restart again if step two doesn’t work right away.
https://askubuntu.com/questions/234856/unable-to-do-remote-desktop-using-xrdp
(I could not get this to connect)
Article about using (NOT running) docker inside a VM hosted on Windows:
Also has another way of installing docker, that could avoid issue with hard-coding docker-compose
version ?