Re: FVWM: DISPLAY changes on restart

From: Dan Espen <dane_at_mk.telcordia.com>
Date: Thu, 11 Apr 2002 16:02:07 -0400

"Dameron, Gregg" <gregg.dameron_at_lmco.com> writes:
> Running 2.4.5 on Solaris.
>
> I use $DISPLAY as part of a personalized FIFO name (for FvwmCommandS).
> After a restart, scripts that invoke "FvwmCommand -f <FIFO>" tend to stop
> working. Turns out, $DISPLAY often (but not always) changes from ":0.<n>"
> on startup to "unix:0.<n>" on a restart. Any ideas why this might be
> happening?

fvwm.c:

  sprintf(display_string,"DISPLAY=%s",XDisplayString(dpy));
  putenv(display_string);

> $HOSTDISPLAY appears reliable, but the man page prefers $DISPLAY (as do I)
> for better performance on local connections. (Besides, some scripts that
> invoke FvwmCommand -f <FIFO> don't have $HOSTDISPLAY.)

-- 
Dan Espen                           E-mail: dane_at_mk.telcordia.com
444 Hoes Lane  Room RRC 1C-214      Phone: (732) 699-5570
Piscataway, NJ 08854
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Thu Apr 11 2002 - 15:10:06 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:53 BST