Unable to connect to wireless on Slackware Current (25-11-2015)
1 Attachment(s)
Yesterday I've installed a fully up-to-date current with the MLED 14.2 template. As this is a laptop I manage my network using NetworkManager, but I am unable to connect to wireless at all at two different places where it normally works fine for this machine. The error-message I get is "No session found for uid 1000", see screenshot below.
As session-management is done by Consolekit this might be an issue introduced by the udev to eudev switch as Keithpeter reports here that he sees the same issue since about 10 days ago. Any suggestions how to fix this? |
Are you saying that it used to connect, but does so no longer?
A web search for "No session found for uid 1000 wireless" will turn up a number of links. I don't know enough about your situation to recommend one, but you may want to take a look. |
you know on a couple of my upgrades I was testing this happen to me.for some reason my machine place my net device as eth1 strange but it does.
and the new /etc/rc.inet1.conf did not have the first two devices set for Code:
# Config information for eth0: Code:
# Config information for eth0: or edit the /etc/rc.inet1.conf . This only happen going to current. and when I did slackpkg new-config. Just like you I rebooted no internet. run netconfig. that may help. if you chose to use networkmanager then do that. you will "note" both networkmanager and /etc/rc.inet1.conf have been updated. make sure you have netdevice privileges. But you will also get that if you have no internet connection. in a terminal as root run ifconfig and see if your devices are up. if not ifconfig wlan0 or eth0 up thin run ifconfig and look for your new devices. |
Quote:
Quote:
However I found part of the puzzle in the MLED thread as the connection to wireless works fine if I remove gdm as the login-manager and switch to xdm. With xdm I get a password pop-up instead of this error-message and then I can connect successfully to wireless. At the moment no clue why this happens when gdm is installed as the login-manager. The only real difference is that the MLED gdm is build in parallel, for the rest the Slackbuild looks very similar to the one from Ponce. Bottomline is that I'm still very puzzled by this as there is no clear error and/or warning to go on in the logs and/or dmesg. |
when you got the error you can check if you you have a consolekit session running
Code:
$ ck-list-sessions |
Quote:
Code:
[hge@nova:~] $ ck-list-sessions |
do you have the same problem with a new user created with adduser (don't forget to press the up arrow when needed)?
|
Quote:
ck-list-sessions for that newly created user returns a user-id of 0 as well. |
Quote:
The case where wireless doesn't work for me is if I use init-level 4 in combination with gdm; in that case ck-list-sessions list the wrong user, i.e. unix-user=`0` instead of unix-user=`1000`. However if I remove gdm from the system and use xdm instead (=init 4) things work and ck-list-sessions reports the correct user-id. So the problem must be specific to installing gdm, but I don't see why. A work-around that gives me wireless under gdm is to change line 109 in /etc/xdg/xfce4/xinitrc to: Code:
# start xfce4-session normally Code:
[hge@nova:~] $ ck-list-sessions btw) This behavior still exists after installing the updates from the 3rd of December |
1 Attachment(s)
I start to suspect that the problem relates to cgmanager as I see the following message in /var/log/syslog
Code:
Dec 5 17:50:07 nova console-kit-daemon[1116]: WARNING: Failed to open connection to cgmanager. Is the cgmanager daemon running? Topic with similar error-message as I see where running cgmanager fixes it, is here for manjaro Unfortunately cgmanager in current is not up-to-date with fixes for similar issues in newer versions of cgmanager visible in the Debian bugtracker and moreover doesn't have a script in rc.d, which makes it a bit difficult to try. edit) I've tested what happens if I uninstall cgmanager from my system and reboot. Doing so changes the error-message adding additional information that it can't find a file in /var/run/Consolekit, see attachment. So this problem really has something to do with cgmanager. edit2) Without cgmanager installed ck-list-sessions no longer works, i.e. it gives a segmentation-fault. A very clear sign that cgmanager gets used. Code:
[hge@nova:~] $ ck-list-sessions |
if you want to try a newer cgmanager you can build one from the script here (that includes rc.cgmanager and rc.cgproxy init scripts pushed upstream by our Chris Willing)
http://ponce.cc/slackware/testing/new_cgstuff/ to enable it at boot don't forget also to apply the patch at the init scripts that you can find there and reboot. but I think your problem is unrelated: I got the newer cgmanager already installed here and I got the same behaviour with gdm. it might be because that has been kept back at a particular version (the newer ones require systemd) and now doesn't play well with the other newer stuff: it most probably would need patches but at a rapid look I wasn't able to find what breaks it. the easier advice that I feel to give is to move to another display manager, like xdm, kdm or lxdm. but consider that as you installed gdm (that is not a part of Slackware) as a part of MLED and you reported this problem first in the MLED thread, I think the most appropriate place to report and discuss this again is the new mailing list for the MLED project, see here Quote:
|
Quote:
btw) I made this a separate thread as this same problem must also happen for gdm when build using the slackbuild from slackbuilds.org. In terms of subscribing to Kikinovak's new mailing-list; that is not my thing as I'm already drowning in far more emails than I can cope with in my day-to-day work. edit) Just to confirm: upgrading cgmanager indeed makes no difference. The problem is indeed still there. |
Quote:
On a side note: Jeremy from LQ has been so nice to setup a dedicated Microlinux/MLED forum, and I've added a corresponding page on the MLED project site, so the die-hard Slackers don't get annoyed at users looking for MLED-specific help here. This will probably take a few days or weeks to settle, so I'm asking for a bit of patience. Cheers, Niki |
Quote:
Cheers, Niki |
All times are GMT -5. The time now is 11:14 PM. |