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: 657
- Joined: 26 Jun 2013, 14:03
- Distribution: x64 Openbox
- Location: against russian attacks and lies
- 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
You have mind and feelings. Be wise and clever.
-
- 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