[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: startx + ~/.xsession and no ~/.xinitrc, results in reduced functionality (xfce4, sid)



On Fri 03 Jan 2014 at 16:28:05 +1100, Zenaan Harkness wrote:

> On 12/13/13, Zenaan Harkness <zen@freedbms.net> wrote:
> >
> > Clearly consolekit is started (logout, as well as reboot etc now
> > work), my keyboard shortcuts work etc.
> >
> > This seems ideal - no per-user configuration, and it just works (TM)(C)(R).
> 
> This stopped working after a recent upgrade, since I too quickly
> allowed apt to overwrite my change in /etc/pam.d/common-session

Practise safe upgrading; always say 'no'.

>From pam-auth-update(8):

   If the user specifies that pam-auth-update should override
   local configuration changes, the locally-modified files will
   be saved in /etc/pam.d/ with a suffix of .pam-old.

Any sign of .pam-old files?
 
> Is there any reason that the following, from
> /usr/share/doc/xfce4-session/README.Debian :
> 
>    * install libpam-ck-connector
>    * put:
> 
>    ----
>    session   optional  pam_loginuid.so
>    ----
> 
>    *before* pam_ck_connector.so in /etc/pam.d/common-session.
> 
> is _not_ part of the default install for Debian?

Consolekit may not be on the system.

> $ dpkg -S /etc/pam.d/common-session
> dpkg-query: no path found matching pattern /etc/pam.d/common-session
> 
> I guess it must be generated by a script or something. What's the
> process or rather command line command for determining which script
> created a particular file such as this one?

   brian@desktop:~$ dpkg -S common-session
   libpam-runtime: /usr/share/pam/common-session.md5sums
   libpam-runtime: /usr/share/pam/common-session-noninteractive.md5sums
   libpam-runtime: /usr/share/pam/common-session
   libpam-runtime: /usr/share/pam/common-session-noninteractive

libpam-runtime's postinst script copies /usr/share/pam/common-session to
/etc/pam.d/common-session.


Reply to: