Re: xserver-xorg-video-nouveau removes xserver-xorg-input-kbd xserver-xorg-input-mouse and others

2011-09-18 Thread Rainer Dorsch
Hi Rhonda,

thanks for the quick reply. Worked indeed. The only challenge beyond that was 
that also needed to upgrade the kernel, otherwise I saw in /var/log/Xorg.log.0

(EE) [drm] failed to open device

and the backported xserver-xorg-video-nouveau did not get up.

Is there a better place to document this (or even enforce by a dependency?) 
than the mailing list archive here?

Thanks,
Rainer

Am Freitag 09 September 2011, 16:17:13 schrieb Gerfried Fuchs:
>Hi, Rainer.
> 
> * Rainer Dorsch  [2011-09-09 14:03:01 CEST]:
> > Hello,
> > 
> > I am wondering why upgrading xserver-xorg-video-nouveau removes the
> > keyboard and mouse input modules xserver-xorg-input-kbd
> > xserver-xorg-input-mouse. Are they not needed anymore with the new
> > version of xorg?
> 
>  On this very list, not too long ago:
> 
> 
>  Enjoy,
> Rhonda


-- 
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/201109181523.32428...@bokomoko.de



Re: xserver-xorg-video-nouveau removes xserver-xorg-input-kbd xserver-xorg-input-mouse and others

2011-09-18 Thread Cyril Brulebois
Rainer Dorsch  (18/09/2011):
> Is there a better place to document this (or even enforce by a dependency?) 
> than the mailing list archive here?

Like that one?
  http://x.debian.net/reference/squeeze-backports.html

Mraw,
KiBi.


signature.asc
Description: Digital signature


Re: xserver-xorg-video-nouveau removes xserver-xorg-input-kbd xserver-xorg-input-mouse and others

2011-09-18 Thread Julien Cristau
On Sun, Sep 18, 2011 at 15:23:32 +0200, Rainer Dorsch wrote:

> Hi Rhonda,
> 
> thanks for the quick reply. Worked indeed. The only challenge beyond that was 
> that also needed to upgrade the kernel, otherwise I saw in /var/log/Xorg.log.0
> 
> (EE) [drm] failed to open device
> 
> and the backported xserver-xorg-video-nouveau did not get up.
> 
> Is there a better place to document this (or even enforce by a dependency?) 
> than the mailing list archive here?
> 
$ dpkg --fsys-tarfile 
../xserver-xorg-video-nouveau_0.0.16+git20110411+8378443-1_amd64.deb | tar xOf 
- ./usr/share/doc/xserver-xorg-video-nouveau/NEWS.Debian.gz | zcat
xserver-xorg-video-nouveau (1:0.0.16+git20100518+4b8f1a0-1) experimental; 
urgency=low

  This version of xserver-xorg-video-nouveau is linked against a newer
  libdrm-nouveau which breaks the ABI and is not compatible with kernels
  <= 2.6.33.  You need to upgrade the kernel to 2.6.34-rc1 or newer.

 -- Sven Joachim   Sat, 22 May 2010 10:22:42 +0200

That should show up automatically on package installation if you have
apt-listchanges installed (which you really should).

Cheers,
Julien


-- 
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/20110918140051.gr3...@radis.liafa.jussieu.fr



Bug#642012: x11-common: ssh-agent Xsession script does not check if gpg-agent will enable SSH support

2011-09-18 Thread Luca Capello
Package: x11-common
Version: 1:7.6+8
Severity: important
File: /etc/X11/Xsession.d/90x11-common_ssh-agent
Affects: openssh-client gnupg-agent
Tags: patch

Hi there!

As the title suggests, if you install both openssh-client and
gnupg-agent and you enable the SSH support in the latter, ssh-agent is
anyway started by the Xsession script:
=
$ ps aux | grep agent
luca 16399  0.0  0.0  12236   304 ?Ss   16:09   0:00 \
 /usr/bin/ssh-agent \
 /usr/bin/gpg-agent --daemon --sh 
--write-env-file=/home/luca/.gnupg/gpg-agent-info-gismo \
 /usr/bin/ck-launch-session \
 /usr/bin/dbus-launch --exit-with-session /home/luca/.xsession

luca 16400  0.0  0.0  18968   424 ?Ss   16:09   0:00 \
 /usr/bin/gpg-agent --daemon --sh 
--write-env-file=/home/luca/.gnupg/gpg-agent-info-gismo \
 /usr/bin/ck-launch-session \
 /usr/bin/dbus-launch --exit-with-session /home/luca/.xsession

$ ls -l /tmp | grep -e gpg -e ssh
drwx-- 2 luca luca  60 Sep 18 16:09 gpg-0drpxf
drwx-- 2 luca luca  60 Sep 18 16:09 gpg-xSZr4Z
drwx-- 2 luca luca  60 Sep 18 16:09 ssh-GmzGjVQ16373

$ grep -s '^[[:space:]]*use-agent' ~/.gnupg/gpg.conf
use-agent

$ grep -s '^[[:space:]]*enable-ssh-support' ~/.gnupg/gpg-agent.conf
enable-ssh-support

