Date: Sun, 29 May 2016 23:10:22 +0200 From: Polytropon <freebsd@edvax.de> To: Marco Beishuizen <mbeis@xs4all.nl> Cc: freebsd-questions@freebsd.org Subject: Re: x11/xconsole not showing any output Message-ID: <20160529231022.7c642855.freebsd@edvax.de> In-Reply-To: <alpine.BSF.2.20.1605292224300.2334@localhost> References: <alpine.BSF.2.20.1605292200250.2334@localhost> <20160529221802.6496c217.freebsd@edvax.de> <alpine.BSF.2.20.1605292224300.2334@localhost>
next in thread | previous in thread | raw e-mail | index | archive | help
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, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20160529231022.7c642855.freebsd>