One use-case we have at work for Xming is to be the X11 server on a Windows RDP terminal server.
For security reasons (don’t ask!) we can only access certain Unix hosts via an RDP session from our desktops,
not directly over the campus LAN. So, we installed Xming on the TS and it works well.
Except if two or more people wish to use it at once. Then it’s first come, first served.I found a work-around for this that works, but is inelegant: start with a different display number argument.
For instance, the normal Xming start-up parameters are like this:D:\Programs\Xming\Xming.exe :0 -clipboard -multiwindowChange the :0 to be something else, and you can have a second (or third) instance running
on the same host. Then, so long as you launch an xterm on the remote hosts using an item
from your Xming menu, then it seems to pass the X11 packets back to your instance of the server,
and not to other people on the same TS.There are at least a couple of issues with this: * It’s not very resource efficient. But I can’t see a way around this, so long as we are using the RDP
terminal server
* You need to manually allocate display numbers to different people. If two people pick the same number,
one will lose (first come, first served again). But at least your clients won’t end up on their server…If anybody can think of a way to snoop which displays are already taken, then choose the next one, it’d be neat!
Ja bym spróbował tak.
Na w2k terminal server zainstalowałbym jakiś darmowy xserver np. Xming.
freedesktop.org/wiki/Xming
A potem w celu obsługi wielu użytkowników można zrobić tak jak tutaj jest napisane:
sinewalker.wordpress.com/2008/12/17/multiple-xm...
To takie komputerowe druciarstwo bo faktycznie lepiej jest upgradować RDP do 5.2
ale to kosztuje ;)
http://www.governmentsecurity.org/forum/index.php?showtopic=10869
Windows XP Multiuser Remote Desktop
An interesting feature, on Windows XP, is the ability to be remote controlled from a second PC: the so called “Remote Desktop Connection” can be used from a dial-up connection or in a local ethernet network. XP (and Media Center Edition), differently than the Server versions of Windows, has a limit: a single PC can be controlled by a single “local” user (the “real” person on place), OR a single “remote” user. If someone logs into the computer security from remote, the local user is disconnected. The following procedure deactivates this block and allows multiple persons to connect and to use a single computer from remote. Very useful, for example, if you’ve a very strong PC and you want your wife/friend/brother to use an old computer like a “terminal” to use applications on the new one, at the same time of you. Other application of the same technique: you’re at work and you want to connect to your home PC, without blocking your wife that is using the same computer to check email UPDATE: it seems that XP is limited, also after this modification, to 3 concurrent users. So don’t waste time trying to raise the maximum number of connections over three (see step 5) because, at this time, I don’t think there’s a way to use the same XP PC with more than 3 persons at the same time (e.g. a local user and 2 remote users). This procedure is an “hack”: do it at your own risk: STEP 1 Start your Windows in Safe Mode (tap on F8 first of the Windows Loading Splash Screen); click on “My Computer” with right mouse button and choose “Properties”; go to “Remote” tab and uncheck “Allow users to connect remotely to this computer” (if it’s already unchecked, just do nothing); click OK. STEP 2 Go to Start -> Control Panel; open “Administrative Tools” and then “Services”; Usługi Terminalowe double click “Terminal Services”, in the list; choose “Disabled” for “Startup Type” option; click OK. STEP 3 Go to C:\windows\system32\dllcache; rename the termsrv.dll file to termsrv.original or another name you like; copy into the folder this unrestricted old version of termsrv.dll; go to C:\windows\system32 (the upper folder of the current one); do the same operation: rename termserv.dll also here, and put another copy of the file I linked above. STEP 4 Click Start, then “Run…”, type “regedit” (without quotes) and press ENTER; navigate in the Windows Registry Tree to reach this path: HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Terminal Server\Licensing Core; click with right mouse button on blank space in the right part of the registry window, choose “New” > DWORD, name the new key “EnableConcurrentSessions” (without quotes), then edit it and set its value to 1; close the editor. STEP 5 Click Start, then “Run…”, type “gpedit.msc” (without quotes) and press ENTER; open Computer Configuration > Administrative Templates > Windows Components > Terminal Services; double click “Limit number of connections”, choose “Enabled” and set the maximum number of concurrent connections you want to allow (2 or more), then Restart Windows in normal mode. STEP 6 Go back to Remote tab of My Computer’s properties (see step 1) and activate “Allow users to connect remotely to this computer”; Go back to “Terminal services” in “Services” (see step 2) and set its “Startup type” to “Manual” Now restart Windows. Your operating system should be ready to accept multiple remote desktop connections Remember that you’ve to prepare different Windows Users for every “phisical” user that want to connect to your desktop, to autenticate with separate logins/passwords. User accounts configuration is reachable in the control panel, and the list of users that can connect to the PC is editable in the remote tab of My computer.
http://lazowski.wordpress.com/2008/10/05/windows-xp-jako-serwer-terminali/
http://lazowski.wordpress.com/2009/09/02/przedluzanie-domyslnych-180-dni-na-instalacje-licencji-cal-dla-serwera-terminali-w-windows-2003-standard/