Other windows tools: Difference between revisions

From Rsewiki
 
(11 intermediate revisions by the same user not shown)
Line 21: Line 21:


Linux uses X or (X-display) for graphical applications.
Linux uses X or (X-display) for graphical applications.
There are several options to show Linux X-graphics in Windows, one of them is X410
https://www.microsoft.com/da-dk/p/x410/9nlp712zmn9q?rtc=1&wa=wsignin1.0&activetab=pivot:overviewtab
[[File:putty-x410-store.png | 500px]]
You can test it for 14 days for free.
It is not realy needed, as the most essential applications are text based. But at times it is nice to be able to run graphical applications on the Raspberry Pi without having to mount a screen.
== Putty with 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.
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:
Start x410 (in the background)
 
When you start Putty, the start dialogue looks like this:


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


Select SSH and type the name of the raspberry pi - here the name is Zephyr so type Zephyr.local.
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.
Port number is fine as is.


But X-forwarding is missing. In the list on the left find "Connection" -> "SSH" -> x11, as below
But X-forwarding is missing. In the list on the left find "Connection" -> "SSH" -> x11, as below
Line 37: Line 51:
Check "Enable X-forwarding"
Check "Enable X-forwarding"


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


Press open to start a terminal with X-forwarding.
Press open to start a session with X-forwarding.


Try tot start the calculator app called calculator:
Try to start a graphical application:
  calculator
  geany
and you should see something like
and you should see a python IDE, something like


[[File:putty_gcalculator.png]]
[[File:putty_mu-editor.png | 500px]]

Latest revision as of 17:48, 9 December 2021

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.

There are several options to show Linux X-graphics in Windows, one of them is X410

https://www.microsoft.com/da-dk/p/x410/9nlp712zmn9q?rtc=1&wa=wsignin1.0&activetab=pivot:overviewtab

You can test it for 14 days for free.

It is not realy needed, as the most essential applications are text based. But at times it is nice to be able to run graphical applications on the Raspberry Pi without having to mount a screen.

Putty with 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.

Start x410 (in the background)

When you start Putty, 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 fine 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 the session, write a name in "saved sessions" to save the session configuration for next time, and press save.

Press open to start a session with X-forwarding.

Try to start a graphical application:

geany

and you should see a python IDE, something like