Hi, I've solved the issue by now.
Like @ChristianCay said, TV wasn't able to grab the screen after X started. The solution was to use LightDM instead of Nodm as display manager and to replace matchbox with openbox. Now TV can still be started during boot using systemd and I can connect to both console and X session. I'm not sure why nodm/matchbox can't share the screen with TV, but anyhow, this way it works fine for me.
Dear rogierkoppejan,
Thank you for your post.
When TeamViewer starts grabs the current running physical terminal.
Then starts the network connection.
If it's not possible to grab a GUI or Console at startup it won't show as online.
That's the reason why it's not able to receive incoming connections.
To be able to connect again you need to restart the TeamViewer service by running the following command.
sudo teamviewer daemon restart
What we recommend if you want to switch between GUI and terminal to start with GUI and use a terminal inside a GUI; but that only applies to your system needs.
I will forward your suggestion to switch between GUI and Console our product management team.
Such ideas are always welcome, although we can not promise when or if this Feature will be implemented.
Decisions for new features are mainly based on customer's suggestions.
Nevertheless, your feedback is crucial to us, as we want to continue to develop TeamViewer-based on our user's need.
We will be happy to inform you about the realization of this feature.
If you have any further questions regarding our product, feel free to contact us.
Best regards,
Christain
Dear Christian,
as a Debian newbie I set up a Raspberry Pi with Raspbian Stretch Light to run as a kiosk system. I installed Teamviewer to have remote access.
Everything works fine witrh Teamviewer as long as I don't start the X server with
[[ -z $DISPLAY && $XDG_VTNR -eq 1 ]] && startx -- -nocursor
in the pi users .bash_profile.I. e. if I stop the X server with ctrl+alt+bspc my Teamviewer console sees the Raspberry again an I can connect.
If I start again with startx -- -nocursor in the Teamviewer session I loose connection.
So I installed LightDM as rogierkoppejan recommended it (Openbox is already installed on my system) ... no access!
I inserted
as first line in my /etc/xdg/openbox/autostart ... no access!
Any ideas?
Best regards Heinz
@hela - I am having the exact same issue. Did you ever manage to get it working?
I don't know if this helps you, but you can run TeamViewer headless with a dummy display adapter (cheap from Amazon, both HDMI and VGA offered). So it's physically without a display until you unplug the dummy and plug in the real display. No configuration changes needed.
Search Google: Dummy Plug Virtual Display amazon vga hdmi