--- Derek Jennings <[EMAIL PROTECTED]> wrote: > On Friday 25 March 2005 13:34, DAN WALKER wrote: > > My vnc server now sort of works! I set the > password, > > edited hosts.allow and my pc side now asks me for > a > > password and presents me with a red screen. The > > problem I have is that it looks as though it has > > nothing to do when it opens the window. It sits > there > > with the X style (not kde or gnome) watch icon. > This > > is what is in '/root/.vnc/xstartup': (between the > > ***'s) > > > > *** > > #!/bin/sh > > > > # Mandrake Linux VNC session startup script > > exec /etc/X11/xinit/xinitrc > > > > *** > > You are allowing remote users to log in as root. As > you know logging in as > root is discouraged. It is a security risk. > > Assuming you used the Mandrake tightvnc-server > package then you have a set up > file for your vnc server in > /etc/sysconfig/vncservers > This file defines the servers to be started when you > boot. > The line > VNCSERVERS="1:myusername" > will start a vnc server on screen one with the user > name 'myusername' > > chkconfig vncserver on && service vncserver start > will start the vnc service automatically at boot. > > > In your example you are starting the vnc server with > > 'exec /etc/X11/xinit/xinitrc' if you look in that > file you will see it is > going to start X without a Window Manager. > > To start in KDE for example in your > /home/myusername/.vnc/xstartup file put > startkde & > > To start fluxbox put > fluxbox & > > to start IceWm put > icewm & > > > HTH > derek > -- > www.jennings.homelinux.net > http://twiki.mdklinuxfaq.org > > > I did as you have suggested but I am still getting nowhere... This is what the logs say:
25/03/05 14:29:58 Got connection from client 10.0.0.11 25/03/05 14:29:58 Protocol version 3.5 25/03/05 14:29:58 Ignoring minor version mismatch 25/03/05 14:30:01 Full-control authentication passed by 10.0.0.11 25/03/05 14:30:01 Pixel format for client 10.0.0.11: 25/03/05 14:30:01 32 bpp, depth 24, little endian 25/03/05 14:30:01 true colour: max r 255 g 255 b 255, shift r 16 g 8 b 0 25/03/05 14:30:01 no translation needed 25/03/05 14:30:01 Using tight encoding for client 10.0.0.11 25/03/05 14:30:01 rfbProcessClientNormalMessage: ignoring unknown encoding 8 25/03/05 14:30:01 Enabling X-style cursor updates for client 10.0.0.11 25/03/05 14:30:01 Enabling cursor position updates for client 10.0.0.11 25/03/05 14:30:01 Using image quality level 6 for client 10.0.0.11 25/03/05 14:30:01 Enabling LastRect protocol extension for client 10.0.0.11 25/03/05 14:30:01 rfbProcessClientNormalMessage: ignoring unknown encoding -223 This is what my xstartup now says (so you can trust I have done it right): #!/bin/sh # Mandrake Linux VNC session startup script exec /etc/X11/xinit/xinitrc startkde & cgkconfig thingy said [ok] (i killed the running vncserver) Send instant messages to your online friends http://uk.messenger.yahoo.com
____________________________________________________ Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com Join the Club : http://www.mandrakeclub.com ____________________________________________________
