Bug#489141: xserver-xorg: X server sometimes refuses local xclients to connect

2011-02-25 Thread Cyril Brulebois
Hi Michael,

Michael Hanke michael.ha...@gmail.com (09/02/2009):
 Yes, it still happens -- less frequently then before, but since the
 whole thing seems to have some random element I would not put any
 weight on that observation.

still happening with squeeze or higher? Is your $HOME on a particular
(e.g. network-based) filesystem?

KiBi.


signature.asc
Description: Digital signature


Bug#489141: xserver-xorg: X server sometimes refuses local xclients to connect

2011-02-25 Thread Michael Hanke
Hi Cyril,

On Fri, Feb 25, 2011 at 11:27:12PM +0100, Cyril Brulebois wrote:
 Michael Hanke michael.ha...@gmail.com (09/02/2009):
  Yes, it still happens -- less frequently then before, but since the
  whole thing seems to have some random element I would not put any
  weight on that observation.
 
 still happening with squeeze or higher? Is your $HOME on a particular
 (e.g. network-based) filesystem?

Unfortunately, I won't have physical access to the machines that showed
that behavior for the next months and I don't think they have been
upgraded to squeeze yet.

Sorry,

Michael

-- 
Michael Hanke
http://mih.voxindeserto.de



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110226004340.GA5666@meiner



Bug#489141: xserver-xorg: X server sometimes refuses local xclients to connect

2009-02-09 Thread Michael Hanke
Sorry, for the delay.

On Mon, Feb 02, 2009 at 07:11:02AM +0100, Michael Hanke wrote:
 On Sun, Feb 01, 2009 at 09:37:11PM +0100, Brice Goglin wrote:
  On Thu, Jul 03, 2008 at 02:20:26PM +0200, Michael Hanke wrote:
   
   first I have to say that I am not sure if this is the appropriate place
   to report this bug. However, I have no clue what causes it, which makes
   it difficult for me to convince myself that it was not reported
   elsewhere or what place would be more appropriate. So, I'd be glad if
   you could forward this any other/better place. Thanks.
   
   Since a few weeks I'm experiencing the situation that from time to time
   local X clients cannot connect to the local X server:
   
 ha...@balin:~$ xcalc
 No protocol specified
 Error: Can't open display: :0
  
  Does this still happen with latest packages?

Yes, it still happens -- less frequently then before, but since the
whole thing seems to have some random element I would not put any weight
on that observation.

Thanks,

Michael

-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#489141: xserver-xorg: X server sometimes refuses local xclients to connect

2009-02-01 Thread Brice Goglin
On Thu, Jul 03, 2008 at 02:20:26PM +0200, Michael Hanke wrote:
 
 first I have to say that I am not sure if this is the appropriate place
 to report this bug. However, I have no clue what causes it, which makes
 it difficult for me to convince myself that it was not reported
 elsewhere or what place would be more appropriate. So, I'd be glad if
 you could forward this any other/better place. Thanks.
 
 Since a few weeks I'm experiencing the situation that from time to time
 local X clients cannot connect to the local X server:
 
   ha...@balin:~$ xcalc
   No protocol specified
   Error: Can't open display: :0

Does this still happen with latest packages?

Brice




-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#489141: xserver-xorg: X server sometimes refuses local xclients to connect

2009-02-01 Thread Michael Hanke
On Sun, Feb 01, 2009 at 09:37:11PM +0100, Brice Goglin wrote:
 On Thu, Jul 03, 2008 at 02:20:26PM +0200, Michael Hanke wrote:
  
  first I have to say that I am not sure if this is the appropriate place
  to report this bug. However, I have no clue what causes it, which makes
  it difficult for me to convince myself that it was not reported
  elsewhere or what place would be more appropriate. So, I'd be glad if
  you could forward this any other/better place. Thanks.
  
  Since a few weeks I'm experiencing the situation that from time to time
  local X clients cannot connect to the local X server:
  
  ha...@balin:~$ xcalc
  No protocol specified
  Error: Can't open display: :0
 
 Does this still happen with latest packages?

I did still happen last week, but I will check again today.

