Immediate logout on all logins

Get help with installation and setup problems
Post Reply
dave02150
Posts: 5
Joined: Tue Jul 29, 2014 7:08 pm

Immediate logout on all logins

Post by dave02150 » Tue Jul 29, 2014 8:46 pm

Hello
I am evaluating TSplus for a client application.
Setup:
Cloud server - Amazon Web Services Windows Server 2008 (32-bit application)
Admin Access by MS RemoteDesktop
I have installed the client application; it still has some problems but it runs well enough for remote testing. Last night, I installed TSplus trial edition and I was impressed - it seems fairly intuitive and easy to configure. I created some test users, set up the application. (This could be the problem here - I probably missed something Very Important or misinterpreted something! I probably included the administrator account in with the others for testing purposes, and that's why I'm having the problems below.) It was getting late so I quit when I was done with TSplus.
Today, I tried to log in as administrator (using regular MR RDP) to continue configuration, etc.:
I get the usual welcome, configuring your desktop, etc. messages.
The screen appears to be a slightly different hue of blue.
The TSplus "Connecting" progress bar comes up and the "Trial version" window appears.
An application error box flashes and the "Logging out" appear. The window disappears.
After a couple of tries, I rebooted the machine from the AWS console. I figured that maybe it's an application problem causing a premature program end, and then TSplus thinks it's time to go. So I went on the server with FTP and uploaded a dead simple application in place of the application that TSplus is supposed to start. It is very simple and it runs correctly on my home machine. Unfortunately, the same thing happens with this simple application - the window opens but closes immediately and then the remote session logs out.
I discovered the TSplus Web Access and I am able to access it. With HTML5, I am able to log in as administrator but the same thing happens. The desktop comes up, TSPlus starts up, the application window appears for half a second, then it disappears and I am logging out.
I also tried using FTP to rename the TSplus folder in an effort to disrupt it at startup. Unfortunately, I cannot rename the folder (\Program Files\TSplus).
Is there anything I can do in this situation to stop TSplus from loading?
Is there a way to access the admin console (either with RDP or from the Web Access portal) bypassing the application?
I have FTP access.
Safe Mode does not appear to be an option as I need networking and RDP working to access the server.
Thank very much, it's been educational (but not in a good way).
David

dave02150
Posts: 5
Joined: Tue Jul 29, 2014 7:08 pm

Re: Immediate logout on all logins

Post by dave02150 » Wed Jul 30, 2014 12:20 am

I have been able to get to a stable desktop. Using FTP, I went to the /Program Files/TSplus/UserDesktop/files folder and downloaded
AssignedApplications.ini and AppControl.ini.

In AssignedApplications.ini :
[Administrator]
App6=yes
changed to
App6=no

In AppControl.ini, App6 equates to the client application that I am trying to run.
Find the [App6] section, it will contain the application name, location, etc.
I removed Administrator from the users= list:
users=xxxxxxx;xxxxxxx;Administrator
changed to
users=xxxxxxx;xxxxxxx

I then uploaded the 2 files back to the folder.
I don't know if one or the other of these would work alone.
I thank you for your time. I hope this situation doesn't happen to you, but if it does, I hope that this solution can get you back on track.
Thanks
David

User avatar
admin
Site Admin
Posts: 1649
Joined: Wed Sep 05, 2012 6:38 am

Re: Immediate logout on all logins

Post by admin » Wed Jul 30, 2014 12:16 pm

Hello,

This is nicely done indeed, you should always pay attention not to assign any other application than the remote desktop to the admin account as you may need it for administrative purposes. Especially on a virtuallized cloud environment.
Olivier
TSplus support team administrator
Image

dave02150
Posts: 5
Joined: Tue Jul 29, 2014 7:08 pm

Re: Immediate logout on all logins

Post by dave02150 » Thu Jul 31, 2014 2:32 pm

Thank you for your reply, Admin. Yes, it was my own fault and I was very lucky to get out of that situation. It has been educational.

Now I have another problem! It's not related so I will start a new thread.

Post Reply