Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Sep 2007 20:15:41 -0600 (MDT)
From:      Warren Block <wblock@wonkity.com>
To:        Lisandro Grullon <lisandrogrullon07@hotmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: Are you guys using xcdroast?
Message-ID:  <20070920200903.F87683@wonkity.com>
In-Reply-To: <BAY116-W35613157823322B35C06C5A9BA0@phx.gbl>
References:  <BAY116-W7FD6B7D82F7DFEA26B37EA9B90@phx.gbl> <46F22296.1080502@pacific.net.sg> <BAY116-W35613157823322B35C06C5A9BA0@phx.gbl>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 20 Sep 2007, Lisandro Grullon wrote:

>>> (xcdroast:20529): Gtk-WARNING **: cannot open display:

> I do understand that this is an X aplication, I am trying to run it in 
> 6.2_release using Xorg 7.2 and Gnome2, still giving me that strange 
> error when I try to execute from the shell as root, I try google at it 
> and nothing shows up for it. Any ideas what might be happening?

No DISPLAY variable set for root, which has its own environment.
Try this:

   log in to X as your normal user
   xhost +localhost
   su -
   setenv DISPLAY :0.0
   xcdroast

-Warren Block * Rapid City, South Dakota USA



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070920200903.F87683>