Re: FVWM: FVWM changing $DISPLATY env variable??

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Tue, 15 Mar 2005 19:25:15 +0000

On 15 Mar 2005 15:32:55 -0500, David Sun wrote:
>
> I need the $DISPLAY env variable always be :0.0 once FVWM is up, but
> FVWM will occasionally change it to :0.1 on startup

I think (can't check) that fvwm ignores screen part of $DISPLAY, i.e. it
behaves as if you have DISPLAY=:0 and spawns 2 instances if needed.

To make it only manage :0.0, start fvwm as:

  fvwm -s -d :0.0

I don't understand your setup fully, but if you do need 2 instances and
you do not trust fvwm to do the right thing, one of the ways would be:

  fvwm -s -d :0.0 &
  fvwm -s -d :0.1 &
  xmessage "Close me to end X"

P.S. I only speak from what I see in the code and the man page,
I never actually had multi-head displays.

There is a complex logic of when/how fvwm spawns instances on multi-head
displays and how it sets $DISPLAY, but I think this logic is mostly ok.
Synchronizing 2 instances may be however problematic on Restart and Quit.

Regards,
Mikhael.
--
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 Tue Mar 15 2005 - 13:26:16 GMT

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