Re: [Bug 1393483] Re: error reading .Xauthority
On 06/04/2016 07:33 AM, Dave Smith wrote: > Hi Tony > > Not sure if this is still an active bug, but I just had a brush with it > and found this thread. Maybe this will help you. > > I had a working clusterssh install and life was good. > I tried some fun things with my hardware, adding a second monitor, having > problems getting it recognized, finally got it working by removing the video > card and using the two display ports on the MB. BANG- got the Unexpected > short read error and clusterssh refused to run. > > First I put everything back the way it was hardware-wise. Same error. > I looked at my .Xauthority file and found half a dozen Cookie lines. > Proceeding with the benefit of tremendous ignorance, I: > Backed up the file. > Used the xauth remove command to delete all but the couple of :0 lines. > Tried cssh with SUCCESS. > Rebooted to be sure it all survived - found one more added cookie line but > everything still works. > > I suspect accumulated lines from displays no longer around are part of > the problem. Hi Dave, Thanks a nice piece of triage work - thank you! I haven't had a chance to independently validate it yet, but it sounds like you're nailed down the issue. Cheers, tony -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393483 Title: error reading .Xauthority To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clusterssh/+bug/1393483/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1393483] Re: error reading .Xauthority
Hi Tony Not sure if this is still an active bug, but I just had a brush with it and found this thread. Maybe this will help you. I had a working clusterssh install and life was good. I tried some fun things with my hardware, adding a second monitor, having problems getting it recognized, finally got it working by removing the video card and using the two display ports on the MB. BANG- got the Unexpected short read error and clusterssh refused to run. First I put everything back the way it was hardware-wise. Same error. I looked at my .Xauthority file and found half a dozen Cookie lines. Proceeding with the benefit of tremendous ignorance, I: Backed up the file. Used the xauth remove command to delete all but the couple of :0 lines. Tried cssh with SUCCESS. Rebooted to be sure it all survived - found one more added cookie line but everything still works. I suspect accumulated lines from displays no longer around are part of the problem. Cheers! --Dave -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393483 Title: error reading .Xauthority To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clusterssh/+bug/1393483/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1393483] Re: error reading .Xauthority
On 05/27/2015 12:30 AM, vloupien wrote: Hello Everyone. Even behavior with Ubuntu 15.04 (exactly Xubuntu 15.04). What are the information that may help you to debug this problem that has been present for many versions of Ubuntu and that makes it unusable clusterssh package ? Best regard. Vincent. Hi Vincent, At this point, I think the problem is that the .Xauthority file is being corrupted by some other process than clusterssh. After searching a bit, it seems like there are many (somewhat scattered, not always reproducible) reports of issues with .Xauthority files being corrupted. The only common theme I thought I saw emerging is related to someone/something running an X app via sudo (instead of gksudo). If you can come up with steps to reproduce the reported behavior, that would be helpful. Thank you, tony -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393483 Title: error reading .Xauthority To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clusterssh/+bug/1393483/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1393483] Re: error reading .Xauthority
Hello Everyone. Even behavior with Ubuntu 15.04 (exactly Xubuntu 15.04). What are the information that may help you to debug this problem that has been present for many versions of Ubuntu and that makes it unusable clusterssh package ? Best regard. Vincent. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393483 Title: error reading .Xauthority To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clusterssh/+bug/1393483/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1393483] Re: error reading .Xauthority
On 04/17/2015 07:23 AM, Rüdiger Kupper wrote: Tony, first of all, thank you for investigating this problem. What is missing from the bug description is that this problem is not omnipresent, but arises spontaneously. That's why you do not see it with a new and vanilla installation. All I can report is that it may occur at any time after cssh has worked fine, and I always could solve it (remove the problem) it by deleting my .Xauthority file. I agree that corruption of .Xauthority may be the cause, however, it is unclear what this corruption is, when it occurs, which agent causes it, and why cssh seems to be the only client that seems to object to this. Sorry if this is not very helpful, though. Hello Rüdiger, Actually, this is helpful in further classifying the issue (and so I know that I need to try harder to reproduce it locally... :) Thank you for the feedback. Cheers, tony -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393483 Title: error reading .Xauthority To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clusterssh/+bug/1393483/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1393483] Re: error reading .Xauthority
On 04/13/2015 04:23 AM, Tom wrote: I have the same problem (on 14.04) Error-Message: Expecting 1633 bytes, got 47 at -1 at /usr/share/perl5/X11/Auth.pm line 39. Unexpected short read from authority file/home/tom/.Xauthority at /usr/share/perl5/X11/Protocol.pm line 2303. Hmmm... I loaded up 14.10 in a VirtualBox and wasn't able to reproduce the problem. I noticed that the xauth list in my VM image only lists 1 cookie. If anyone subscribed to the bug has an idea about what's not vanilla about their setup, or what other applications/tools might be running, that would be helpful. Thank you, tony -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393483 Title: error reading .Xauthority To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clusterssh/+bug/1393483/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1393483] Re: error reading .Xauthority
Tony, first of all, thank you for investigating this problem. What is missing from the bug description is that this problem is not omnipresent, but arises spontaneously. That's why you do not see it with a new and vanilla installation. All I can report is that it may occur at any time after cssh has worked fine, and I always could solve it (remove the problem) it by deleting my .Xauthority file. I agree that corruption of .Xauthority may be the cause, however, it is unclear what this corruption is, when it occurs, which agent causes it, and why cssh seems to be the only client that seems to object to this. Sorry if this is not very helpful, though. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393483 Title: error reading .Xauthority To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clusterssh/+bug/1393483/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1393483] Re: error reading .Xauthority
On 04/13/2015 04:23 AM, Tom wrote: I have the same problem (on 14.04) [...] xauth seems to work fine: Hello Tom, Thank you for helping to rule out problems with the .Xauthority file. I'll try to get an Ubuntu system loaded to to see if I can get to the root cause. Cheers, tony -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393483 Title: error reading .Xauthority To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clusterssh/+bug/1393483/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1393483] Re: error reading .Xauthority
I have the same problem (on 14.04) Error-Message: Expecting 1633 bytes, got 47 at -1 at /usr/share/perl5/X11/Auth.pm line 39. Unexpected short read from authority file/home/tom/.Xauthority at /usr/share/perl5/X11/Protocol.pm line 2303. xauth seems to work fine: tom@aretha:~$ xauth -f .Xauthority Using authority file .Xauthority xauth info Authority file: .Xauthority File new: no File locked: no Number of entries:3 Changes honored: yes Changes made: no Current input:(stdin):1 xauth list aretha/unix:1 MIT-MAGIC-COOKIE-1 8c47bb7e03b351bdbf498310cdcaf9fe aretha/unix:10 MIT-MAGIC-COOKIE-1 383dd7755ff4c565bed25b57e67f31aa aretha/unix:0 MIT-MAGIC-COOKIE-1 13f5fea5d7380359c173e8bc5c339494 xauth -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393483 Title: error reading .Xauthority To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clusterssh/+bug/1393483/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1393483] Re: error reading .Xauthority
Which are the visible consequences of this bug? When answered, please set this bug status back to confirmed. Thank you. ** Changed in: clusterssh (Ubuntu) Status: Confirmed = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393483 Title: error reading .Xauthority To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clusterssh/+bug/1393483/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1393483] Re: error reading .Xauthority
The consequences are that cssh will not start the connections and exit. ** Changed in: clusterssh (Ubuntu) Status: Incomplete = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393483 Title: error reading .Xauthority To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clusterssh/+bug/1393483/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
Re: [Bug 1393483] Re: error reading .Xauthority
On 04/07/2015 09:00 AM, Rüdiger Kupper wrote: The consequences are that cssh will not start the connections and exit. ** Changed in: clusterssh (Ubuntu) Status: Incomplete = Confirmed clusterssh is just trying to open a X client, and the error indicates a short read from .Xauthority. So I suspect something bad is happening to your .Xauthority file. A couple questions: 1) Do other X clients (e.g. xterm) work in this situation? That is, from the same command window where you're launching cssh, can you launch an xterm successfully? 2) What does xauth think about the file? Can it open it? Does it think it's healthy. For example, you can try the info and list commands to query it. tony@boson:~$ xauth -f ~/.Xauthority Using authority file /home/tony/.Xauthority xauth info Authority file: /home/tony/.Xauthority File new: no File locked: no Number of entries:3 Changes honored: yes Changes made: no Current input:(stdin):2 Thank you, tony -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393483 Title: error reading .Xauthority To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clusterssh/+bug/1393483/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 1393483] Re: error reading .Xauthority
Status changed to 'Confirmed' because the bug affects multiple users. ** Changed in: clusterssh (Ubuntu) Status: New = Confirmed -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1393483 Title: error reading .Xauthority To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/clusterssh/+bug/1393483/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs