You are not logged in.

#26 2023-07-16 13:43:23

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,680

Re: Teamviewer GUI does not launch

From the multi-user.target just

export XDG_SESSION_TYPE=x11; startx

Check what "loginctl session-status" reports and whether the environment is still set and then try to start teamviewer (since we're trying to figure whether it somewhere queries that, not to find convoluted ways to start X11 through systemd)

Offline

#27 2023-07-16 15:12:25

nikinbaidarr
Member
Registered: 2021-05-06
Posts: 101

Re: Teamviewer GUI does not launch

From the multi-user.target just

I'd set my default target as graphical.target. I set it to multi-user.target then export x11 as the default session type and ran startx. Here's the loginctl status output (aftet I tried to start teamviewer):

$ loginctl session-status
1 - nikin (1000)
           Since: Sun 2023-07-16 20:48:06 +0545; 5min ago
          Leader: 436 (login)
            Seat: seat0; vc1
             TTY: tty1
         Service: login; type tty; class user
           State: active
            Unit: session-1.scope
                  ├─ 436 "login -- nikin"
                  ├─ 526 -bash
                  ├─ 566 /bin/sh /usr/bin/startx
                  ├─ 581 xinit /home/nikin/.config/X11/xinitrc -- /etc/X11/xinit/x>
                  ├─ 582 /usr/lib/Xorg -nolisten tcp :0 vt1 -keeptty -auth /tmp/se>
                  ├─ 604 dwm
                  ├─ 607 unclutter --timeout 1 --start-hidden --fork
                  ├─ 623 /bin/sh /home/nikin/.config/X11/xinitrc
                  ├─ 640 st
                  ├─ 641 /bin/bash
                  ├─1002 /bin/bash
                  ├─1009 /usr/lib/firefox-developer-edition/firefox
                  ├─1136 /usr/lib/firefox-developer-edition/firefox -contentproc ->
                  ├─1169 /usr/lib/firefox-developer-edition/firefox -contentproc ->
                  ├─1284 /usr/lib/firefox-developer-edition/firefox -contentproc ->
                  ├─1365 /usr/lib/firefox-developer-edition/firefox -contentproc ->
                  ├─1371 /usr/lib/firefox-developer-edition/firefox -contentproc ->
                  ├─1374 /usr/lib/firefox-developer-edition/firefox -contentproc ->
                  ├─1552 /usr/lib/firefox-developer-edition/firefox -contentproc ->
                  ├─1619 /usr/lib/firefox-developer-edition/firefox -contentproc ->
                  ├─1972 /usr/lib/firefox-developer-edition/firefox -contentproc ->
                  ├─2024 /usr/lib/firefox-developer-edition/firefox -contentproc ->
                  ├─5517 tmux
                  ├─5519 tmux
                  ├─5520 -bash
                  ├─5586 sleep 1
                  ├─5587 loginctl session-status
                  └─5588 less

Jul 16 20:48:07 leviathan systemd[1]: Started Session 1 of User nikin.
Jul 16 20:48:07 leviathan login[436]: LOGIN ON tty1 BY nikin
Jul 16 20:50:58 leviathan sudo[3235]: pam_systemd_home(sudo:auth): systemd-homed i>

Did you want me to change /usr/lib/ystemd/system/multi-user.target? Currently it has this:

[Unit]
Description=Multi-User System
Documentation=man:systemd.special(7)
Requires=basic.target
Conflicts=rescue.service rescue.target
After=basic.target rescue.service rescue.target
AllowIsolate=yes

And this is my graphical.target

[Unit]
Description=Graphical Interface
Documentation=man:systemd.special(7)
Requires=multi-user.target
Wants=display-manager.service
Conflicts=rescue.service rescue.target
After=multi-user.target rescue.service rescue.target display-manager.service
AllowIsolate=yes

Offline

#28 2023-09-01 12:28:32

TechHome
Member
Registered: 2022-05-29
Posts: 2

Re: Teamviewer GUI does not launch

Hi,

please run

/opt/teamviewer/tv_bin/TeamViewer

and post the output.
Please also try to run teamviewer like this:

QT_QPA_PLATFORM="wayland;xcb" teamviewer

~May

Offline

#29 2023-09-01 13:06:03

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 76,680

Re: Teamviewer GUI does not launch

Sorry, this one fell off the table.
You'll have to manipulate the environment of the getty service to impact the session type, https://wiki.archlinux.org/title/Getty# … al_console (3rd tip)

Offline

Board footer

Powered by FluxBB