Hi,

I seem to have some confusion about setting authorisation for x0vncserver.

I have set vncpasswd and this works with vnc.so and Xvnc but I can't 
connect to x0

I set x0vncserver running via ssh login

  local# ssh -C -X  -L 5901:buntybox:5901 remote.dyndns.info

remote# x0vncserver -PasswordFile=/root/.vnc/passwd -rfbport=5902

Sat Feb 27 09:45:56 2010
  Geometry:    Desktop geometry is set to 1024x768+0+0

Sat Feb 27 09:45:57 2010
  Main:        XTest extension present - version 2.2
  Main:        Listening on port 5902





in a separte shell on local I link 5902 and run the viewer:

local# ssh -C -X  -L 5902:buntybox:5902 remote.dyndns.info

remote# vncviewer localhost:0

TigerVNC Viewer for X version 1.0.0 - built Feb 22 2010 16:07:06
Copyright (C) 2002-2005 RealVNC Ltd.
Copyright (C) 2000-2006 TightVNC Group
Copyright (C) 2004-2009 Peter Astrand for Cendio AB
See http://www.tigervnc.org for information on TigerVNC.

Sat Feb 27 09:48:39 2010
  CConn:       connected to host localhost port 5900
  CConnection: Server supports RFB protocol version 3.8
  CConnection: Using RFB protocol version 3.8


Sat Feb 27 10:00:42 2010
  Connections: accepted: 127.0.0.1::37557
  SConnection: Client needs protocol version 3.8
  SConnection: Client requests security type VncAuth(2)

Sat Feb 27 10:00:53 2010
  Main:        Enabling 8 buttons of X pointer device

Sat Feb 27 10:01:02 2010
  Main:        Allocated basic Xlib image
  VNCSConnST:  Server default pixel format depth 24 (32bpp) 
little-endian rgb888
  VNCSConnST:  Client pixel format depth 24 (32bpp) little-endian rgb888

Sat Feb 27 10:01:41 2010
  Connections: closed: 127.0.0.1::37557 (Clean disconnection)
  SMsgWriter:  framebuffer updates 4
  SMsgWriter:    Tight rects 23, bytes 38113
  SMsgWriter:    raw bytes equivalent 3564820, compression ratio 93.532915



remote# vncserver -kill :2

Can't find file /root/.vnc/buntybox:2.pid
You'll have to kill the Xvnc process manually

remote# vncserver -kill :1

Can't find file /root/.vnc/buntybox:1.pid
You'll have to kill the Xvnc process manually

Sat Feb 27 09:48:47 2010
  main:        No password configured for VNC Auth



remote#  vncviewer localhost:2


------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Tigervnc-users mailing list
Tigervnc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tigervnc-users

Reply via email to