You are not logged in.

#1 2020-08-15 09:35:37

bruh-i-use-arch-cow
Member
Registered: 2020-07-01
Posts: 46

[SOLVED] Teamviewer for arch

I'm looking for a way to share displays across multible platforms. problem is i only used team-viewer before and i can't get teamviewer to work on arch. I've installed it from aur / git but so far only old versions of teamviewer (v12) work which as it turns out isn't enough to connect to my partners newer version (v15).
So the question is there an alternative program which is cross platform and easy to install (for windows users). if not maybe i should use VM or Wine?
thanks for attention, Indian tech support (:

Last edited by bruh-i-use-arch-cow (2020-08-16 05:37:37)

Offline

#2 2020-08-15 09:57:13

JimDeadlock
Member
From: London
Registered: 2019-03-20
Posts: 83

Re: [SOLVED] Teamviewer for arch

You have to start the Teamviewer daemon, then it will run normally. It doesn't start up by default.

sudo systemctl start teamviewerd

... or you can permanently enable it:

sudo systemctl enable teamviewerd

Last edited by JimDeadlock (2020-08-15 09:58:38)

Offline

#3 2020-08-15 10:03:46

bruh-i-use-arch-cow
Member
Registered: 2020-07-01
Posts: 46

Re: [SOLVED] Teamviewer for arch

sudo systemctl status teamviewerd output:

● teamviewerd.service - TeamViewer remote control daemon
     Loaded: loaded (/usr/lib/systemd/system/teamviewerd.service; disabled; vendor preset: disabled)
     Active: active (running) since Sat 2020-08-15 12:01:43 EEST; 1h 0min ago
   Main PID: 15717 (teamviewerd)
      Tasks: 23 (limit: 9471)
     Memory: 276.0K
     CGroup: /system.slice/teamviewerd.service
             └─15717 /opt/teamviewer/tv_bin/teamviewerd -d

Aug 15 12:01:43 boringPC systemd[1]: Starting TeamViewer remote control daemon...
Aug 15 12:01:43 boringPC systemd[1]: teamviewerd.service: Can't open PID file /run/teamviewerd.pid (yet?) after start: Operation not permitted
Aug 15 12:01:43 boringPC systemd[1]: Started TeamViewer remote control daemon.
Aug 15 12:58:31 boringPC systemd[1]: /usr/lib/systemd/system/teamviewerd.service:9: PIDFile= references a path below legacy directory /var/run/, updating /var/run/teamviewerd.pid → /run/teamviewerd.pid; please update the unit file accordingly.

yus and it still doesnt open

Last edited by bruh-i-use-arch-cow (2020-08-15 10:09:24)

Offline

#4 2020-08-15 10:10:45

JimDeadlock
Member
From: London
Registered: 2019-03-20
Posts: 83

Re: [SOLVED] Teamviewer for arch

I use 15.8.3 regularly without any problem. Perhaps try uninstalling, removing all old configs etc and then install clean/fresh? TV is notorious for having incompatible versions, so it could be that you have mismatched configs somewhere.

Offline

#5 2020-08-15 10:13:55

JimDeadlock
Member
From: London
Registered: 2019-03-20
Posts: 83

Re: [SOLVED] Teamviewer for arch

Also, do you have a desktop environment or login with lightdm etc? See pinned comment on the AUR.

Offline

#6 2020-08-15 11:26:39

bruh-i-use-arch-cow
Member
Registered: 2020-07-01
Posts: 46

Re: [SOLVED] Teamviewer for arch

JimDeadlock wrote:

Also, do you have a desktop environment or login with lightdm etc? See pinned comment on the AUR.

no display manager, no lightdm, and using no desktop enviroment. im using i3wm with xinit login. should i switch to DE with DM for it to work?
edit: maybe im deleting old version wrong. im using pacman -Rns but maybe it doesnt delete old config files??

Last edited by bruh-i-use-arch-cow (2020-08-15 11:32:40)

Offline

#7 2020-08-15 12:30:42

seth
Member
Registered: 2012-09-03
Posts: 57,001

Re: [SOLVED] Teamviewer for arch

Please post your xinitrc.

Offline

#8 2020-08-15 13:02:14

bruh-i-use-arch-cow
Member
Registered: 2020-07-01
Posts: 46

Re: [SOLVED] Teamviewer for arch

[baka@boringPC ~]$ cat .xinitrc
session=${1:-i3}
case $session in
        i3      ) exec i3;;
        kde     ) exec startplasma-x11;;
        xfce|xfce4      ) exec startxfce4;;
        #NO
