Please support VectorLinux!

Author Topic: Wicd in vec6.0 light <solved>  (Read 1962 times)

InTheWoods

  • Vectorite
  • ***
  • Posts: 302
Wicd in vec6.0 light <solved>
« on: April 06, 2009, 11:46:57 am »
In vec6.0 standard Wicd is set to connect automatically and works very well. On occasion I may have to click the icon in the system tray and then it automatically connects.

In vec6.0 light I have to give the root password in order to invoke Wicd. Further I have to do this every time I start the computer.

Is there any way to have Wicd auto connect in light. Or at least not require root access.
« Last Edit: April 06, 2009, 05:39:14 pm by InTheWoods »

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4072
Re: Wicd in vec6.0 light
« Reply #1 on: April 06, 2009, 12:17:20 pm »
The philosophy of Light is to run very few services by default. There are several ways to autostart the wicd daemon. One easy way is to add this line to the file /etc/rc.d/rc.local:
Code: [Select]
/usr/sbin/wicd
If you want the wicd application to run automatically as well, add this line to ~/.icewm/startup:
Code: [Select]
/usr/bin/wicd-clientThis will cause it to launch with IceWM. For JWM, add the line to the file ~/.jwmrc in the <StartupCommand> section

InTheWoods

  • Vectorite
  • ***
  • Posts: 302
Re: Wicd in vec6.0 light
« Reply #2 on: April 06, 2009, 12:27:35 pm »
Quote
The philosophy of Light is to run very few services by default.

I like this philosophy.

How about a way to run Wicd without the need for root access.
I have this installed on an older computer for which I am not the primary user.

rbistolfi

  • Packager
  • Vectorian
  • ****
  • Posts: 2299
Re: Wicd in vec6.0 light
« Reply #3 on: April 06, 2009, 02:44:46 pm »
Quote
The philosophy of Light is to run very few services by default.

I like this philosophy.

How about a way to run Wicd without the need for root access.
I have this installed on an older computer for which I am not the primary user.

Only the daemon has to be started as root, and rc.local will take care of that.
The client is started as your user, note that you have to autostart it from your ~/, or run the command as user (/usr/bin/wicd-client).
"There is a concept which corrupts and upsets all others. I refer not to Evil, whose limited realm is that of ethics; I refer to the infinite."
Jorge Luis Borges, Avatars of the Tortoise.

--
Jumalauta!!

InTheWoods

  • Vectorite
  • ***
  • Posts: 302
Re: Wicd in vec6.0 light <solved>
« Reply #4 on: April 06, 2009, 05:35:40 pm »
add
/usr/sbin/wicd
to
/etc/rc.d/rc.local
to autostart daemon for system

add
/usr/bin/wicd-client
to
~/.icewm/startup
to autostart client for user when using icewm

got it!

It works like I want it to when I just start the daemon. If I need the client I can access it from the menu without being root.

Thanks.