On Sun, Sep 27, 2015 at 02:09:23PM +0200, Hinnerk van Bruinehsen wrote:
> On Sun, Sep 27, 2015 at 06:50:17PM +0800, Pickfire wrote:
> > Hi, I set the xorg termination with `localectl`. When using `slock`, I
> > press Ctrl+Alt+Backspace and it works, the Xorg is killed and go back to
> > the shell. What should I do to prevent that or is there a patch for it?
> >
>
> Assuming you start X via startx you can run startx; logout
There is an even easier way (in your case you might still get to the terminal
if you hold down ^C fast enough, I've tested that).
$ exec xinit
As exec replaces your current shell's process, if xinit exits, you are thrown
into the login prompt.
Received on Tue Oct 13 2015 - 12:03:01 CEST