[kbd] openvt and virtual terminals

Christoph Pleger christoph.pleger at cs.uni-dortmund.de
Tue Sep 17 14:18:25 MSK 2019


Hello,

I want to use openvt from the kbd project to open a new virtual terminal 
and start a wayland session there. But after entering 'openvt -s -w -- 
dbus-run-session startplasmacompositor' on tty1, the KDE Wayland session 
did not start on a new virtual terminal, but on tty1. So, I tried to 
start a shell session first with 'openvt -s -w -- /bin/bash' and then, 
on the new virtual terminal, start the Wayland session with 
'dbus-run-session startplasmacompositor'. Though the first of these 
commands successfully opened a shell session on a new virtual terminal, 
the second command caused a switch back to tty1 and again, the KDE 
session opened there, and the new VT was only used for textual 
stdout/stderr.

So, my question is how to give all control for the new process to the 
new virtual terminal and let the process started on the new VT 
completely forget about the virtual terminal on which its parent process 
was started.

Regards
   Christoph


More information about the kbd mailing list