In the meantime I investigated whether clock differences caused
this behavior, but syncronizing server and client with NTP did not help.


Michael

-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050



-- 
To UNSUBSCRIBE, email to debian-x-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#489141: xserver-xorg: X server sometimes refuses local xclients to connect

2008-11-28 Thread Raoul Borenius
Hi,

I'm seeing the same problem since my upgrade to lenny, /home is an
NFS-mount.

In my case the problem does not disappear by itself but I always need
to do run 'mount -o remount,rw /home' on the NFS-client which solves
the problem for some time.

Both client and server are up-to-date lenny-systems:

client:

nfs-common   1:1.1.2-6lenny1

server:

nfs-common   1:1.1.2-6lenny1
nfs-kernel-server1:1.1.2-6lenny1

/etc/exports:

/home   calvin(rw,async,no_root_squash,no_subtree_check)

/etc/fstab:

gw:/home /home   nfs rsize=32768,wsize=32768,intr 0 0

This configuration did work without any problems for several years
up to and including 'etch'.

If there's anything I can do to narrow down the problem I'll be happy
to do it.

P.S.: running 'xauth list :0' instead of 'mount -o remount,rw /home'
as suggested by Michael Hanke does also solve the problem in my case:

[EMAIL PROTECTED]:~$ xclock
No protocol specified
Error: Can't open display: :0.0
[EMAIL PROTECTED]:~$ xauth list :0
calvin/unix:0  MIT-MAGIC-COOKIE-1  8acb0bbe4feaeb354a32d9c0ea683f8a
[EMAIL PROTECTED]:~$ xclock
 (works)

Raoul



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



Bug#489141: xserver-xorg: X server sometimes refuses local xclients to connect

2008-10-17 Thread Gernot Salzer
Hi,

I want to confirm that I'm experiencing the same problem after a fresh lenny
install:
Occasionally, for an interval of about a minute the xserver seems to block
new connections. X applications started during this time return
messages like

$ xterm
No protocol specified
xterm Xt error: Can't open display: :0.0

The same for iceweasel, xcalc etc.

Michael noted that accessing .Xauthority (rather, the home directory)
with ls solves the problem immediately.
Might some NFS-related delays be part of the problem?
At least in my case the home directory is on an nfs-mount.

Gernot

P.S.: I'm not sure which information might be helpful.
xserver-xorg 1:7.3+18
xserver-xorg-core2:1.4.2-7
xserver-xorg-video-intel 2:2.3.2-2+lenny4
nfs-common   1:1.1.2-6
nfs-kernel-server1:1.1.2-6

NFS-server:
nfs-common1.0.10-6+etch.1
nfs-kernel-server 1.0.10-6+etch.1



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



Bug#489141: xserver-xorg: X server sometimes refuses local xclients to connect

2008-08-21 Thread Michael Hanke

Hi,

I'm still seeing this behavior occasionally. But recently I'm made
another observation. During the time when no X clients can cannot I see
this:

[EMAIL PROTECTED]:~$ xauth list :0
xauth:  /home/hanke/.Xauthority not writable, changes will be ignored
balin/unix:0  MIT-MAGIC-COOKIE-1  18f7c5d44dfa751698177b1e48daab42

When looking at the permission, I have:

[EMAIL PROTECTED]:~$ ll .Xauthority 
-rw--- 1 hanke users 2,4K 21. Aug 10:52 .Xauthority


but now, the next call to xauth looks _always_ (n=10 so far) like
this:

[EMAIL PROTECTED]:~$ xauth list :0
balin/unix:0  MIT-MAGIC-COOKIE-1  18f7c5d44dfa751698177b1e48daab42


and after that the problem is _always_ fixed, ie. client can connect
again. The timing seems to be irrelevant, as soon as I do this, no
matter how quick or slow after I discovered the problem, it is fixed.


HTH,

Michael



-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050



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



Bug#489141: xserver-xorg: X server sometimes refuses local xclients to connect

2008-07-10 Thread Michael Hanke