$ export | grep -e GPG -e SSH
declare -x GPG_AGENT_INFO="/tmp/gpg-0drpxf/S.gpg-agent:16400:1"
declare -x SSH_AGENT_PID="16400"
declare -x SSH_AUTH_SOCK="/tmp/gpg-xSZr4Z/S.gpg-agent.ssh"
=

Indeed the check for $SSH_AUTH_SOCK is not enough: this variable is not
set given that gpg-agent has not been started yet.  Here is the patch:

--8<---cut here---start->8---
--- 90x11-common_ssh-agent.ORG
+++ 90x11-common_ssh-agent
@@ -9,10 +9,15 @@
 if has_option use-ssh-agent; then
   if [ -x "$SSHAGENT" ] && [ -z "$SSH_AUTH_SOCK" ] \
  && [ -z "$SSH2_AUTH_SOCK" ]; then
-STARTSSH=yes
-if [ -f /usr/bin/ssh-add1 ] && cmp -s $SSHAGENT /usr/bin/ssh-agent2; then
-  # use ssh-agent2's ssh-agent1 compatibility mode
-  SSHAGENTARGS=-1
+# check if gpg-agent will be started with SSH support
+: ${GNUPGHOME=$HOME/.gnupg}
+if ! ( grep -qs '^[[:space:]]*use-agent' "$GNUPGHOME/gpg.conf" && \
+   grep -qs '^[[:space:]]*enable-ssh-support' 
"$GNUPGHOME/gpg-agent.conf" ); then
+  STARTSSH=yes
+  if [ -f /usr/bin/ssh-add1 ] && cmp -s $SSHAGENT /usr/bin/ssh-agent2; then
+# use ssh-agent2's ssh-agent1 compatibility mode
+SSHAGENTARGS=-1
+  fi
 fi
   fi
 fi
--8<---cut here---end--->8---

Thx, bye,
Gismo / Luca

-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.1.0-rc4-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages x11-common depends on:
ii  debconf [debconf-2.0]  1.5.41
ii  lsb-base   3.2-28

x11-common recommends no packages.

x11-common suggests no packages.

-- debconf information:
  x11-common/xwrapper/allowed_users: Console Users Only
  x11-common/xwrapper/actual_allowed_users: console


pgpD2U5wY5cVK.pgp
Description: PGP signature


Bug#642012: x11-common: ssh-agent Xsession script does not check if gpg-agent will enable SSH support

2011-09-18 Thread Julien Cristau
On Sun, Sep 18, 2011 at 16:53:13 +0200, Luca Capello wrote:

> --8<---cut here---start->8---
> --- 90x11-common_ssh-agent.ORG
> +++ 90x11-common_ssh-agent
> @@ -9,10 +9,15 @@
>  if has_option use-ssh-agent; then
>if [ -x "$SSHAGENT" ] && [ -z "$SSH_AUTH_SOCK" ] \
>   && [ -z "$SSH2_AUTH_SOCK" ]; then
> -STARTSSH=yes
> -if [ -f /usr/bin/ssh-add1 ] && cmp -s $SSHAGENT /usr/bin/ssh-agent2; then
> -  # use ssh-agent2's ssh-agent1 compatibility mode
> -  SSHAGENTARGS=-1
> +# check if gpg-agent will be started with SSH support
> +: ${GNUPGHOME=$HOME/.gnupg}
> +if ! ( grep -qs '^[[:space:]]*use-agent' "$GNUPGHOME/gpg.conf" && \
> +   grep -qs '^[[:space:]]*enable-ssh-support' 
> "$GNUPGHOME/gpg-agent.conf" ); then
> +  STARTSSH=yes
> +  if [ -f /usr/bin/ssh-add1 ] && cmp -s $SSHAGENT /usr/bin/ssh-agent2; 
> then
> +# use ssh-agent2's ssh-agent1 compatibility mode
> +SSHAGENTARGS=-1
> +  fi
>  fi
>fi
>  fi
> --8<---cut here---end--->8---
> 
NAK, as far as I'm concerned this script has no business looking around
in gpg.conf.

Cheers,
Julien


signature.asc
Description: Digital signature


Processed: Re: Bug#642012: x11-common: ssh-agent Xsession script does not check if gpg-agent will enable SSH support

2011-09-18 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> affects 642012 + openssh-client gnupg-agent
Bug #642012 [x11-common] x11-common: ssh-agent Xsession script does not check 
if gpg-agent will enable SSH support
Added indication that 642012 affects openssh-client and gnupg-agent
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
642012: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=642012
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
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/handler.s.c.131635836724271.transcr...@bugs.debian.org



Bug#596781: xserver-xorg-video-intel window corruption bug: what's the status?

2011-09-18 Thread Francesco Poli
On Sat, 17 Sep 2011 16:55:02 -0500 (CDT) Carlo Segre wrote:

[...]
> On Tue, 6 Sep 2011, Francesco Poli wrote:
> 
> > Hello all,
> > what's the status of this bug?
> >
> 
> Thanks for checking back.

You're welcome!   :-)

