[comp.windows.x] X vs. Xsun?

mkhaw@teknowledge-vaxc.ARPA (Mike Khaw) (11/17/88)

What are the differences between the X server named "X" and Xsun?

We have an application (written in Franz Inc's implementation of Common
Windows) that works fine when we start X up with a simple "xinit", but
exhibits poor behavior when started with "xinit -- XSun ..." (when
popup menus are dismissed, the underlying region isn't refreshed,
etc.).  I'm told it has something to do with "X" being a "backing
server"(?).

Also, I'd like to run suntools on the color planes of my 3/110 and X on
the b&w overlay plane, but the "X" server seems to take over both sets
of bit planes (Xsun can be told not to, of course, but then I can't run
the above application).

I've RTFM, but I don't see if it's possible to either (a) get "X" not
to take over all the bit planes, or (b) get "Xsun" to act as a "backing
server", if that's the right terminology.

Thanks,
Mike Khaw
-- 
internet: mkhaw@teknowledge.arpa
uucp:	  {uunet|sun|ucbvax|decwrl|ames|hplabs}!mkhaw%teknowledge.arpa
hardcopy: Teknowledge Inc, 1850 Embarcadero Rd, POB 10119, Palo Alto, CA 94303

jim@EXPO.LCS.MIT.EDU (Jim Fulton) (11/18/88)

> What are the differences between the X server named "X" and Xsun?

On a Sun, nothing.

The build gives separate names to each server binary (e.g. Xsun, Xqvss, Xhp,
etc.) so that you can compile any number of servers (for different graphics
devices or for building test servers like Xndx) at a time.  If you use the
xinit program to start your server, you need to either tell it the name of the
server program explicitly (e.g. xinit -- /usr/bin/X11/Xsun :0) or create a link
(or script) named "X" somewhere in your path pointing to the right server.  


> We have an application that works fine when we start X up with a simple
> "xinit", but exhibits poor behavior when started with "xinit -- XSun ..." 
> (when popup menus are dismissed, the underlying region isn't refreshed, 
> etc.).  I'm told it has something to do with "X" being a "backing server"(?). 

It sounds like somebody left an old server lying around.  The Release 3 server
automatically supports backing store unless the server is started with the -bs
option. 

							Jim Fulton
							MIT X Consortium