-
Notifications
You must be signed in to change notification settings - Fork 25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add support for /etc/issue #24
Comments
I recently face the same issue. I solved using /sbin/agetty instead of /bin/login. Unfortunately doing this, no terminal identifier is printed (only a '-'). I developed a patch (https://github.com/kreijack/kmscon/tree/ptsname) which allow to pass '{ptsname}' in agetty command line, which will be replace by the terminal name (like 'pts/1'). I even tried to implement the printing of /etc/issue in kmscon (https://github.com/kreijack/kmscon/tree/random-dev), but it is a lot of code (you have to take care of a lot of '<character>' code); moreover /bin/login has a timeout so if no key is pressed at login time, it exit and kmscon has to restart it. Both of these issues disappear using /sbin/agetty instead of /bin/login. Unfortunately, there is still noway to show the tty. |
@kreijack
For some reason, substituting it like this:
did not really work. You can get the VT (not PT) number with $XDG_VTNR instead. |
I think you should add support for the
/etc/issue
file like gettys such as agetty (agetty --show-issue
).I believe it'll also solve dvdhrm#107
The text was updated successfully, but these errors were encountered: