The man page should mention why chvt can't be made to work within X windows. (Or better yet, please make it work.) I.e., one cannot do $ chvt 1 Couldn't get a file descriptor referring to the console But from outside X windows one can do $ chvt 7 to get back in.
forcemerge 522453 557171 thanks Hi! This is a fundamental limitation of all kbd tools which need a console file descriptor to work; it is most obvious with tools like openvt, fgconsole and chvt. I’m merging this report with #522453. Cheers,
MS> This is a fundamental limitation of all kbd tools which need a console MS> file descriptor to work; it is most obvious with tools like openvt, MS> fgconsole and chvt. I’m merging this report with #522453. Well maybe some program could write something in /var/run where another program could read it or something...
request tag accessability security important I am restriced to one hand and forced to enable stickykeys everywhere It's too difficult to switch consoles with three finget hotkey and sometimes impossible. as emergency action I set suid root on chvt which setting suid on a binary not designed for it is a bad idea