nodm and network troubles

Issues related to applications and software problems
Post Reply
luc.c
Posts: 7
Joined: 2015/08/28 09:34:54

nodm and network troubles

Post by luc.c » 2016/07/24 15:07:56

Hi,

I recently moved an old laptop to centos.
I use Mate, since gnome (even flashback session) is very slow.
The laptop is only an extra development support, so there is only one user (me). I install nodm to start under Mate session without login.
nodm doesn't work out of box, I had create a pam file (/etc/pam.d/nodm):

Code: Select all

# Log service and allow promiscuously
#
auth		required	pam_warn.so
auth		required	pam_unix.so

account		required	pam_warn.so
account		required	pam_permit.so

password	required	pam_warn.so
password	required	pam_permit.so

session		required	pam_warn.so
session		required	pam_permit.so
session		required	pam_env.so
I'm not very aware with pam control, so this configuration could be lax, but it works. Without it I could not start X server.
I got pam_setcred failure.

But when I want to configure the wifi connection, I get a "No session found for uid 1000 (unknown)".
I don't know if mate use NetworkManager or something else, but I think the problem is with starting a correct dbus session with nodm.

Is there anyone who had this trouble ?

PS: security about log in without authentication is not a problem with this laptop.

[EDIT]: I solved the issue launching nmtui with root, but the trouble remains.

Post Reply