From owner-freebsd-questions@freebsd.org Sun May 29 21:10:26 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 2E002B531E0 for ; Sun, 29 May 2016 21:10:26 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id EADCF18A7 for ; Sun, 29 May 2016 21:10:25 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-137-84.dynamic.qsc.de [92.195.137.84]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx02.qsc.de (Postfix) with ESMTPS id 9CD4D27DDB; Sun, 29 May 2016 23:10:23 +0200 (CEST) Received: from r56.edvax.de (localhost [127.0.0.1]) by r56.edvax.de (8.14.5/8.14.5) with SMTP id u4TLAMh8003115; Sun, 29 May 2016 23:10:23 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 29 May 2016 23:10:22 +0200 From: Polytropon To: Marco Beishuizen Cc: freebsd-questions@freebsd.org Subject: Re: x11/xconsole not showing any output Message-Id: <20160529231022.7c642855.freebsd@edvax.de> In-Reply-To: References: <20160529221802.6496c217.freebsd@edvax.de> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit 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 21:10:26 -0000 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, ...