drballindahouse
Posts: 8
Joined: Wed May 20, 2015 10:48 pm

How to make RPI screen correspond with SSH

Sun Feb 21, 2016 1:04 pm

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!?

elatllat
Posts: 1337
Joined: Sat Dec 17, 2011 5:05 pm

Re: How to make RPI screen correspond with SSH

Sun Feb 21, 2016 2:34 pm

Last edited by elatllat on Mon Feb 22, 2016 1:09 pm, edited 1 time in total.
SBC with 32GB RAM: https://hardkernel.com

FAQ : https://raspberrypi.stackexchange.com

Unanswered: https://www.raspberrypi.org/forums/search.php?search_id=unanswered

drballindahouse
Posts: 8
Joined: Wed May 20, 2015 10:48 pm

Re: How to make RPI screen correspond with SSH

Sun Feb 21, 2016 2:37 pm

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?

drballindahouse
Posts: 8
Joined: Wed May 20, 2015 10:48 pm

Re: How to make RPI screen correspond with SSH

Sun Feb 21, 2016 2:49 pm

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

DirkS
Posts: 9899
Joined: Tue Jun 19, 2012 9:46 pm
Location: Essex, UK

Re: How to make RPI screen correspond with SSH

Sun Feb 21, 2016 2:59 pm

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)

Return to “Advanced users”