Bug#316479: clusterssh: cssh does not start and complains about X11/Protocol.pm

2005-07-20 Thread Cyril Bouthors
OK, I've spent the whole morning digging the bug and I've found it.

The function get_all() in /usr/share/perl5/X11/Auth.pm silently
returned nothing because my ~/.Xauthority seemed corrupted:

[EMAIL PROTECTED]:~$ xauth
Using authority file /home/cyb/.Xauthority
xauth> list
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
Illegal Address:
[...]
[238 identical lines skipped]
[...]
wide/unix:0  MIT-MAGIC-COOKIE-1  678a5dd01e388f83c14bdf26c25bbd73
localhost.localdomain/unix:0  MIT-MAGIC-COOKIE-1  
678a5dd01e388f83c14bdf26c25bbd73
xauth>

("wide" is my hostname)

I really have no idea how this corruption happened but I simply
removed the file, restarted X11 and cssh is happily working again.

The corrupted file is 2495 bytes long whereas the valid one is only
115 bytes long, it's quite a difference. I kept a copy if anyone needs
it.

I'm also wondering why all my other X11 apps were working normally
with this corrupted .Xauthority file and why cssh is the only one to
fail.

I would have saved a lot of my time if libx11-protocol-perl was
displaying an explicit error message instead of:
 "Can't read:  at /usr/share/perl5/X11/Protocol.pm line 2301".

I guess other users might waste a lot of time too because of that so
I'll reassign this bug as "wishlist" to libx11-protocol-perl.

Thanks.
-- 
Cyril Bouthors


pgpd0FXcldXTG.pgp
Description: PGP signature


Bug#316479: clusterssh: cssh does not start and complains about X11/Protocol.pm

2005-07-07 Thread Thomas Dickey
On Wed, Jul 06, 2005 at 03:30:14AM +0200, tony mancill wrote:
> I have tagged this bug unreproducible.  I did a fresh install of sarge
> and the apt-get -f dist-upgrade to sid and was not able to reproduce
> this problem.
> 
> I did find some other problems related to -xrm
> 'XTerm.VT100.allowSendEvents:true' that are most likely going to
> necessitate removing the dependency on x-terminal-emulator and depending
> only on xterm and rxvt (and other x-terminal-emulators that provide
> support for this option).

Does rxvt support allowSendEvents?
I don't see in 2.7.10's source code.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


pgpoHZtvm8xDX.pgp
Description: PGP signature


Bug#316479: clusterssh: cssh does not start and complains about X11/Protocol.pm

2005-07-06 Thread Cyril Bouthors
On 4 Jul 2005, tony mancill wrote:
> Yes, I want to fix the issue, but can't start on it until I know
> what the issue is.  My next step is to do a fresh install of sid on
> a system to see if I can reproduce it.

Here's my ~/.Xresources, maybe it'll help:

*visualBell:true
emacs*Background: black
emacs*Foreground: white
XTerm*Background: black
XTerm*Foreground: white
XTerm*font: 8x13
XTerm*saveLines: 2000
XTerm*metaSendsEscape: True
UXTerm*metaSendsEscape: True
.gv.scrollingEyeGuide: False
XLock*LogoutButton: -1
aterm*foreground: white
aterm*background: black
aterm*shading: 25
aterm*transparent: True
  aterm*scrollBar: False
  xfig*splash: false
-- 
Cyril Bouthors


pgpg3hOiGHcaw.pgp
Description: PGP signature


Bug#316479: clusterssh: cssh does not start and complains about X11/Protocol.pm

2005-07-06 Thread tony mancill
Thanks for this, but no change.  It still works fine on my systems.  Are
you able to reproduce this problem on other systems or running as a
different user?

tony

Cyril Bouthors wrote:
> Here's my ~/.Xresources, maybe it'll help:
> 
>  


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#316479: clusterssh: cssh does not start and complains about X11/Protocol.pm

2005-07-05 Thread tony mancill
I have tagged this bug unreproducible.  I did a fresh install of sarge
and the apt-get -f dist-upgrade to sid and was not able to reproduce
this problem.

I did find some other problems related to -xrm
'XTerm.VT100.allowSendEvents:true' that are most likely going to
necessitate removing the dependency on x-terminal-emulator and depending
only on xterm and rxvt (and other x-terminal-emulators that provide
support for this option).


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#316479: clusterssh: cssh does not start and complains about X11/Protocol.pm

