Re: VNC problems



Justin Piszcz wrote:


On Sat, 27 Dec 2008, David Fox wrote:

On Sat, Dec 27, 2008 at 3:23 PM, Justin Piszcz
<jpiszcz@xxxxxxxxxxxxxxx> wrote:

It should be executable AFAIK, what does the log say?

$ cat ~/.vnc/xstartup

#!/bin/sh
xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP desktop" &
exec startkde

$ cat ~/.vnc/*log

27/12/08 15:13:17 Got connection from client 198.144.195.188
27/12/08 15:13:17 Using protocol version 3.8
27/12/08 15:13:17 Enabling TightVNC protocol extensions
27/12/08 15:13:21 Full-control authentication passed by 198.144.195.188
27/12/08 15:13:22 Pixel format for client 198.144.195.188:
27/12/08 15:13:22 32 bpp, depth 24, little endian
27/12/08 15:13:22 true colour: max r 255 g 255 b 255, shift r 16 g 8
b 0
27/12/08 15:13:22 no translation needed
27/12/08 15:13:22 Using tight encoding for client 198.144.195.188
27/12/08 15:13:22 Using compression level 1 for client 198.144.195.188
27/12/08 15:13:22 Using image quality level 6 for client 198.144.195.188
27/12/08 15:13:22 Enabling X-style cursor updates for client
198.144.195.188
27/12/08 15:13:22 Enabling cursor position updates for client
198.144.195.188
27/12/08 15:13:22 Enabling LastRect protocol extension for client
198.144.195.18
8
27/12/08 15:14:14 KbdAddEvent: unknown KeySym 0xffeb - allocating
KeyCode 89
27/12/08 15:21:54 Client 198.144.195.188 gone
27/12/08 15:21:54 Statistics:
27/12/08 15:21:54 key events received 14, pointer events 48
27/12/08 15:21:54 framebuffer updates 3, rectangles 757, bytes 23760
27/12/08 15:21:54 LastRect markers 3, bytes 36
27/12/08 15:21:54 cursor shape updates 1, bytes 82
27/12/08 15:21:54 cursor position updates 1, bytes 12
27/12/08 15:21:54 tight rectangles 752, bytes 23630
27/12/08 15:21:54 raw bytes equivalent 6032676, compression ratio
255.297334


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact
listmaster@xxxxxxxxxxxxxxxx


I use regular VNC, not tight VNC; however, you may want to try isolating
the window manager, use twm (install it first if you don't have it,
comment out exec startkde) and replace it with:

In xstartup, comment out:
#exec startkde

Add:
/usr/bin/twm &

Then start a new vnc session, still a black screen?

vncserver :1 -geometry 1024x768



Yes, just get an xterm first without any window manager at all. This
should give you gray patterned background and an xterm window. Once you
get that, you can try starting the window manager by giving the relevant
command in that xterm window.

Good luck.

--

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx