Comment 20 for bug 398300

Revision history for this message
Andy (andy-xillean) wrote : Re: The new gdm doesn't give an option to use .xsession

Creating a custom logon session at the login prompt does not help my situation. Before when a specific user logged in the .xsession file would run and startup firefox. That specific user was only able to run firefox. No windowmanager or anything else. When they close Firefox it would end the session
the user's .xsession file was very simple.
---------------
 #!/bin/bash
exec firefox
-------------

Creating a session desktop entry at the login prompt allows the user to bypass the ability to restrict the user to a specific application. All they have to do is change the session type on the login window to gnome or whatever and login to get a full desktop bypassing their .xsession file. This is shortsighted IMO on the part of the Gnome devs. It was simple now they have made this complicated if not impossible to do now.

Is there a way to run just one application when a specific user logs in the log them out when they close that app?