-
Notifications
You must be signed in to change notification settings - Fork 4
Notes
Sean Ryan edited this page Nov 1, 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) - NOT log in automatically as that could block RDP from connecting successfully (only 1 terminal session at a time)
- Network Adapter:
-
memory:
- basic VM: 3 Gb seems enough
- with large site and containers: 14 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 (50% of the physical cores)
- reserve the 50% of CPU by setting
Processor | Virtual machine reserve (percentage)
to100
-
Hard drive:
- basic VM: 10 Gb is fine (5 Gb free)
- large site and containers: 40 Gb or 60 Gb in size (20 Gb was not enough long-term)
- Hosted on SSD
summary:
- Install xrdp
./extra-install-xrdp.sh
- 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
- A. Make sure you’re not already logged on to the Ubuntu desktop… best thing is to restart and don’t logon
- B. 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 (prompt: Authentication is required to create a color managed device)… you can cancel the prompt windows…
- C. Restart again if step B doesn’t work right away.
note: With RDP, copy-paste is possible
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 ?