7

I have installed the program rdesktop with the command

sudo apt-get install rdesktop

I use rdesktop with the command

rdesktop -a 32 192.168.0.38

with the error message

Disconnected due to network error, retrying to reconnect for 70 minutes. ERROR: CredSSP: Initialize failed, do you have correct kerberos tgt initialized ?

How do I fix the error?

Thanks by advance,

Note: Sorry for my english, i'm french

Fred
  • 173

3 Answers3

10

I solved this by using xfreerdp instead. I actually tried configuring the Kerberos authentification, but gave up after an hour.

So an example of an xfreerdp command would be:

xfreerdp /u:'DOMAIN\john' /p:'doe' host:port

Hope that helps even though it's a bit late :-)

Jens Egholm
  • 216
  • 3
  • 5
1

another way is to acquire a ticket from the kerberos server in case you are in a domain. NLA is an extra security layer which requires the client to authenticate against the Domain before logging on. After krb5.conf is adequately configured for the domain (google it), you can do the following:

kinit <user>
rdesktop -u <user> -d <domain>

You only need to execute kinit once until the ticket has expired

0

Yet another solution to make it work with rdesktop is to disable the requirement for "Network Level Authentication" on the Windows RDP side. It makes it less secure of course, but that might not be important depending on where/how you use it.

So on the Windows RDP server configuration, uncheck this setting:

"Allow connections only from computers running Remote Desktop with Network Level Authentication"

mivk
  • 5,811