[tex-live] texdoc tries to launch X11

Ingo Krabbe ikrabbe.ask at gmail.com
Tue May 31 09:49:36 CEST 2011

On Sat, May 28, 2011 at 12:50:42AM +0200, Manuel Pégourié-Gonnard wrote:
> Hi,
> Please discuss texdoc issues on the texdoc list (I'll keep you cc-ed if you
> aren't subscribed). Besides it being easier for me, you'll usually get an answer
> faster (for example I didn't notice the problem reported by Heiko before Phlipp
> forwarded in to the texdoc list & github page).
> Le 24/05/2011 06:58, Victor Ivrii a écrit :
> > After tonight texdoc update (still 0.80 but handles files without
> > extensions properly) the following weird behaviour still occurs; it
> > was observed first on "old" 0.80 but I am not sure when it appears:
> > 
> If it is what I think, it probably started with version 0.61...
> > If I ssh (from Mac) UNIX host via terminal WITH X-windows redirect (Y
> > switch) then X11 is launched even if it is not needed and the output
> > goes to terminal (not X11) window (see below) but if I ssh (from Mac)
> > UNIX host via terminal WITHOUT X-windows redirect no attempt to launch
> > X11.
> > 
> Texdoc tries to detect a running desktop environment to select the appropriate
> viewer, and for xfce detection is needs to run xprop. I guess this is triggering
> the X11 launch.

The most simple workaround might be to "alias texdoc=DISPLAY="" texdoc"
or similar.

> For now, a work-around may be to explicitly set all viewers (dvi, html, pdf, ps,
> txt) either in the config file the environment. At least it could be used to
> test my guess.
> A better solution would require texdoc not to try getting the viewer settings
> unless they are actually needed. This would probably be a big change in the
> code, so it's probably not happening very soon...
> Manuel.

i don't do signatures

More information about the tex-live mailing list