Fwd: WIP: /etc/rc.d/xdm Working patch for test.

Jose M Rodriguez josemi at freebsd.jazztel.es
Mon Sep 27 11:05:37 PDT 2004

  Can someone of x11@ try this.  Any comments are welcome.


------- Forwarded message -------
From: "Jose M Rodriguez" <josemi at freebsd.jazztel.es>
To: current at freebsd.org
Subject: WIP: /etc/rc.d/xdm Working patch for test.
Date: Mon, 27 Sep 2004 18:47:16 +0200

Well, this is the frist working patch for a /etc/rc.d/xdm script.

To workaround de init/xdm race problem, I rename the script to 0xdm, and
is now even closest to the end of rcorder than local.

So, now, this script can:

   - launch Xorg/gdm/kdm/xdm from /etc/rc.conf
   - launch it from boot without init (/etc/ttys) race problems
   - doesn't affect previous /etc/ttys or /usr/X11R6/ets/rc.d/gdm.sh xdm
   - xmd start/stop via /erc/rc.d/0xdm start ...
   - admit more elaborate launch via /etc/rc.conf.d/xdm

   - aply patch:
    # cd /usr/src && patch -p0 < path-xdm4
   + check no xdm and 0xdm
   + update /etc/rc.d

   - xdm launch
    # echo 'xdm_enable="YES" >> /etc/rc.conf && /etc/rc.d/0xdm start

   - gdm launch
    # echo 'xdm_program="/usr/X11R6/bin/gdm" >> /etc/rc.conf && echo
'xdm_enable="YES" >> /etc/rc.conf && /etc/rc.d/0xdm start

   - kdm launch
    # echo 'xdm_program="/usr/local/bin/kdm" >> /etc/rc.conf && echo
'xdm_enable="YES" >> /etc/rc.conf && /etc/rc.d/0xdm start

   - Xorg XDMCP broadcast
    # echo 'xdm_program="/usr/X11R6/bin/Xorg" >> /etc/rc.conf && echo
'xdm_enable="YES" >> /etc/rc.conf && /etc/rc.d/0xdm start

    Now ready for test.


Using Opera's revolutionary e-mail client: http://www.opera.com/m2/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: patch-xdm4
Type: application/octet-stream
Size: 3399 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-x11/attachments/20040927/40ad7a5a/patch-xdm4.obj

More information about the freebsd-x11 mailing list