autostarting applications
Posted: 10 Oct 2014, 15:25
Hello everyone,
I am running Porteus-LXDE-v3.0.1 with autologin for the Root User. I have installed a teamviewer 6 by downloading the provided .deb and converting it to .xzm (runs an integrated wine emulator). It starts just fine if run in a terminal session via su guest teamviewer6 (it cannot be started as Root user).
I previously tried the KDE-Desktop that had a neat GUI-Option to enable autostart programs even as a different User.
What file do i need to edit / what do i have to do to autostart teamviewer as guest user?
I tried:
- adding a shortcut (create new shortcut => command = su guest teamviewer6, etc) to /root/.config/autostart (works as Guest but not as Root user)
- adding a shortcut to /etc/xdg/autostart (when i did this all entries for "automatically started applications" in the Desktop Session Settings disappeared
- editing /etc/rc.d/rc.local and adding the line su guest /opt/teamviewer/teamviewer/6/bin/teamviewer (teamviewer has its own .xzm; if i type this string into a terminal it starts)
- editing /etc/xdg/lxsession/LXDE/autostart and adding @teamviewer6 and @su guest teamviewer6 and @su guest /opt/teamviewer/teamviewer/6/bin/teamviewer
Thank you for your help.
I am running Porteus-LXDE-v3.0.1 with autologin for the Root User. I have installed a teamviewer 6 by downloading the provided .deb and converting it to .xzm (runs an integrated wine emulator). It starts just fine if run in a terminal session via su guest teamviewer6 (it cannot be started as Root user).
I previously tried the KDE-Desktop that had a neat GUI-Option to enable autostart programs even as a different User.
What file do i need to edit / what do i have to do to autostart teamviewer as guest user?
I tried:
- adding a shortcut (create new shortcut => command = su guest teamviewer6, etc) to /root/.config/autostart (works as Guest but not as Root user)
- adding a shortcut to /etc/xdg/autostart (when i did this all entries for "automatically started applications" in the Desktop Session Settings disappeared
- editing /etc/rc.d/rc.local and adding the line su guest /opt/teamviewer/teamviewer/6/bin/teamviewer (teamviewer has its own .xzm; if i type this string into a terminal it starts)
- editing /etc/xdg/lxsession/LXDE/autostart and adding @teamviewer6 and @su guest teamviewer6 and @su guest /opt/teamviewer/teamviewer/6/bin/teamviewer
Thank you for your help.