VMware Horizon Community
F3st3r
Contributor
Contributor

AD user logoff immidiately after the login

Hello,

i've setting up a vdi system with Vmware View 3.1. When i try to login on a virtual desktop, i'm immidiatly disconnect without any error, and the login proces was interrupted.

On the event log of view administrator i've see the following notes:

User DOMAIN\USER connected to machine VMMAG_7 for desktop fbmag - session allocated at July 1, 2009 12:32:30 PM CEST, connected after 0 mins 0 secs

CONNECTED:Server:cn=0f47d047-47c3-469b-ba35-f59d4f3888a3,ou=servers,dc=vdi,dc=vmware,dc=int;Pool:cn=vmmag,ou=server groups,dc=vdi,dc=vmware,dc=int;DNS:VMMAG_7.DOMAIN.IT;IP:xxx.xxx.xxx.xxx;USER:DOMAIN\USER;USERDN:cn=s-1-5-21-839522115-1383384898-725345543-1696,cn=foreignsecurityprincipals,dc=vdi,dc=vmware,dc=int;BROKERUSERSID:S-1-5-21-839522115-1383384898-725345543-1696;

User DOMAIN\USER disconnected from machine VMMAG_7 for desktop vmmag - session allocated at July 1, 2009 12:32:30 PM CEST, connected for 0 mins 4 secs

DISCONNECTED:Server:cn=0f47d047-47c3-469b-ba35-f59d4f3888a3,ou=servers,dc=vdi,dc=vmware,dc=int;Pool:cn=vmmag,ou=server groups,dc=vdi,dc=vmware,dc=int;DNS:VMMAG_7.DOMAIN.IT;IP:xxx.xxx.xxx.xxx;USER:DOMAIN\USER;USERDN:cn=s-1-5-21-839522115-1383384898-725345543-1696,cn=foreignsecurityprincipals,dc=vdi,dc=vmware,dc=int;BROKERUSERSID:S-1-5-21-839522115-1383384898-725345543-1696;

On the VMMAG_7 event log i've see that

Session CONNECTED: id=0, user DOMAIN\USER, client=myclient, connectionId=8917E09974DF9EBA328153E9A465C2DF, userDn=cn=s-1-5-21-839522115-1383384898-725345543-1696,cn=foreignsecurityprincipals,dc=vdi,dc=vmware,dc=int

View Composer user login initialization state 0 (in 0 seconds)

VDM agent: View Composer customization completed in state 0 (total 0 seconds)

Session created in PENDING state: id=0, winStation=RDP-Tcp#1

wssm started in session 0 whilst missing logon notification

Session Manager logged in, sessionId=0, userDomainName=DOMAIN\USER

Session Manager started for session 0

Plugin 'ws_winauth - VDM Framework Windows Authentication Support' loaded, version=3.1.0 build-167577, buildtype=release

Plugin 'wssm_desktop - VDM Framework Desktop Instance Manager' loaded, version=3.1.0 build-167577, buildtype=release

Program 'wssm - VDM Framework Session Manager' started, version=3.1.0 build-167577, pid=464, buildtype=release

Authentication Manager successfully installed.

Program 'winlogon' started, version=, pid=1600, buildtype=release

Session Manager logged out, sessionId=0, userDomainName=DOMAIN\USER

Session RECONNECTED: id=0, user DOMAIN\USER, client=myclient (non-portal)

Initiated logoff on disconnect auto-logoff for session 0

Session DISCONNECTED: id=0, user DOMAIN\USER, client=myclient, connectionId=8917E09974DF9EBA328153E9A465C2DF, userDn=cn=s-1-5-21-839522115-1383384898-725345543-1696,cn=foreignsecurityprincipals,dc=vdi,dc=vmware,dc=int

UNEXPECTED WTS_SESSION_LOGON when session state=Connected, session=0

Unable to accept connection, authentication failed

Authentication ticket error

Session ENDED: id=0, user DOMAIN\USER, client=myclient (non-portal)

Can anyone help me?

Sorry for my bad english Smiley Sad

Bye

Reply
0 Kudos
3 Replies
asherman
Enthusiast
Enthusiast

I had the same problem, and I discovered it was due to having UltraVNC in my image. Something about VNC not wanting to work when an RDP session initiates. I did not troubleshoot it, I just removed it.

Looks like your issue may be a bit more complex, though. Just thought I'd throw that out there.

Reply
0 Kudos
surs
Contributor
Contributor

Hello

Did you find out why this is happening. I have come accross the same thing. I dont have ultraVNC.

Reply
0 Kudos
kieranl
Contributor
Contributor

I came across something similar, when trying to logon to a virtual desktop, I could not connect using PC over IP but I could using RDP.

After some testing it turned that the having a Mesage displayed during interactive logon was causing the issue. Disabling this via Group Policy allowed me to connect using PC over IP.

Reply
0 Kudos