ti...@piments.com wrote: > I saw this suggested as a means of securing the link: open the ssh > connection linking the port (eg. 5900) then configuring vncserver to > only reply to localhost. Thus preventing attempts to connect to > vncserver from outside the server machine. > > ssh -C -X -L 5900:localhost:5900 remotesys.dyndns.info > > vncviewer localhost:0 > > Isn't that legitimate?
Yes, OK, I misunderstood. But I'd suggest making it work without SSh first before adding SSh to the equation. Also, don't use -C. This enables compression, which is unnecessary, since the image stream is already compressed (and will greatly slow things down.) >>> I have three problems: >>> >>> 1/ >>> If I start a vncserver I get communication but a blanc, black desktop >>> where all I can do is close the tigervnc window. >> >> Try completely removing ~/.vnc and start again > > Do you mean starting with no xstartup ?? Rerunning make install ? > I got two unexpected effects when testing commands form that file > directly in my ssh console: > > xsetroot -solid grey > > This command set the background on my local system not the remote where > it was run. I guess this is due to xforwarding from -X > > vncconfig > No VNC extension on display localhost:14.0 > > So it seems vncconfig is not working in this context. Those commands are designed to be run on the VNC display, not on any other display. >> Display :0? So you are using x0vncserver to do this? I don't fully >> understand your configuration. > > No, Xvnc module setup in /etc/X11/xorg.conf Xvnc is the VNC X server. It is designed to establish new "virtual desktop" sessions apart from the root X server (display :0). The VNC module is designed to serve a VNC session off of the root display. They are two different technologies. I was mistaken in thinking you were trying to use Xvnc. > As above, using the above secure shell login on the remote: > vncviewer localhost:0 > > I realised that the black areas are because the remote hardware has a > 9/16 screen but again I'm having trouble setting -geometry and getting > it respected. You can't use -geometry if you're connecting to the root display, because it already has a defined geometry. ------------------------------------------------------------------------------ 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