VirtualBox error: cannot connect to X server on OpenSUSE 11.1


I am a big fan of VirtualBox, it’s an easy to use Virtualization tool. I had used it on Ubuntu before and wanted to install it on OpenSUSE 11.1, the installation was easy using zypper ($ sudo zypper in VirtualBox ). After installing I tried to run VirtualBox and nothing appeared on the screen. I notice my HD ligh flick a couple of times but noting happened, so I tried to start it from the Command Line.

$ VirtualBox  (and the follwing error appeared)
QT warning : cannot connect to X server

That was all, no instructions.  After some searching I found out that this is due to permission problems, so I tried to run the programme as root but still no success. The answer to this problem in my case was to add my user to the vboxusers group.

$ sudo usermod -a -G vboxusers username

Note that your have to replace "username" with your username. ;) That's it, it now works.


Technorati Tags: , , , ,

Related Posts

, , , ,

Android Apple Blog Books browser Browser Security Development Facebook Firefox Google Google Earth GZIP HOSTNAME IFCONFIG Internet Explorer Linux Linux Man Pages Mac Microsoft Mobile Mozilla Novell OpenOffice OpenSource Open Source OpenSUSE OpenSUSE 11.1 PHP Programming Search Security SENDMAIL SEO Social Networking Sun Suse Linux tail Ubuntu usermod Virtualization Windows Windows 7 Wordpress Yahoo Zypper
  1. No comments yet.
(will not be published)
  1. No trackbacks yet.