You are not logged in.
Pages: 1
Hi all, I just have a simple question.
I just installed awesome, and set it to start with x - and x is set to start on login to my main user. On the arch wiki it says to run this command to start wicd:
$ systemctl start wicd.serviceBut I get the error : "failed to issue method call: Access denied".
the output of
$ groups mattwith matt being my user is:
wheel users
So why can't I run the command
?
Last edited by FerretBuster (2013-11-07 19:16:09)
Offline
Does it work with sudo?
Offline
Run with sudo or as root
Offline
https://wiki.archlinux.org/index.php/Sy … sing_units says you should be using sudo or root:
# systemctl start unitMaybe it's a typo in the wicd article.
Same with https://wiki.archlinux.org/index.php/Wicd#Autostart
Offline
well that kind of worked. I ran:
#systemctl enable wicdrestarted my netbook, but then it spewed some random text on top of my login (the text is where I would type my login name)screen when it boots up. (the sort of text that's displayed is if you start dhcpcd.service for example.) And then when I log in, awesome starts fine, but the wicd client doesn't:(
Last edited by FerretBuster (2013-11-06 21:12:40)
Offline
"wicd client doesn't" is not an error message.
Please run:
systemctl status wicdto establish why.
Offline
Polluted login prompt is a know issue / non-issue: add 'quiet' to the kernel command line to make it go away.
Is there some useful info being printed, any errors, warnings, or is it everything OK?
Whats wrong with wicd? Please post the output of 'systemctl status wicd'.
Offline
the output of
systemctl status wicd is -
loaded: loaded (/usr/lib/systemcd/system/wicd.service; disabled)
active: inactive ( dead)
Edit: ignore this for a moment.
Edit2: the output I posted is actually incorrect, this is after I had disabled the wicd service again to prevent any text from polluting my login screen. I then re-enabled wicd, and issued the reboot command as root. My arch setup is now not booting. I just get a blinking cursor on startup... No grub bootloader, nothing.
Edit3: It decided to boot again randomly, something odd is going on. Anyway the actual output you wanted is :
Loaded: loaded (/usr/lib/systemd/system/wicd.service; enabled)
Active: active (running) since wed....But the client doesn't run on startup.
Last edited by FerretBuster (2013-11-06 21:32:41)
Offline
Offline
Try running:
sudo systemctl start wicd.serviceThen post the output of:
sudo systemctl status wicd.serviceIn order to understand recursion, one must first understand recursion.
Offline
DD: please don't spoonfeed the OP. The issue is pretty clearly spelled out in the error message and OP can take a couple of minutes to read the systemd page to work out how to set this up properly.
Offline
DD: please don't spoonfeed the OP. The issue is pretty clearly spelled out in the error message and OP can take a couple of minutes to read the systemd page to work out how to set this up properly.
No problem. Just trying to help ![]()
In order to understand recursion, one must first understand recursion.
Offline
FYI I have read the systemd page. please refer to my edited post above.
Offline
What do you mean by the client, exactly? If you mean a graphical front end to sit in your system tray, you need to install one and ensure it is started when you wish. You've enabled the service but that, by itself, doesn't give you a graphical interface.
Which packages did you install exactly?
EDIT: You need to read https://wiki.archlinux.org/index.php/Wicd.
Last edited by cfr (2013-11-06 23:17:39)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Yes I mean the graphical front end to sit in my system tray. And yes I have installed the gtk front end for wicd using wicd-gtk. And I have the file "/etc/xdg/autostart/wicd-tray.desktop" illustrated here: https://wiki.archlinux.org/index.php/Wicd#Autostart
EDIT: Is it possible that the reason it doesn't start is that I don't have a login manager? (I auto startx when I login to my main account)
Last edited by FerretBuster (2013-11-07 00:19:44)
Offline
I don't think so - the wiki says DE or WM. I can't tell for sure as I do have a login manager.
What does
ps ax | grep wicdgive? For comparison:
1019 ? Ss 14:39 /usr/bin/python2 -O /usr/share/wicd/daemon/wicd-daemon.py --no-daemon
1700 ? S 5:07 /usr/bin/python2 -O /usr/share/wicd/daemon/monitor.py
3279 ? Sl 2:35 /usr/bin/python2 -O /usr/share/wicd/gtk/wicd-client.py --tray
13306 ? Ss 0:00 wpa_supplicant -B -i wlan0 -c /var/lib/wicd/configurations/<long series of letters and numbers> -DwextI figure this way you can check if it is just not showing up or if it is not being started. I don't know if these can come apart but it seems worth checking since you have the desktop file in autostart.
EDIT: https://wiki.archlinux.org/index.php/Au … #Graphical also suggests it should start with X regardless of DE/WM/LM etc.
Last edited by cfr (2013-11-07 00:36:56)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
I get:
180? Ss 0:02 /usr/bin/python2 -O /usr/share/wicd/daemon/wicd-daemon.py --nodaemon
190? S 0:00 /usr/bin/python2 -O /usr/sahre/wicd/daemon/monitor.py
262 pts/0 S+ 0:00 grep wicdSo it seems the client isn't starting
Offline
Can you start it manually?
Do the logs contain any clues?
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
The client starts fine (manually that is), nothing out of the ordinary displays in console when started. Which logs are you referring to?
Last edited by FerretBuster (2013-11-07 01:07:10)
Offline
Just fyi, I use i3 and bspwm, and the autostart.desktop files don't start for me (nor do I want them to).
Edit: A quick scroll through, and I didn't see FerretBuster mention what kind of DE or WM is in use. Though I can't say that I did anything mroe than skim, Ferret can you specify for the sake of clarity (if only just for me)?
Last edited by WonderWoofy (2013-11-07 01:27:06)
Offline
Just fyi, I use i3 and bspwm, and the autostart.desktop files don't start for me (nor do I want them to).
Edit: A quick scroll through, and I didn't see FerretBuster mention what kind of DE or WM is in use. Though I can't say that I did anything mroe than skim, Ferret can you specify for the sake of clarity (if only just for me)?
I'm using awesome wm.
Last edited by FerretBuster (2013-11-07 10:06:19)
Offline
Awesome doesn't support .desktop files : http://awesome.naquadah.org/wiki/Autostart
Solved.
Offline
Just to clarify: that link doesn't say it doesn't support .desktop files in general but only that it does not support the autostart .desktop files. .desktop files get used in other ways as well and so awesome might still support some of those other uses.
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Pages: 1