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?

Regards, Adam


On 05/27/2011 03:16 PM, Metin Akdere wrote:
>> Hello Metin,
> Hi Adam,
>
>> this seems weird for me, I suspect some issue in the xinitrc machinery.
>>
>> When you start for example "vncserver :1" and receive errors written
>> below, can
>> you please post output of "ps ax |grep Xvnc" output here?
> The output is:
>
>
> 3097 pts/9    Sl     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
>
> 3164 pts/9    S+     0:00 grep --color Xvnc
>
>> Can you please try to fire away execution of the xinitrc script and
>> simply try to start
>> for example /usr/bin/xterm ? If it works then I think it's issue in the
>> xinitrc machinery.
> I changed my xstartup script to the following, and it still complains the 
> same 
> way.
>
> xstartup script
> ----------------------
> #!/bin/sh                                                                     
>                                                                               
>                                       
>                                                                               
>                                                                               
>                             
> xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &                
>                                                                               
>                                       
> twm &
>
> error.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
>
>
> Fri May 27 16:15: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
> No protocol specified
> 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
> xterm Xt error: Can't open display: :1
>
>
>> Regards, Adam
> Thanks for your attention, regards.


------------------------------------------------------------------------------
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