Re: Multiple X servers


Subject: Re: Multiple X servers
From: James Zuelow (e5z8652@zuelow.net)
Date: Wed Dec 04 2002 - 10:09:16 AKST


On Wed, 4 Dec 2002 09:46:16 -0900
"Mike Barsalou" <mbarsalou@aidea.org> wrote:

>
> If a guy has multiple X servers running on a network. How do you
> tell a particular X-client to use a particular X-server?
>
> Mike
>

Assumption: X-client is an X terminal, with just a bare system and X
running. X-server is an application server, providing a login prompt
and applications. (Just to be clear since the X terminal is really
the "server".)

You can tackle this two ways.

The first is to specify an X-server when you start X on the terminal.
You can do it by hand like this:

X -query server1.example.net

or in /etc/inittab like this:

x:5:respawn:/usr/X11R6/bin/X -query server1.example.net

Using inittab will automate the task every time you boot. If you do
it this way, you'll always get the server you want.

The other way around is to use the chooser. The chooser lets you
select which x-server you want to get a login prompt from. In this
case, you modify the Xaccess file on one (or all) of the x-servers to
look like this:

* CHOOSER server1.example.net server2.example.net server3.example.net

if your network isn't firewalled (!) you would probably want the line
to look like this:

*.example.net CHOOSER server1.example.net server2.example.net
server3.example.net

Once the chooser is set up, you start X on the terminals like this:

X -indirect server1.example.net

or in inittab:

x:5:respawn:/usr/X11R6/bin/X -indirect server1.example.net

assuming that the chooser is set up on server1.example.net, you'll
have the option of loging into one of the three servers. This is
useful if you keep office & mail applications on one server, a second
server is a dedicated database box, etc.

Anyway, this is just a quick once over. Typos are possible since I'm
doing this from memory. You're interested in `man xdm` and `man
Xserver` (at least on Debian Xaccess doesn't have a man page).

Cheers,

James

---------
To unsubscribe, send email to <aklug-request@aklug.org>
with 'unsubscribe' in the message body.



This archive was generated by hypermail 2a23 : Wed Dec 04 2002 - 10:09:30 AKST