James Tan schrieb:
Hi,

am using SRSS 4.1 on Solaris. Understand that root user can terminate users' X/kiosk sessions in Webadmin/utuser -k commands.

FYI: utuser -k hasn't been a supported option for ages. But root can use utsession -k instead.

Is there a way for user(s) to perform their own 'reset' of SRSS session, like as if doing a CTRL-BS-BS by themself to end their own kiosk session?


Are you using kiosk or are you using a regular logged in session?

Wish to do a utaction on card removal to reset user's session so that new card insert will be a new session for some reason.


If you are using kiosk: set the session timeout parameter to 0 in the kiosk configuration. This will cause the session to be terminated upon disconnect (the timeout is for how long the session will be left running when disconnected).

If you are not using kiosk:

One simple approach is something like 'pkill -u $USER Xnewt || pkill -u $USER Xsun', which should work, if every user has only a single session.

Another approach: Start your utactions in either a /etc/dt/config/Xsession.d script or in the user's $HOME/.dtprofile. These scripts are sourced in the session script, which is the root of the session process tree. So in these cases it should work to use
   utaction -d "kill $$" &
in the script.

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

Reply via email to