x11/xconsole not showing any output
Polytropon
freebsd at edvax.de
Sun May 29 21:10:26 UTC 2016
On Sun, 29 May 2016 22:36:26 +0200 (CEST), Marco Beishuizen wrote:
> On Sun, 29 May 2016, the wise Polytropon wrote:
> > Are the console permissions set properly? Check if xdm-config does have
> > the following (or applying) lines:
> >
> > DisplayManager._0.setup: /etc/X11/xdm/Xsetup_0
> > DisplayManager._0.startup: /etc/X11/xdm/GiveConsole
> > DisplayManager._0.reset: /etc/X11/xdm/TakeConsole
> >
> > In your case, the paths will probably be different, but check the
> > content of the GiveConsole and TakeConsole scripts: They make sure
> > your user will actually be able to read from the console (as it's
> > initially owned by root, and only has rw-/---/--- permissions).
>
> The GiveConsole script says:
> chown $USER /dev/console
>
> And the TakeConsole script says:
> chmod 622 /dev/console
> chown root /dev/console
>
> Should the owner be the user here?
This both looks correct, as far as I can tell. $USER is set when
logging in, and xdm sets the owner correctly (as you have verified);
when logging out, the default owner (root) is restored.
> > When you are then logged in, check "ls -l /dev/console", and you
> > should see something similar to this:
> >
> > % ll /dev/console
> > crw------- 1 poly wheel 0, 5 2016-05-29 18:38:20 /dev/console
> >
> > If this is _not_ the case, xconsole doesn't work as expected.
>
> The permissions of /dev/console look ok:
> crw------- 1 marco wheel 0x9 May 29 21:24 /dev/console
This also looks like xdm configuration is not the problem here.
Do you get any error message when manually starting xconsole
from a terminal?
--
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
More information about the freebsd-questions
mailing list