GNOME kiosk session in SunRay SRSS 4.1 on RHEL5

By thomas, 5 June, 2009
After installing SRSS we tried to setup a gnome kiosk session. There were no prototypes for this installed. After scouring the net we only found an example of something that didn't work :-(. Here is our config.

/etc/opt/SUNWkio/sessions/gnome.conf KIOSK_SESSION_EXEC=/etc/opt/SUNWkio/sessions/gnome/gnome-kiosk KIOSK_SESSION_LABEL="GNOME" KIOSK_SESSION_ICON= KIOSK_SESSION_DESCRIPTION="GNOME" KIOSK_SESSION_APPLAUNCHER=/opt/SUNWkio/lib/kioskapplaunch KIOSK_SESSION_PROTOTYPE=gnome KIOSK_SESSION_ARGS=/usr/bin/gnome-session

/etc/opt/SUNWkio/sessions/gnome/gnome-kiosk #!/bin/sh $* *make sure gnome-kiosk is executable. It's a very silly script, but it seems that this is required, when we set KIOSK_SESSION_EXEC to gnome-session it didn't work.

The only other thing we did was make a directory called gnome in prototypes (/etc/opt/SUNWkio/prototypes/gnome)

After making these scripts the kiosk steps in the sunray manual worked.

utpolicy -a -z both -k pseudo

Our SunRays now login to a gnome session if there is no card in the sunray. We locked down the session using sabayon. Hope that helps.