Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jul 2017 23:23:29 +0000
From:      bugzilla-noreply@freebsd.org
To:        x11@FreeBSD.org
Subject:   [Bug 220668] x11/xinit: Incorrectly calculates $displayname used by xauth
Message-ID:  <bug-220668-7141-ODtL7v1vu7@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-220668-7141@https.bugs.freebsd.org/bugzilla/>
References:  <bug-220668-7141@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220668

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

=3D=3D=3D=3D=3D=3D=3D=3D 8< =3D=3D=3D=3D=3D=3D=3D=3D
# 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 r320=
486:
Fri Jun 30 02:25:16 UTC 2017=20=20=20=20
root@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, (=3D=3D) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(=3D=3D) Log file: "/var/log/Xorg.1.log", Time: Wed Jul 12 17:41:54 2017
(=3D=3D) 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
=3D=3D=3D=3D=3D=3D=3D=3D 8< =3D=3D=3D=3D=3D=3D=3D=3D

After applying the patch the output is as follows:

=3D=3D=3D=3D=3D=3D=3D=3D 8< =3D=3D=3D=3D=3D=3D=3D=3D
# 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 r320=
486:
Fri Jun 30 02:25:16 UTC 2017=20=20=20=20
root@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, (=3D=3D) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(=3D=3D) Log file: "/var/log/Xorg.1.log", Time: Wed Jul 12 17:43:30 2017
(=3D=3D) 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.
=3D=3D=3D=3D=3D=3D=3D=3D 8< =3D=3D=3D=3D=3D=3D=3D=3D

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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-220668-7141-ODtL7v1vu7>