LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   LinuxQuestions.org Member Success Stories (https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/)
-   -   Unable to TeamViewer into RPi without screen attached - Error Code: WaitforConnectFailed (https://www.linuxquestions.org/questions/linuxquestions-org-member-success-stories-23/unable-to-teamviewer-into-rpi-without-screen-attached-error-code-waitforconnectfailed-4175675196/)

Janus84 05-14-2020 02:06 AM

Unable to TeamViewer into RPi without screen attached - Error Code: WaitforConnectFailed
 
Don't judge me for using TeamViewer, we have commercial license and I am stuck with it for most deployments. It is a very poorly supported product designed by some marketing team.

I had the strangest problem with this Raspberry Pi installed on top of a hill far from anywhere, running some network monitoring tools. It is running Debian 10 with XFCE DE. Upon set up everything was fine but the next day I was unable to connect, getting the above error message. This did not make any sense.
Went back few days later and after some frustration I've connected monitor to the RPi and everything suddenly worked fine. There seem to be an issue with how the TeamViewer on RPi (and other linux boxes) handle having no display connected.

The solution:
On the RPi I've modified /boot/config.txt

Code:

# uncomment if hdmi display is not detected and composite is being output
hdmi_force_hotplug=1

# uncomment to force a specific HDMI mode (this will force VGA)
hdmi_group=1
hdmi_mode=31

More information on this config file at
https://elinux.org/RPi_Configuration
https://elinux.org/R-Pi_configuration_file

Searching for solutions to (many) TeamViewer issues will bring up years old threads mostly without any positive outcomes.

mxdog 05-15-2020 06:00 AM

From TeamViewer
 
Headless Linux Systems:

My guess would be your x-server isn't starting on the rasPi with no monitor


All times are GMT -5. The time now is 01:59 PM.