Re: Xorg reconfigure on keyboard/VGA screen connect with systemd?

2015-11-12 Thread Julien Cristau
On Thu, Nov 12, 2015 at 18:49:00 +1300, martin f krafft wrote:

> Hello,
> 
> Can I use systemd to automatically run scripts as the owner of an
> X session when a USB keyboard or a VGA screen are connected to the
> local machine? Or what other mechanism would you use?
> 
It should be easy enough to write an X client listening for DeviceNotify
(for new input devices) or ConfigureNotify (for output changes) on the
root window.  gnome-settings-daemon has a "hotplug-command" under
org.gnome.settings-daemon.peripherals.input-devices in its settings that
can do the former at least.

Cheers,
Julien


signature.asc
Description: PGP signature


Re: xserver-xorg-video-intel does sometimes not resume

2011-09-20 Thread Julien Cristau
On Tue, Sep 20, 2011 at 12:32:46 +0200, Rainer Dorsch wrote:

 Hello,
 
 I have occasionally (maybe once a week) the problem, that my system does not 
 resume after a suspend. To be precise: the screen has no signal, but the 
 system itself is up an running (and re-suspends after 10 minutes of 
 inactivity 
 as configured). When I resume the re-suspend, that usually works. I.e. here 
 the 
 complete sequence:
 
 1. System suspends
 2. Resume, but occasionally no video signal available
 3. System re-suspends automatically after 10 minutes of inactivity
 4. Resume usually works (or sampling rate too small to hit the problem)
 
 I am wondering what I could do to figure out the root cause of the problem. I 
 forgot to try, but I assume, that I could ssh into the machine and do some 
 diagnosis, when the problem occurs. Are there logs which could help? I attach 
 the syslog below...
 
Boot with drm.debug=6 and compare dmesg from a successful vs failed
resume.

Cheers,
Julien


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20110920183223.gz3...@radis.liafa.jussieu.fr



Re: IPv4-capable XDMCP server in Debian squeeze?

2010-05-29 Thread Julien Cristau
On Sat, May 29, 2010 at 22:32:07 +0300, Per Lundberg wrote:

  Isn't there any XDMCP-capable server available in squeeze that can
  speak ipv4 any more?

I'm fairly sure xdmcp over ipv4 works just fine with both xdm and gdm in
squeeze, because I tested them (and made them work with the bindv6only=1
setting) a month or two ago.

Cheers,
Julien


signature.asc
Description: Digital signature


Re: IPv4-capable XDMCP server in Debian squeeze?

2010-05-29 Thread Julien Cristau
On Sat, May 29, 2010 at 23:16:06 +0300, Per Lundberg wrote:

 On Sat, May 29, 2010 at 10:54 PM, Julien Cristau jcris...@debian.org wrote:
 
 Hi Julien,
 
  I'm fairly sure xdmcp over ipv4 works just fine with both xdm and gdm in
  squeeze, because I tested them (and made them work with the bindv6only=1
  setting) a month or two ago.
 
 OK, that's interesting... Just for the sake of it, I even tried
 enabling the bindv6only (net.ipv6.bindv6only=1) setting, to see if it
 would make any difference. Negative; it still only binds to the udp6
 socket.
 
 p...@terah:/etc/sysctl.d$ sudo netstat -l -n -p | grep 177
 udp6   0  0 :::177  :::*
  1632/xdm
 
That's fine, bind() on in6addr_any lets you receive ipv4 packets when
IPV6_V6ONLY is turned off (which xdm does even if the system default is
backwards).

 Do you have any active XDM setup where you could try this yourself? As
 I hinted in my previous email, I'm not 100% sure of this, but doesn't
 the above udp6 line mean that it will *only* work from an ipv6-capable
 client...?

Sorry, I can't test right now, but no, as I said above an udp6 socket
can talk to ipv4 hosts.

Cheers,
Julien


signature.asc
Description: Digital signature


Re: Bug#522358: AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed

2009-04-28 Thread Julien Cristau
On Fri, Apr 24, 2009 at 10:20:32 +0800, jida...@jidanni.org wrote:

 I wonder how to stop this error.
  (EE) AIGLX error: dlopen of /usr/lib/dri/swrast_dri.so failed 
 (/usr/lib/dri/swrast_dri.so: cannot open shared object file: No such file or 
 directory)
  (EE) GLX: could not load software renderer
  (II) GLX: no usable GL providers found for screen 0
 
 I don't use my computer to render anything fancy, so perhaps it is
 assuming that I have certain packages installed.

And you're sending this to an unrelated bug report because...?

Cheers,
Julien


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



Re: Updated Squeeze, X won't start

2009-04-13 Thread Julien Cristau
On Sun, Apr 12, 2009 at 19:54:11 +0200, Sven Joachim wrote:

  So is this a temporary problem that the X developers will quickly fix? 
 
 No, you need to fix it yourself.

Actually it gets fixed up by the upgrade to xserver-xorg from sid, we
just didn't expect the xserver-xorg-video-via removal to happen before
that.

Cheers,
Julien


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



Re: X and tty7

2009-04-13 Thread Julien Cristau
On Sun, Apr 12, 2009 at 14:35:28 +0200, Sven Joachim wrote:

 I don't use gdm, but this behavior seems broken to me.  Why can't it
 just use the first available VT by default, like the X server does by
 itself?
 
There's a race if you start both X and getty at the same time, and both
decide that vt N is available.  Configuring them to use fixed, distinct
VTs is more robust.

Cheers,
Julien


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



Re: Bug#468103: DISPLAY variable not set in ssh session

2008-03-18 Thread Julien Cristau
On Tue, Feb 26, 2008 at 19:40:56 -0500, Rick Thomas wrote:

 It looks like the xterm package needs to depend on the xauth package -- 
 or at least recommend it.

No, this has nothing to do with xterm.  openssh-server already suggests
xauth (or actually xbase-clients), and documents why in README.Debian.

Cheers,
Julien


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



Re: libpango update broke iceape synaptic and more

2007-09-04 Thread Julien Cristau
On Tue, Sep  4, 2007 at 23:39:46 +0100, Steve Kemp wrote:

   I see it too, on my AMD64 system:
 
   [EMAIL PROTECTED]:~$ firefox 
   /usr/lib/iceweasel/firefox-bin: symbol lookup error: 
 /usr/lib/libpangoft2-1.0.so.0: undefined symbol: g_once_init_enter_impl
 
   Interestingly the symbol is defined:
 
   [EMAIL PROTECTED]:~$ nm -D /usr/lib/libpangoft2-1.0.so.0 |grep g_once_
U g_once_init_enter_impl
U g_once_init_leave
 
U means undefined.  That symbol presumably comes from glib.

Cheers,
Julien


signature.asc
Description: Digital signature