2005-07-04 Thread Cyril Bouthors
On 2 Jul 2005, tony mancill wrote:
> I have the exact same versions of the package and all of the
> dependencies listed in the bug report, and cannot reproduce the bug.

Weird

> However, your version of perl isn't listed in the dependencies -
> could you please send me that just to be sure?

5.8.7-3

> Also, can you tell me the scenario in which you're using clusterssh?
> Are you running it locally, or remotely and then exporting your
> DISPLAY?

Locally.

> Do you happen to be running X.org?

I'm running the XFree86 X server, xserver-xfree86 version
4.3.0.dfsg.1-1.

There's nothing special to mention about my configuration.

> Anyway, if 3.16.1 works for you, I suggest you revert to that

Sure, but I'm probably not the only one to get the same problem. We
have to fix this issue.

> (let me know you'd like me to email you a recent .deb) while I work
> through all of the differences between that and the most current
> version.

I would like to test your recent .deb but please don't send them by
email.  Could you please provide a web link to it instead?

Thanks.
-- 
Cyril Bouthors


pgp6Ka6QAPhxA.pgp
Description: PGP signature


Bug#316479: clusterssh: cssh does not start and complains about X11/Protocol.pm

2005-07-02 Thread tony mancill
Cyril Bouthors wrote:

> Tony, if you are not able to reproduce the bug, please check that you
> have the exact same version of the package and its deps.

I have the exact same versions of the package and all of the
dependencies listed in the bug report, and cannot reproduce the bug.
However, your version of perl isn't listed in the dependencies - could
you please send me that just to be sure?

Also, can you tell me the scenario in which you're using clusterssh?
Are you running it locally, or remotely and then exporting your DISPLAY?
 Do you happen to be running X.org?  The line indicated where
X11::Protocol is failing is in the code that establishes a connection
with your X-server, and from what it seems, particularly the section
dealing with authorization.

Anyway, if 3.16.1 works for you, I suggest you revert to that (let me
know you'd like me to email you a recent .deb) while I work through all
of the differences between that and the most current version.

Thanks,
tony


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#316479: clusterssh: cssh does not start and complains about X11/Protocol.pm

2005-07-02 Thread Cyril Bouthors
I forgot to mention that uxterm has always been working with cssh
before my last upgrade.
-- 
Cyril Bouthors


pgpBkjuFeeUu9.pgp
Description: PGP signature


Bug#316479: clusterssh: cssh does not start and complains about X11/Protocol.pm

2005-07-02 Thread Cyril Bouthors
On 1 Jul 2005, tony mancill wrote:
> Correction to my previous response: uxterm doesn't background
> itself, it simply calls the first xterm in the path and not
> /usr/X11R6/bin/xterm explicitly.

This bug has nothing to do with my configuration since I'm able to
reproduce it with this minimal configuration:

[EMAIL PROTECTED]:~$ cat ~/.csshrc
clusters = web

web = lb1.jexiste.org
[EMAIL PROTECTED]:~$ cssh web
Can't read:  at /usr/share/perl5/X11/Protocol.pm line 2301
[EMAIL PROTECTED]:~$ 

Tony, if you are not able to reproduce the bug, please check that you
have the exact same version of the package and its deps.

Thanks.
-- 
Cyril Bouthors


pgpkYxs5tslfi.pgp
Description: PGP signature


Bug#316479: clusterssh: cssh does not start and complains about X11/Protocol.pm

2005-07-01 Thread tony mancill
Correction to my previous response: uxterm doesn't background itself, it
simply calls the first xterm in the path and not /usr/X11R6/bin/xterm
explicitly.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#316479: clusterssh: cssh does not start and complains about X11/Protocol.pm

2005-07-01 Thread tony mancill
Thanks for the bug report; I'm still trying to reproduce this on my
system.  Here are a couple of notes:

* uxterm backgrounds itself after opening the terminal window, and hence
is not going to work with clusterssh at this time.  I don't think it's
ever worked, and this is noted in the README.Debian file.  I'll make the
note more prominent in the next release.

* aterm has a problem with the -xrm switch that cssh is tacking on.
This is a separate bug, and I will address it.

* cx_args is no longer used by the script

* You have the cluster "shell" listed twice in your clusters line.  This
isn't related to the bug, but I'll have to do some testing to see if
might cause other problems.

I'm curious to know if your problem began with the 3.17.1 version.
Could you attempt your cssh with "terminal = xterm" just to validate
that the script still works for you with configuration?

Cheers,
tony


Cyril Bouthors wrote:
> Package: clusterssh
> Version: 3.17.1-1
> Severity: grave
> 
> When I try to run cssh, I get the following error:
> 
> [EMAIL PROTECTED]:~$ cssh lb
> Can't read:  at /usr/share/perl5/X11/Protocol.pm line 2301
> [EMAIL PROTECTED]:~$
> 
> Here's my ~/.csshrc :
> 
> #terminal = aterm
> terminal = uxterm
> terminal_options = ""
> always_tile = yes
> cx_args = "-Ct lb1.jexiste.org ssh"
> 
> clusters = web sql lb mail shell ns shell test nfs
> # backup
> 
> web = web1 web2 web3 web4 web5 web6 web7 web8 web9 web10 web11 web12 web13 
> web14 web15 web16 web17 web18
> sql = sqla1 sqlb1 sqla2 sqlb2 sqla3 sqlb3 sqla4 sqlb4
> lb = lb1 lb2
> mail = mail1 mail2
> shell = shell1 shell2
> ns = ns1 ns2
> nfs = nfsa1 nfsa2 nfsb2 nfsa3 nfsb3 nfsa4 nfsb4
> 
> -- System Information:
> Debian Release: testing/unstable
>   APT prefers unstable
>   APT policy: (500, 'unstable')
> Architecture: i386 (i686)
> Shell:  /bin/sh linked to /bin/bash
> Kernel: Linux 2.6.10-1-386
> Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> 
> Versions of packages clusterssh depends on:
> ii  aterm [x-terminal-emulat 0.4.2-11Afterstep XVT - a VT102 emulator 
> f
> ii  eterm [x-terminal-emulat 0.9.2-8 Enlightened Terminal Emulator
> ii  gnome-terminal [x-termin 2.10.0-2The GNOME 2 terminal emulator 
> appl
> ii  libx11-protocol-perl 0.53-2  Perl module for the X Window 
> Syste
> ii  openssh-client   1:4.1p1-4   Secure shell client, an 
> rlogin/rsh
> ii  perl-tk  1:800.025-2 Perl module providing the Tk 
> graph
> ii  xterm [x-terminal-emulat 4.3.0.dfsg.1-14 X terminal emulator
> 
> clusterssh recommends no packages.
> 
> -- no debconf information
> 



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Bug#316479: clusterssh: cssh does not start and complains about X11/Protocol.pm

2005-07-01 Thread Cyril Bouthors
Package: clusterssh
Version: 3.17.1-1
Severity: grave

When I try to run cssh, I get the following error:

[EMAIL PROTECTED]:~$ cssh lb
Can't read:  at /usr/share/perl5/X11/Protocol.pm line 2301
[EMAIL PROTECTED]:~$

Here's my ~/.csshrc :

#terminal = aterm
terminal = uxterm
terminal_options = ""
always_tile = yes
cx_args = "-Ct lb1.jexiste.org ssh"

clusters = web sql lb mail shell ns shell test nfs
# backup

web = web1 web2 web3 web4 web5 web6 web7 web8 web9 web10 web11 web12 web13 
web14 web15 web16 web17 web18
sql = sqla1 sqlb1 sqla2 sqlb2 sqla3 sqlb3 sqla4 sqlb4
lb = lb1 lb2
mail = mail1 mail2
shell = shell1 shell2
ns = ns1 ns2
nfs = nfsa1 nfsa2 nfsb2 nfsa3 nfsb3 nfsa4 nfsb4

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.10-1-386
Locale: LANG=C, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages clusterssh depends on:
ii  aterm [x-terminal-emulat 0.4.2-11Afterstep XVT - a VT102 emulator f
ii  eterm [x-terminal-emulat 0.9.2-8 Enlightened Terminal Emulator
ii  gnome-terminal [x-termin 2.10.0-2The GNOME 2 terminal emulator appl
ii  libx11-protocol-perl 0.53-2  Perl module for the X Window Syste
ii  openssh-client   1:4.1p1-4   Secure shell client, an rlogin/rsh
ii  perl-tk  1:800.025-2 Perl module providing the Tk graph
ii  xterm [x-terminal-emulat 4.3.0.dfsg.1-14 X terminal emulator

clusterssh recommends no packages.

-- no debconf information

-- 
Cyril Bouthors


pgpEV7qDA4iEk.pgp
Description: PGP signature