State of Wayland & TeamViewer

Announcements

TeamViewer 14 - Preview has been released! Download here

Highlighted
Posted by TeamViewer Staff
TeamViewer Staff

State of Wayland & TeamViewer

UbuntuLogin dense2.pngSign In with Xorg instead of WaylandTL;DR:
On Wayland, currently only outgoing remote control is supported. If you need incoming remote control, you have to sign in with classic Xorg.

[Edit]
You can also disable Wayland for gdm, as bl4ckOut pointed out in the first comment. However, note that this only allows you to connect to the login screen. When logging in, make sure to use Xorg, as shown on the right.

Background
Some people assume that TeamViewer should just work on Wayland, as Qt does all the work. That is partially true. The UI does not care about being started on Xorg or Wayland. But TeamViewer is deeply integrated with the system. It needs to know what kind of session it deals with, so it can handle incoming connections properly, especially if you connect to the login screen and then start a new user session. Therefore, TeamViewer knows Xorg sessions and frambuffer terminal sessions (you can connect to these). TeamViewer 13 now also knows Wayland sessions. That was the easy part.

From a developer perspective, we would be more than happy to leave the archaic X11 technology stack behind and jump on the new and shiny Wayland train. However, that is not as simple as it may seem. By design, Wayland does not provide an interface to do remote control (screen capturing, mouse and keyboard emulation). This is to keep the Wayland core lean. The idea is that the compositor provides these interfaces, which could mean that TeamViewer would have to implement different interfaces for every desktop environment we want to support. This is unfortunate, but it's even more unsatisfying that these interfaces are not available yet. The closest to having something useful is Gnome, so it is likely that it will be the first desktop where we can support Wayland.

Summary
Yes, we want full Wayland support, just as much as you, and we will work on it. Just know that it's a bit more complicated than 'just make it happen', as it is for most of the other features.

All the best,
Daniel

Linux Developer
25 Replies
25 Replies
Posted by bl4ckOut
Photon

Re: State of Wayland & TeamViewer

Command line way for Ubuntu 17.10:

sudo nano /etc/gdm3/custom.conf

uncoment "WaylandEnable=false"

--> reboot.

Posted by Gianmar
Henagon

Re: State of Wayland & TeamViewer

Any new  for the Wayland support...  i hope very soon it will be  fully supported.

Posted by SailingSpeedy
Henagon

Re: State of Wayland & TeamViewer

Can you give a rough time frame when you expect Wayland support to be in test / released?

Posted by TeamViewer Staff
TeamViewer Staff

Wayland Roadmap

I can't. But it will definitely not happen in the next few months.

As Ubuntu 18.04 LTS will not default to Wayland, urgency drops quite a bit.
The remaining main target is probably Fedora. When most features are back in TV13 we can have a look if they have an interface that allows us do remote control in a sensible way.

Best regards,

Daniel

Linux Developer
Posted by SailingSpeedy
Henagon

Re: Wayland Roadmap

Thank you for the info. So it's waiting for 18.04 and all is working again.

Posted by Ketterer
Digon

Re: Wayland Roadmap

Hey I was wondering if you had heard of pipewire. It may be just the thing to work on and wait till it matures (possibly contribute code up stream) and make a future proof solution
Posted by SailingSpeedy
Henagon

Re: Wayland Roadmap

To me this sounds like something worth watching.

Posted by MotoTom
Digon

Re: State of Wayland & TeamViewer

Good info, Daniel.

I'm running Xcfe (Xubuntu 17.10) but for some reason Teamviewer thanks I'm running Wayland. There is no /etc/gdm3 folder on my system.

When I open Teamviewer there is a box under PASSWORD that says "Wayland detected" Incoming remote control corrections will fail. Only Xorg sessions are supported.

Any help in resolving this is greatly appreciated.

Best,

Tom

Posted by luc1971
Henagon

Re: State of Wayland & TeamViewer

I've the same problem, I've just updated Temviewer at the last version Update: 13.1.3026 and now is impossible to connect, there is a message that show that Wayland is present, but before was working without problems.

Kubuntu 10.17

Please HELP !!

Posted by jairoraiol
Henagon

Re: State of Wayland & TeamViewer

My system is based on Debian Linux.
It has both installed servers, Xorg and Wayland.
When I check which one is currently running, the result is "x11".

$ echo $XDG_SESSION_TYPE
x11

So I'm using Xorg.
Even so, the TV notifies Wayland's detection, and the input connections will fail.

