On 01/26/2013 10:02 PM, Dr.-Ing. Edgar Alwers wrote:
> On Thursday 24 January 2013 12:41:15 Armin K. wrote:
>> Also, you should use "ck-launch-session ...." in your .xinitrc to
>> initialize your session properly.
>
> OK. I did : exec ck-launch-session dbus-launch --exit-with-session startkde
>>
>> To verify if your consolekit session is setup correctly, issue
>> ck-list-sessions
>>
> ck-list-sessions
> Session1:
>          unix-user = '1000'
>          realname = 'edgar'
>          seat = 'Seat1'
>          session-type = ''
>          active = TRUE
>          x11-display = ':0'
>          x11-display-device = '/dev/tty7'
>          display-device = ''
>          remote-host-name = ''
>          is-local = TRUE
>          on-since = '2013-01-26T20:14:29.587116Z'
>          login-session-id = ''
>
> I think, this looks normal, besides that I have not a display-device assigned.
>

login-session-id should not be empty, not at least if you are using 
instructions for the ConsoleKit 0.4.6 from latest BLFS SVN. It appends 
pam_loginuid.so module to /etc/pam.d/system-session for that.

On a side note, did you reinstall shadow and set up it's configuration 
files first?

> As an overall result: I can now run system settings _as root_ and it shows me
> network settings -> network connections -> wired, and it tells me, that it is
> beeing used since 20 minutes. The tag "wireless" is grayed out. "System
> settings" run as user does not show anything, even not the wired connection.
>
> The networkmanagement applet says " no network interfaces" and, after
> klicking:
> "NetworkManager is not running. Please start it" But NM Daemon is running !
>
> And last: nm-tool, running as user delivers:
> quote
> -------------
> ** (process:4706): WARNING **: Could not initialize NMClient
> /org/freedesktop/NetworkManager: Rejected send message, 2 matched rules;
> type="method_call", sender=":1.32" (uid=1000 pid=4706 comm="nm-tool ")
> interface="org.freedesktop.DBus.Properties" member="GetAll" error
> name="(unset)" requested_reply="0"
> destination="org.freedesktop.NetworkManager" (uid=0 pid=2667
> comm="/usr/sbin/NetworkManager ")
>
> NetworkManager Tool
>
> State: unknown
>
>
> ** (process:4706): WARNING **: error: could not connect to NetworkManager
> ----------------
> unquote
>

This looks bad.

Do you have /run/console/yourusername

with contents like

/org/freedesktop/ConsoleKit/Session2

The script /usr/lib/ConsoleKit/run-session.d/pam-foreground-compat.ck 
should create that file. It is created in ConsoleKit build process.

> running nm-tool as su delivers the data of the wired connection and tells me
> that wlan0 is not availaible, seems to be very similar to system settings run
> as user.
>
> I hope you can see more than I do through this fog and can give me some more
> hints. I appreciate your help.
>
> Edgar
>

That's even more interesting. Is your wireless connection shown in 
ifconfig/ip or iwconfig output?
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to