The E-Mail list doesn't bounce back your message to you, but everyone
else saw it.  Other comments inline.

ti...@piments.com wrote:
> Hi,
> 
> I have sucessfully built tigervnc-1.0.0 on kubuntu x86-64 using the 
> kubuntu xorg source and it works beautifully, though rather sluggishly 
> over the limited bandwidth of the connection.
> 
> I'm trying to reduce colour depth and refresh rate to make it more 
> suitable to available resources.
> 
> I  control  the remote system via ssh and run vncviewer on localhost :0 
> within the secure shell. I can connect to both :0 and :1 but have 
> configuration problems I cannot sort out.

I guess I don't understand why you are running vncviewer within the
secure shell.  vncviewer is designed to run on the client machine.

> 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

> 2/
> I can connect to DISPLAY :0 but the viewer window is about 60% larger 
> than the kde desktop. , the rest of the scrollable tigervnc window is 
> filled with black. I don't see why this is bigger than display :0 or how 
> to correct this.

Display :0?  So you are using x0vncserver to do this?  I don't fully
understand your configuration.

> 3/
> as can be seen below the colour depth remains 24bit.

TigerVNC uses JPEG to reduce the bandwidth while still maintaining a
24-bit color depth.  It can run with a 16-bit color depth server or
client, but this doesn't improve bandwidth.  It just creates more CPU
overhead, since the server must translate the 16-bit pixels to 24-bit
pixels prior to JPEG compression, and the client must translate the
pixels back to 16-bit for display.  TigerVNC can translate the pixels
into 8-bit (BGR233), but this is also much slower than JPEG and doesn't
improve bandwidth relative to using a lower quality JPEG setting.

How much bandwidth do you have available?  At Quality Level 8, which is
very high image quality, TigerVNC can compress the image down to
something like 1.5 bits/pixel.  This is an appropriate setting for a
local-area network or a fast fibre connection (50 Mbits/sec or above.)
For slower networks, try a lower quality setting.  For instance, quality
level 5 should use about half the bandwidth of quality level 8, and
quality level 1 should use about half the bandwidth of quality level 5
(but QL 1 will have some really bad compression artifacts.)

> Any help with what changes I should be making or what I have got 
> confused would be a great help.
> 
> Thx.
> 
> 
> 
> 
> /etc/xinetd.d/Xvnc
> 
> service Xvnc
> {
>          type = UNLISTED
>          disable = no
>          socket_type = stream
>          protocol = tcp
>          wait = yes
>          user = root
>          server = /usr/bin/Xvnc
> # below removed -NeverShared
>          server_args = -inetd :0 -query localhost -geometry 800x600 
> -depth 16 -once  -fp /usr/share/fonts/X11/misc/  -DisconnectClients=0 
> passwordFile=/root/$
> #        port = 5901
> }
> 
> 
> (server_args is on one line in the file.)
> 
> 
> /root/.vnc/xstartup
> 
> #!/bin/sh
> 
> # Uncomment the following two lines for normal desktop:
>   unset SESSION_MANAGER
>   exec /etc/X11/xinit/xinitrc
> 
> [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
> [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
> xsetroot -solid grey
> vncconfig -iconic &
> xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
> #twm &
> exec /usr/bin/startkde
> 
> 
> vncserver :1
> 
> New 'buntybox:1 (root)' desktop is buntybox:1
> 
> Starting applications specified in /root/.vnc/xstartup
> Log file is /root/.vnc/buntybox:1.log
> 
> r...@buntybox:~# vncviewer :1
> 
> 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.
> 
> Tue Feb 23 11:10:25 2010
>   CConn:       connected to host localhost port 5901
>   CConnection: Server supports RFB protocol version 3.8
>   CConnection: Using RFB protocol version 3.8
> 
> Tue Feb 23 11:10:31 2010
>   TXImage:     Using default colormap and visual, TrueColor, depth 24.
>   CConn:       Using pixel format depth 24 (32bpp) little-endian rgb888
>   CConn:       Using Tight encoding
> 
> ------------------------------------------------------------------------------
> 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

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