Re: [opensuse] Hacking Display Manager - Replacing GDM with ACDM
- From: G T Smith <grahamsmith@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 29 Nov 2007 17:25:17 +0000
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Chee How Chua wrote:
+ entrance) DISPLAYMANAGER=/usr/sbin/entranced
+ PIDFILE="/var/run/entranced.pid"
+ ;;
Yup, I did this. In fact the patch file provided by ActivIdentity had
this patch, but the script that invokes this patch did not apply it
correctly.
But the patch did not contain the line with PIDFILE and I didn't apply
it either. Is this PIDFILE compulsory? In the default XDM file, only
KDM and GDM have this PID line; WDM and XDM do not have it. Can you
explain what this line is for?
IIRC As far as I could work out this is used to determine whether a
process is running or not... this is the first parameter passed to
startproc later on after the -p option...
man startproc gives some more info....
(I have no idea what would happen if the -p option gets the executable
as the pid file but I do not think it would be good...) but early on in
the script this variable is set for xdm so I would think it a rather
good idea to set it for the the ACDM module as a discrete PID file (it
cannot do any harm, I cannot remember whether I found out that entranced
crashed without it or not, and I had a fair few crashes getting this to
work).
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?
Well, the patch file and the documentation do not have anything to say
about the XDMOPTIONS. It appears that only GDM has XDMOPTIONS set. How
does XDMOPTIONS affect XDM and the display manager that is loading?
This is variable is where options for the executable (rather the
startproc) are passed if you have none you do not need pass any...
entranced required -nodaemon (never did find out exactly what the option
was supposed to do, e17 docs tend to be a bit thin on the ground)
Finally set the DISPLAYMANAGER setting in the YaST sysconfig editor to
whatever you choose to tag ACDM as...
Did that. Naively thought that would be the only thing to change.
ditto first time tound...
==============================================================================
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-----
On Nov 30, 2007 12:20 AM, JP Rosevear <jpr@xxxxxxxxxx> wrote:
Why? GDM supports full pam conversations to read smart cards in 10.3 and
it should be able to detect when usb smart card readers are plugged in
and reset the login screen.
If you need this for SLED 10 SP1, we have done some test packages,
please contact Novell.
-JP
--
JP Rosevear <jpr@xxxxxxxxxx>
Novell, Inc.
The OS is SLED10 SP1, not 10.3. Pardon my ignorance, which contact
point for Novell should I approach? My local office is unable to help
me much here.
This was my error not JPs
- --
==============================================================================
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
iD8DBQFHTvX9asN0sSnLmgIRAubYAKDhf0cNdJ92soet1ePGOPJkM8VPFwCg+XRU
P5i+N+DGe7u4sJhYvDNvgqs=
=he0Z
-----END PGP SIGNATURE-----
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
- References:
- [opensuse] Hacking Display Manager - Replacing GDM with ACDM
- From: Chee How Chua
- Re: [opensuse] Hacking Display Manager - Replacing GDM with ACDM
- From: JP Rosevear
- Re: [opensuse] Hacking Display Manager - Replacing GDM with ACDM
- From: Chee How Chua
- [opensuse] Hacking Display Manager - Replacing GDM with ACDM
- Prev by Date: Re: [opensuse] OpenSUSE Updater, Error, ZYpp transaction is already in progres
- Next by Date: Re: [opensuse] How to create banners in Linux?
- Previous by thread: Re: [opensuse] Hacking Display Manager - Replacing GDM with ACDM
- Next by thread: Re: [opensuse] Hacking Display Manager - Replacing GDM with ACDM
- Index(es):
Relevant Pages
|
|