Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2012 09:22:50 GMT
From:      Oliver Hartmann <ohartman@zedat.fu-berlin.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/166813: x11/xdm: can not be started via /etc/ttys after FBSD 10.0-CURRENT/amd64, r233944, commit to sbin/init/init.c
Message-ID:  <201204100922.q3A9MoXu091348@red.freebsd.org>
Resent-Message-ID: <201204100930.q3A9U57N034378@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         166813
>Category:       ports
>Synopsis:       x11/xdm: can not be started via /etc/ttys after FBSD 10.0-CURRENT/amd64, r233944, commit to sbin/init/init.c
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Apr 10 09:30:05 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Oliver Hartmann
>Release:        FreeBSD 10.0-CURRENT/amd64, CLANG built
>Organization:
FU Berlin
>Environment:
FreeBSD telesto.geoinf.fu-berlin.de 10.0-CURRENT FreeBSD 10.0-CURRENT #0 r233993: Sat Apr  7 11:44:35 CEST 2012     root@telesto.geoinf.fu-berlin.de:/usr/obj/usr/src/sys/TELESTO  amd64
>Description:
With commit r233944 (see below, commit to sbin/init/init.c), it isn't possible anymore starting xdm properly from /etc/ttys. Start fails and reports:

Build Date: 07 April 2012  04:51:08PM

Current version of pixman: 0.24.2
        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: Sat Apr  7 18:38:24 2012
(==) Using config file: "/etc/X11/xorg.conf"
xdm info (pid 2055): sourcing /usr/local/share/X11/xdm/Xsetup_0
xdm error (pid 2050): Unknown session exit code 2560 from process 2055
xdm info (pid 2050): Exiting
>How-To-Repeat:
Update the sources of FreeBSD 10.0-CURRENT/amd64 to the most recent version (r234092), recompile world (or sbin/init/init.c) and try starting your X11 environment by xdm via /etc/ttys. In most cases, start will fail. 
>Fix:
Login as root, start xdm via console. In most cases, this will start xdm, but I also experienced erratic behaviour and failing starts.

I also realized that manipulation (even simply editing comments) in some of xdm's startup files, like "Xservers" or "Xaccess" will make xdm sometimes start. This is not reproducible and erratic.

Reverting sbin/init/init.c to the previous state, r233943, helps also.

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201204100922.q3A9MoXu091348>