Page 2 of 2

Re: teamviewer install and launch problem

Posted: 13. Jul 2015, 18:11
by ejames82
I am afraid I got impatient and made things worse. I used gslapt to remove, then used these commands offered by ibka:
sudo spi -u
sudo spi -i teamviewer

I did however find potential problems

Code: Select all

chmod: cannot operate on dangling symlink ‘./etc/teamviewer’
chmod: cannot operate on dangling symlink ‘./usr/bin/teamviewer’
chmod: cannot operate on dangling symlink ‘./var/log/teamviewer’
then at the very end of the output, this info was provided

Code: Select all

Installing package teamviewer-10.0.41499-i486-1_SBo...
ERROR: Can't create directory over ordinary file. (etc/teamviewer)
ERROR: Failed to extract file etc/teamviewer.
ERROR: Package installation failed!

these problems may have existed with the previous install.
thanks for all the help so far.  I will have to depart for a while, but I will return.
/sbin/spkg -u --reinstall --install-new teamviewer-10.0.41499-i486-1_SBo.txz Failed

Re: teamviewer install and launch problem

Posted: 13. Jul 2015, 23:07
by laprjns
You were close but maybe the intial installation using the rpm left some files and links that causing your issues. I installed teamviewer using spi -i successfully started the daemon and was able to start and use teamviewer.

suggest that you clean up your system and the reinstall using spi. First remove the last installation of teamviwer

Code: Select all

$ sudo spkg -d teamviewer 
Then manually delete some file and directories

Code: Select all

# sudo rm /etc/init.d/teamviwerd
$ sudo rm /etc/teamviewer
$ sudo rm /etc/bin/teamviwer
$ sudo rm /var/log/teamviewer 
Now install teamviewer again

Code: Select all

$ sudo spi -u 
$ sudo spi -i teamviewer 
Once installed start up the teamviewer daemon

Code: Select all

$ sudo service start teamviewerd 
Now trying running teamviwer, it should work. If you have any problems during this, post all the errors and terminal output.

If it does work then you have one more thing to do. To get the daemon running on every boot, add the following to your rc.local file (/etc/rc.d/rc/local)

Code: Select all

if [ -x /etc/rc.d/rc.teamviewerd ]; then
/etc/rc.d/rc.teamviewerd start
fi

Re: teamviewer install and launch problem

Posted: 14. Jul 2015, 02:50
by ejames82
hello laprjns,

there was a message when running this command:
sudo spi -i teamviewer

chmod: cannot operate on dangling symlink ‘./etc/teamviewer’
chmod: cannot operate on dangling symlink ‘./usr/bin/teamviewer’
chmod: cannot operate on dangling symlink ‘./var/log/teamviewer’

IT LAUNCHED! TEAMVIEWER LAUNCHED.
the eula agreement popped up. I accepted agreement and the active teamviewer window came up as well. :)

I think those files that you had me remove were causing the problem.


BUT
I was unable to:

If it does work then you have one more thing to do. To get the daemon running on every boot, add the following to your rc.local file (/etc/rc.d/rc/local)

Code: Select all

  if [ -x /etc/rc.d/rc.teamviewerd ]; then
/etc/rc.d/rc.teamviewerd start
 fi
I received a message, 'can't open file for writing'
1. can I use vi for this? I did.
2. do I need to be root? I was not.

thanks for the reply

Re: teamviewer install and launch problem

Posted: 14. Jul 2015, 08:09
by gapan
Don't worry about that last part. Editing /etc/rc.d/rc.local with those lines is equivalent to enabling the service as you did.

Re: teamviewer install and launch problem

Posted: 14. Jul 2015, 09:54
by laprjns
Gapan is of course correct. There is no need to add those lines to the /etc/rc.d/rc.local file. :oops: Once you start the the service, it will always start on each boot up.

Re: teamviewer install and launch problem

Posted: 14. Jul 2015, 13:39
by ejames82
teamviewer works beautifully. I just tested it and I am able to control this computer from my main computer. I can give this computer back to my friend and he will be using salix. I won't need to drive to his home when there is a problem.

I hope it's ok to leave the thread open for a couple of days, in case someone wants to add more info. more help for me. :)

thanks for everyone who responded.