Page 1 of 1

How to make RPI screen correspond with SSH

Posted: Sun Feb 21, 2016 1:04 pm
by drballindahouse
I've been programming my own AI called VIC (Very Intelligent Computer) and i've figured out a way to allow me to talk to it using a microphone but it involves using SSH. My raspberry pi has a adafruit PiTFT screen attached to it btw. And obviously when you type commands in on SSH they and the processes do not appear on the Pi it's self but for what i'm making this looks odd. So i was wondering, is there anyway i can make what i type in on the SSH ,and the processes that follow, appear on my Pi screen as well as the SSH!?

Re: How to make RPI screen correspond with SSH

Posted: Sun Feb 21, 2016 2:34 pm
by elatllat

Re: How to make RPI screen correspond with SSH

Posted: Sun Feb 21, 2016 2:37 pm
by drballindahouse
elatllat wrote:screen or tmux
Thanks, i've tried screen and it doesn't work so i'll give tmux a go! Could you give me a brief explanation of how tux works?

Re: How to make RPI screen correspond with SSH

Posted: Sun Feb 21, 2016 2:49 pm
by drballindahouse
elatllat wrote:screen or tmux
Doesn't seem to work! I don't whether it be because i don't fully understand it or it just doesn't do what i want

Re: How to make RPI screen correspond with SSH

Posted: Sun Feb 21, 2016 2:59 pm
by DirkS
drballindahouse wrote:
elatllat wrote:screen or tmux
Doesn't seem to work! I don't whether it be because i don't fully understand it or it just doesn't do what i want
What screen / tmux let you do is to connect to the same session (terminal) from several locations.
The problem (AFAIK) is that you have to be logged in on the Pi itself.

I just tried it using byobu + tmux (byobu is a frontend for screen and tmux) on Jessie Lite.
I used raspi-config to enable auto-login to command line.
I set byobu-tmux to automatically start at boot.

When I log in using SSH I get connected to the existing session on the screen of the Pi.

I don't know if this solution is useful for you (it is for me though)