Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a Point of Sale kiosk system that needs to logout the user profile whenever the PoS system application is closed.

At the moment I've solved this by adding

/home/user/.profile

...
exec `nautilus -n` &
exec /usr/bin/globeonepos

to the end of .profile.

Is there a better way of doing this?

share|improve this question
    
What do you think is wrong about your solution? It looks fine to me. –  zwets Mar 5 '13 at 12:57
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.