Announcement

Collapse
No announcement yet.

xconsole: Couldn't open console

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    xconsole: Couldn't open console

    We have our own background apps, and users need to see their progress and error messages. So I run xconsole to display whatever is written to /dev/console. I need to provide one xconsole window on each user's desktop when they log in.

    If I start it from a bash window, with:
    sudo xconsole -daemon -verbose

    it comes up and displays "Console log for PLdellat", and it works fine.

    But when I get Xsession to start it, by adding script /etc/X11/Xsession.d/90publink_xconsole-start, which starts xconsole, it fails. The script does:
    xconsole -verbose &

    This way, the xconsole window appears upon log-in, BUT it reports "Couldn't open console" and no /dev/console messages appear in the window.

    So, why can't the xconsole program, when started by Xsession, access /dev/console? All Xsession actions are done by superuser, right?

    BTW, permissions for /dev/console are:
    crw-rw-rw- 1 root root 5, 1 2011-01-27 12:45 console
    (I make it writeable to all in an init action).

    Thank you!

    -- Peter
Working...
X