Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

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 W., Eric Carvalho, hhlp, AgentCool, 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
add comment

2 Answers 2

up vote 1 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
add comment

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
add comment

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