This works like a champ!  Here's what I did to make VNC work with not only
KDE, but kdm and I get to choose the window manager!

1. Delete (or comment) every line in ~/.vnc/xstartup

2. Start vncserver with the '-query localhost' option --> I also added
the -geometry 800x600 so that it'd fit nicely into my IE window which is
running on a system @ 1024x768.

3. If you're using kde and get the dpms error add a # in front of the line
"Init=kcmdpms -init" which is in the file:
/opt/kde/share/applnk/Settings/Desktop/kcmdpms.kdelnk  --> this part is
completely optional as waiting a few seconds after clicking the 'ok' button
will result in the normal kde desktop environment.

This will give you the kdm login screen upon connection to the vncserver.
>From there you can chose the user to login as *AND* which window manager you
wish to use!

Now, if you don't want to use kdm, and why not?  It's an extra layer of
security.  You'd simply comment out every line in ~/.vnc/xstartup and add
the following line:

    exec startkde

That'll bring you straight in to a KDE desktop.  I really like the ability
to choose my desktop and I love the added login security.  Also, for my case
~ or $HOME was root's.  I've yet to run vncserver as a user.

Bill Mote

----- Original Message -----
From: "Oliver Marshall" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, March 06, 2000 10:22 AM
Subject: [newbie] VNC and Mandrake


> All,
>
> Has anyone got a working VNC installation running on Mandrake ??
>
> I have tried, and just get a grey desktop window appearing on the client.
I
> have spoken to VNC and they say that i need to enter the windows manager
and
> its path into the xStartup window.
>
> Do you know where KDE is stored ? Can I grab a copy of your xStartup
script
> ??
>
> Olly
>
>
>

Reply via email to