Other windows tools: Difference between revisions

From Rsewiki
Line 24: Line 24:
When you start an application from an ssh connection (using Putty), then it works fine if it is a terminal (text-based) application, but not for graphics.
When you start an application from an ssh connection (using Putty), then it works fine if it is a terminal (text-based) application, but not for graphics.


[[File:putty_1.png | 800px]]
When you have installed Putty on, the start dialogue looks like this:
The "Session


[[File:putty_1.png | 700px]]


[[File:putty_2.png | 400px]]
Select SSH and type the name of the raspberry pi - here the name is Zephyr so type Zephyr.local.
Port number is fins as is.
 
But X-forwarding is missing. In the list on the left find "Connection" -> "SSH" -> x11, as below
 
[[File:putty_2.png | 700px]]
 
Check "Enable X-forwarding"
 
Go back to session, write a name to save the configuration for next time, and press save.
 
Press open to start a terminal with X-forwarding.
 
Try tot start the calculator app called calculator:
calculator
and you should see something like
 
[[File:putty_gcalculator.png]]

Revision as of 20:22, 23 December 2020

Back to Robobot

Windows tools

File copy

Use winscp (from https://winscp.net/eng/download.php?TB_iframe) to move files to and from the raspberry pi.

- or use the Samba share explained earlier.

Terminal access

Use putty (from https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html) to get terminal access to the raspberry.

To connect to raspberry using a cable (from raspberry direct to a PC) requires that both has a manually set IP adress. The Raspberry side is 192.168.0.2, and you should probably manually set the IP of your PC to the same local net, e.g. 192.168.0.100.

In Putty

Graphical applications from Windows

Linux uses X or (X-display) for graphical applications.

When you start an application from an ssh connection (using Putty), then it works fine if it is a terminal (text-based) application, but not for graphics.

When you have installed Putty on, the start dialogue looks like this:

Select SSH and type the name of the raspberry pi - here the name is Zephyr so type Zephyr.local. Port number is fins as is.

But X-forwarding is missing. In the list on the left find "Connection" -> "SSH" -> x11, as below

Check "Enable X-forwarding"

Go back to session, write a name to save the configuration for next time, and press save.

Press open to start a terminal with X-forwarding.

Try tot start the calculator app called calculator:

calculator

and you should see something like