Xinit session RPi3
Hello,
I use chromium run by xinit on Raspberry Pi 3. When chromium is running (output use only HDMI), I cant connect to remote (to RPi3) teamviewer. When I switch console by Ctrl + Alt + F1 (will see console prompt), I can connect by My Computers from my PC without input password. When I want to connect by Partner ID, the password is still declined. When I am connected by My Computers in console prompt (in Ctrl + Alt + F1) and then switch to xinit display (to Ctrl + Alt + F2), the connection is interrupted. After that I can't connect to RPi3 again (exception translated some like this - In partner computer Teamviewer is not running)
Installed teamviewer-host_12.0.78433_armhf.deb
uname -a - Linux raspberrypi 4.9.35-v7+
Could you help me, please?
Thank you
Best Answer
-
Dear vga,
Thank you for contacting TeamViewer.
As today, TeamViewer Host for Raspberry Pi and Linux doesn't support switching between GUI and CLI or vice-versa.
When you switch between environments, TeamViewer is not able to grab the initial mode and that is the reason why you're getting this behavior.
However, if you still need need to switch between ttys and GUI you can use the following command instead of using CRTL+ALT+FN[1-12]
sudo chvt N; sudo teamviewer daemon restart
Where N is the tty you will like to change. For example tty1; N=1. If GUI is on tty7 N = 7.
When TeamViewer service is restarted the connection is dropped but it will come back online.
This applies to Full version as well but needs to make sure that TeamViewer starts with the system.
Hope this solution works for you.
Best regards,
Christian
Did my reply answer your question? Accept it as a solution to help others, Thanks.6
Answers
-
Dear vga,
Thank you for contacting TeamViewer.
As today, TeamViewer Host for Raspberry Pi and Linux doesn't support switching between GUI and CLI or vice-versa.
When you switch between environments, TeamViewer is not able to grab the initial mode and that is the reason why you're getting this behavior.
However, if you still need need to switch between ttys and GUI you can use the following command instead of using CRTL+ALT+FN[1-12]
sudo chvt N; sudo teamviewer daemon restart
Where N is the tty you will like to change. For example tty1; N=1. If GUI is on tty7 N = 7.
When TeamViewer service is restarted the connection is dropped but it will come back online.
This applies to Full version as well but needs to make sure that TeamViewer starts with the system.
Hope this solution works for you.
Best regards,
Christian
Did my reply answer your question? Accept it as a solution to help others, Thanks.6