Karl Rossing wrote:
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.

I do agree with you, as this requires changing of a file which could be overwritten when an update is being applied. But I see no other way, too.

Hagen
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to