On Thu, Jul 03, 2008 at 02:35:35PM +0200, Julien Cristau wrote:
 On Thu, Jul  3, 2008 at 14:20:26 +0200, Michael Hanke wrote:
 
  Since a few weeks I'm experiencing the situation that from time to time
  local X clients cannot connect to the local X server:
  
  [EMAIL PROTECTED]:~$ xcalc
  No protocol specified
  Error: Can't open display: :0
  
  
  While at the same time foreign clients (via SSH connection) can connect
  without problems:
  
  [EMAIL PROTECTED]:/media/local2/working/hanke/catface2$ xcalc
  Warning: Cannot convert string calculator to type Pixmap
  Warning: Cannot convert string 
  gray3?foreground=gray70background=gray85 to type Pixmap
  
 What's the value of $DISPLAY in both cases?
 If you could install libx11-6-dbg (and maybe libxcb-xlib0-dbg and
 libxcb1-dbg) and trace what's happening when this fails, using gdb,
 that would probably help a lot.

Sorry for the delay, the bug only hit me a few times since I reported it
and lasted only for a few seconds (at least after I discovered it). But
now it happended again. I have:

[EMAIL PROTECTED]:~$ apt-show-versions | grep 'libx.*-dbg'
libx11-6-dbg/lenny uptodate 2:1.1.4-2
libxcb1-dbg/lenny uptodate 1.1-1.1


and here it happens:


[EMAIL PROTECTED]:~$ xcalc
No protocol specified
Error: Can't open display: :0.0
[EMAIL PROTECTED]:~$ echo $DISPLAY
:0.0
[EMAIL PROTECTED]:~$ gdb xcalc
GNU gdb 6.7.1-debian
Copyright (C) 2007 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type show copying
and show warranty for details.
This GDB was configured as i486-linux-gnu...
(no debugging symbols found)
Using host libthread_db library /lib/i686/cmov/libthread_db.so.1.
(gdb) run
Starting program: /usr/bin/xcalc
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
No protocol specified
Error: Can't open display: :0.0

Program exited with code 01.
(gdb)


After a approx. a minute things are working again:

[EMAIL PROTECTED]:~$ xcalc
Warning: Cannot convert string calculator to type Pixmap
Warning: Cannot convert string gray3?foreground=gray70background=gray85 to 
type Pixmap
[EMAIL PROTECTED]:~$ echo $DISPLAY
:0.0



Does this help? Should I do anything special with GDB?


Thanks,

Michael


-- 
GPG key:  1024D/3144BE0F Michael Hanke
http://apsy.gse.uni-magdeburg.de/hanke
ICQ: 48230050



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



Bug#489141: xserver-xorg: X server sometimes refuses local xclients to connect

2008-07-03 Thread Michael Hanke
Package: xserver-xorg
Version: 1:7.3+10
Severity: normal


Hi,


first I have to say that I am not sure if this is the appropriate place
to report this bug. However, I have no clue what causes it, which makes
it difficult for me to convince myself that it was not reported
elsewhere or what place would be more appropriate. So, I'd be glad if
you could forward this any other/better place. Thanks.

Since a few weeks I'm experiencing the situation that from time to time
local X clients cannot connect to the local X server:

[EMAIL PROTECTED]:~$ xcalc
No protocol specified
Error: Can't open display: :0


While at the same time foreign clients (via SSH connection) can connect
without problems:

[EMAIL PROTECTED]:/media/local2/working/hanke/catface2$ xcalc
Warning: Cannot convert string calculator to type Pixmap
Warning: Cannot convert string 
gray3?foreground=gray70background=gray85 to type Pixmap


This appears to happen randomly and this situation resolves itself after
a few minutes.

I first discovered this issue on a machine at work which is running lenny
(from which I am filing this report). But recently it also started to
happen on my laptop and my home desktop machine. While I cannot
determine the exact time where the problem started on the 'work' machine
(which I update almost daily) I was able to track it down to a single
APT upgrade on my desktop machine. Unfortunately, (as I do not upgrade
it that often) it involves almost 700 packages, so I'm not sure whether
this really adds useful information. But I can nevertheless provide it,
if helpful.

