Console in X

Mark Ovens mark at ukug.uk.freebsd.org
Wed Jul 28 09:11:51 PDT 2004


If I put this in ~/.xinitrc

exec startkde  > /dev/console 2>&1

to redirect messages to the console in order to read them in xconsole, X 
starts and immediately exits with the error:

/home/mark/.xinitrc: cannot create /dev/console: permission denied

I've uncommented this line in /etc/fbtab:

/dev/ttyv0      0600    /dev/console

and dev/console exists:

/home/mark{12}% ls -l /dev/con*
crw-------  1 root  wheel    0,   0 28 Jul 16:55 /dev/console
crw-------  1 root  wheel  234, 255 28 Jul 11:29 /dev/consolectl

This used to work in 4.x and XFree86 4.1 but now I'm running -CURRENT 
and XFree86 4.3.0.

Has something changed, or have I missed something?

Thanks.

Regards,

Mark


More information about the freebsd-questions mailing list