Qengineering / Jetson-Nano-Ubuntu-20-image

Jetson Nano with Ubuntu 20.04 image
https://qengineering.eu/install-ubuntu-20.04-on-jetson-nano.html
BSD 3-Clause "New" or "Revised" License
646 stars 70 forks source link

TeamViewer cant login #43

Open drjajas opened 11 months ago

drjajas commented 11 months ago

After starting my jetson nano with the new image i tried to connect TeamViewer with my acc. but i only get error:

" Welcome to TeamViewer configuration.

This short guide helps you to setup TeamViewer on this device. After you have successfully finished the setup, this device will automatically be available in your Computers & Contacts.

Connected Please enter your email / username: test

Please enter your password: Initiating sign in There was a connectivity issue. Please check your internet connection and try again.

"

I reinstalled and checked my Network but nothing worked.

" ping master4.teamviewer.com PING master4.teamviewer.com(master4.teamviewer.com (2a0b:b580:0:1::4)) 56 data b ytes 64 bytes from master4.teamviewer.com (2a0b:b580:0:1::4): icmp_seq=1 ttl=120 time =9.23 ms 64 bytes from master4.teamviewer.com (2a0b:b580:0:1::4): icmp_seq=2 ttl=120 time =10.5 ms --- master4.teamviewer.com ping statistics --- 2 packets transmitted, 2 received, 0% packet loss, time 1002ms rtt min/avg/max/mdev = 9.229/9.870/10.512/0.641 ms "

Qengineering commented 11 months ago

@drjajas ,

TeamViewer can be really annoying! It is very hard to debug. It can be a Jetson Nano issue, or a PC problem or a network problem. You name it. Previous, I never had any problem with TeamViewer, but lately it cumbersome. I'm sorry.

drjajas commented 11 months ago

I have no idea Why but it worked after i did this:

sudo apt-get remove --purge teamviewer-host sudo apt-get autoremove rm -rf ~/.teamviewer sudo rm -rf /var/log/teamviewer sudo find / -name "teamviewer*" 2>/dev/null sudo apt-get clean sudo apt-get update sudo reboot sudo dpkg -i teamviewer-host_armhf.deb sudo apt install -f sudo teamviewer setup sudo systemctl enable teamviewerd.service sudo apt install ./teamviewer-host_arm64.deb sudo apt --fix-broken install sudo cp /usr/share/glvnd/egl_vendor.d/50_mesa.json /usr/share/glvnd/egl_vendor.d/50_mesa.json.backup sudo rm /usr/share/glvnd/egl_vendor.d/50_mesa.json sudo apt-get install -f sudo rm /var/cache/apt/archives/libegl-mesa0_21.2.6-0ubuntu0.1~20.04.2_armhf.deb sudo apt-get update sudo apt install ./teamviewer-host_arm64.deb sudo teamviewer setup

if it is working by you too dont quit it when authenticating your E-Mail couse than it wont work again. Maybe it helps someone.

Qengineering commented 11 months ago

@drjajas,

Thanks! I keep the issue open and label it as "Valued information"

drjajas commented 11 months ago

Seems like it was only a short fix after a reboot it stopped working again.

Qengineering commented 11 months ago

Too bad

drjajas commented 11 months ago

A new way i found to fix it:

sudo apt-get update sudo apt-get upgrade sudo apt-get remove --purge teamviewer sudo apt-get autoremove rm -rf /.teamviewer sudo rm -rf /var/log/teamviewer* sudo find / -name "teamviewer" 2>/dev/null sudo apt-get clean wget https://download.teamviewer.com/download/linux/version_14x/teamviewer-host_armhf.deb sudo dpkg --add-architecture armhf sudo apt-get update sudo apt-get upgrade sudo dpkg -i teamviewer-host_armhf.deb sudo apt install -f sudo apt --fix-broken install sudo dpkg -i teamviewer-host_armhf.deb sudo apt --fix-broken install sudo rm /var/cache/apt/archives/libegl-mesa0_21.2.6-0ubuntu0.120.04.2_armhf.deb sudo cp /usr/share/glvnd/egl_vendor.d/50_mesa.json /usr/share/glvnd/egl_vendor.d/50_mesa.json.backup sudo dpkg -i --force-overwrite /var/cache/apt/archives/libegl-mesa0_21.2.6-0ubuntu0.1~20.04.2_armhf.deb sudo apt-get -f install sudo apt-get update mkdir new cd new/ wget https://download.teamviewer.com/download/linux/teamviewer-host_armhf.deb sudo dpkg -i teamviewer-host_armhf.deb sudo apt --fix-broken install sudo dpkg -i teamviewer-host_armhf.deb sudo teamviewer setup

i keep you updated if this also stops working.

drjajas commented 11 months ago

For anyone experiencing the issue where TeamViewer doesn't function without a connected display, I've found a solution:

sudo apt install xserver-xorg-video-dummy

sudo nano /usr/share/X11/xorg.conf.d/xorg.conf

Input the following in the file:

Section "Device"
    Identifier  "Configured Video Device"
    Driver      "dummy"
EndSection

Section "Monitor"
    Identifier  "Configured Monitor"
    HorizSync 31.5-48.5
    VertRefresh 50-70
EndSection

Section "Screen"
    Identifier  "Default Screen"
    Monitor     "Configured Monitor"
    Device      "Configured Video Device"
    DefaultDepth 24
    SubSection "Display"
    Depth 24
    Modes "1920x1080"
    EndSubSection
EndSection

After that reboot.