Page 1 of 2

{solved) teamviewer install and launch problem

Posted: 13. Jul 2015, 06:41
by ejames82
hello,


I am unable to launch teamviewer after I thought the installation was a success. I was following a tutorial that I found on the web that installed teamviewer from rpm, but the terminal gave me a 'no such file or directory' error (sorry, I can't remember where), so the tutorial didn't get the job done. I recall having a problem with a program called 'rpm2tgz', and things only got worse from there. I don't know what version of salix I am running, but I did just update salix with gslapt, and the OS works excellent. I installed salix about a year ago and it was current at the time.


this is what happens now when I try to launch teamviewer:


when I try to launch teamviewer by the terminal or click on the icon in /usr/bin:

Code: Select all

$ teamviewer

I get a pop-up window that says:


the teamviewer daemon is not running
please start the daemon (needs root permissions) before running teamviewer:

teamviewer --daemon start

if you did not disable the daemon, please contact teamviewer support. run the following command to obtain all log files:

teamviewer --ziplog



I tried the ziplog command as user:

Code: Select all

$ teamviewer --ziplog

Creating a zip archive from all files in logfiles and config
dmesg: klogctl failed: Operation not permitted
rm: cannot remove ‘/tmp/tvlog_darkstar_2015-07-13.zip’: Operation not permitted
updating: config/ (stored 0%)
updating: config/teamviewerd.pid (stored 0%)
updating: config/global.conf (deflated 25%)
updating: logfiles/ (stored 0%)
updating: logfiles/TeamViewer10_Logfile.log (deflated 86%)
updating: sysinfo/ (stored 0%)
updating: sysinfo/cpuinfo (deflated 36%)
updating: sysinfo/lspci (deflated 76%)
updating: sysinfo/uname (deflated 3%)
updating: sysinfo/alsa (deflated 87%)
updating: sysinfo/lsusb (deflated 36%)
updating: sysinfo/shmmax (stored 0%)
updating: sysinfo/Xorg.0.log (deflated 83%)
updating: sysinfo/lsmod (deflated 67%)
updating: sysinfo/ifconfig (deflated 56%)
updating: sysinfo/Xorg.0.log.old (deflated 83%)
updating: sysinfo/dbus-send (deflated 76%)
	zip warning: new zip file left as: /tmp/zi9ZpYHY
zip I/O error: Operation not permitted
zip error: Could not create output file (was replacing the original zip file)

 Done. An error (15) occurred when creating archive /tmp/tvlog_darkstar_2015-07-13.zip

I tried --daemon start command as root:

Code: Select all

# teamviewer --daemon start

/etc/init.d/teamviewerd start
/opt/teamviewer/tv_bin/script/tvw_daemon: line 204: /etc/init.d/teamviewerd: No such file or directory
fail

I have two teamviewer files in my home folder:
teamviewer_linux.rpm
teamviewer_linux.tgz



I want to be able to lend this computer to my friend and use teamviewer to solve problems that he has.



any advice or expertise would be most appreciated.

Re: teamviewer install and launch problem

Posted: 13. Jul 2015, 09:31
by ibka
If the version is 14.1 try the following in a terminal:
sudo spi -u
sudo spi -i teamviewer

In earlier versions use slapt-src

Or use Sourcery and search for teamviewer

To start the teamviewer daemon use System services under system or
as root make /etc/rc.d/rc.teamviewerd executable and then as root execute /etc/rc.d/rc.teamviewerd start

Re: teamviewer install and launch problem

Posted: 13. Jul 2015, 12:04
by ejames82
hello ibka,
thank you for the quick reply

Code: Select all

larry[~]$ cat /etc/os-release
NAME=Slackware
VERSION="14.1"
ID=slackware
VERSION_ID=14.1
PRETTY_NAME="Slackware 14.1"
ANSI_COLOR="0;34"
CPE_NAME="cpe:/o:slackware:slackware_linux:14.1"
HOME_URL="http://slackware.com/"
SUPPORT_URL="http://www.linuxquestions.org/questions/slackware-14/"
BUG_REPORT_URL="http://www.linuxquestions.org/questions/slackware-14/"
larry[~]$ 

Code: Select all

larry[~]$ sudo spi -u
Password: 
Updating package cache...
Retrieving package data [http://salix.hostingxtreme.com/i486/slackware-14.1/]...Cached
Retrieving patch list [http://salix.hostingxtreme.com/i486/slackware-14.1/]...Cached
Retrieving checksum list [http://salix.hostingxtreme.com/i486/slackware-14.1/]...Cached
Retrieving checksum signature [http://salix.hostingxtreme.com/i486/slackware-14.1/]...Cached
Verifying checksum signature [http://salix.hostingxtreme.com/i486/slackware-14.1/]...No key for verification
Retrieving ChangeLog.txt [http://salix.hostingxtreme.com/i486/slackware-14.1/]...Cached
Reading Package Lists...Done
Retrieving package data [http://salix.hostingxtreme.com/i486/slackware-14.1/extra/]...Cached
Retrieving patch list [http://salix.hostingxtreme.com/i486/slackware-14.1/extra/]...Done
Retrieving checksum list [http://salix.hostingxtreme.com/i486/slackware-14.1/extra/]...Cached
Retrieving checksum signature [http://salix.hostingxtreme.com/i486/slackware-14.1/extra/]...Cached
Verifying checksum signature [http://salix.hostingxtreme.com/i486/slackware-14.1/extra/]...No key for verification
Retrieving ChangeLog.txt [http://salix.hostingxtreme.com/i486/slackware-14.1/extra/]...Done
Reading Package Lists...Done
Retrieving package data [http://salix.hostingxtreme.com/i486/14.1/]...Cached
Retrieving patch list [http://salix.hostingxtreme.com/i486/14.1/]...Done
Retrieving checksum list [http://salix.hostingxtreme.com/i486/14.1/]...Cached
Retrieving checksum signature [http://salix.hostingxtreme.com/i486/14.1/]...Cached
Verifying checksum signature [http://salix.hostingxtreme.com/i486/14.1/]...No key for verification
Retrieving ChangeLog.txt [http://salix.hostingxtreme.com/i486/14.1/]...Cached
Reading Package Lists...Done

Updating SlackBuild cache...
Fetching slackbuild list from http://salix.hostingxtreme.com/slkbuild/14.1/...  Done
Fetching slackbuild list from http://salix.hostingxtreme.com/sbo/14.1/...Done
larry[~]$



'sudo spi -i teamviewer' created so much output that I don't think I should post it here. I wouldn't know how to retrieve it anyway. it doesn't all show up in the terminal. I can't find the actual command after the process is finished. there was a LOT of output. it seemed like it scrolled forever.


To start the teamviewer daemon use System services under system or
as root make /etc/rc.d/rc.teamviewerd executable and then as root execute /etc/rc.d/rc.teamviewerd start

I was able to find teamviewerd in the system services and check the box, then clicked 'ok'. then when I entered
teamviewer
in the terminal, I received the same pop-up window as before with this message:
the teamviewer daemon is not running
please start the daemon (needs root permissions) before running teamviewer:

teamviewer --daemon start

if you did not disable the daemon, please contact teamviewer support. run the following command to obtain all log files:

teamviewer --ziplog



I haven't tried this yet:


as root make /etc/rc.d/rc.teamviewerd executable and then as root execute /etc/rc.d/rc.teamviewerd start


should I? I would need guidance with this.

Re: teamviewer install and launch problem

Posted: 13. Jul 2015, 12:29
by gapan
First of all, please use code tags when posting big chunks of output. It's much easier to read.

If you already ran "sudo spi -i teamviewer" as ibka suggested, then you already have it installed. Look in the System menu and find the "Services" tool. Check to see if teamviewer is enabled in there. If it's not, enable it. That should do it.

Re: teamviewer install and launch problem

Posted: 13. Jul 2015, 13:30
by ejames82
hello gapan,


First of all, please use code tags when posting big chunks of output. It's much easier to read.
I went back and edited. I see what you mean. the green lettering does a great job, making it less confusing. nice website.

If you already ran "sudo spi -i teamviewer" as ibka suggested,
yes I did. there was too much output to post here.


then you already have it installed.
it IS on the system services list. whether it has been installed properly is questionable. the box has been checked. I get the error message mentioned earlier.


Look in the System menu and find the "Services" tool. Check to see if teamviewer is enabled in there. If it's not, enable it. That should do it.
when you say 'enable it', I assume you mean check the box. it's already checked and I get the error message.
I am going to try a reboot and if it works after that I will post and let you know, but I doubt it will work.


also, could any of this give a clue what the problem is?

Code: Select all

# teamviewer --daemon start

/etc/init.d/teamviewerd start
/opt/teamviewer/tv_bin/script/tvw_daemon: line 204: /etc/init.d/teamviewerd: No such file or directory
fail
thanks for the reply.

Re: teamviewer install and launch problem

Posted: 13. Jul 2015, 13:52
by ejames82
teamviewer still does not launch, but it does show up in the menu list now under 'internet'. so rebooting did not fix the problem.

I tried the command again:

Code: Select all

larry[~]$ sudo su
Password: 
root[larry]# teamviewer --daemon start

/etc/init.d/teamviewerd start
/opt/teamviewer/tv_bin/script/tvw_daemon: line 216: /etc/init.d/teamviewerd: No such file or directory
fail

Re: teamviewer install and launch problem

Posted: 13. Jul 2015, 16:58
by gapan
No, don't run it like that. First let's check if you actually got it installed. Post the output of:

Code: Select all

ls /var/log/packages/teamviewer*
If it is actually installed (you get something with the above command), run this and post the output:

Code: Select all

sudo service start teamviewerd
And then run

Code: Select all

teamviewer
Don't use sudo or su for the last part. You need to run this as your normal user.

I just tried it and it works fine here by the way.

Re: teamviewer install and launch problem

Posted: 13. Jul 2015, 17:23
by ejames82
still the same result.

I am hoping I can put up a screenshot.
Image

bottom line is, it is still not launching. there is very little info on google about this problem. I find where some are having success with uninstalling and reinstalling. this is teamviewer 10, by the way.

thanks for the reply

Re: teamviewer install and launch problem

Posted: 13. Jul 2015, 17:27
by gapan
Did you run the 2nd command in my previous post?

Re: teamviewer install and launch problem

Posted: 13. Jul 2015, 17:33
by ejames82
absolutely. it's there in the screenshot. the terminal on the right is root. the screenshot is covered partially by a bar of some kind. I will present it again.

Code: Select all

root[larry]# sudo service start teamviewerd
Starting the teamviewerd service
Starting TeamViewer Daemon
root[larry]# 

thanks for the reply.