LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Xauth data not being generated automatically (https://www.linuxquestions.org/questions/linux-software-2/xauth-data-not-being-generated-automatically-4175423805/)

coiner 08-24-2012 10:22 AM

Xauth data not being generated automatically
 
Hello,

I have a cluster of systems running RHEL6, they are logged into via thin clients using XDMCP. My users have other systems they use as well but for some reason when they use X11 forwarding from these RH systems, their xauth cookies aren't being auto generated.

the DISPLAY var is properly set. I've discovered that if the users run the following, X11 forwarding works fine:

Code:

xauth generate $DISPLAY
ssh -X [host]

But if they run ssh -X without first running the xauth generate, it will return "Warning: No xauth data; using fake authentication data for X11 Forwarding" and they will be unable to run anything through X11.

What did I miss in the config that is not making this xauth data be automatically generated? Thanks!

coiner 08-27-2012 09:19 AM

No thoughts at all on this?

Well I have some more info that may help. I was testing out the X11 forwarding using gedit but I've discovered that even though gedit works after running the xauth generate, some other programs that use X11 still do not function.

For example, we use a program called mcidas which is used for weather data analysis. The program works fine with X11 forwarding when you ssh directly in but when you go in through the cluster and attempt to run it, you'll get the following error regardless of running the xauth generate command. It also happens regardless of using the -X or -Y options when using SSH.

Code:

X Error of failed request: BadAtom (invalid Atom parameter)
  Major opcode of failed request: 18 (X_ChangeProperty)
  Atom id in failed request: 0x1a4
  Serial number of failed request: 12
  Current serial number in output stream: 15

Does this add any insight on how to get X11 forwarding to work properly on these systems? Thanks.

coiner 08-29-2012 10:58 AM

No one has any ideas on this? Any help would be appreciated.

coiner 09-05-2012 08:07 AM

No one has even a small bit of advice here? I find that hard to believe... X11 is a pretty common topic, how can no one have a clue of where I should start looking for the solution to this?


All times are GMT -5. The time now is 08:05 AM.