[wmii] wmii2 and XDMCP

From: Viktor Vasilev <viktor.vasilev_AT_stud.tu-darmstadt.de>
Date: Mon, 19 Jun 2006 17:50:06 +0200

Hi,

While playing with wmii-2, I discovered, that it won't run on my XDMCP
setup. Further investigation showed, that the wmii script sets the DISPLAY
env variable wrong. The problematic line in wmii is:

  DISPLAY=`echo $DISPLAY | sed 's/\(.*\)\..*$/\1/'`.$i

The original value is 192.168.1.2:1, after the sed replacement it's
192.168.1.0. When run on a local display, its :0 before and :0.0 after, and
everything is OK.
My system is FreeBSD 6.0-STABLE with Xorg 6.9.0 and wmii-2.

Cheers,
Vik

-- 
PGP Key: 0xE09DC8D8/6799 4011 EBDE 6412 05A1 090C DBDF 5887 E09D C8D8
Signed/encrypted mail welcome!

Received on Mon Jun 19 2006 - 17:50:15 UTC

This archive was generated by hypermail 2.2.0 : Sun Jul 13 2008 - 16:09:32 UTC