[Bug 220668] x11/xinit: Incorrectly calculates $displayname used by xauth

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Wed Jul 12 23:23:29 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220668

--- Comment #3 from Duane <parakleta at darkreality.org> ---
Before the patch, running `startx` results in the following output:

======== 8< ========
# startx
xauth:  file /home/username/.serverauth.30545 does not exist
xauth: (argv):1:  bad display name "hostname:1" in "list" command
xauth: (stdin):1:  bad display name "hostname:1" in "add" command


X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 11.0-RELEASE-p10 amd64
Current Operating System: FreeBSD shuttle 11.1-RC1 FreeBSD 11.1-RC1 #0 r320486:
Fri Jun 30 02:25:16 UTC 2017    
root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 06 July 2017  02:02:56AM

Current version of pixman: 0.34.0
        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.1.log", Time: Wed Jul 12 17:41:54 2017
(==) Using config file: "/usr/local/etc/X11/xorg.conf"
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0).
Closing log file.

xauth: (argv):1:  bad display name "hostname:1" in "remove" command
======== 8< ========

After applying the patch the output is as follows:

======== 8< ========
# startx


X.Org X Server 1.18.4
Release Date: 2016-07-19
X Protocol Version 11, Revision 0
Build Operating System: FreeBSD 11.0-RELEASE-p10 amd64
Current Operating System: FreeBSD shuttle 11.1-RC1 FreeBSD 11.1-RC1 #0 r320486:
Fri Jun 30 02:25:16 UTC 2017    
root at releng2.nyi.freebsd.org:/usr/obj/usr/src/sys/GENERIC amd64
Build Date: 06 July 2017  02:02:56AM

Current version of pixman: 0.34.0
        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.1.log", Time: Wed Jul 12 17:43:30 2017
(==) Using config file: "/usr/local/etc/X11/xorg.conf"
xinit: connection to X server lost

waiting for X server to shut down (II) Server terminated successfully (0).
Closing log file.
======== 8< ========

I don't know enough about `xauth` and all the rest to know the significance of
the changes, and I'm not even sure when the different authority files come into
play.  I do know the existing behaviour doesn't function as intended, but I
cannot attest to whether the intended behaviour is correct.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-x11 mailing list