freebsd at edvax.de
Sun Mar 29 10:50:29 UTC 2020
On Sun, 29 Mar 2020 10:57:48 +0100, Steve O'Hara-Smith wrote:
> On Sun, 29 Mar 2020 10:17:41 +0200
> Polytropon <freebsd at edvax.de> wrote:
> > Add the command
> > logout
> > as last line in case you wish the uer to be logged off
> > (instead of dropped back to the console) if the X session
> > is terminated.
> I find startx & logout a good mantra for starting X from a console
Maybe "exec startx" would also work? If the process after
login is replaced with startx, and the X session ends, the
process keeping the state "logged in" active will end, so
the logout will appear?
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions