Re: X apps don't launch from Xterm
On Wed, Jun 25, 2008 at 02:05:45PM -0400, Eric d'Alibut wrote:
> This is a stable install that has been running, er, with great
> stability, for well over a year; it was brought up to date with etch
> no problemo earlier in the year. A recent routine 'apt-get update',
> 'apt-get upgrade' has left me with some new, and rather disagreeable,
> This box boots to a command prompt, and then after logging in as a
> regular user I launch X with a simple 'startx.' This gets me Gnome. If
> I then start an xterm and attempt to launch an X app, such as gqview,
> or evince, from the command prompt in that xterm, no app launches;
> this is what I get:
> wingnut@trollboy:~$ gqview
> (gqview:26337): Gtk-WARNING **: cannot open display:
> wingnut@trollboy:~$ evince
> (evince:28047): Gtk-WARNING **: cannot open display:
> wingnut@trollboy:~$ echo $DISPLAY
> As you can see, the display id is available in the environment.
I figure you somehow override the DISPLAY settings or the xauth settings
in your shell startup scripts.
What is the output of the following two:
> Also, setting 'xhost +' in a .xinitrc file does not affect this behaviour.
This should not be required.
Tzafrir Cohen | email@example.com | VIM is
http://tzafrir.org.il | | a Mutt's
firstname.lastname@example.org | | best
ICQ# 16849754 | | friend