Microsoft Teams for Linux

Alexandr Krivulya shuriku at shurik.kiev.ua
Thu May 7 11:44:02 UTC 2020


06.05.20 10:09, Maciej Suszko пишет:
> Just adding freebsd-questions list - anyone here who tried to run or use
> Microsoft Teams web/app ?
>
> On 5/5/20 2:52 PM, Maciej Suszko wrote:
>> Hi,
>>
>> I'm wondering if anyone tried to use Microsoft Temas either web version
>> or desktop app... Web version does work but making audio/video call
>> isn't officialy suppported, so you need to spoof user-agent to make it
>> partially working - but from time to time MS change something and it
>> just stop working. In the past weeks I was able to make audio calls, now
>> it's not possible (neither Firefox nor Chrome)
>>
>> I tested my webcam and mic on https://www.onlinemictest.com/ and it's
>> all working, so problematic is the web application from MS.
>>
>> Desktop application - here are two options, one for Linux, one for
>> Windows. I tried to run the Linux version using linuxulator,
>> brandelf-ing all the binaries but with no success...
>>
>> #v+
>> tlhscd at arsenic:/tmp/teams/share/teams $ ./teams
>> Trace/BPT trap (core dumped)
>> #v-
>>
>> How do you think - are there any chances to make the desktop app working
>> in out FreeBSD desktops?--

Yesterday I tried to call my colleague via Microsoft Teams web-app 
(latest Firefox on CURRENT, spoofed User-Agent). Yes, there is no audio 
and video at all in both directions.

If I run desktop version with linux strace and it crashes. I think it 
because of unimplemented cgroups calls. Both Microsoft Teams and Skype 
are Electron applications, that tries to run chromium in isolated 
environment.

ipe([8, 9])                            = 0
mmap(NULL, 536875008, PROT_READ|PROT_WRITE, 
MAP_PRIVATE|MAP_ANONYMOUS|MAP_STACK, -1, 0) = 0x8277c0000
mprotect(0x8277c0000, 4096, PROT_NONE)  = 0
clone(child_stack=0x8477bfc70, 
flags=CLONE_VM|CLONE_FS|CLONE_FILES|CLONE_SIGHAND|CLONE_THREAD|CLONE_SYSVSEM|CLONE_SETTLS|CLONE_PARENT_SETTID|CLONE_CHILD_CLEARTID, 
parent_tidptr=0x8477c09d0, tls=0x8477c0700, child_tidptr=0x8477c09d0) = 
102129
read(4001536, 0x8477bfc70, 35559049680) = -1 ENOSYS (Function not 
implemented)
read(1, 0x7fffffffe130, 132630488)      = -1 ENOSYS (Function not 
implemented)
set_robust_list(0x8477c09e0, 24)        = 0
gettid()                                = 102129
mmap(NULL, 134217728, PROT_NONE, 
MAP_PRIVATE|MAP_ANONYMOUS|MAP_NORESERVE, -1, 0) = 0x8477c1000
munmap(0x8477c1000, 8646656)            = 0
munmap(0x84c000000, 58462208)           = 0
mprotect(0x848000000, 135168, PROT_READ|PROT_WRITE) = 0
stat("/sys/fs/cgroup/cpuset/chrome", 0x8477bfa40) = -1 ENOENT (No such 
file or directory)
stat("/sys/fs/cgroup/schedtune/chrome", 0x8477bfa40) = -1 ENOENT (No 
such file or directory)
setpriority(PRIO_PROCESS, 0, 0)         = 0
gettid()                                = 102129
gettid()                                = 102129
gettid()                                = 102129
gettid()                                = 102129
prctl(PR_SET_NAME, "sandbox_ipc_thre")  = 0
futex(0x7fffffffe1b4, FUTEX_CMP_REQUEUE_PRIVATE, 1, 2147483647, 
0x7fffffffe188, 2) = 1
read(-7756, 0x80, 1)                    = -1 ENOSYS (Function not 
implemented)
read(1, 0x7fffffffe130, 80)             = -1 ENOSYS (Function not 
implemented)
poll([{fd=8, events=POLLIN}, {fd=7, events=POLLIN}], 2, -1) = 0 (Timeout)
readlink("/proc/self/exe", "/compat/linux/usr/share/teams/te"..., 4096) = 35
lstat("/compat", {st_mode=S_IFDIR|0755, st_size=3, ...}) = 0
lstat("/compat/linux", {st_mode=S_IFDIR|0755, st_size=15, ...}) = 0
lstat("/compat/linux/usr", {st_mode=S_IFDIR|0775, st_size=10, ...}) = 0
lstat("/compat/linux/usr/share", {st_mode=S_IFDIR|0775, st_size=50, 
...}) = 0
lstat("/compat/linux/usr/share/teams", {st_mode=S_IFDIR|0755, 
st_size=18, ...}) = 0
lstat("/compat/linux/usr/share/teams/teams", {st_mode=S_IFREG|0755, 
st_size=114964776, ...}) = 0
socketpair(AF_LOCAL, SOCK_SEQPACKET, 0, [10, 11]) = 0
setsockopt(10, SOL_SOCKET, SO_PASSCRED, [1], 4) = -1 ENOPROTOOPT 
(Protocol not available)
--- SIGTRAP {si_signo=SIGTRAP, si_code=TRAP_BRKPT, si_errno=32767, 
si_value={int=132631408, ptr=0x7e7cb70}} ---
/compat/linux/bin/strace: [ Process PID=38396 runs in x32 mode. ]
syscall_18446744072635809788(0x8477bf9e0, 0x2, 0xffffffff, 0x7fffffff, 
0, 0x7e7cb50 <unfinished ...>
+++ killed by SIGTRAP +++




More information about the freebsd-emulation mailing list