> It seems there is some issue with setting .Xauthority correctly.
> 
> Can you please try to put "echo $XAUTHORITY" into .vnc/xstartup and
> verify that value of this variable (output is in the .vnc/*.log file) is
> same as Xvnc's -auth parameter?
Yes Adam, they are both pointing to same place: ~/.Xauthority
Here is vnc.log:

Xvnc TigerVNC 1.0.90 - built May 25 2011 15:37:02
Copyright (C) 2002-2005 RealVNC Ltd.
Copyright (C) 2000-2006 Constantin Kaplinsky
Copyright (C) 2004-2009 Peter Astrand for Cendio AB
See http://www.tigervnc.org for information on TigerVNC.
Underlying X server release 10905000, The X.Org Foundation


Mon May 30 17:19:03 2011
 vncext:      VNC extension running!
 vncext:      Listening for VNC connections on all interface(s), port 5901
 vncext:      Listening for HTTP connections on all interface(s), port 5801
 vncext:      created VNC server for screen 0
/home/metin/.Xauthority
^^^ This is  my $XAUTHORITY
No protocol specified
No protocol specified
No protocol specified
No protocol specified
twm:  unable to open display ":1"
No protocol specified
No protocol specified
No protocol specified
No protocol specified
xterm Xt error: Can't open display: :1


[metin@ofis-2011 ~/.vnc]> ps aux|grep Xvnc
metin    13769  0.0  0.2 108264 11668 pts/5    Sl   17:19   0:00 /usr/bin/Xvnc 
:1 -desktop ofis-2011:1 (metin) -httpd /usr/share/vnc/classes -auth 
/home/metin/.Xauthority -geometry 1024x768 -rfbwait 30000 -rfbauth 
/home/metin/.vnc/passwd -rfbport 5901 -fp catalogue:/etc/X11/fontpath.d -pn
metin    13806  0.0  0.0   6744   860 pts/5    S+   17:19   0:00 grep --color 
Xvnc

Regards.
-- 
Metin Akdere

Attachment: signature.asc
Description: This is a digitally signed message part.

------------------------------------------------------------------------------
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
_______________________________________________
Tigervnc-devel mailing list
Tigervnc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-devel

Reply via email to