Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Citrix Sessions timing out and disconnecting

Status
Not open for further replies.

tls9923

Technical User
Aug 7, 2002
155
US
I am havine problems with my citrix sessions being disconnected if they are not used for 15 minutes or so. I do not see any timeouts set in the citrix server. I do see the following error in the event log.

"The terminal services client %1 has been disconnected because its temporary license has expired. "

Thanks

Terrel
 
The Terminal server license? I did not install the system I came in after it had been running for about 6 months. I am not sure where to activate the license?

Thanks
 
I have checked and I show 2 server license and 40 connection license and they are all active.
 
Currently running Citrix XP, most of the problems are coming from my users connecting via Nfuse 1.8. I get some problems locally.
 
Couple of Points,

First, you need to ensure your Terminal Services CALs are installed and activated. Do this on the Windows 2000 Server configured as the License Server.

Second, I have seen problems like this before where the bandwidth degrades and causes the clients to be disconnected due to latency issues. there are reg keys that can be modifed to increase the timeout's if required. Reply if you want these as i dont have them infront of me.

Neil
 
Have you checked the modem settings on your clients these can be set to disconnect if the connection is idle for a specified time....???

What is the event id number for the license expired message...???
 
Neil, I would like the reg keys to try and see what happens. Right now most of the problems are happening at the offices that are connected Via a internet connection most of them above 256K, one I am having the most problems with is 1024K, I have noticed that most of the computers are not set to use the whole amount most of them only use 400K I have modified some of them so they now hit 800K.

Highland, I will check for the event ID and see what I can find and reply back with it.

Thanks
 
1) Enable ICA Keep Alives:

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Control\Citrix]
"IcaEnableKeepAlive"=dword:00000001
"IcaKeepAliveInterval"=dword:0000003c


2) Increase WAN Reliabilty:

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\Parameters]
"TcpMaxDataRetransmissions"=dword:0000000a
"KeepAliveTime"=dword:0000ea60
"KeepAliveInterval"=dword:000003e8

(setting the Max transmissions to a allows an errosion of 512 times before the connection is dropped)

The second needs to be done on BOTH the client and citrix servers.

Also, ensure your servers have their network card speed hard set, ie 100mb Full duplex.

N
 
I have looked on my license server and cannot find a way to add Terminal Services CALs. I can only add Back office Windows Server, and MS Exchange. Where do I need to load the TS CALS?

Thanks
 
No, you cant use Back Office Licenses to my knowledge, you need specific Terminal Services CALS.

To install..

Start the Terminal Services Licensing Manager
Click on Your License Server (It should say Activated, if not, activate it).
Right Click on your Server Name and Select Install Licenses
Enter the License info from your CAL Pack.

N
 
I have response problems from ICA DIAL IN CLIENTS . Please give some suggestions to improve the application repose over ica dial in clients.

thanks in advance
 
With a modem connection you need to improve the underlying connection. There are heaps of free programs out there that tweak the connection settings, like blackhole detection etc. You need to get ping round trip response times down as low as possible, you can have the fastest connection but if it is highly latent, you may as well quit and go home.

All other tips, like i posted above apply once you have the ping speeds in order.

N
 
What sort of problems are you getting with your dial-in connections Kuruvee....??? Are the clients always able to get a network connection, is it just slow response times or are they occasionally dropping the connection...??? What are they dialling into...??? Is it a dedicated RAS server/device..??? Are they assigned an IP address from this device...???

 
Maybe you want to check the users appsrv.ini file. In it there is an option: Autoreconnect = OFF. For dialin users this should be: Autoreconnect = ON. This allows the client to autoreconnect if the connection is dropped.
 
Neil, I have checked and I do not see the Termial Services License Manager. I am currently running W2K Servers that have Citrix XPe running on them, I have 2 servers running in load balancing mode.
 
tls9923,
The must be at least one server on your domain configured as a terminal services licensing server, if not, then this may be your problem....
Have a look at your Domain Controllers and try to find the Terminal Services Licence Manager under Administrative Tools.

If you are Certain that this is not installed anywhere in your network, install one on a server (you only need one). It is done through add remove programs/windows components.
Activate the server and install your CALS..

N
 
Found the License Server, on the other DC, I have 120 licences with only about 27 in use. I do not see any of the units that connect via Nfuse, do they use the same license service since they connect via the internet only. These sites do not have connection to mine other that through the internet only. I do not even site the WINDOWS ME units on my site either. Thanks for any help.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top