Please support VectorLinux!

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

InTheWoods

  • Vectorite
  • ***
  • Posts: 302
start application for one user <solved>
« on: May 02, 2010, 10: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, 05:13:54 pm by InTheWoods »

nightflier

  • Administrator
  • Vectorian
  • *****
  • Posts: 4072
Re: start application for one user
« Reply #1 on: May 02, 2010, 11:33:38 am »
It depends on what environment you are using. Xfce, KDE, IceWM etc.. they all have their own way of doing it.

bigpaws

  • Vectorian
  • ****
  • Posts: 1868
Re: start application for one user
« Reply #2 on: May 02, 2010, 11:34:28 am »
sudo -H -u

Bigpaws

InTheWoods

  • Vectorite
  • ***
  • Posts: 302
Re: start application for one user
« Reply #3 on: May 02, 2010, 05: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.