Re: X11 pseudocolor and truecolor in parralel HOWTO
Re: X11 pseudocolor and truecolor in parralel HOWTO
- Subject: Re: X11 pseudocolor and truecolor in parralel HOWTO
- From: Sebastian Jester <email@hidden>
- Date: Thu, 17 Feb 2005 12:00:54 -0600
Hi,
On Feb 17, 2005, at 1:28, Martin Costabel wrote:
http://developer.apple.com/darwin/runningx11.html says that one can a
24-bit and an 8-bit (pseudocolor) X11 server on Mac OS X 10.3.7 in
parallel (i.e. Mac's own X11 server) by issuing
$ Xquartz -depth 8 -displayID 1
How about using ":1" instead of "-displayID 1"?
Thanks, at least that got a *different* error message.
It prompted me to try some more things, and I found that you need to
launch X11 rather than Xquartz.
This still doesn't work perfectly, because X11 seems to assume that
only one server instance is running on a given system at a time, so
that .Xauthority and related files for the first server seem to get
messed up when I start the second server, so once I started the second
server, the first server refuses connections. However, this rule seems
to have exceptions for which I can't figure out the rule...
Anyway, here's what works for me, to have a truecolor X11 in parralel
with a pseudocolor X11:
1) start the pseudocolor X11 server:
/Applications/Utilities/X11.app/Contents/MacOS/X11 -depth 8 :1 &
[2] 948
$
XFree86 Version 4.3.0 / X Window System
(protocol Version 11, revision 0, vendor release 6600)
[DRI] screen 0 installation complete
Screen 0 added: 1280x854 @ (0,0)
2) open an ssh connection with X tunneling to a remote server (perhaps
this also works with 'localhost' as remote server? I haven't tried
that):
ssh -X remote.host
3) start the default X11 server with truecolor visual as display 0
/Applications/Utilities/X11.app/Contents/MacOS/X11 -depth 24 :0 &
Apparently, if you don't give :0 or :1 as arguments to X11, the first
server you start gets :0 as display ID, the second gets :1 - even if
you do give the -displayID argument.
As I said, under some circumstances, the first X server refuses
connections after I launch the second one, but the tunneled connection
from step 2 continues to work even then.
So I am still missing something, but the above procedure works for me.
If any of the apple X11 folks is reading this, perhaps the information
about "pseudocolor/truecolor in parralel" at
http://developer.apple.com/darwin/runningx11.html can be updated to
reflect the reality that calling Xquartz as described there doesn't
work?
Thanks for the feedback, hope this makes sense and works for you, too.
Sebastian
_______________________________________________
Do not post admin requests to the list. They will be ignored.
X11-users mailing list (email@hidden)
This email sent to email@hidden