I also tried looking whether the xauth would provide something helpful,
but this output looks identical in both cases:

[EMAIL PROTECTED]:~$ xauth list
balin:0  MIT-MAGIC-COOKIE-1  1bacbd81d88b69b5d089c69454cac1a6
[fe80::219:99ff:fe2b:e81c]:0  MIT-MAGIC-COOKIE-1  
1bacbd81d88b69b5d089c69454cac1a6
balin/unix:0  MIT-MAGIC-COOKIE-1  1bacbd81d88b69b5d089c69454cac1a6


Help is very much appreciated.


Thanks in advance,

Michael


-- Package-specific info:
/var/lib/x11/X.roster does not exist.

/var/lib/x11/X.md5sum does not exist.

X server symlink status:
lrwxrwxrwx 1 root root 13 17. Apr 09:41 /etc/X11/X - /usr/bin/Xorg
-rwxr-xr-x 1 root root 1717748  9. Jun 15:34 /usr/bin/Xorg

Contents of /var/lib/x11/xorg.conf.roster:
xserver-xorg

VGA-compatible devices on PCI bus:
00:02.0 VGA compatible controller: Intel Corporation 82Q35 Express Integrated 
Graphics Controller (rev 02)

/etc/X11/xorg.conf unchanged from checksum in /var/lib/x11/xorg.conf.md5sum.

Xorg X server configuration file status:
-rw-r--r-- 1 root root 1737 17. Apr 13:13 /etc/X11/xorg.conf

Contents of /etc/X11/xorg.conf:
# xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the xorg.conf manual page.
# (Type man xorg.conf at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following command:
#   sudo dpkg-reconfigure -phigh xserver-xorg

Section Files
EndSection

Section InputDevice
Identifier  Generic Keyboard
Driver  kbd
Option  CoreKeyboard
Option  XkbRules  xorg
Option  XkbModel  pc105
Option  XkbLayout de
Option  XkbVariantnodeadkeys
EndSection

Section InputDevice
Identifier  Configured Mouse
Driver  mouse
Option  CorePointer
Option  Device/dev/input/mice
Option  Protocol  ImPS/2
Option  Emulate3Buttons   true
EndSection

Section Device
Identifier  Intel Corporation 82Q35 Express Integrated Graphics 
Controller
Driver  intel
BusID   PCI:0:2:0
EndSection

Section Monitor
Identifier  P24-1W
Option  DPMS
HorizSync   30-82
VertRefresh 55-76
EndSection

Section Screen
Identifier  Default Screen
Device  Intel Corporation 82Q35 Express Integrated Graphics 
Controller
Monitor P24-1W
DefaultDepth16
SubSection Display
Modes   1920x1200 1280x1024 1024x768 800x600 
640x480
EndSubSection
EndSection

Section ServerLayout
Identifier  Default Layout
Screen  Default Screen
InputDevice Generic Keyboard
InputDevice Configured Mouse
EndSection


Xorg X server log files on system:
-rw-r--r-- 1 root root 38186  3. Jul 13:52 /var/log/Xorg.0.log

Contents of most recent 

Bug#489141: xserver-xorg: X server sometimes refuses local xclients to connect

2008-07-03 Thread Julien Cristau
On Thu, Jul  3, 2008 at 14:20:26 +0200, Michael Hanke wrote:

 Since a few weeks I'm experiencing the situation that from time to time
 local X clients cannot connect to the local X server:
 
   [EMAIL PROTECTED]:~$ xcalc
   No protocol specified
   Error: Can't open display: :0
 
 
 While at the same time foreign clients (via SSH connection) can connect
 without problems:
 
   [EMAIL PROTECTED]:/media/local2/working/hanke/catface2$ xcalc
   Warning: Cannot convert string calculator to type Pixmap
   Warning: Cannot convert string 
 gray3?foreground=gray70background=gray85 to type Pixmap
 
What's the value of $DISPLAY in both cases?  If you could install
libx11-6-dbg (and maybe libxcb-xlib0-dbg and libxcb1-dbg) and trace
what's happening when this fails, using gdb, that would probably help a
lot.

Cheers,
Julien



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