[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to run KDM on VNC but not on console



Rich wrote:
Howdy,
I have a server on which I want to grant some users access via VNC. I the README.inetd file showed how to run KDM on VNC. It's pretty slick!

But whenever I start kdm, it starts X and displays It's prompt on tty1.

I don't want KDM to run on the console. This is a server, and I like the old fashioned text based login with no X. Is there a way I can limit KDM to only run on VNC sessions?

I've looked through the files in /etc/kde2/kdm/ and tried a few things, but no luck.

Any help is appreciated!




It has been a while since I did this, so it is from memory, BUT the key is to stop the xserver from starting on the local machine when KDM is started...which is what you want.

From what I recall, there was a file called "Xservers" (note the caps) in both XDM and KDM that controls this. On my current machine (KDE 2.2), the KDM files are located in /etc/kde2/kdm/Xservers. I also have the files for XDM located in /etc/X11/xdm/Xservers. The reason I am mentioning this is that I forget if you have to change BOTH or just the KDM file.

Within the Xservers file there should be a line that says:
":0 local@tty1 /usr/X11R6/bin/X -dpi 100 -nolisten tcp vt7" or something similar. Just comment out this line, and no local xserver will be started, but KDE will be started for use by remote computers. It this doesn't do the job, the try also commenting out the similar line in /etc/X11/xdm/Xservers and see what happens.

As I said, this is from memory, and might be incomplete..dunno for sure. I am fairly certain that you must do this step at least.

HTH,

-Don Spoon-





Reply to: