You are not logged in.
I manually start Awesome via .profile:
[ "$(tty)" = "/dev/tty1" ] && sleep .01 && setterm --clear all -foreground cyan -background black --ulcolor cyan hbcolor bright cyan --store && echo "Starting Xorg..." && exec startx >/dev/null 2>/dev/null
# Below code doesn't work:
sh
I would like to be dumped into tty after exiting Awesome and without logging out. I find that inserting an 'sh' command after the startx command doesn't work, even if I cleanly use the 'quit' option in Awesome; sh is skipped and the user is relogged in again. I don't want to have to log in again.
Is this possible?
Last edited by bedtime (2019-02-20 13:02:09)
Offline
For a start: drop the "exec"
Offline
For a start: drop the "exec"
Yes, that worked—didn't even need to have the 'sh' command so was able to drop it. It now does exactly what I wanted.
Thanks.
Offline