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.
autostarting applications
-
- White ninja
- Posts: 5
- Joined: 15 May 2014, 13:21
- Distribution: Kiosk
- Location: Germany
-
- Contributor
- Posts: 638
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: Poland
- Contact:
Re: autostarting applications
you use wrong binaries, download tar file (http://download.teamviewer.com/download ... nux.tar.gz) extract and run ./teamviewer,
no problem running as root
no problem running as root
No intelligence, no life, no information and no love can exist without prior intelligence, life, information or love. You won't find nonexistent thing/idea.
-
- White ninja
- Posts: 5
- Joined: 15 May 2014, 13:21
- Distribution: Kiosk
- Location: Germany
Re: autostarting applications
Got it working now.
For anyone who might have the same problem:
Download the tarball, extract it as Guest user, then add the line to
For anyone who might have the same problem:
Download the tarball, extract it as Guest user, then add the line
Code: Select all
@ su guest /$your path$/teamviewer6/teamviewer
Code: Select all
/etc/xdg/xsession/LXDE/autostart