- Terminal Services
- Posted by Alex on April 13th, 2008
Hi,
I am trying to come up with something similar to Microsoft's Terminal
Services but am having unfortunately some starting difficulties. Mainly
I am looking into how to log on additional users into a full desktop
environment.
I have found such a kind of feature in the SU implementation "SUperior
SU" for Windows, where its FAQ -
http://www.stefan-kuhr.de/supsu/faq...._what_is_the_d -
states there are several differences between its own implementation and
the Terminal Services/Fast User Switching.
Would anyone have a hint about the right APIs respectively could point
me into the right direction (I would assume LogonUser() and
CreateDesktop() might be two key functions).
Thanks very much.
- Posted by Christian ASTOR on April 13th, 2008
Alex wrote:
I don't understand what you want to do but TS apis are mainly WTS* apis :
http://msdn2.microsoft.com/en-us/lib...64(VS.85).aspx
- Posted by Alex on April 13th, 2008
Christian ASTOR wrote:
Thanks Christian. To explain it a bit more in detail, basically I would
like to develop a remote access service similar to the Terminal Service.
I am just a bit confused about which would be the right API to use. Does
the Terminal Services API only cover topics specific to the Terminal
Services service itself or general ones (logging in a user, providing a
new desktop, ....) as well?
The mentioned site points to the regular LogonUser() function but also
refers to Fast User Switching/Terminal Services, hence my confusion
.
Thanks again.
- Posted by Sten Westerback \(MVP SDK 2005-6 :\) on April 16th, 2008
"Alex" <al@temporaryinbox.com> wrote in message
news:48020f17$0$47144$892e7fe2@authen.yellow.readf reenews.net...
The correct API to use is called Win32 API 
I would suggest you use http(s) from communication unless you want to make
life easier and use a named pipe with it's built-in authetication (asuming
you have a domain).
A desktop is needed so the working thread(s) of processes started have
something to draw on (or at least a console if that's all you need).
If you choose to log on on the server side, make sure you know what you are
doing securitywise (don't send password to server side in cleartext).
To transfer screens you need either to hook everything and send the result
over or take snapshots of what you have from the desktop hwnd and send that
over (compressed).
Finally, most importantly, you need to convince someone that none of the
comercial products available, MS Terminal Services and Citrix ICA, are
suitable.
users".
- Sten
- Posted by Alex on April 16th, 2008
Sten Westerback (MVP SDK 2005-6
wrote:
The Misc API might be interested too however (given you referred to the
cross posting
)
Well, to be honest I am not having such a big experience with named
pipes so I would likely go with IP (whether UDP or TCP and if TCP
subsequently HTTP is yet to be decided), aside that I suppose it could
be problematic via Internet connections.
Sure, my initial concern was that the desktop/session isolation wouldnt
really be given by using the "regular" calls, which doesnt seem to be
the case with Terminal Services.
This appears of having been confirmed by several responses to the same
question in microsoft.public.win32.programmer.kernel.
Of course.
I guess they are all suitable. Mine (if realised) would be just another
option. Aside that there are still hundreds of other's (even if they
usually do not provide individually sessions but only cover the logged
on user).
Also I havent yet decided whether I want to make it open source or a
commercial product, although I tend to the latter at the moment.
My initial doubt was whether I could use the FUS/TS APIs to implement
such a service or whether they only provide interaction with their
service itself and I'd have to use the "regular" APIs, here the latter
seems to be the case as well (as indicated by the responses to the
microsoft.public.win32.programmer.kernel).
Thank you very much Sten!
- Posted by David Glienna - Owner on May 3rd, 2008
try LogMeIn.com for their FREE option. hard to beat that
--
David Glienna
MVP - Visual Developer (Visual Basic)
2006 thru 2008
"Alex" <al@temporaryinbox.com> wrote in message
news:4805aa70$0$47112$892e7fe2@authen.yellow.readf reenews.net...
- Posted by David Glienna - Owner on May 9th, 2008
Check out LogMeIn FREE, for an admin's dream!
--
David Glienna
MVP - Visual Developer (Visual Basic)
2006 thru 2008
"Alex" <al@temporaryinbox.com> wrote in message
news:4805aa70$0$47112$892e7fe2@authen.yellow.readf reenews.net...