You are not logged in.

#1 2013-11-06 20:19:45

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Systemctl and wicd [SOLVED]

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.service

But I get the error : "failed to issue method call: Access denied".

the output of

$ groups matt

with matt being my user is:
wheel users

So why can't I run the command sad ?

Last edited by FerretBuster (2013-11-07 19:16:09)

Offline

#2 2013-11-06 20:26:01

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Systemctl and wicd [SOLVED]

Does it work with sudo?

Offline

#3 2013-11-06 20:29:52

logix
Member
Registered: 2013-11-04
Posts: 12

Re: Systemctl and wicd [SOLVED]

Run with sudo or as root

Offline

#4 2013-11-06 20:30:32

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Systemctl and wicd [SOLVED]

https://wiki.archlinux.org/index.php/Sy … sing_units says you should be using sudo or root:

# systemctl start unit

Maybe it's a typo in the wicd article.
Same with https://wiki.archlinux.org/index.php/Wicd#Autostart

Offline

#5 2013-11-06 21:11:33

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: Systemctl and wicd [SOLVED]

well that kind of worked. I ran:

#systemctl enable wicd

restarted 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

#6 2013-11-06 21:16:43

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Systemctl and wicd [SOLVED]

"wicd client doesn't" is not an error message.

Please run:

systemctl status wicd

to establish why.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#7 2013-11-06 21:16:50

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Systemctl and wicd [SOLVED]

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

#8 2013-11-06 21:24:22

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: Systemctl and wicd [SOLVED]

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

#9 2013-11-06 21:27:34

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Systemctl and wicd [SOLVED]


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#10 2013-11-06 21:27:46

DeadDingo
Member
Registered: 2012-09-29
Posts: 46

Re: Systemctl and wicd [SOLVED]

Try running:

sudo systemctl start wicd.service

Then post the output of:

sudo systemctl status wicd.service

In order to understand recursion, one must first understand recursion.

Offline

#11 2013-11-06 21:29:33

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Systemctl and wicd [SOLVED]

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.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#12 2013-11-06 21:32:16

DeadDingo
Member
Registered: 2012-09-29
Posts: 46

Re: Systemctl and wicd [SOLVED]

jasonwryan wrote:

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 smile


In order to understand recursion, one must first understand recursion.

Offline

#13 2013-11-06 21:33:15

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: Systemctl and wicd [SOLVED]

FYI I have read the systemd page. please refer to my edited post above.

Offline

#14 2013-11-06 23:17:01

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,171

Re: Systemctl and wicd [SOLVED]

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

#15 2013-11-06 23:45:04

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: Systemctl and wicd [SOLVED]

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

#16 2013-11-07 00:31:42

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,171

Re: Systemctl and wicd [SOLVED]

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 wicd

give? 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> -Dwext

I 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

#17 2013-11-07 00:51:07

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: Systemctl and wicd [SOLVED]

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 wicd

So it seems the client isn't starting

Offline

#18 2013-11-07 00:56:33

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,171

Re: Systemctl and wicd [SOLVED]

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

#19 2013-11-07 01:02:39

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: Systemctl and wicd [SOLVED]

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

#20 2013-11-07 01:25:07

WonderWoofy
Member
From: Los Gatos, CA
Registered: 2012-05-19
Posts: 8,414

Re: Systemctl and wicd [SOLVED]

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

#21 2013-11-07 10:05:39

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: Systemctl and wicd [SOLVED]

WonderWoofy wrote:

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

#22 2013-11-07 19:15:19

FerretBuster
Member
Registered: 2013-10-26
Posts: 44

Re: Systemctl and wicd [SOLVED]

Awesome doesn't support .desktop files : http://awesome.naquadah.org/wiki/Autostart
Solved.

Offline

#23 2013-11-07 23:17:58

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,171

Re: Systemctl and wicd [SOLVED]

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

Board footer

Powered by FluxBB