Matt Keenan wrote:
> Do you have any of the lockdown features enabled ?
> 
> 
> 1.   /desktop/gnome/lockdown/restrict_application_launching ?
> 
>    if this is set then ensure
>        /usr/X11/bin/xscreensaver
>          and
>        /usr/X11/bin/xscreensaver-demo
> 
>    are both specified in the list of allowed applications gconf key :
>         /desktop/gnome/lockdown/allowed_applications
> 
>    if this is not set then ignore allowed applications

None of the boxes is checked, but there's a long list of applications
in allowed_applications.  Can I just put * in the list?

The list includes /usr/bin/xscreensaver-demo.  There's no /usr/X11/bin
commands in the list at all.

The same is true on the account where Lock Screen shows up in the menu.

Where does this list come from?  I can't find it in any of the dot
files in my home directory.  I guess it must be coming from some system
location.  Even though I don't think it's being used here (because
restrict_application_launching isn't set), the list is still wrong.

> 2. The menu item will also not appear if your session if gnome-panel cannot
>    find the binaries so is /usr/X11/bin in your PATH ?

No, but /usr/openwin/bin is (historical artifact) and /usr/openwin
is a symlink to /usr/X11.

Ok, after a bunch of trial and error, I figured out the problem.

I was only adding /usr/openwin/bin to my PATH if $GNOME_DESKTOP_SESSION_ID
was set.  Otherwise, I assumed I wasn't logging in in a window environment.
Unfortunately, that doesn't seem to be set when the login process first runs
my .profile, even though it *is* set when I start gnome-terminal.

Thanks for the hint that pointed me in the right direction!
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to