[Bug 1337833] [NEW] pam_ck_connector causes su to emit spurious X11 warning

Owen Dunn 1337833 at bugs.launchpad.net
Fri Jul 4 12:40:55 UTC 2014


Public bug reported:

Ubuntu 14.04
libpam-ck-connector 0.4.5-3.1ubuntu2

When I su I get an error message:

osd1000 at wocbox:~$ su
Password:
X11 connection rejected because of wrong authentication.
root at wocbox:/home/osd1000# 

This comes from the pam_ck_connector.so PAM module in common-session.
I'm using pam_xauth.so elsewhere in the session stack so once I have su-ed,
X11 apps work normally.  (My /etc/pam.d/common-session is attached.)

Since the pam_ck_connector manpage says "only local login managers
such as login(1) should use this" I don't think it should be in the session
stack for su.

Owen

** Affects: consolekit (Ubuntu)
     Importance: Undecided
         Status: New

** Attachment added: "/etc/pam.d/common-session"
   https://bugs.launchpad.net/bugs/1337833/+attachment/4145512/+files/common-session

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to consolekit in Ubuntu.
https://bugs.launchpad.net/bugs/1337833

Title:
  pam_ck_connector causes su to emit spurious X11 warning

Status in “consolekit” package in Ubuntu:
  New

Bug description:
  Ubuntu 14.04
  libpam-ck-connector 0.4.5-3.1ubuntu2

  When I su I get an error message:

  osd1000 at wocbox:~$ su
  Password:
  X11 connection rejected because of wrong authentication.
  root at wocbox:/home/osd1000# 

  This comes from the pam_ck_connector.so PAM module in common-session.
  I'm using pam_xauth.so elsewhere in the session stack so once I have su-ed,
  X11 apps work normally.  (My /etc/pam.d/common-session is attached.)

  Since the pam_ck_connector manpage says "only local login managers
  such as login(1) should use this" I don't think it should be in the session
  stack for su.

  Owen

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/consolekit/+bug/1337833/+subscriptions



More information about the foundations-bugs mailing list