http://bugzilla.opensuse.org/show_bug.cgi?id=1083869 Bug ID: 1083869 Summary: Starting vncserver changes existing xauthority Classification: openSUSE Product: openSUSE Tumbleweed Version: Current Hardware: Other OS: Other Status: NEW Severity: Normal Priority: P5 - None Component: X.Org Assignee: xorg-maintainer-bugs@forge.provo.novell.com Reporter: arvidjaar@gmail.com QA Contact: xorg-maintainer-bugs@forge.provo.novell.com Found By: --- Blocker: --- After starting vncserver in shell all commands fail to connect to X server due to modified xauth. bor@10:~> grep CPE_NAME /etc/os-release CPE_NAME="cpe:/o:opensuse:tumbleweed:20180301" bor@10:~> echo $DISPLAY :1 bor@10:~> echo $XAUTHORITY /run/user/1000/gdm/Xauthority bor@10:~> cp -p /run/user/1000/gdm/Xauthority . bor@10:~> xdpyinfo | head -5 name of display: :1 version number: 11.0 vendor string: The X.Org Foundation vendor release number: 11906000 X.Org version: 1.19.6 bor@10:~> vncserver Warning: 10:1 is taken because of /tmp/.X11-unix/X1 Remove this file if there is no X server 10:1 New '10:2 (bor)' desktop is 10:2 Starting applications specified in /home/bor/.vnc/xstartup Log file is /home/bor/.vnc/10:2.log bor@10:~> xdpyinfo | head -5 No protocol specified No protocol specified xdpyinfo: unable to open display ":1". bor@10:~> cmp -b Xauthority /run/user/1000/gdm/Xauthority Xauthority /run/user/1000/gdm/Xauthority differ: byte 8, line 1 is 12 ^J 1 ^A bor@10:~> XAUTHORITY=Xauthority xdpyinfo | head -5 name of display: :1 version number: 11.0 vendor string: The X.Org Foundation vendor release number: 11906000 X.Org version: 1.19.6 bor@10:~> rpm -q xorg-x11-Xvnc xorg-x11-Xvnc-1.8.0-8.1.x86_64 bor@10:~> ps -ef | grep Xvnc bor 2442 1883 0 18:44 pts/0 00:00:00 /usr/bin/Xvnc :2 -auth /run/user/1000/gdm/Xauthority -desktop 10:2 (bor) -fp /usr/share/fonts/misc,/usr/share/fonts/75dpi,/usr/share/fonts/100dpi,/usr/share/fonts/Speedo,/usr/share/fonts/Type1 -geometry 1024x768 -pn -rfbauth /home/bor/.vnc/passwd -rfbport 5902 -rfbwait 30000 bor@10:~> -- You are receiving this mail because: You are on the CC list for the bug.