On 2012. augusztus 12. 20:57:02 Kövesdi György wrote:
> Hi,
> 
> NetworkManager can be used as root, but i had problems using it as a regular 
> user.
> All the possible options (connect/disconnect/create/delete etc) was 
> unavailable
> (greyed out). I found on the net that a file is missing for this 
> functionality:
>  /etc/polkit-1/localauthority/50-local.d/org.freedesktop.NetworkManager.pkla
> Providing it resolves the problem. Now, i can connect/disconnect the wired 
> network.
> 
> But still i have a problem: trying to add any kind of a new connection i get 
> this
> error message at last:
> 
>  "No session found for uid 1000 (No session found for uid 1000)"
> 
> Searching the net i could not find anything in connection with Angstrom, but 
> i found
> it on other distros. They refer to the file /etc/pam.d/system-auth where the
> pam_systemd.so should be added. I could not find these files in any pam 
> modules, and
> also could not find pam source newer than the version 1.1.5 (dated october 
> 2011).
> 
> Please help me
> 
> Thanx in adevance
> Gyorgy Kovesdi

Additional info:
The libpam is installed, --enable-pam is added to the configuraion of systemd, 
and the
directory /run/systemd/sessions contains the followings:

root@beagleboard:~# l /run/systemd/sessions/
total 8.0K
drwxr-xr-x 2 root root 120 Jan  1 01:05 .
drwxr-xr-x 8 root root 240 Jan  1 00:00 ..
-rw-r--r-- 1 root root 212 Jan  1 00:00 c1
prw------- 1 root root   0 Jan  1 00:00 c1.ref
-rw-r--r-- 1 root root 204 Jan  1 01:05 c2
prw------- 1 root root   0 Jan  1 01:05 c2.ref

and the file 'c1':

root@beagleboard:~# cat /run/systemd/sessions/c1
# This is private data. Do not parse.
UID=1000
USER=kgy
ACTIVE=1
REMOTE=0
KILL_PROCESSES=0
TYPE=tty
CLASS=user
CGROUP=/user/kgy/c1
FIFO=/run/systemd/sessions/c1.ref
TTY=???
REMOTE_USER=root
SERVICE=su
LEADER=249

So, it seems everything in place, and i got the "No session found..." message 
yet.

Any help would be appreciated
Gyorgy Kovesdi


_______________________________________________
Angstrom-distro-devel mailing list
Angstrom-distro-devel@linuxtogo.org
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/angstrom-distro-devel

Reply via email to