From owner-freebsd-questions@freebsd.org Sun May 29 20:37:41 2016 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id AECC7B546E3 for ; Sun, 29 May 2016 20:37:41 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from lb3-smtp-cloud3.xs4all.net (lb3-smtp-cloud3.xs4all.net [194.109.24.30]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (Client CN "*.xs4all.nl", Issuer "GlobalSign Domain Validation CA - SHA256 - G2" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 5B09111CE for ; Sun, 29 May 2016 20:37:40 +0000 (UTC) (envelope-from mbeis@xs4all.nl) Received: from yokozuna.lan ([83.160.85.125]) by smtp-cloud3.xs4all.net with ESMTP id 0LcT1t0092iF10301LcVu0; Sun, 29 May 2016 22:36:29 +0200 Received: from localhost (localhost [127.0.0.1]) by yokozuna.lan (8.15.2/8.15.2) with ESMTPS id u4TKaQAd004334 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Sun, 29 May 2016 22:36:27 +0200 (CEST) (envelope-from mbeis@xs4all.nl) Date: Sun, 29 May 2016 22:36:26 +0200 (CEST) From: Marco Beishuizen X-X-Sender: marco@localhost Reply-To: Marco Beishuizen To: Polytropon cc: freebsd-questions@freebsd.org Subject: Re: x11/xconsole not showing any output In-Reply-To: <20160529221802.6496c217.freebsd@edvax.de> Message-ID: References: <20160529221802.6496c217.freebsd@edvax.de> User-Agent: Alpine 2.20 (BSF 67 2015-01-07) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 29 May 2016 20:37:41 -0000 On Sun, 29 May 2016, the wise Polytropon wrote: > It's a very convenient way to check console messages, other than > repeating "dmesg" in an X terminal and checking what's new. :-) Yeah I know, but it was started by default and I just wanted to try it out. > 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? > 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 Regards, Marco -- My boy is mean kid. I came home the other day and saw him taping worms to the sidewalk, he sits there and watches the birds get hernias. Well, only last Christmas I gave him a B-B gun and he gave me a sweatshirt with a bulls-eye on the back. I told my kids, "Someday, you'll have kids of your own." One of them said, "So will you." -- Rodney Dangerfield