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

I installed teamviewer 9 but when I try to launch it from terminal by typing teamviewer I get the following

/opt/teamviewer9/tv_bin/script/tvw_main: line 42: /home/cheng/.config/teamviewer9/logfiles/startup.log: Permission denied

Error: Init failed. Please check '/home/cheng/.config/teamviewer9/logfiles/startup.log'

The log file only contains the the following:

TeamViewer:        9.0.27891 - DEB
Profile:           /home/cheng (root)
Desktop:           DS: ''   XDG: ''
XServer TTY:       7

DistArch:          x86_64   ( Loader:   [X] ld32    [X] ld64 )
      Distributor ID:   Ubuntu
      Description:  Ubuntu 13.10
      Release:  13.10
      Codename: saucy
ok (info)

ok (profile)

How can I fix this? I can launch it with the command "sudo teamviewer" but I want it to be able to launch automatically when the computer starts.

share|improve this question
I don't really know about the startup error, but here's a link on how to install it as a service, which makes it run at startup. – Cody Apr 20 '14 at 22:00
  • sudo gedit /etc/rc.local
  • Put teamviewer before exit 0

/etc/rc.local is executed as root at Ubuntu Start-up

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

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