I believe TV is not knowing how to deal with this situation.
Or am I missing something?

Posted by duaneH
Digon

Re: State of Wayland & TeamViewer

I have the same issue with Fedora 27 (32 bit).  TV was working fine with version 12 but I have to connect to PCs running version 13.  When I updated, TV starts and I get the same message about Wayland.  The input boxes to sign in are disabled.  I set the config in the gdm folder to disable Wayland but that didn't help.  I've installed XFCE and run that but same problem.

Also, btw, the click on the Wayland message  to open in a browser complains that the default browser isn't found, listing Chrome.  But there is no Chrome for 32 bit Fedora and I'm running Firefox which is set as my default browser.

Posted by TeamViewer Staff
TeamViewer Staff

Re: State of Wayland & TeamViewer

@luc1971 sign in with Xorg and the message should go away.

@MotoTom, @duaneH: Please follow the instructions in the very first paragraph and just sign in with Xorg, as shown in the screenshot. I never suggested to edit gdm configuration.

@duaneH: If Computer&Contacts sign-in is disabled, TeamViewer is not online (yet). That is completely unrelated to Wayland. Below the wayland message, there is an online status indicator. If it is not green, you cannot sign in. If it does not come online after some seconds, try rebooting, or restarting the daemon:

sudo teamviewer daemon restart

@jairoraiol it is common to have both installed. Ubuntu 17.10 has. That's why the suggestion is to just sign in with Xorg.
I don't really know how XDG and TeamViewer disagree on the session type, but I'm tempted to say XDG is wrong. If the message shown by TeamViewer was wrong, then incoming connections would still work. The detection for the message does not disable incoming connections. On Wayland, the connection would still be established, but no picture would be shown on the other side (Windows would show a world map "initializing display parametes", Linux would just show a black screen). So, if you have that effect, it is in fact Wayland.
Also, you can open a terminal, run xkill and then click the terminal window. If it goes away, you're on Xorg.

Regards,
Daniel

Linux Developer
Posted by duaneH
Digon

Re: State of Wayland & TeamViewer

Thanks for the reply.Daniel.


@MotoTom, @duaneH: Please follow the instructions in the very first paragraph and just sign in with Xorg, as shown in the screenshot. I never suggested to edit gdm configuration.

@duaneH: If Computer&Contacts sign-in is disabled, TeamViewer is not online (yet). That is completely unrelated to Wayland. Below the wayland message, there is an online status indicator. If it is not green, you cannot sign in. If it does not come online after some seconds, try rebooting, or restarting the daemon:

sudo teamviewer daemon restart

 



Fedora has a login "Gnome on xorg".  When I use that I still get the Wayland message as well as when I use XFCE.  In either case, loginctl shows that I'm running an x11 sessions.  

As to the daemon,.  I restart it and it doesn't help but the status shows:

///////

systemctl status teamviewerd.service
● teamviewerd.service - TeamViewer remote control daemon
Loaded: loaded (/etc/systemd/system/teamviewerd.service; enabled; vendor preset: disabled)
Active: active (running) since Wed 2018-04-04 11:11:43 EDT; 1min 11s ago
Process: 2453 ExecStart=/opt/teamviewer/tv_bin/teamviewerd -d (code=exited, status=0/SUCCESS)
Main PID: 2455 (teamviewerd)
Tasks: 13 (limit: 4915)
CGroup: /system.slice/teamviewerd.service
└─2455 /opt/teamviewer/tv_bin/teamviewerd -d

Apr 04 11:11:43 localhost.localdomain systemd[1]: Starting TeamViewer remote control daemon...
Apr 04 11:11:43 localhost.localdomain systemd[1]: teamviewerd.service: PID file /var/run/teamviewerd.pid not readable (yet?) after start: No such file or directory
Apr 04 11:11:43 localhost.localdomain systemd[1]: Started TeamViewer remote control daemon.

////

 

Not sure what the "No such file or directory" is about.  

 

 

Posted by jairoraiol
Henagon

Re: State of Wayland & TeamViewer

Thank you for responding DanielStm.

In the terminal test the window went away, so I'm using Xorg.

It is not possible to perform the input test because the fields "Your ID" and "Password" are empty.

Also it was not possible to perform exit test, because when I click on the button "Connect" nothing happens, and no message appears.

The GUI is also strange. For example, the "Connect" button is empty, and I also could not close the TV.

The programs "teamviewerd" and "TeamViewer" are running.

