[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: X apps don't launch from Xterm



"Eric d'Alibut" <eric.halibut@gmail.com> writes:

>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:

>--snip--

>wingnut@trollboy:~$ gqview
>(gqview:26337): Gtk-WARNING **: cannot open display:

>wingnut@trollboy:~$ evince
>(evince:28047): Gtk-WARNING **: cannot open display:

>wingnut@trollboy:~$ echo $DISPLAY
>0:0.

That DISPLAY variable is wrong. It should be :0.0

If you can launch an xterm, then at that point in time $DISPLAY must be
correct. Once at the command line, it is wrong though. I would be looking
in your .bashrc or equivalent shell rc file (if you use a different shell)
and see if you have any manipulation of $DISPLAY in there.


Reply to: