Closed alexflint closed 1 year ago
Emptty is not meant to provide this kind of functionality. To be honest, agetty is much better choice in this case. However this could be achievable by little patch -> in session.go
needs to be set
session.Stdout = os.Stdout
session.Stderr = os.Stderr
session.Stdin = os.Stdin
Then you have to make sure you've called bash --login
instead of just bash
, and that you have Env=wayland
(to prevent starting of Xorg). And also make sure you have set your $TERM
env variable.
With just this in my ~/.config/emptty:
when I log in using emptty I am immediately logged out again. The log shows "Starting bash" and then on the next line, "bash finished". Why? What is the reommended way to have of my session options be a bash file?