Terminal Server session won't close
Terminal Server session won't close
Author
Discussion

spivvy

Original Poster:

1,535 posts

284 months

Thursday 29th June 2006
quotequote all
i am running an application direct from a remote connection onto a terminal server
ie it autmatically logs the user in to the terminal and calls the app straight up when i close the app i want it to close the session
automatically ,instead what happens is the app closes and i get a screen with no Icons on it or start bar so have to kill the session off ,anyone know how to correct this

i have another TS server will log out but won't run the App ,the settings look the same on both machines

mph999

2,778 posts

250 months

Thursday 29th June 2006
quotequote all
Hmm, Ctrl + E and Ctrl + Z ???

_deejay_

5,057 posts

284 months

Friday 30th June 2006
quotequote all
spivvy said:
i am running an application direct from a remote connection onto a terminal server
ie it autmatically logs the user in to the terminal and calls the app straight up when i close the app i want it to close the session
automatically ,instead what happens is the app closes and i get a screen with no Icons on it or start bar so have to kill the session off ,anyone know how to correct this

i have another TS server will log out but won't run the App ,the settings look the same on both machines



How are you running the app? Lots of ideas here : www.experts-exchange.com/Operating_Systems/Win2000/Q_21835194.html

Saabyfox

2,432 posts

249 months

Friday 30th June 2006
quotequote all
if you can get to another 2000/2003 server on the same network you can run the TSADMIN ( terminal services admin) tool from the Run box, browse to the problem machine and disconnect all sessions.

Once you have done that, i would suspect you are having a problem with video drivers on the host you are connecting to, and this is not allowing the TS session to close. Have seen it before where windows is using a generic VIDEO driver and not the proper one.

HTH

agent006

12,058 posts

294 months

Friday 30th June 2006
quotequote all
Would you not need to tell it to log off after closing the app?

UpTheIron

4,058 posts

298 months

Friday 30th June 2006
quotequote all
Problem will likely be a process not closing and holding the session open.

If you leave the session a LONG time does it eventually close unaided?

Fire up another session on the same server (or on another server), and use TSADMIN and/or Task Manager (same server only) to see what processes are running? Any any other standard TS processes running in the session - i.e. anything application related?

If you are not sure what processes you would expect to see normally, compare to another session on the server running a desktop only (i.e. no app)

BliarOut

72,863 posts

269 months

Friday 30th June 2006
quotequote all
And don't forget to look in the Event Viewer on the TS box for any clues.