3

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!

  • 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

2 Answers2

3

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.

-1

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 :)

January
  • 35,952
  • 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