Cannot login after reboot

Options
mbrando
mbrando Posts: 4 ✭✭
edited January 2023 in Linux only

Hello,

I have an Fresh Ubuntu 20.04 LTS install with Team Viewer 15. 38.3 linked to a paid account.

I'm connecting from Mac with TV 15.35.7

If the user on Ubuntu is logged in with or has lock screen, I can use easy access to remote into machine.

If user is logged out or machine had rebooted sitting at user login screen I cannot login.

Team viewer on remote machine is setup start with system and get notice when machines comes back on line. however, I cannot login with the user already logged in or at lock screen.

Any idea why I cannot connect to the login screen?

Thanks,

Mike


PS

Should I try Fresh install of Ubuntu 22.04 LTS and disable wayland?

Comments

  • mbrando
    mbrando Posts: 4 ✭✭
    Options

    Hello,

    Just FYI, if anyone else runs into this.

    I had to completely disable Wayland to get teamviewer to work at login screen.

    linuxconfig.org/how-to-enable-disable-wayland-on-ubuntu-20-04-desktop - Add https:// since I have not been around long enough to post links.

  • mbrando
    mbrando Posts: 4 ✭✭
    Options

    And if you are running headless you need a dummy HDMI.

    askubuntu.com/questions/1322937/ubuntu-20-04-shows-a-black-screen-when-connecting-through-teamviewer-but-i-stil

    If you have a headless machine (ie: no monitor plugged into it) you'll need to either install a "HDMI headless dummy connector" or you can install a Video Dummy Package:

    sudo apt-get install xserver-xorg-video-dummy
    

    Then add a configuration file for it:

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

    and paste this (adjusting your desired resolution)

    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
    

    Then reboot the machine and voilá