Hi,
I am handling user issues in my team. Users have their Unix session running on Citrix MFU.
Recently, I was suppose to address a user issue which is as below:
Gets the below error when tries to open nedit:
Xlib: connection to ":165.0" refused by server
Xlib: Client is not authorized to connect to Server
NEdit: Can't open display
Gets the below error after running ssh -X <hostname>
Xlib: connection to "localhost:173.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
NEdit: Can't open display
echo $DISPLAY gives :165.0 as output.
I tried with below things. Still negative results
- Reset the user's .Xauthority file and reconnected to the session.
- xhost +hostname
- nedit -display :165.0
As per user, if he logs out and starts a fresh session he is able to launch nedit and gvim without any errors.But the errors again repeat after few days.
Please advice or suggest any resolution for these errors or Please let me know actions to take when a user reports about Xlib errors.