From owner-freebsd-questions@freebsd.org Sun Oct 2 15:11:13 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 C267FAEFFE7 for ; Sun, 2 Oct 2016 15:11:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.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 8B430EDC for ; Sun, 2 Oct 2016 15:11:13 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de (port-92-195-151-121.dynamic.qsc.de [92.195.151.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx01.qsc.de (Postfix) with ESMTPS id 234653CE56; Sun, 2 Oct 2016 17:11:10 +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 u92FB8ZB002962; Sun, 2 Oct 2016 17:11:08 +0200 (CEST) (envelope-from freebsd@edvax.de) Date: Sun, 2 Oct 2016 17:11:08 +0200 From: Polytropon To: mexas@bris.ac.uk Cc: freebsd-questions@freebsd.org Subject: Re: recent security updates to 10.3-RELEASE broke xdm? Message-Id: <20161002171108.38e0ae22.freebsd@edvax.de> In-Reply-To: <201610021500.u92F0sZW017618@mech-as222.men.bris.ac.uk> References: <20161002161023.8fe95f93.freebsd@edvax.de> <201610021500.u92F0sZW017618@mech-as222.men.bris.ac.uk> 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.23 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 02 Oct 2016 15:11:13 -0000 On Sun, 2 Oct 2016 16:00:54 +0100 (BST), Anton Shterenlikht wrote: > From freebsd@edvax.de Sun Oct 2 15:53:23 2016 > > > >> Anyway, this is what I get: > >> > >> ####> cat .xsession > >> #!/bin/tcsh > >> source ~/.tcshrc > >> exec ~/.xinitrc > >> ####> cat .xinitrc > >> xautolock -locker slock & > >> xconsole & > >> exec mwm > > > >Yes: This should let the session live as long as mwm lives. > >You can now easily verify this with the "non-xdm approach" > >by using "startx" - you should get your regular desktop, and > >when you exit mwm, the session terminates, and X shuts down. > > > >This is what you should definitely verify, to make sure the > >"session flow" works as expected. > > Yes, this works exactly as you describe. So no problem related to mwm or the programs you're using. > >> xdm info (pid 917): Starting X server on :0 > >> xdm info (pid 4040): sourcing /usr/local/lib/X11/xdm/Xsetup_0 > >> xdm info (pid 4040): sourcing /usr/local/lib/X11/xdm/GiveConsole > >> xdm info (pid 4057): executing session /usr/local/lib/X11/xdm/Xsession > >> xdm info (pid 4040): sourcing /usr/local/lib/X11/xdm/TakeConsole > >> XIO: fatal IO error 35 (Resource temporarily unavailable) on X server ":0" > >> after 169 requests (162 known processed) with 0 events remaining. > > > >This error also looks familiar to me. Do you have any suspicious > >entries in the /var/log/Xorg.0.log file? > > No, all seems fine: > http://eis.bris.ac.uk/~mexas/Xorg.0.log A few warnings, but nothing related to the strange xdm behaviour. Everything else looks fully correct. > Perhaps my nvidia driver (and the card) are becoming too old: > > nvidia-driver-340-340.93 x11/nvidia-driver-340 Interesting aspect... bug again, I cannot imagine why there are problems with xdm, but "startx" works perfectly. You probably don't have a problem related to nvidia-driver... Have you tried the "obvious" recompile & reinstall dance? ;-) -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...