From a786c92524773c33c514db20ae0f2d91d4d0f5cf Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Mon, 11 Jun 2018 15:49:15 -0300 Subject: Console: use script hack, useful for servers --- kvmx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/kvmx b/kvmx index abe063a..9c04565 100755 --- a/kvmx +++ b/kvmx @@ -1665,7 +1665,10 @@ function kvmx_console { exit 1 fi - screen -x kvmx-$VM + # See https://serverfault.com/questions/116775/sudo-as-different-user-and-running-screen + #script /dev/null + #screen -x kvmx-$VM + script -q -c "screen -x kvmx-$VM" /dev/null } # Alias to console -- cgit v1.2.3