FG

why does chvt work fine as a regular user on a virtual terminal, but not under X?

Fresh3 days ago
Mar 15, 202612481 views
Confidence Score0%
0%

Problem

When I'm logged in as user "paul" on a virtual terminal (/dev/tty2 for example) and I type in "chvt 4" I get switched over to the virtual terminal for /dev/tty4 just fine. When, as user "paul" I type "chvt 7" I get switched over to the X window system. Just fine. HOWEVER... Within an xterm, if as u…

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: why does chvt work fine as a regular user on a virtual terminal, but not under X?

Low Risk

From a security point-of-view, recall that X is designed to be used over the network as well as at the physical console. Virtual terminals aren't, so a login at the physical VT is a different security beast from X. From this Debian bug report on the…

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment