vidcontrol: getting active vty: Inappropriate ioctl for device

Peter Schuller peter.schuller at infidyne.com
Sun May 20 14:26:03 UTC 2007


> vidcontrol: getting active vty: Inappropriate ioctl
> for device
> 
> I have this entry in the ~/.bash_profile file:
> 
> vidcontrol lightcyan

vidcontrol is trying to affect the system console, and does it by
manipulation file descriptor 0 (stdin). If you are logging in at the
user in question at the console it should work. But in X it won't. You
can make it do what you ask to the system console with:

   vidcontrol < /dev/console

But that will require root privileges.

-- 
/ Peter Schuller

PGP userID: 0xE9758B7D or 'Peter Schuller <peter.schuller at infidyne.com>'
Key retrieval: Send an E-Mail to getpgpkey at scode.org
E-Mail: peter.schuller at infidyne.com Web: http://www.scode.org


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 250 bytes
Desc: OpenPGP digital signature
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20070520/46b51714/signature.pgp


More information about the freebsd-questions mailing list