Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

This question already has an answer here:

Teamviewer is a remote desktop application, it doesn't have to be this one, I'd be interested to know the following for any remote desktop application like VNC or RDP.

I added a "Startup script" to run Teamviewer automatically but it only runs when I log in.

Is there a way to run such a program before any log in, so that the login can be done remotely?

Many thanks!

share|improve this question

marked as duplicate by Thomas Ward, Eric Carvalho, hhlp, Raja, Mik Mar 16 '13 at 16:50

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

Have you tried SSH instead?. – Uri Herrera Oct 11 '12 at 18:01
SSHD is running as a system service and it is working, you can even forward the windows with: ssh -X user@host but this is not a not a remote desktop, you cannot control remotely the mouse of the system and see what is shown on the computer. Any idea? You – Sitoplex Oct 14 '12 at 11:50
up vote 2 down vote accepted

Teamviewer version 8 (which just came out) has the option to run as daemon which makes it start automatically when Ubuntu is booting (see the 'Special note for our Linux users' on the Teamviewer site.

share|improve this answer

Normally, such programs are started through scripts in /etc/init.d/, to which links point from /etc/rcX.d/ directories. However, I bet that somewhere in Teamviewer manuals there is a description how to add a teamviewer service for good :)

share|improve this answer
This program needs to capture the user interface and interaction. How can you install any remote desktop to run before the user login? – Sitoplex Oct 14 '12 at 11:46

Not the answer you're looking for? Browse other questions tagged or ask your own question.