Anders, Thank you for answering; a reply that brought me to read more about configuring GDM in the GDM Reference manual and in the Gnome Admin Guide. Anders Johansson skrev:
On Sun, 2004-02-22 at 02:45 +0100, Terje J. Hanssen wrote:
Is it possible to run both a local and a remote display manager and session, suspending one and/or switching between them? E.g running Gnome/GDM local on my SuSE Linux host and open an XDMCP remote CDE/dtlogin to a sun/Solaris host. That is suspend one of them without logout when switching between them.
yes, you can start two X servers and switch between them with ctrl-alt- f7 (your default local login) and ctrl-alt-f8 (the second server, possibly remote). If you start a third it will be on f9. If you need more, you can edit /etc/inittab and remove a couple of mgetty lines, to make the primary X server start on f6 or f5 or whatever you choose.
If possible, are two X servers and/or two different sequence numbers (:0 and :1) needed, one for each of the display managers/sessions?
Yes, it's needed, but you might like to look at Xnest, which gives you a new X server started in a window running under your current X session.
What a lot of flexible possibilities! I just wonder why I haven't found something written about multiple Xservers in the xdm or XDMCP Howto's, my X books or other documentation. I see benefits of Xnest and gdmflexiserver, but I am not sure if this will cause more overhead for the parent Xserver, maybe both. As I will use a fixed setup most of the time, I think it will be better to have the second Xserver started automatically and dedicated for remote CDE dtlogin at boot. That is, it should be available from the Gnome login menue's XDMCP chooser and/or from the ctrl-alt-f8 switch.
If possible or not, which options do we have and how-to configure/select remote XDMCP connections to other hosts on Gnome and KDE?
Two options, you can either run gdmflexiserver (possibly available as 'start new session' in your menu), or you can run something like
X :1 -query <hostname>
The SJDS Launche menue-> Applications->System->New Login shows default a new local GDM login screen. From here, as mentioned above, there is available an action sub menue, from which a XDMCP chooser can be run. I have also tried the menue System->Remote Access->New Login on SuSE9 after a Gnome login, and was surprised that I got a message that GDM was not running. It looks like SuSE9 use KDM also for Gnome login!(?)
On my SJDS (Gnome/SLES8.1 based), there is a selection on the local login menu for XDMCP query remote host or chooser. I have tried this selection without finding or getting dtlogin from my Solaris host. Another X terminal and a thin Linux client get this dtlogin OK.
in gdmsetup, did you allow indirect xdmcp queries?
Yes, when enabling XDMCP from the menue, honour indirect request was also checked by default. But as far as I can see, the gdmsetup menue only deal with GDM setting for remote displays and has nothing about setting up a local Xserver for a remote display manager as I request. Obviously something more has to be configured. From my reading, I think the /etc/X11/gdm/gdm.conf has to edited by hand (corresponding to xdm's Xserver file). Mayb also another file /etc/hosts.allow (corresponding to xdm's Xaccess) has to be configured? I think configuring this second Xserver for remote CDE dtlogin, is comparable with the setup example for X terminals as described in gdm.conf and in the GDM Reference manual. Using these original examples configuration syntax, the following are what I now think has to be added in gdm.conf : [servers] 1=Terminal -query CDE_session_host # alternative using CDE fontserver: # 1=Terminal -fp tcp/CDE_session_host:7100 -query CDE_session_host [server-Terminal] name=Terminal server command=/usr/X11R6/bin/X -terminate flexible=false handled=false Replies, comments and suggestions are welcome! Terje J. Hanssen