Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm struggling with a problem, i'm using Ubuntu 10.04 LTS, i have a command line "wvdial brt" wich i need to execute with every boot from my computer, i have 2 users in my computer and i have to execute this command from any of them, i tried to include this command in /etc/rc.local but when i log in with the another user the command doesn't work, is there any other place more recommended to insert this command line? i'm doing something wrong?

Thanks for your help.

share|improve this question
Ubuntu 10.04 is beyond end of life so support is going to be minimal at best. I suggest a more recent version of ubuntu. – bodhi.zazen May 24 '13 at 18:43
@bodhi.zazen I think this is version idependent. – Eric Carvalho May 24 '13 at 18:58

Run gedit ~/.config/autostart/wvdial.desktop logged in as the first user and paste the following code inside the file:

[Desktop Entry]
Exec=wvdial brt

Repeat the process logged in as the second user. The command will be executed when the users log in.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.