Ubuntu Server with Xubuntu Core Install for Copy & Paste
Note : This is how I do it. There are definitely more, and probably better, ways of accomplishing this. This method works for me so I use it, YMMV.
This is a lot of work for something that can be done via SSH, and probably should be for strict server use. I chose Xubuntu-Core as it’s “supposed” to be the lightest weight version of XFce packaged by Ubuntu.
- Set whatever you need in CPU, Disk and Memory
- Under Settings >> General >> Advanced
- Set Share Clipboard to Bidirectional
- I also set shared folders to Bidirectional
- Performed a default installation and enabled OpenSSH
- After reboot performed the following:
Post Install Updates
# update and upgrade
sudo apt update
sudo apt upgrade -y
# after a big update, I reboot the box
# back at the prompt, install XFce
sudo apt install xubuntu-core -y
# When prompted, select lightdm for the display manager
# Sit back and have a beer, this takes a while, even on a fast box
# reboot again
Virtual Box Guest Additions
At this point, and after reboot, you should see the display manager rather than the console. I log in and install Guest additions. On the VM menu under Device, select Install Guest Additions CD image…
You should see the CD appear on the desktop.
Before running the VBox install script, install dkms
# install dkms
sudo apt install dkms
# cd to cdrom and install guest additions
# note, get the version from the directory name with `ls`
# run the script, in my case it was
sudo bash VBoxLinuxAdditions.sh
# reboot, again !
Test Copy & Paste
Once you log back in the second time, you should be able to Copy and Paste. That’s a lot of pain that SSH can do away with.
I almost forgot the most important part, installing neofetch
# you should be able to Copy & Paste this command as a test
sudo apt install neofetch -y && clear && neofetch