> 
> > It has been forwarded upstream and fixed upstream.
> > If I understand
> > https://bugs.freedesktop.org/show_bug.cgi?id=30528
> > correctly, commit e0066e77e026b0dd0daa0c3765473c7d63aa6753
> > fixes the bug in the upstream code.
> >
> 
> I can confirm that this problem seems to have disappeared in the latest 
> version of Xorg.

Great news!

I've just checked myself: from a test I performed with
xserver-xorg-video-intel/2:2.16.0-1 it really seems that the bug is
fixed.

Thanks to all the people who were involved!
Bye.

-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
. Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE


pgpj5fylUZfNX.pgp
Description: PGP signature


Bug#624720: xserver-xorg-video-intel: crashes with unicode-screensaver and leaves the screen blank (without login prompt)

2011-09-18 Thread Francesco Poli
On Wed, 7 Sep 2011 09:14:34 +0200 Cyril Brulebois wrote:

> Francesco Poli  (06/09/2011):
> > I still have xserver-xorg-video-intel pinned to version 2:2.14.0-4 due
> > to this bug.
> > 
> > Has someone tried to reproduce it?
> > Was it forwarded upstream?
> > Was it fixed?
> 
> Check 2:2.16.0-1.

I've just checked and I was not able to reproduce the bug with
xserver-xorg-video-intel/2:2.16.0-1.

However, what I performed was a short test in a somewhat clumsy
throw-away test sid chroot environment: I'll be able to perform more
complete tests when xserver-xorg-video-intel/2:2.16.0-1 migrates to
testing.

Hence please do not close this bug report yet.
I will come back when the status is clearer.

-- 
 http://www.inventati.org/frx/frx-gpg-key-transition-2010.txt
 New GnuPG key, see the transition document!
. Francesco Poli .
 GnuPG key fpr == CA01 1147 9CD2 EFDF FB82  3925 3E1C 27E1 1F69 BFFE


pgpyqYpvy5P6S.pgp
Description: PGP signature


Bug#642012: x11-common: ssh-agent Xsession script does not check if gpg-agent will enable SSH support

2011-09-18 Thread Luca Capello
Hi there!

On Sun, 18 Sep 2011 17:05:37 +0200, Julien Cristau wrote:
> On Sun, Sep 18, 2011 at 16:53:13 +0200, Luca Capello wrote:
>
>> --8<---cut here---start->8---
[patch]
>> --8<---cut here---end--->8---
>> 
> NAK, as far as I'm concerned this script has no business looking around
> in gpg.conf.

This leaves the bug opened: I would be glad to explore other solutions,
but AFAIK without checking gpg.conf and gpg-agent.conf there is no way
to know *beforehand* 1) if gpg-agent will run and 2) if the latter will
provide SSH support.

Please note that until now ssh-agent is *never* started if gpg-agent has
been started at least once with SSH support, for the following reasons
(and this is another bug, no matter what):

1) 90gpg-agent is sourced before 90x11-common_ssh-agent
2) gpg-agent does not remove its "PID" file when exiting, see #642021
3) 90gpg-agent sources the "PID" file above, which means that
   SSH_AUTH_SOCK is defined *before* any gpg-agent is started at all
4) 90x11-common_ssh-agent starts ssh-agent only if SSH_AUTH_SOCK is
   empty, which is not the case as per point 3

Here is the patch to test the behavior above:

--8<---cut here---start->8---
--- 90x11-common_ssh-agent.ORG
+++ 90x11-common_ssh-agent
@@ -14,6 +14,11 @@
   # use ssh-agent2's ssh-agent1 compatibility mode
   SSHAGENTARGS=-1
 fi
+  else
+cat <>"$HOME"/.xsession-errors
+/etc/X11/Xsession.d/90x11-common_ssh-agent: SSH_AUTH_SOCK='$SSH_AUTH_SOCK'
+/etc/X11/Xsession.d/90x11-common_ssh-agent: not starting ssh-agent
+EOF
   fi
 fi
 
--8<---cut here---end--->8---

IMHO the real bug is to try to start ssh-agent in a system-wide fashion
via /etc/X11/Xsession.options, while this is (clearly) a user option.
This is also why I fear the new Xsession "use-gpg-agent" option at
.  The fact
that ssh_config does not have any way to define that we want the agent
is probably the original cause of this bug.

Finally, may I ask why this file is not provided by openssh-client?  I
could not find any reference in the x11-common changelog.Debian nor
x11-common Recommends:/Suggests:/Enhances: openssh-client.

Thx, bye,
Gismo / Luca


pgpYqM8CnyFUq.pgp
Description: PGP signature


Processed: Fwd: Processed (with 2 errors): your mail

2011-09-18 Thread Debian Bug Tracking System
Processing commands for cont...@bugs.debian.org:

> reassign 568684 xserver-xorg-video-intel
Bug #568684 [vtk] "gl2ps-generated PDF images are slow and incorrect"
Bug reassigned from package 'vtk' to 'xserver-xorg-video-intel'.
> thanks
Stopping processing here.

Please contact me if you need assistance.
-- 
568684: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=568684
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems


-- 
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/handler.s.c.131641308928380.transcr...@bugs.debian.org