esac

i dont have kde or xfce on my pc tho

Last edited by bruh-i-use-arch-cow (2020-08-15 13:03:54)

Offline

#9 2020-08-15 13:03:57

seth
Member
Registered: 2012-09-03
Posts: 57,001

Re: [SOLVED] Teamviewer for arch

See the last link in my signature.

Offline

#10 2020-08-15 13:08:13

bruh-i-use-arch-cow
Member
Registered: 2020-07-01
Posts: 46

Re: [SOLVED] Teamviewer for arch

So do i just do
exec i3
in xinitrc?

Offline

#11 2020-08-15 14:11:55

seth
Member
Registered: 2012-09-03
Posts: 57,001

Re: [SOLVED] Teamviewer for arch

No. Read the link in the wiki, esp. the 2nd note in the blue box.

Offline

#12 2020-08-15 15:31:11

JimDeadlock
Member
From: London
Registered: 2019-03-20
Posts: 83

Re: [SOLVED] Teamviewer for arch

seth knows what he's doing much better than I do, but if you continue to have problems after you've done what he says, you should take a look at the pinned comment by seyn6gk on the teamviewer AUR page, it talks about the newer versions of TV not working properly without a DE. It doesn't work with startx at the moment.

Offline

#13 2020-08-15 15:47:26

seth
Member
Registered: 2012-09-03
Posts: 57,001

Re: [SOLVED] Teamviewer for arch

Seth only knows that the present xinitrc will lead to an inactive/broken session.
I'm frankly not sure what magic a DE or DM would provide beyond that (except if TV explicitly reads some XDG environment and boldly falls on its face.

There's a screenshot of an email in the linked bug that generically speaks of "session info" what would at least mildly speak for the requirement of a sane session, hence a non-broken xinitrc.

Offline

#14 2020-08-15 15:49:57

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 20,063

Re: [SOLVED] Teamviewer for arch

JimDeadlock is correct.  Right now, Teamviewer for, some unfathomable reason, only works if you start your session with a Display Manager.  And it won't work at all as a server if you are running Wayland instead of Xorg.  I have worked around this two ways.   One is to spin up a Windows VM and run it there (if you are planning to be a client).  The other is to, rather than start an X session from startx, I just start a display manager using systemctl without enabling it.

But, to answer the original question, VNC.  It works well, and has a different connection model than TeamViewer.   TeamViewer uses a third party proxy that can be reached from behind a firewall with NAT to allow machines that could not normally connect directly to each other to establish a connection -- to the horror and consternation of network administrators overwhere.  VNC requires that a one machine be able to reach the other.  It is possible to route VNC through an ssh tunnel, so if a ssh connection can be established it can work.

There are also ways to emulate the TeamViewer connection model: https://www.smartlab.at/mobilevnc/vnc-b … at-router/


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#15 2020-08-16 05:33:03

bruh-i-use-arch-cow
Member
Registered: 2020-07-01
Posts: 46

Re: [SOLVED] Teamviewer for arch

seth wrote:

Seth only knows that the present xinitrc will lead to an inactive/broken session.
I'm frankly not sure what magic a DE or DM would provide beyond that (except if TV explicitly reads some XDG environment and boldly falls on its face.

There's a screenshot of an email in the linked bug that generically speaks of "session info" what would at least mildly speak for the requirement of a sane session, hence a non-broken xinitrc.

i think i have finally configured my xinitrc right.

[baka@boringPC ~]$ cat .xinitrc
if [ -d /etc/X11/xinit/xinitrc.d ] ; then
 for f in /etc/X11/xinit/xinitrc.d/?*.sh ; do
  [ -x "$f" ] && . "$f"
 done
 unset f
fi

exec i3

but as it turns out this isn't enough and installing DM quickly fixed that and teamviewer works flawlessly. kinda sad that i cant use my old terminal login i thought it looked cool );
anyways CASE SOLVED!

Last edited by bruh-i-use-arch-cow (2020-08-16 05:36:48)

Offline

#16 2020-11-27 16:31:01

k395
Member
Registered: 2020-01-29
Posts: 37

Re: [SOLVED] Teamviewer for arch

Although this topic is old and OP already solved the problem, this is just for future visitors information.

* sudo systemctl status teamviewerd to see if it is running.
* It's possible to delete (or better move it to another location in case something goes wrong) .config/teamviewer and .local/share/teamviewer15/ .
* The log file is stored in .local/share/teamviewer15/logfiles/gui.log ; if the program doesn't work then check if there's any issue.

Offline

Board footer

Powered by FluxBB