-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chee How Chua wrote:
> On Nov 29, 2007 4:17 PM, CyberOrg <[EMAIL PROTECTED]> wrote:
>> On Nov 29, 2007 1:39 PM, Chee How Chua <[EMAIL PROTECTED]> wrote:
>>
>>> The display manager upon bootup shows ACDM instead of GDM. However,
>>> after entering my username and password, ACDM died and brought me to
>>> the console login screen (CTL+ALT+F1).
>> Try:
>>
>> ln -s /etc/X11/xdm/Xsession /etc/X11/Xsession
>>
>> Cheers
>>
>> -J
>>
> 
> Thanks. Unfortunately it doesn't work. ACDM still died.


This is what I did to substitute Entrance for SuSE defaults.  I would
check what parameters the ACDM script (or the binary component of the
script) require to work. ...

I made two changes to /etc/init.d/xdm
the three lines marked + where added with with the path to the entrance
binary, in your case it should be the ACDM binary (approx line 90).


  case "${DISPLAYMANAGER##*/}" in
      kdm|kde|KDM|KDE)   DISPLAYMANAGER=/opt/kde3/bin/kdm
                         PIDFILE="/var/run/kdm.pid"
                         ;;
      xdm)               DISPLAYMANAGER=$XDM_BIN
                         ;;
      gdm|GDM|Gnome|GNOME) DISPLAYMANAGER=/opt/gnome/sbin/gdm
                         PIDFILE="/var/run/gdm.pid"
                         ;;
      wdm|WDM)           DISPLAYMANAGER=/usr/X11R6/bin/wdm
                         ;;
      console)           exit 0
                         ;;
+     entrance)          DISPLAYMANAGER=/usr/sbin/entranced
+                          PIDFILE="/var/run/entranced.pid"
+                        ;;
      *)                         DISPLAYMANAGER=$XDM_BIN
                         if test -x /opt/kde3/bin/kdm; then
                                DISPLAYMANAGER=/opt/kde3/bin/kdm
                                PIDFILE="/var/run/kdm.pid"
                         fi
                         ;;
  esac

and (at approx line 125) I changed XDMOPTIONS which should contain the X
options required by the ACDM binary to load... (and local environment
setting may need to be included at this point)... BTW check whether the
ACDM requires any hardware modules to be loaded, if this is the case, at
this point you could insert a test to see if the module is loaded and
either wait for the module to load or load the module...

        if [ "$DISPLAYMANAGER" = "/opt/gnome/sbin/gdm" -a \
                 "$DISPLAYMANAGER_REMOTE_ACCESS" = "yes"  -a \
                 "$DISPLAYMANAGER_STARTS_XSERVER" = "no" ]; then
                XDMOPTIONS="--no-console"
        fi

+         if [ "$DISPLAYMANAGER" = "/usr/sbin/entranced" ]; then
+            XDMOPTIONS="-nodaemon"
+         fi


Does this look anything like what you did?

Finally set the DISPLAYMANAGER setting in the YaST sysconfig editor to
whatever you choose to tag ACDM as...




- --
==============================================================================
I have always wished that my computer would be as easy to use as my
telephone.
My wish has come true. I no longer know how to use my telephone.

Bjarne Stroustrup
==============================================================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHTtYYasN0sSnLmgIRAmlRAJ402KSEKACec+p+sUnFLSrk0APzyQCgnLYf
F1mgwZOZdYzACutsPgeLVzU=
=wI9U
-----END PGP SIGNATURE-----
-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to