You are not logged in.

#1 2006-05-19 03:41:25

Purch
Member
From: Finland
Registered: 2006-02-23
Posts: 229

Vnc vs gdm about .xauthority

I have server running where is gdm for local use. Also vncserver for xchat etc to be used from anywhere and is always on. Somehow gdm makes Xauthority corrupted and login to gdm is denied until I delete .Xauthority file. Which leads to unworking vncserver :5.

Log with original vncserver

18/05/06 12:20:22 Xvnc version 3.3.tight1.2.9
18/05/06 12:20:22 Copyright (C) 1999 AT&T Laboratories Cambridge.
18/05/06 12:20:22 Copyright (C) 2000-2002 Constantin Kaplinsky.
18/05/06 12:20:22 All Rights Reserved.
18/05/06 12:20:22 See http://www.uk.research.att.com/vnc for information on VNC
18/05/06 12:20:22 See http://www.tightvnc.com for TightVNC-specific information
18/05/06 12:20:22 Desktop name 'X' (SERVO:5)
18/05/06 12:20:22 Protocol version supported 3.3
18/05/06 12:20:22 Listening for VNC connections on TCP port 5905
18/05/06 12:20:22 Listening for HTTP connections on TCP port 5805
18/05/06 12:20:22   URL http://SERVO:5805
Xlib:  extension "RANDR" missing on display ":5.0".
Xlib:  extension "XFree86-VidModeExtension" missing on display ":5.0".

** (xfwm4:31204): WARNING **: The display does not support the XRender extension.

** (xfwm4:31204): WARNING **: The display does not support the XRandr extension.

** (xfwm4:31204): WARNING **: The display does not support the XComposite extension.

** (xfwm4:31204): WARNING **: The display does not support the XDamage extension.

** (xfwm4:31204): WARNING **: The display does not support the XFixes extension.

** (xfwm4:31204): WARNING **: Compositing manager disabled.
Verve: Failed to connect to the D-BUS session bus: Unable to determine the address of the message bus

18/05/06 12:20:59 Got connection from client 192.168.1.3
18/05/06 12:20:59 Protocol version 3.3
18/05/06 12:21:02 Full-control authentication passed by 192.168.1.3
18/05/06 12:21:02 Pixel format for client 192.168.1.3:
18/05/06 12:21:02   32 bpp, depth 24, little endian
18/05/06 12:21:02   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
18/05/06 12:21:02   no translation needed
18/05/06 12:21:02 Using tight encoding for client 192.168.1.3
18/05/06 12:21:02 Using compression level 1 for client 192.168.1.3
18/05/06 12:21:02 Using image quality level 6 for client 192.168.1.3
18/05/06 12:21:02 Enabling X-style cursor updates for client 192.168.1.3
18/05/06 12:21:02 Enabling cursor position updates for client 192.168.1.3
18/05/06 12:21:02 Enabling LastRect protocol extension for client 192.168.1.3

And XFCE4-svn is started perfectly.

I tried to alter vncserver so it creates ~/.Xauthority.vnc file. Xauthority.vnc ile is created during vncserver startup. but ...

vnc log

18/05/06 12:07:27 Xvnc version 3.3.tight1.2.9
18/05/06 12:07:27 Copyright (C) 1999 AT&T Laboratories Cambridge.
18/05/06 12:07:27 Copyright (C) 2000-2002 Constantin Kaplinsky.
18/05/06 12:07:27 All Rights Reserved.
18/05/06 12:07:27 See http://www.uk.research.att.com/vnc for information on VNC
18/05/06 12:07:27 See http://www.tightvnc.com for TightVNC-specific information
18/05/06 12:07:27 Desktop name 'X' (SERVO:5)
18/05/06 12:07:27 Protocol version supported 3.3
18/05/06 12:07:27 Listening for VNC connections on TCP port 5905
18/05/06 12:07:27 Listening for HTTP connections on TCP port 5805
18/05/06 12:07:27   URL http://SERVO:5805
AUDIT: Thu May 18 12:07:28 2006: 31172 Xvnc: client 1 rejected from local host
  Auth name: MIT-MAGIC-COOKIE-1 ID: -1
Xlib: connection to ":5.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

(xfce-mcs-manager:31177): Gtk-WARNING **: cannot open display:  
AUDIT: Thu May 18 12:07:28 2006: 31172 Xvnc: client 1 rejected from local host
  Auth name: MIT-MAGIC-COOKIE-1 ID: -1
Xlib: connection to ":5.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

(xfdesktop:31179): Gtk-WARNING **: cannot open display:  
AUDIT: Thu May 18 12:07:28 2006: 31172 Xvnc: client 1 rejected from local host
  Auth name: MIT-MAGIC-COOKIE-1 ID: -1
Xlib: connection to ":5.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

(xfce4-panel:31180): Gtk-WARNING **: cannot open display:  
AUDIT: Thu May 18 12:07:28 2006: 31172 Xvnc: client 1 rejected from local host
  Auth name: MIT-MAGIC-COOKIE-1 ID: -1
Xlib: connection to ":5.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key

(xfwm4:31178): Gtk-WARNING **: cannot open display:  

18/05/06 12:09:00 Got connection from client 192.168.1.3
18/05/06 12:09:00 Protocol version 3.3
18/05/06 12:09:03 Full-control authentication passed by 192.168.1.3
18/05/06 12:09:03 Pixel format for client 192.168.1.3:
18/05/06 12:09:03   32 bpp, depth 24, little endian
18/05/06 12:09:03   true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0
18/05/06 12:09:03   no translation needed
18/05/06 12:09:03 Using tight encoding for client 192.168.1.3
18/05/06 12:09:03 Using compression level 1 for client 192.168.1.3
18/05/06 12:09:03 Using image quality level 6 for client 192.168.1.3
18/05/06 12:09:03 Enabling X-style cursor updates for client 192.168.1.3
18/05/06 12:09:03 Enabling cursor position updates for client 192.168.1.3
18/05/06 12:09:03 Enabling LastRect protocol extension for client 192.168.1.3

Same happens if I use /tmp/user-vnc/ as $vncuserdir in vncserver as it is recommended there to keep authority file on the local FS.

Any suggestions?

Offline

Board footer

Powered by FluxBB