1. Automatically starting xdm on boot, with a xdm-config file
I have 4 Sun SPARCstation IPCs, with limited hard drive space, running
Solaris 2.6, with
/usr and /opt and users home directories mounted from another machine.
I am able to start up xdm, with a login window with the attached
xdm-setup file, but when
I try to use the xdm-config file, it says it is going to start xdm, but
just stays as a text login
prompt.
I have both xdm-setup and xdm-config files located in /etc/init.d
directory.
In the /etc/rc3.d directory I have K99xdm and S99xdm files linked to
/etc/init.d/xdm-setup.
The reason I am trying to put the xdm-config file in a different place to
normal, is that /usr,
/opt, /opt2, /opt3, and the users home directories are mounted from a
seperate machine.
How do get xdm to startup on login using a xdm-config file?
[
XDM-CONF 1K ]
! $XConsortium: xdm-conf.cpp /main/3 1996/01/15 15:17:26 gildea $
DisplayManager.errorLogFile: /var/log/xdm-errors
DisplayManager.pidFile: /opt/X11R6.1/lib/X11/xdm/xdm-pid
DisplayManager.keyFile: /opt/X11R6.1/lib/X11/xdm/xdm-keys
DisplayManager.servers: /opt/X11R6.1/lib/X11/xdm/Xservers
DisplayManager.accessFile: /opt/X11R6.1/lib/X11/xdm/Xaccess
DisplayManager.autoRescan: true
! All displays should use authorization, but we cannot be sure
! X terminals will be configured that way, so by default
! use authorization only for local displays :0, :1, etc.
DisplayManager._0.authorize: true
DisplayManager._1.authorize: true
! The following three resources set up display :0 as the console.
DisplayManager._0.setup: /opt/X11R6.1/lib/X11/xdm/Xsetup_0
DisplayManager._0.startup: /opt/X11R6.1/lib/X11/xdm/GiveConsole
DisplayManager._0.reset: /opt/X11R6.1/lib/X11/xdm/TakeConsole
!
DisplayManager*resources: /opt/X11R6.1/lib/X11/xdm/Xresources
DisplayManager*session: /opt/X11R6.1/lib/X11/xdm/Xsession
DisplayManager*authComplain: false
[
XDM-SETU < 1K ]
#! /bin/sh
#
# xdm-setup -- script file to startup and stop xdm.
X11=/opt/X11R6.1; export X11
LD_LIBRARY_PATH=$X11/lib; export LD_LIBRARY_PATH
XDM_PID=`cat /usr/tmp/xdm-pid`
xdm_running () {
ps -p $XDM_PID > /dev/null 2>&1
case "$1" in
start)
if xdm_running; then
echo "xdm is already running." >&2
else
echo "starting xdm." >&2
$X11/bin/xdm -config /etc/init.d/xdm-config
fi
;;
stop)
if xdm_running; then
echo "stopping xdm." >&2
kill $XDM_PID
else
echo "xdm is not running." >&2
fi
;;
*)
echo "Usage: /etc/init.d/xdm-setup { start | stop }" >&2
;;
esac
2. Compile kernel problem.
3. Solaris 2.2: startup of xdm ?
4. Seeking advice for a test server
5. xdm for Solaris 2.2
6. double fs will not work
7. Xdm (Openwin 3.2 Solaris 2.2) not working ?
8. pay someone to install software?
9. XDM under Solaris 2.2.
10. Solaris 2.2/xdm question
11. xdm in solaris 2.2
12. Solaris 2.2 - xdm and chooser
13. Solaris 2.2 XDM patch 101135-02