Date: Thu, 10 Sep 2009 15:12:08 +0100 From: Jeronimo Calvo <jeronimocalvop@googlemail.com> To: Polytropon <freebsd@edvax.de> Cc: freebsd-questions@freebsd.org Subject: Re: VirtualBox not opening... from 7.2 STABLE, (GUI KDE 3.5) Message-ID: <beaf3aa50909100712i5d5d35ffgab1428ac6347bf3c@mail.gmail.com> In-Reply-To: <20090910102508.f7aac2f1.freebsd@edvax.de> References: <beaf3aa50909091010s1b8fd965u8b463f9a3cb7cf8d@mail.gmail.com> <20090910102508.f7aac2f1.freebsd@edvax.de>
next in thread | previous in thread | raw e-mail | index | archive | help
Great!! I will try running the app as a regular user, as I did add myself on the virtualbox group... Should be alright from there... I'll let u know as soon as i finish my portupgrade -a (thats taking year and a half) lol Thanks!!! 2009/9/10 Polytropon <freebsd@edvax.de>: > On Wed, 9 Sep 2009 17:10:11 +0000, Jeronimo Calvo <jeronimocalvop@googlem= ail.com> wrote: >> But I am getting following error when launched from the terminal: >> >> > # VirtualBox >> > No protocol specified >> > Failed to open the X11 display! > > Of course. You are trying to write to the X display as root, but > the display belongs to !root (non-root user, i. e. you). > > There's a quick, but very unelegant way to solve this problem: > > =A0 =A0 =A0 =A0# setenv DISPLAY :0.0 > =A0 =A0 =A0 =A0# VirtualBox > > The program should then run. If your root shell is a different > one than the standard C shell, have a look at its manpage about > how to modify environment variables. > > You need DISPLAY to point at the local device, which is :0.0 in > this case. > > There are better ways, such as using xauth. > > > >> When used the Icon created on System>VirtualBox (Using KDE 3.5) >> [...] >> Seems to open for few secs... and suddenly disappears... > > Maybe it has to be run as root? In general, it's not a good idea > to run X applications as root. > > > >> Any ideas? > > I can only provide some quite generic advices, because I never > used VirtualBox. :-( > > > > -- > Polytropon > Magdeburg, Germany > Happy FreeBSD user since 4.0 > Andra moi ennepe, Mousa, ... >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?beaf3aa50909100712i5d5d35ffgab1428ac6347bf3c>