terminal services on FC6

Phil Meyer pmeyer at themeyerfarm.com
Wed May 30 21:19:43 UTC 2007


azeem ahmad wrote:
> hi list
> i have a FC6 box which has 1 GB RAM and two 1 GHz XEON Processors. i 
> want to give a remote desktop to about 40 clients simaltaneously.
> but notice that its not like vnc which shares a single desktop, rather 
> i want to give every user which logs in a new personal desktop which 
> is not shared with other users. (may be just like windows terminal 
> services)
>
> is there any such software which can be used for this purpose?
>
> can the above mentioned HArdware support about 40 simal;taneous user 
> connections???
>
> Regards
> Azeem
>
> _________________________________________________________________
> FREE pop-up blocking with the new MSN Toolbar - get it now! 
> http://toolbar.msn.click-url.com/go/onm00200415ave/direct/01/
>

# yum install vnc-server vnc-ltsp-config

(will install xinetd as a dependency)

# chkconfig xinetd on
# cd /etc/xinetd.d
# vi vncts

The thing you are looking for here, is that each screen resolution you 
wish to support needs its own port number.  No big deal because the file 
is easy to read.

# cd /etc/dgm
# vi custom.conf

----
[daemon]
RemoteGreeter=/usr/libexec/gdmgreeter   #MUST be enabled

[security]
AllowRemoteRoot=true  # does not have to be true -- depends upon your 
usage requirements.
DisallowTCP=false   # MUST be false

[xdmcp]
Enable=true   #MUST be true
----

# killall gdm-binary
# service xinetd start

There are a couple of other changes to make if you do NOT want X started 
on the console, as this simple method wants run level 5 (gdm needs to 
start).

All done!

Things to watch for:

A user running nmap (or any port sniffer) against your server will cause 
the Xvnc server to load once for each open port.  Depending on what else 
is happening, this can cause a usage drain.  If you see a big CPU spike, 
look for allot of orphaned Xvnc processes.  Patches and updates may have 
fixed this simple problem.

Good Luck!




More information about the fedora-list mailing list