LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 08-15-2017, 04:41 AM   #1
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Rep: Reputation: 11
Post Failed to connect, CredSSP required by server.


Hello.
I use "rdesktop" for remote to a Windows Server but I got below error:
Code:
Autoselected keyboard map en-us
ERROR: CredSSP: Initialize failed, do you have correct kerberos tgt initialized ?
Failed to connect, CredSSP required by server.
I found the solution at https://www.syskit.com/blog/credssp-...ver-solutions/ and it is because of my Windows remote connection setting just accept trusted users. I used "rdesktop -u mydomain\\username" but I got same error. Why?

Any idea?

Thank you.
Attached Thumbnails
Click image for larger version

Name:	connection.png
Views:	17426
Size:	7.2 KB
ID:	25756  

Last edited by hack3rcon; 08-21-2017 at 03:47 AM.
 
Old 08-16-2017, 02:20 PM   #2
josephf63
LQ Newbie
 
Registered: Nov 2013
Location: Centereach, NY
Distribution: RHEL 5
Posts: 4

Rep: Reputation: Disabled
You need to uncheck the require from NLA check box
 
Old 08-21-2017, 03:47 AM   #3
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Quote:
Originally Posted by josephf63 View Post
You need to uncheck the require from NLA check box
"NLA check box" ? How?
 
Old 12-11-2017, 02:29 AM   #4
hack3rcon
Senior Member
 
Registered: Jan 2015
Posts: 1,432

Original Poster
Rep: Reputation: 11
Problem solved via "FreeRDP".
Code:
$ xfreerdp /u:"User name" /v:IP:3389
 
1 members found this post helpful.
Old 09-20-2018, 05:40 AM   #5
aSToViRuS
LQ Newbie
 
Registered: Jan 2010
Location: Euskal Herria
Distribution: Ubuntu
Posts: 1

Rep: Reputation: 3
Quote:
Originally Posted by hack3rcon View Post
Problem solved via "FreeRDP".
Code:
$ xfreerdp /u:"User name" /v:IP:3389
After almost a year this helped us a lot trying to access an Azure VM... Thanks a lot!

Anyway, for anyone interested in the future (or future me!), we installed FreeRDP2 this way:
Code:
sudo apt-get install freerdp2-x11
And then run it with:
Code:
xfreerdp /u:"administrator" /v:my.server.net:61220
 
3 members found this post helpful.
Old 07-09-2019, 04:19 AM   #6
oneindelijk
Member
 
Registered: Oct 2012
Location: Belgium
Distribution: Xubuntu
Posts: 32

Rep: Reputation: Disabled
Use kerberos ticket

In a domain you can request a kerberos ticket from the server like so:
Code:
kinit <user>
(This implies that your /etc/krb5.conf is configured to use the domain)
You can verify a ticket with
Code:
klist
which should yield something like
Code:
Ticket cache: FILE:/tmp/krb5cc_1000
Default principal: <user>@<Kerberos DOMAIN>

Valid starting     Expires            Service principal
09-07-19 10:37:55  09-07-19 20:37:55  krbtgt/<domain>@<domain>
        renew until 10-07-19 10:37:49
Then you should be able to connect to the server while NLA is still turned on with this command
Code:
rdesktop -u <user> -d <domain> <IP-or-resolvable-hostname>
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ERROR: CredSSP: Initialize failed, do you have correct kerberos tgt initialized ? hack3rcon Linux - Software 0 02-06-2017 12:47 PM
CUPS Failed to Connect to Server davethesteam Linux - Software 4 01-27-2017 07:42 PM
VNC Failed to connect to server cthomas SUSE / openSUSE 9 10-14-2006 06:59 AM
Is samba required to connect to a Windows Advanced server from RedHat 8.0 server? NemesisStar Linux - Hardware 1 10-20-2003 12:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 04:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration