Teamviewer 15 takes a very looooong time to connect.

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Teamviewer 15 takes a very looooong time to connect.

Postby Linares » Dec 13th, '19, 08:07

Teamviewer can sometimes take up to an hour to connect and display the list of computers. From when I open the application, until the list of computers appears, waiting can be desperate.
When I am not going to manage a remote computer, it is not important to have that message for so long:
"Teamviewer is starting. Wait...
It's not ready. Check your connection."

But when I need to control another PC (knowing that the connection is perfect because you are browsing the internet) and it is necessary to wait 15, 20 or 30 minutes, it is exasperating.
What could be the cause of this delay?

teamviewer pensando.gif
teamviewer pensando.gif (68.33 KiB) Viewed 3549 times
Linares
 
Posts: 145
Joined: Nov 25th, '19, 20:24
Location: Aizarna, Euskal Herria

Re: Teamviewer 15 takes a very looooong time to connect.

Postby isadora » Dec 13th, '19, 09:39

Not an answer for your question, but just an advise.
I struggled with Teamviewer a lot the last years, and found a good alternative in Anydesk.
https://anydesk.com/en/downloads/linux
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Teamviewer 15 takes a very looooong time to connect.

Postby Linares » Dec 13th, '19, 21:19

Hello. I know that in Linux there are better alternatives than TeamViewer, but I have been using it with my family (geographically dispersed) for more than 5 years, and I have a network with many Windows / Ubuntu / Lubuntu / Mageia computers ... Thanks, Isadora, for your suggestion, but now It would be a nuisance to replace machine-by-machine this application. :(
Last edited by doktor5000 on Dec 14th, '19, 09:01, edited 1 time in total.
Reason: removed fullquote
Linares
 
Posts: 145
Joined: Nov 25th, '19, 20:24
Location: Aizarna, Euskal Herria

Re: Teamviewer 15 takes a very looooong time to connect.

Postby isadora » Dec 13th, '19, 23:37

Fair enough, as meant, just a suggestion. ;)
..........bird from paradise..........

Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away.
—Antoine de Saint-Exupéry
User avatar
isadora
 
Posts: 2766
Joined: Mar 25th, '11, 16:03
Location: Netherlands

Re: Teamviewer 15 takes a very looooong time to connect.

Postby doktor5000 » Dec 14th, '19, 09:01

Have you tried asking your question to teamviewer support ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18053
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Teamviewer 15 takes a very looooong time to connect.

Postby jiml8 » Dec 14th, '19, 18:47

I don't use teamviewer so I can't offer a real suggestion about it.

But, given the symptoms you describe I would start by looking at my firewall to determine if it was blocking a port that teamviewer needs. That strikes me as the most likely cause.

When I have to remotely control one of my desktops, I use tightvnc with an ssh tunnel. Works perfectly and is secure. I can even control my workstation desktop from my Android phone this way (though it is tedious...)

Just a thought... :D
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: Teamviewer 15 takes a very looooong time to connect.

Postby Linares » Dec 14th, '19, 19:14

jiml8 wrote:I don't use teamviewer so I can't offer a real suggestion about it.

But, given the symptoms you describe I would start by looking at my firewall to determine if it was blocking a port that teamviewer needs. That strikes me as the most likely cause.


The suggestion is good, but I don't use a firewall, at least, as far as I know. :)
Linares
 
Posts: 145
Joined: Nov 25th, '19, 20:24
Location: Aizarna, Euskal Herria

Re: Teamviewer 15 takes a very looooong time to connect.

Postby doktor5000 » Dec 15th, '19, 09:29

So iptables -L as root does not return any rules ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18053
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Teamviewer 15 takes a very looooong time to connect.

Postby Linares » Dec 15th, '19, 11:15

doktor5000 wrote:So iptables -L as root does not return any rules ?


Code: Select all
# iptables -L
Chain INPUT (policy DROP)
target     prot opt source               destination         
Ifw        all  --  anywhere             anywhere           
net-fw     all  --  anywhere             anywhere           
ACCEPT     all  --  anywhere             anywhere           
DROP       all  --  anywhere             anywhere             ADDRTYPE match dst-type BROADCAST
DROP       all  --  anywhere             anywhere             ADDRTYPE match dst-type ANYCAST
DROP       all  --  anywhere             anywhere             ADDRTYPE match dst-type MULTICAST
LOG        all  --  anywhere             anywhere             limit: up to 1/sec burst 10 mode srcip LOG level info prefix "INPUT REJECT "
reject     all  --  anywhere             anywhere            [goto]

Chain FORWARD (policy DROP)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere             ADDRTYPE match dst-type BROADCAST
DROP       all  --  anywhere             anywhere             ADDRTYPE match dst-type ANYCAST
DROP       all  --  anywhere             anywhere             ADDRTYPE match dst-type MULTICAST
LOG        all  --  anywhere             anywhere             limit: up to 1/sec burst 10 mode srcip LOG level info prefix "FORWARD REJECT "
reject     all  --  anywhere             anywhere            [goto]

Chain OUTPUT (policy DROP)
target     prot opt source               destination         
fw-net     all  --  anywhere             anywhere           
ACCEPT     all  --  anywhere             anywhere           
DROP       all  --  anywhere             anywhere             ADDRTYPE match dst-type BROADCAST
DROP       all  --  anywhere             anywhere             ADDRTYPE match dst-type ANYCAST
DROP       all  --  anywhere             anywhere             ADDRTYPE match dst-type MULTICAST
LOG        all  --  anywhere             anywhere             limit: up to 1/sec burst 10 mode srcip LOG level info prefix "OUTPUT REJECT "
reject     all  --  anywhere             anywhere            [goto]

Chain Ifw (1 references)
target     prot opt source               destination         
RETURN     all  --  anywhere             anywhere             match-set ifw_wl src
DROP       all  --  anywhere             anywhere             match-set ifw_bl src
IFWLOG     all  --  anywhere             anywhere             ctstate INVALID,NEWpsd weight-threshold: 10 delay-threshold: 10000 lo-ports-weight: 2 hi-ports-weight: 1 IFWLOG prefix 'SCAN'

Chain dynamic (1 references)
target     prot opt source               destination         

Chain fw-net (1 references)
target     prot opt source               destination         
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
ACCEPT     all  --  anywhere             anywhere           

Chain logdrop (0 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere           

Chain logflags (7 references)
target     prot opt source               destination         
LOG        all  --  anywhere             anywhere             limit: up to 1/sec burst 10 mode srcip LOG level info ip-options prefix "logflags DROP "
DROP       all  --  anywhere             anywhere           

Chain logreject (0 references)
target     prot opt source               destination         
reject     all  --  anywhere             anywhere           

Chain net-fw (1 references)
target     prot opt source               destination         
dynamic    all  --  anywhere             anywhere             ctstate INVALID,NEW,UNTRACKED
tcpflags   tcp  --  anywhere             anywhere           
ACCEPT     all  --  anywhere             anywhere             ctstate RELATED,ESTABLISHED
DROP       all  --  anywhere             anywhere             ADDRTYPE match dst-type BROADCAST
DROP       all  --  anywhere             anywhere             ADDRTYPE match dst-type ANYCAST
DROP       all  --  anywhere             anywhere             ADDRTYPE match dst-type MULTICAST
LOG        all  --  anywhere             anywhere             limit: up to 1/sec burst 10 mode srcip LOG level info prefix "net-fw DROP "
DROP       all  --  anywhere             anywhere           

Chain reject (4 references)
target     prot opt source               destination         
DROP       all  --  anywhere             anywhere             ADDRTYPE match src-type BROADCAST
DROP       all  --  base-address.mcast.net/4  anywhere           
DROP       igmp --  anywhere             anywhere           
REJECT     tcp  --  anywhere             anywhere             reject-with tcp-reset
REJECT     udp  --  anywhere             anywhere             reject-with icmp-port-unreachable
REJECT     icmp --  anywhere             anywhere             reject-with icmp-host-unreachable
REJECT     all  --  anywhere             anywhere             reject-with icmp-host-prohibited

Chain sha-lh-64dafc7872d69fd91b74 (0 references)
target     prot opt source               destination         

Chain sha-rh-68587fdaa31c74d4f49f (0 references)
target     prot opt source               destination         

Chain shorewall (0 references)
target     prot opt source               destination         
           all  --  anywhere             anywhere             recent: SET name: %CURRENTTIME side: source mask: 255.255.255.255

Chain tcpflags (1 references)
target     prot opt source               destination         
logflags   tcp  --  anywhere             anywhere            [goto]  tcp flags:FIN,SYN,RST,PSH,ACK,URG/FIN,PSH,URG
logflags   tcp  --  anywhere             anywhere            [goto]  tcp flags:FIN,SYN,RST,PSH,ACK,URG/NONE
logflags   tcp  --  anywhere             anywhere            [goto]  tcp flags:SYN,RST/SYN,RST
logflags   tcp  --  anywhere             anywhere            [goto]  tcp flags:FIN,RST/FIN,RST
logflags   tcp  --  anywhere             anywhere            [goto]  tcp flags:FIN,SYN/FIN,SYN
logflags   tcp  --  anywhere             anywhere            [goto]  tcp flags:FIN,PSH,ACK/FIN,PSH
logflags   tcp  --  anywhere             anywhere            [goto]  tcp spt:0 flags:FIN,SYN,RST,ACK/SYN
Linares
 
Posts: 145
Joined: Nov 25th, '19, 20:24
Location: Aizarna, Euskal Herria

Re: Teamviewer 15 takes a very looooong time to connect.

Postby jiml8 » Dec 16th, '19, 01:55

yeah, you have rules. That looks like a default shorewall installation.

I don't see anything that is port specific in these rules, though it is blocking incoming broadcast/anycast/multicast traffic. This is common and I really doubt that teamviewer does that anyway.

I don't see the chain tcp in this rules list; not sure where it is though it is referenced several places and is key to how shorewall is handling inbound traffic. I would expect to find that almost all inbound traffic is dropped unless specifically allowed, either via an established connection or via a port being opened.

So there is quite a good chance that the other end of your connection is not allowing it.

To quickly establish whether this is the case, you might try (as root) executing this command: "service shorewall stop" on both systems, then see if you can connect.

After running the test, you should definitely run "service shorewall start" on both systems to restart the firewall.

If the connection happens quickly when the firewalls are off, then you've found your problem. Otherwise, you have to look somewhere else.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: Teamviewer 15 takes a very looooong time to connect.

Postby Linares » Dec 16th, '19, 22:57

Hi.
I just completed a test following your instructions.
While the message "Teamviewer is starting. Wait ... It's not ready. Check your connection." was on my screen, I opened terminal on both computers.

In this computer, Mageia 7:
Code: Select all
# service shorewall stop
Redirecting to /bin/systemctl stop shorewall.service


On the computer I intend to access, Ubuntu 18:
"Failed to stop shorewall.service: Unit shorewall.service not loaded".

Y, por supuesto, el mensajito aún sigue ahí.

I close TeamViewer, I try to open it again from KDE, but it doesn't react. I try to open it from terminal and receipt:

Code: Select all
[root@localhost teamviewer]# ./teamviewer

Init...
CheckCPU: SSE2 support: yes
Checking setup...
Launching TeamViewer ...
Starting network process (no daemon)
Network process already started (or error)
Launching TeamViewer GUI ...


But it doesn't launch.
Last edited by isadora on Dec 17th, '19, 09:14, edited 1 time in total.
Reason: Removed quote; as a golden rule quoting the last comment is not appropriate.
Linares
 
Posts: 145
Joined: Nov 25th, '19, 20:24
Location: Aizarna, Euskal Herria

Re: Teamviewer 15 takes a very looooong time to connect.

Postby doktor5000 » Dec 17th, '19, 09:26

Linares wrote:On the computer I intend to access, Ubuntu 18:
"Failed to stop shorewall.service: Unit shorewall.service not loaded".

Y, por supuesto, el mensajito aún sigue ahí.


Only english, please
And that command was meant for a Mageia box. You would need to find the equivalent of disabling the firewall on your Ubuntu box.

Apart from that, why do you run teamviewer as root ?
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18053
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Teamviewer 15 takes a very looooong time to connect.

Postby Linares » Dec 22nd, '19, 02:02

Oh, sorry, I forgot to translate that specific phrase into English.

"Y, por supuesto, el mensajito aún sigue ahí." means "And, of course, the message is still there."

I don't remember why, at that moment in particular, I ran Teamviewer as root but, when I run it without root, the result is the same.
Last edited by isadora on Dec 22nd, '19, 12:04, edited 1 time in total.
Reason: Removed quote; as a golden rule quoting the last comment is not appropriate.
Linares
 
Posts: 145
Joined: Nov 25th, '19, 20:24
Location: Aizarna, Euskal Herria


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron