On Wed, Jul 01, 2020 at 06:34:35PM -0400, Joe Gidi wrote:
> Hello,
> 
> I just noticed this today after upgrading to the latest amd64 snapshot,
> but honestly it may have begun some time ago. I log in almost reflexively
> and seldom pay much attention to the xenodm display.
> 
> When X starts, I see a *very* brief flicker of xconsole at the
> bottom-right of the screen before it disappears. I can then log in
> normally at the regular xenodm prompt.
> 
> I see this in the xenodm.log file:
> 
> =====
> 
> xenodm info (pid 4097): Starting
> xenodm info (pid 4097): Starting X server on :0
> 
> X.Org X Server 1.20.8
> X Protocol Version 11, Revision 0
> Build Operating System: OpenBSD 6.7 amd64
> Current Operating System: OpenBSD xeon.irascible.net 6.7 GENERIC.MP#319 amd64
> Build Date: 01 July 2020  02:44:22PM
> 
> Current version of pixman: 0.38.4
>         Before reporting problems, check http://wiki.x.org
>         to make sure that you have the latest version.
> Markers: (--) probed, (**) from config file, (==) default setting,
>         (++) from command line, (!!) notice, (II) informational,
>         (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
> (==) Log file: "/var/log/Xorg.0.log", Time: Wed Jul  1 18:05:21 2020
> (==) Using system config directory "/usr/X11R6/share/X11/xorg.conf.d"
> (II) modeset(0): Initializing kms color map for depth 24, 8 bpc.
> xenodm info (pid 60500): sourcing /etc/X11/xenodm/Xsetup_0
> X connection to :0 broken (explicit kill or server shutdown).
> xenodm info (pid 60500): sourcing /etc/X11/xenodm/GiveConsole
> xenodm info (pid 97106): executing session /etc/X11/xenodm/Xsession
> 
> =====
> 
> Note the "X connection to :0 broken (explicit kill or server shutdown)."
> right after Xsetup_O is sourced. Any thoughts on running down the root of
> the problem?

Hi,

Thanks for the report. I can see that too on one of my machine. It
seems to be cause by a race of some sort, but I've failed to figure
out exactly what happens. Adding debugging output tends to make the
issue disapear...

The patch below which moves the launch of xconsole after setting the
background fixes the issue for now.

Index: Xsetup_0
===================================================================
RCS file: /cvs/OpenBSD/xenocara/app/xenodm/config/Xsetup_0,v
retrieving revision 1.7
diff -u -r1.7 Xsetup_0
--- Xsetup_0    28 Jun 2020 15:40:48 -0000      1.7
+++ Xsetup_0    2 Jul 2020 19:26:02 -0000
@@ -1,9 +1,9 @@
 #!/bin/sh
 # $OpenBSD: Xsetup_0,v 1.7 2020/06/28 15:40:48 matthieu Exp $
 
-xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
-
 xsetroot -fg \#6f6f6f -bg \#bfbfbf -bitmap 
/usr/X11R6/include/X11/bitmaps/root_weave
+
+xconsole -geometry 480x130-0-0 -daemon -notify -verbose -fn fixed -exitOnFail
 
 #  install package openbsd-backgrounds
 #  then uncomment:

Can you confirm it ?

-- 
Matthieu Herrb

Reply via email to