Prior to the introduction of systemd /etc/inittab had this line in it: kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
and I found it useful to tie a call to openvt to Alt Up which went
well with ALT Right or Left arrow to move between VTs.
.
Has anyone knowledge of how to do this under systemd?
Mike McClain <mike.junk.46@att.net> writes:
Prior to the introduction of systemd /etc/inittab had this line in it: kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
and I found it useful to tie a call to openvt to Alt Up which went
well with ALT Right or Left arrow to move between VTs.
.
Has anyone knowledge of how to do this under systemd?
Looks like there's a special target, kbrequest.target, which is started
by alt-up. Some more systemd knowledge than I currently have is needed
to tie openvt into that.
unicorn:~$ locate kbrequest.target
unicorn:~$ locate kbrequest
unicorn:~$ man -k kbrequest
kbrequest: nothing appropriate.
unicorn:~$ apt-cache search kbrequest
unicorn:~$
I can't find this in Debian 12. Do you have more details about it?
Prior to the introduction of systemd /etc/inittab had this line in it: kb::kbrequest:/bin/echo "Keyboard Request--edit /etc/inittab to let this work."
and I found it useful to tie a call to openvt to Alt Up which went
well with ALT Right or Left arrow to move between VTs.
.
Has anyone knowledge of how to do this under systemd?
On Sun 31 Dec 2023 at 23:09:42 (-0600), Mike McClain wrote:[...]
Is the history of this issue relevant?
https://forums.raspberrypi.com/viewtopic.php?t=282768
Is the history of this issue relevant?
https://forums.raspberrypi.com/viewtopic.php?t=282768
On Mon, 1 Jan 2024 13:53:44 -0500 Greg Wooledge wrote:
Oh, it's the same *name*. Huh. So, Mike, whatever you figured out in
2020, you entirely forgot, and now you're starting over in a new forum?
What are you actually trying to do? If all you want are a bunch of additional text consoles, you can simply increase the number of gettys
by editing the /etc/systemd/logind.conf file:
I don't think I can state any more clearly what I'm trying to do than
'to tie a call to openvt to Alt Up'. I'm assuming you don't know how
to do that either.
You're quite right you can increase the number of gettys
and you can log into every one of them before you can use them.
On Thu, Jan 04, 2024 at 09:58:38PM -0600, Mike McClain wrote:
I don't think I can state any more clearly what I'm trying to do than
'to tie a call to openvt to Alt Up'. I'm assuming you don't know how
to do that either.
And ... what does THAT do?
NAME
openvt - start a program on a new virtual terminal (VT).
What program are you trying to start in the new VT?
You're quite right you can increase the number of gettys
and you can log into every one of them before you can use them.
How does that FAIL to meet your desired state? What do you want to do,
that this doesn't allow?
Are you trying to "login" to a bunch of VTs as an unprivileged user
without actually logging in? Simply for convenience? (If so, why
can't you just SAY this so we know?)
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 297 |
Nodes: | 16 (2 / 14) |
Uptime: | 30:33:51 |
Calls: | 6,669 |
Calls today: | 1 |
Files: | 12,216 |
Messages: | 5,338,100 |