Re: [wmii] Separate Wmii instances on Matrox Millennium G450 DualHead

From: Christian G. Warden <cwarden_AT_xerus.org>
Date: Mon, 18 May 2009 13:29:12 -0700

On Mon, May 18, 2009 at 03:51:56PM -0400, Robert C Corsaro wrote:
> Christian G. Warden wrote:
>> On Mon, May 18, 2009 at 12:15:56PM -0400, Kris Maglione wrote:
>>
>>> On Mon, May 18, 2009 at 12:12:37PM -0400, Bryan Peters wrote:
>>>
>>>> Not quite sure what i'm doing wrong here. I want 2 separate instances
>>>> of wmii running on my dual monitor setup. I'm not concerned about
>>>> dragging windows from screen to screen, but I am concerned with each x
>>>> server being able to accept my mouse and keyboard commands.
[...]
>>> wmii supports Xinerama. Is there some reason you can't use it instead?
>>> There used to be some measures in place to ensure that two instances
>>> would cooperate, but since that setup doesn't get much use any more,
>>> they may have faded away a bit.
>>>
>>
>> I tried upgrading my two-screen (no Xinerama) setup to hg a couple
>> days ago, and wmii would die when trying to start the second instance
>> on the second screen. I didn't have time to troubleshoot much, so I'm
>> stuck on my ancient version of wmii for now.
[...]
> I would guess that it's trying to bind on the same socket. Try manually
> setting the WMII_ADDRESS.

Thanks for the tip, but no luck running
WMII_ADDRESS='unix!/tmp/ns.cwarden.:0.1/wmii' DISPLAY=:0.1 wmii

The two processes are binding to the right sockets, but I'm not sure
how to debug further.

...
20498 connect(3, {sa_family=AF_FILE, path="/tmp/ns.cwarden.:0.1/wmii"}, 27) = 0
20498 write(3, "\23\0\0\0d\377\377\0 \0\0\6\0009P2000", 19) = 19
20498 read(3, <unfinished ...>
20494 wait4(-1, [{WIFEXITED(s) && WEXITSTATUS(s) == 0}], 0, {ru_utime={0, 0}, ru_stime={0, 4000}, ...}) = 20497
20494 wait4(-1, <unfinished ...>
20407 <... select resumed> ) = 1 (in [3])
20407 read(3, "", 4096) = 0
20407 write(2, "XIO: fatal IO error 11 (Resourc"..., 79) = 79
20407 --- SIGTERM (Terminated) @ 0 (0) ---
20407 rt_sigaction(SIGTERM, {SIG_DFL}, NULL, 8) = 0
20407 rt_sigaction(SIGALRM, {0x805bded, [], 0}, NULL, 8) = 0
20407 alarm(1) = 0
20407 sigreturn() = ? (mask now [])
20407 write(2, " after 42 requests (38 know"..., 71) = -1 EPIPE (Broken pipe)
20407 --- SIGPIPE (Broken pipe) @ 0 (0) ---
20407 exit_group(1) = ?
20454 <... read resumed> "", 1) = 0
20454 select(4, [3], [3], NULL, NULL) = 2 (in [3], out [3])
20454 read(3, "", 4096) = 0
20454 write(2, "XIO: fatal IO error 11 (Resourc"..., 79) = -1 EPIPE (Broken pipe)
20454 --- SIGPIPE (Broken pipe) @ 0 (0) ---
20454 write(2, " after 11 requests (7 known"..., 70) = -1 EPIPE (Broken pipe)
20454 --- SIGPIPE (Broken pipe) @ 0 (0) ---
20454 exit_group(1) = ?
20498 <... read resumed> 0x9fd1740, 4) = -1 ECONNRESET (Connection reset by peer)
...

...
20500 connect(3, {sa_family=AF_FILE, path="/tmp/ns.cwarden.:0/wmii"}, 25) = 0
20500 write(3, "\23\0\0\0d\377\377\0 \0\0\6\0009P2000", 19) = 19
20500 read(3, <unfinished ...>
20416 <... select resumed> ) = 1 (in [3])
20416 read(3, 0x808c060, 4096) = -1 ECONNRESET (Connection reset by peer)
20416 write(2, "XIO: fatal IO error 104 (Connec"..., 72) = 72
20416 write(2, " after 99 requests (98 know"..., 71) = 71
20416 exit_group(1) = ?
20444 <... read resumed> "", 1) = 0
20444 select(4, [3], [3], NULL, NULL) = 1 (out [3])
20444 writev(3, [{"*\1\3\0\1\0\0\0\0\0\0\0<\0\2\0\0\0`\1<\0\2\0\1\0`\1+\2"..., 32}, {NULL, 0}, {"", 0}], 3) = 32
20444 select(4, [3], [], NULL, NULL) = 1 (in [3])
20444 read(3, 0x8099a50, 4096) = -1 ECONNRESET (Connection reset by peer)
20444 write(2, "XIO: fatal IO error 104 (Connec"..., 72) = 72
20444 write(2, " after 11 requests (7 known"..., 70) = 70
20444 exit_group(1) = ?
20500 <... read resumed> 0x8b21590, 4) = -1 ECONNRESET (Connection reset by peer)
20500 read(3, "", 5) = 0
20500 shutdown(3, 2 /* send and receive */) = 0
20500 close(3) = 0
20500 write(2, "wmiir: fatal: can\'t mount: unexp"..., 43) = 43
20500 exit_group(1) = ?
...
Received on Mon May 18 2009 - 20:29:12 UTC

This archive was generated by hypermail 2.2.0 : Mon May 18 2009 - 20:36:10 UTC