SCIENTIFIC-LINUX-USERS Archives

March 2011

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
Reply To:
Date:
Thu, 10 Mar 2011 11:36:21 -0600
Content-Type:
multipart/mixed
Parts/Attachments:
text/plain (1525 bytes) , defang-1.binary (318 bytes)
I solved this problem.  For those of you who are required to put up the DOE warning banner or any other sort of disclaimer that aborts a gui login, the solution is to put the attached file in /etc/X11/xinit/xinitrc.d.  The scripts in xinitrc.d are run from xinitrc-common.  The distro's first script is 00-start-message-bus.sh.  Choose a name so that the DOE warning script is run before it.  No point starting up dbus if the user chooses to decline the disclaimer and abort the login.



On 03/08/2011 12:41 PM, Ken Teh wrote:
> SL6's gdm does not honor the exit code from /etc/gdm/PreSession/Default. In SL5x, it used to abort the login if the script returns a non-zero exit code. I used this feature to put up a zenity dialog which the user had to click yes in order to continue logging in. Now, the user logs regardless of the script.
>
> In fact, the distro's Default script is empty. It used to contain the xsetroot and sessreg bits.
>
> Any workarounds?

 ==========================================================================
WARNING: This e-mail has been altered by MIMEDefang.  Following this
paragraph are indications of the actual changes made.  For more
information about your site's MIMEDefang policy, contact
MIMEDefang Administrator <postmaster@localhost>.  For more information about MIMEDefang, see:

            http://www.roaringpenguin.com/mimedefang/enduser.php3

An attachment named '000-doewarning.sh' was converted to 'defang-1.binary'.
To recover the file, right-click on the attachment and Save As
'000-doewarning.sh'




ATOM RSS1 RSS2