On 08/26/2011 02:13 AM, Hagen Heiduck wrote:
I do it the other way, by trying to avoid them. If your session
returns with exit code 66, that message does not appear (s. 'man
gdm-binary').
I tried adding exit 66 to the end of craig's kiosk script and it didn't
seem to work.
#!/bin/sh
# Get rid of the minimize button on the windowing manager
/usr/bin/gconftool-2 \
--type string \
--set /apps/metacity/general/button_layout menu:maximize,close
# Start a window manager so firefox doesn't get stuck with modal windows
under the browser
/usr/bin/metacity &
# Start Firefox
/opt/firefox/firefox
# Cleanup the window manager so Kiosk exits after firefox closes
pkill -9 $USER metacity
exit 66
If I set exit 66 in /opt/SUNWkio/lib/Xsession then it works. That is not
the best place for it though.
CONFIDENTIALITY NOTICE: This communication (including all attachments) is
confidential and is intended for the use of the named addressee(s) only and
may contain information that is private, confidential, privileged, and
exempt from disclosure under law. All rights to privilege are expressly
claimed and reserved and are not waived. Any use, dissemination,
distribution, copying or disclosure of this message and any attachments, in
whole or in part, by anyone other than the intended recipient(s) is strictly
prohibited. If you have received this communication in error, please notify
the sender immediately, delete this communication from all data storage
devices and destroy all hard copies.
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users