LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   Start Dropbox and teamviewer on Startup (https://www.linuxquestions.org/questions/linux-server-73/start-dropbox-and-teamviewer-on-startup-4175494223/)

iftikhar.tutul 02-08-2014 12:07 AM

Start Dropbox and teamviewer on Startup
 
I installed teamviewer and dropbox in ubuntu 12.04.
In /etc/rc,local folder, I added this,
~/.dropbox-dist/dropbox
/usr/bin/teamviewer
exit 0
But it not works.
I want to remotely access this server via teamviewer and also I want to starting login teamviewer before login this server. Help me please

btmiller 02-09-2014 02:19 PM

Usually /etc/rc.local (not the dot, not comma) is a file, not a directory. Are you sure that you added these commands correctly? Note that /etc/rc.local is run as root so ~/.dropbox-dist/dropbox will point at root's home directory, not your user's home directory.

iftikhar.tutul 02-10-2014 10:27 AM

Sorry here I did mistake. I am sure I added this command correctly. and these two (~/.dropbox-dist/dropbox and
/usr/bin/teamviewer) commands work with root user. But when I start the server it not works without enter the login screen.
Could you help me pls

dolphin_oracle 02-10-2014 02:50 PM

I don't know about teamviewer, but dropbox has an option in its configuration menu to autostart the app. Just right-click on the dropbox icon to get the menus.

also, i think the command is "dropbox start"

sgosnell 02-10-2014 06:00 PM

Teamviewer also has an autostart option. Or you can put it in the autostart section of your desktop environment.

yo8rxp 02-11-2014 01:54 PM

dunno about teamviewer , but are ya sure they runs as a deamon ? if not , try to background them using
ampersand at the end
get rid of home user ~ but use entire path

/home/user_name/dropbox-dist/dropbox &
/usr/bin/teamviewer &


All times are GMT -5. The time now is 07:38 PM.