x-forwarding issue - Unable to execute application during SSH session with the following error: 'Unsupported authorisation protocol'

x-forwarding issue - Unable to execute application during SSH session with the following error: 'Unsupported authorisation protocol'

173
Created On 11/10/26 10:57 AM - Last Modified 11/10/26 13:01 PM


Symptom


User gets the following error when trying to execute applcation during SSH session for x-forwarding:
Error: Idira Privileged Session Manager X11 proxy: Unsupported authorisation protocol.
Error: Can't open display: localhost:10.0


Environment


10.5;10.10;11.1;11.2;11.3;11.4;11.5;11.6;11.7;12.0;12.1;12.2;12.6;13.0;13.2 Privileged Access Manager (PAM, self-hosted);Privilege Cloud PSM;Privileged Session Management (PSM) PSM-SSH
Linux Target


Cause


Missing entry in ~/.Xauthority on the Linux machine

Resolution


Take the display name and the ID from the error message and use them in the xauth command.
Error: Can't open display: localhost:10.0
In that case it's 'localhost' and '10'.
To add it, use the xauth add command:
For Example: xauth add localhost/unix:10 MIT-MAGIC-COOKIE-1 27e035688dd89483c6fe48b2470172f5
(** The last hex-number should be 32 characters long.)
You can create your own random number on the Linux shell with one of these commands:
mcookie
uuidgen -r | sed s/-//g
head -c 16 /dev/urandom | xxd -p

You can check, what has been added by command xauth list.

For more information please check the links below:
https://en.wikipedia.org/wiki/X_Window_authorization
https://superuser.com/questions/1111900/how-to-fix-mobaxterm-x11-proxy-unsupported-authorisation-protocolutm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa


Additional Information


Details

SYMPTOM:
 
User gets the following error when trying to execute command 'xclock' during SSH session: 
 
Error: Idira Privileged Session Manager X11 proxy: Unsupported authorisation protocol. 
Error: Can't open display: localhost:10.0
 
PROBLEM:
 
Missing entry in ~/.Xautority on the Linux machine
 
SOLUTION:
 
Take the display name and the ID from the error message and use them in the xauth command.
 
Error: Can't open display: localhost:10.0
 
In that case it's 'localhost' and '10'. 
 
To add it, use the xauth add command:
 
For Example:  xauth add localhost/unix:10 MIT-MAGIC-COOKIE-1 27e035688dd89483c6fe48b2470172f5
  
(** The last hex-number should be 32 characters long.) 
 
You can create your own  random number on the Linux shell with one of these commands:
 
mcookie
 
uuidgen -r | sed s/-//g
 
head -c 16 /dev/urandom | xxd -p
 
You can check, what has been added by command xauth list.
 
 
For more information please check the links below: 
https://en.wikipedia.org/wiki/X_Window_authorization
https://superuser.com/questions/1111900/how-to-fix-mobaxterm-x11-proxy-unsupported-authorisation-protocolutm_medium=organic&utm_source=google_rich_qa&utm_campaign=google_rich_qa
 
 
 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA1hj0000001GApCAM&lang=en_US&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail