← Back to team overview

sslug-teknik team mailing list archive

Re: Underlig $DISPLAY i X

 

torben fjerdingstad wrote:
> 
> Jeg kan ikke forstår hvorfor mit X DISPLAY er sat til unix:0.0.
> Min host hedder noget helt andet. Det er redhat-6.1.
> Jeg bruger startx til at starte serveren med.

# cd /usr/X11R6
# grep -r unix:0.0 *
man/man1/XFree86.1x:To use it the connection must be made to
\fIunix:0.0\fP.
man/man1/fvwm.1x:which \fIfvwm\fP is running. $DISPLAY may be unix:0.0
or :0.0, which doesn't
man/man1/fvwm2.1:which \fIfvwm\fP is running.  $DISPLAY may be unix:0.0
or :0.0, which

man ./man/man1/XFree86.1x
...
ENVIRONMENT VARIABLES
       For operating systems that support local connections other than
Unix Domain sockets (SVR3 and  SVR4),
       there  is  a  compiled-in  list  specifying the order in which
local connections should be attempted.
       This list can be overridden by the XLOCAL environment variable
described below.  If the display  name
       indicates  a  best-choice  connection  should be made (e.g.
:0.0), each connection mechanism is tried
       until a connection succeeds or no more mechanisms are
available.   Note:  for  these  OSs,  the  Unix
       Domain socket connection is treated differently from the other
local connection types.  To use it the
       connection must be made to unix:0.0.
...

> 
> Nogle programmer har ikke noget imod det, mens andre giver fejl.
> 
> Sommetider kan xmms ikke finde ud af det.
> xawtv siger:
> non-local display `unix:0.0' not allowed, using `:0.0' instead
> og så virker det.

Det lyder som en bug i xawtv. BTW hvad laver dette program? Jeg hader
den slags programmer, der formynderisk forbyder en at køre X remote...

Mogens
-- 
Mogens Kjaer, Carlsberg Laboratory, Dept. of Chemistry
Gamle Carlsberg Vej 10, DK-2500 Valby, Denmark
Phone: +45 33 27 53 25, Fax: +45 33 27 47 08
Email: mk@xxxxxx Homepage: http://www.crc.dk


Follow ups

References