I tested the AnyDesk program and worked normally on the same system, both in the input and output.

My system is based on Debin Linux Buster 32 bit.

Posted by MotoTom
Digon

Re: State of Wayland & TeamViewer

Unfortunately Xubunutu (Xfce implimentation of Ubuntu) does not offer the Xorg log on option. I'm going to try another distro that should run on this relatively low-powered netbook (Atom N270 with 2GB RAM)  

Posted by duane
Henagon

Re: State of Wayland & TeamViewer


@jairoraiolwrote:

Thank you for responding DanielStm.

In the terminal test the window went away, so I'm using Xorg.

It is not possible to perform the input test because the fields "Your ID" and "Password" are empty.

Also it was not possible to perform exit test, because when I click on the button "Connect" nothing happens, and no message appears.

The GUI is also strange. For example, the "Connect" button is empty, and I also could not close the TV.

The programs "teamviewerd" and "TeamViewer" are running.

I tested the AnyDesk program and worked normally on the same system, both in the input and output.

My system is based on Debin Linux Buster 32 bit.


Same GUI issues here with Fedora 27 32 bit.   TV 12 worked ok.  

Posted by xlow
Henagon

Re: State of Wayland & TeamViewer

Exactly same issue on Lubuntu. TV 13 all of the sudden stopped working altogether. TV 12 was working flawlessly.

Posted by duaneH
Digon

Re: State of Wayland & TeamViewer


@xlow wrote:

Exactly same issue on Lubuntu. TV 13 all of the sudden stopped working altogether. TV 12 was working flawlessly.


FWIW, my installation of Fedora 27 32 bit is on a virtual machine (Oracle virtual box).  For a test I made another VM with Fedora 27 64 bit.  This one worked fine.  With XFCE, it detects that there's no Wayland and there is no issue with connections.  It may be an issue with the 32 bit version.

This is a pretty basic installation though so it may just be chance that it works.

Posted by MotoTom
Digon

Re: State of Wayland & TeamViewer

Found a distro that works well for my needs, Linux Lite, a Ubuntu derivative currently based on Ubntu 16.04. It offers TeamViewer in its base repository and TV13 runs as it should. The only issue I had to deal with getting Filezilla v25 or newer to run and that was pretty easy to do by downloading from the Filezilla site and finding a few dependencies.

I'm back to being a happy TV users,

Posted by Markor
Electron

Re: State of Wayland & TeamViewer

Hi,

Can you please fix your Teamviewer for Linux binaries, distributing for 32-bit .deb package (Xubuntu 18.04 here).

Even there are some Wayland libraries present, Xubuntu is clearly using Xorg and NOT Wayland as suggested in this post.

It behaves same as described, Teamviewer is currently broken application under (X)Ubuntu , it does not display text on the 'Connect' button and also does not recognize system is running Xorg and not Wayland, so Teamviewer does not recognize what it is running on!

I can close window with xkill and it IS Xorg, yet Teamviewer 13 does not recognize that and I am unable to do my job using Teamviewer because of this...

Posted by TeamViewer Staff
TeamViewer Staff

Wayland Warning

Hi @Markor, that problem is discussed here: Faulty Wayland detection.

Daniel

Linux Developer
Posted by neutravlad
Henagon

Re: State of Wayland & TeamViewer

FIXED!

Hello,

I installed Lubuntu 18.04 32bit with the default setting and everything. I installed Teamviewer for personal use (latest version as of 05/22/2018). Of course I got the dreadful message.

I don't have /etc/gdm3... So I am not sure if I can disable Wayland - I don't know if I even have Wayland. 

Anyway, I installed and configured Teamviewer through the terminal: How-to-install-TeamViewer-through terminal.

Works like a charm now. The GUI Teamviewer still has the message and doesn't show the logged in profile. But somehow the non-gui process is working Smiley Happy

Best,

Vlad

Posted by oldosisbest
Henagon

Re: State of Wayland & TeamViewer

@neutravlad you just saved my time. I have Lubuntu 18.04 32-bit too and your method works! thanks so much!!!

Posted by flotux
Photon

Re: State of Wayland & TeamViewer

Is the wayland problem with 32 Bit Linux fixed with the brand new version 13.1.8286?

Posted by TeamViewer Staff
TeamViewer Staff

Re: State of Wayland & TeamViewer

As discussed here, Faulty Wayland detection, it was not really related to Wayland, and yes is fixed.

Linux Developer