Article 47110 of comp.sys.sun.admin:
Path: mri.com!news.aimnet.com!ns1.aplatform.com!viper.inow.com!samba.rahul.net!rahul.net!a2i!olivea!spool.mu.edu!usenet.eel.ufl.edu!tank.news.pipex.net!pipex!oleane!jussieu.fr!news.sri.ucl.ac.be!news.sri.ucl.ac.be!lheureux
From: Olivier L'Heureux <lheureux@dice.ucl.ac.be>
Newsgroups: comp.sys.sun.admin,comp.unix.cde
Subject: Re: X11R6.1, Solaris 2.5, and CDE
Date: 14 Jun 1996 12:36:34 GMT
Organization: Lab. de Microelectronique - UCL - Belgium
Lines: 92
Distribution: world
Message-ID: <LHEUREUX.96Jun14143634@mozart.dice.ucl.ac.be>
References: <17544@833273618>
NNTP-Posting-Host: mozart.dice.ucl.ac.be
Mime-Version: 1.0
Content-Type: multipart/mixed; boundary="Multipart Fri Jun 14 14:34:51 1996"
Content-Transfer-Encoding: 7bit
In-reply-to: "Perry Wagle"'s message of Mon, 27 May 1996 20:45:33 -0500
 (EST)
Xref: mri.com comp.sys.sun.admin:47110 comp.unix.cde:197

--Multipart Fri Jun 14 14:34:51 1996
Content-Type: text/plain; charset=US-ASCII

In article <17544@833273618> "Perry Wagle" <wagle@cs.indiana.edu>
writes:

>> I'm running Solaris 2.5 on a bunch of Sun workstations, with the
>> latest CDE installed.  So the CDE login manager is running.

>> Right now, the CDE login manager lets you choose between
>> openwindows and common desktop.  I'm thinking that I want to add
>> X11R6.1 to this list of options.

>> Has anyone looked into this yet?  Possible?  Worth doing?  Hidden
>> gotchas?

Yes, we do it. But normally, CDE `dtlogin' do not restart the X
server. So we decided to run X11R6 server, in order to get the same
server on all our workstations. Just use the appended
"/etc/dt/config/Xservers" file, and restart X.

I still do not understand exactely why, but we had then to log in
twice, the first one crashed. ( Font problem ? ) We worked around a
solution: ask `dtlogin' to restart the server after each session. Copy
"/usr/dt/config/Xconfig" in "/etc/dt/config/Xconfig" and append the
following lines:

| # For X11R6 server. See: `dtlogin (1X)'. OL'H, 29/4/96
| Dtlogin*resetForAuth: True

We wanted also a "standard X11R6" session. You need the appended
"/usr/dt/config/C/Xresources.d/Xresources.x11r6" (Putting it somewhere
under "/etc/dt" should probably be better. )

Just adding new files in place of editing them seems a very good point
for CDE, compared to other systems. Just the same difference as
between BSD's "/etc/rc.local" and Solaris 2.x's "/etc/rc?.d"
files. Great for system administrators.

>> We have applications that expect X11R6, and it seems that it would be
>> easier to do this than port the applications to openwindows/etc.

>> Thanks!

				Hope this helps,

>> -- Perry Wagle, Indiana University Geophysics

						Olivier L'Heureux

----------------------------------------------------------------------
                    ,                          ,
Laboratoire de microelectronique de l'Universite catholique de Louvain

e-mail:	lheureux@dice.ucl.ac.be	               B-1348 Louvain-la-Neuve
<URL:http://www.dice.ucl.ac.be/~lheureux>                      Belgium
MIME/PGP accepted

--Multipart Fri Jun 14 14:34:51 1996
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

#
# /etc/dt/config/Xservers file
#
# See file /usr/dt/config/Xservers for comments.
# Olivier L'Heureux <lheureux@dice.ucl.ac.be>, 17/4/96
#   :0	Local local_uid@console root /usr/openwin/bin/Xsun :0 -nobanner
   :0	Local local_uid@console nobody /usr/bin/X11/X :0

--Multipart Fri Jun 14 14:34:51 1996
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

!!######################################################################
!!
!!   Xresources.x11r6
!!
!!   Configuration file for the X11 R6 alternate desktop resources 
!!
!!######################################################################
!!
!!  This file used by the Solaris Desktop Login manager


Dtlogin*altDtsIncrement:	True

Dtlogin*altDtName:	X11R6 Desktop
Dtlogin*altDtKey:	/usr/local/X11/ncd/bin/ncdwm
Dtlogin*altDtStart:	/usr/lib/X11/xdm/Xsession
!! Dtlogin*altDtLogo:	Dtlogo
--Multipart Fri Jun 14 14:34:51 1996--


