scotyboy56 Posted March 16, 2015 Posted March 16, 2015 I have brought two raspberry pi's for one of my primary schools to run the two screens. I have installed libre office etc on them and enabled SSH, and I can putty to them, however I have no idea what the linux command is to open a file on the actual, Raspberry Pi instead of in the putty window. So I can putty into the Pi's and start a powerpoint show from a windows share playing on them, without the need to plug a keyboard and mouse into each one.
mats Posted March 16, 2015 Posted March 16, 2015 -display :0 might work. Or vnc in and start it manually.
LosOjos Posted March 17, 2015 Posted March 17, 2015 (edited) Try sending the run command as an SSH argument, rather then SSH'ing to the shell then running it i.e. ssh username@host "your command here" EDIT: sorry, just realized you're suing Putty. Go to "Connection > SSH", then look for "Remote Command" and enter the command you're using to open presentations there. Then when you login, that command will be run on the host. Edited March 17, 2015 by LosOjos
scotyboy56 Posted March 17, 2015 Author Posted March 17, 2015 Try sending the run command as an SSH argument, rather then SSH'ing to the shell then running it i.e. ssh username@host "your command here" How would I do that? Sorry no experience when it comes to linux
LosOjos Posted March 17, 2015 Posted March 17, 2015 How would I do that? Sorry no experience when it comes to linux See my edit, there's an option in Putty to do it
LosOjos Posted March 17, 2015 Posted March 17, 2015 (edited) Do you know the command to run or was that part of the question? If so, this should do it (put this in the "Remote Command" box in Putty): libreoffice --show localfilename.odp It's important to specify the full path in Linux, and it's case sensitive. Assuming the file is in the home folder, the shorthand reference to this is '~/', so the example above would become: libreoffice --show ~/localfilename.odp EDIT: there's a list of LibreOffice command line arguments here: https://help.libreoffice.org/Common/Starting_the_Software_With_Parameters Edited March 17, 2015 by LosOjos
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now