Teamviewer 11 for Ubuntu Server 15.10 running in Virtualbox

Teamviewer 11 for Ubuntu Server 15.10 running in Virtualbox

In Teamviewer 11 a feature to manage a headless server has been introduced. The trouble is that Teamviewer’s FAQ leaves out a crucial piece of information on how to get this going.

The following instructions are for Ubuntu Server 15.10 running on Virtualbox 5.0.14, using Teamview 11.0.53254

1. Install Ubuntu Server 64bit as per normal.

2. Log in with the account you created during the install.

3. sudo to root

$sudo -i

4. Activate the root account with passwd


5. Bring Ubuntu up to date with

#apt update

#apt upgrade

With following if necessary

#apt-get dist-upgrade

#apt-get autoremove

6. Now install Teamviewer

#dpkg –add-architecture i386

#apt-get update

7. Now download the latest version of Teamviewer. This URL appears to point always to the latest copy.


8. Install Teamviewer. This will most likely fail. Do not install gdebi as this will add a whole lot of unnecessary libraries to your server.

#dpkg -i teamviewer_i386.deb

9. Repair the install with

#apt-get install -f

10. Repeat the install Teamviewer. This will succeed.

#dpkg -i teamviewer_i386.deb

11. Try to run Teamserver headless setup. This will hang and fail.

#teamviewer setup

You’ll get a message saying the /dev/fb0 can’t be found.

Teamviewer’s FAQ makes no mention of this or how to fix it.

What Teamviewer is expecting is Framebuffer Console turned on in the Kernel.

Carry out the following to activate uvesafb. Note you do not need Xorg.

Do not install Xorg as your Teamviewer account will not connect to the framebuffer console if you run X.
12. Install v86d, so that we can use uvesafb:

#apt-get install v86d

13. Edit the file /etc/initramfs-tools/modules and add this line. 1024X768 is a convient size but the depth of 32 is a requirement of Teamviewer.

#uvesafb mode_option=1024×768-32

14. Edit /etc/default/grub to this




15. Update the boot image and grub.

#update-initramfs -u

16. Update grub. At the time of writing update-grub gives some error messages, but does not stop the actual operation.


17. Disable plymouth daemon. Possibly not necessary.

mv /etc/init/plymouth.conf /etc/init/plymouth.conf.disabled

18. Optional.

#dpkg –remove-architecture i386

19. Now reboot. During the boot, the Virtualbox window will increase to 1024×768.


20. Login in again as root and check for the presence of /dev/fb0
#ll /dev/f*

21. Now run Teamviewer, accept the licence and enter your account details.

#teamviewer setup

22. Now ensure that Teamviewer will start on boot

#teamviewer –daemon enable

23. Now reboot again to check.


Go to your Teamviewer account and see that the hostname of the Ubuntu Virtualbox instance is present. Activate and see that Teamview will duplicate the Virtualbox console.

If you chose a NAT network note that you are connecting without any routing to the NAT network from you local network – the beauty of Teamviewer!




PDF VersionTeamview-Ubuntu-Virtualbox.pdf (34.3KB)


Comments are closed.