VectorLinux

Please login or register.

Login with username, password and session length
Advanced search  

News:

Visit our home page for VL info. For support and documentation, visit the Vector Linux Knowledge Center or search the Knowledge Center and this Forum using the search box above.

Author Topic: start application for one user <solved>  (Read 773 times)

InTheWoods

  • Vectorite
  • ***
  • Posts: 302
start application for one user <solved>
« on: May 02, 2010, 11:23:46 am »

I know if you want to run a command at startup you can enter it in
etc/rc.d/rc.local
but how do you run that command for just one user on a multiple user system?
« Last Edit: May 02, 2010, 06:13:54 pm by InTheWoods »
Logged

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4130
Re: start application for one user
« Reply #1 on: May 02, 2010, 12:33:38 pm »

It depends on what environment you are using. Xfce, KDE, IceWM etc.. they all have their own way of doing it.
Logged

bigpaws

  • Vectorian
  • ****
  • Posts: 1869
Re: start application for one user
« Reply #2 on: May 02, 2010, 12:34:28 pm »

sudo -H -u

Bigpaws
Logged

InTheWoods

  • Vectorite
  • ***
  • Posts: 302
Re: start application for one user
« Reply #3 on: May 02, 2010, 06:13:14 pm »

Quote
It depends on what environment you are using.
I am using xfce. This works
Code: [Select]
xfce4-autostart-editorThen add the command.

Thanks. I should have thought of a specific enviornment tool.
Logged