Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[Alternative gefunden]lxdm, fluxbox oder pam
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
wuesti
Apprentice
Apprentice


Joined: 07 Mar 2009
Posts: 191

PostPosted: Mon Jul 28, 2014 6:07 pm    Post subject: [Alternative gefunden]lxdm, fluxbox oder pam Reply with quote

Moin Moin,
nach dem letzten world-Update habe ich Effekte, die ich nicht erklären kann. Ähnlich dem veränderten Verhalten von notify-send funktioniert mein Fluxbox-Logout nicht mehr.
Es scheint am Loginmanager lxdm zu liegen. Beide Programme habe ich seit Monaten nicht angefasst.
Code:
qlop -gHv lxdm fluxbox
lxdm-0.4.1-r9: Tue Mar 18 19:21:52 2014: 21 seconds
lxdm-0.4.1-r9: Tue Mar 18 19:34:07 2014: 20 seconds
lxdm: 2 times
fluxbox-1.3.2: Tue Apr 15 16:28:40 2014: 1 minute, 43 seconds
fluxbox: 1 times

Der Fluxbox-Logout funktioniert, wenn ich den Fenstermanager mit startx starte. Mit der Anmeldung über lxdm bleibt fluxbox (lxdm?) hängen. Auch ein killall -9 fluxbox wirkt nicht. Nur /etc/init.d/xdm restart hilft.
Code:
ps axu | grep flux
kai       3518  0.0  0.0      0     0 ?        Zs   19:09   0:00 [fluxbox] <defunct>

Für die Anmeldung und Abmeldung zeigt /var/log/messages:
Code:
Jul 28 19:36:59 kais_quad lxdm-binary: PAM unable to dlopen(/lib64/security/pam_selinux.so): /lib64/security/pam_selinux.so: cannot open shared object file: No such file or directory
Jul 28 19:36:59 kais_quad lxdm-binary: PAM adding faulty module: /lib64/security/pam_selinux.so
Jul 28 19:36:59 kais_quad lxdm-binary: pam_unix(lxdm:session): session opened for user kai by (uid=0)
Jul 28 19:37:55 kais_quad lxdm-binary: pam_unix(lxdm:session): session closed for user kai

Kann jemand helfen?

Vielen Dank
Wüsti
_________________
Linux-User seit 1999


Last edited by wuesti on Tue Jul 29, 2014 7:22 am; edited 2 times in total
Back to top
View user's profile Send private message
wuesti
Apprentice
Apprentice


Joined: 07 Mar 2009
Posts: 191

PostPosted: Tue Jul 29, 2014 7:21 am    Post subject: Reply with quote

Auch das ArchWiki brachte nichts. Ich bin auf LightDM umgestiegen.
_________________
Linux-User seit 1999
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Tue Jul 29, 2014 11:53 am    Post subject: Reply with quote

Code:
/lib64/security/pam_selinux.so

verwendest du denn selinux? wenn nicht würde ich vermuten, dass deine pam konfiguration fehlerhaft ist. überprüf das mal.
Back to top
View user's profile Send private message
wuesti
Apprentice
Apprentice


Joined: 07 Mar 2009
Posts: 191

PostPosted: Tue Jul 29, 2014 12:55 pm    Post subject: Reply with quote

Code:
cat /etc/pam.d/lxdm
#%PAM-1.0
....
session      optional   pam_selinux.so

Es ist ein optionales Modul, das nur benutzt wird, wenn keine Alternative vorhanden ist. Bei LightDM tritt der Fehler bei systemd auf.
Code:
Jul 29 14:15:41 kais_quad lightdm: PAM unable to dlopen(/lib64/security/pam_systemd.so): /lib64/security/pam_systemd.so: cannot open shared object file: No such file or directory
Jul 29 14:15:41 kais_quad lightdm: PAM adding faulty module: /lib64/security/pam_systemd.so
Code:
cat /etc/pam.d/lightdm
#%PAM-1.0
....
session   optional pam_systemd.so
...

_________________
Linux-User seit 1999
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Tue Jul 29, 2014 2:24 pm    Post subject: Reply with quote

wie sieht denn die komplette /etc/pam.d/lxdm aus?
Back to top
View user's profile Send private message
wuesti
Apprentice
Apprentice


Joined: 07 Mar 2009
Posts: 191

PostPosted: Tue Jul 29, 2014 3:11 pm    Post subject: Reply with quote

Christian99 wrote:
wie sieht denn die komplette /etc/pam.d/lxdm aus?

Code:
cat /etc/pam.d/lxdm
#%PAM-1.0
auth       substack   system-auth
auth       optional   pam_gnome_keyring.so
account    include   system-auth
session    optional   pam_keyinit.so force revoke
session    include   system-auth
session    required   pam_loginuid.so
#session    optional   pam_console.so
session    optional   pam_gnome_keyring.so auto_start
#session      optional   pam_selinux.so


Vielen Dank, dass du dich engagierst!
Wenn du aus Interesse postest, antworte ich gerne. Selbst bin ich mit LightDM auch zufrieden und benötige keine Hilfe mehr.
_________________
Linux-User seit 1999
Back to top
View user's profile Send private message
Christian99
Veteran
Veteran


Joined: 28 May 2009
Posts: 1668

PostPosted: Tue Jul 29, 2014 8:57 pm    Post subject: Reply with quote

Hm, meine nächste Idee wäre auch gewesen, dass du die pam_selinux.so Zeile auskommentierst, aber das hast du ja anscheinend schon probiert. Die nächste Möglichkeit wäre, alle Zeilen bis auf die include/substack Zeilen auszukommentieren. Aber bin mir nicht sicher ob dann lxdm noch funktioniert, weil ich keine Ahnung hab, was die ganzen Module machen.... Aber wenns auch anders geht, dann lass es so. Ich bin auch kein PAM experte :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum