JMRI Software on Raspberry Pi

Started by GWR-Kris, February 19, 2013, 11:23:19 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

kirky

Yep, it's exactly like 5550.
Except it ends in a one, and the port that works, according to vnc viewer, ends in a zero. Otherwise, the same three digits.

Cheers
Kirky
Northallerton will make its next public appearance will be at Perth model railway show https://smet.org.uk/show/layouts/
June 24/25 2023.

Layout: Northallerton: http://www.ngaugeforum.co.uk/SMFN/index.php?topic=1671.msg16930#msg16930

www.northallertonngauge.co.uk

Cleveland Model Railway club website: www.clevelandmrc.club

PaulCheffus

Quote from: kirky on August 01, 2013, 04:56:59 PM
Yep, it's exactly like 5550.
Except it ends in a one, and the port that works, according to vnc viewer, ends in a zero. Otherwise, the same three digits.

Cheers
Kirky

Hi

Ah sorry I misunderstood the problem. So you have the Pi running JMRI and is connected to the layout but you are having problems connecting to the Pi using VNC is that correct?

I used this guide here to set my VNC service up on the Pi
http://elinux.org/RPi_VNC_Server

I can check my settings on the iPad later this evening if that would help.

Cheers

Paul


Procrastination - The Thief of Time.

Workbench thread
https://www.ngaugeforum.co.uk/SMFN/index.php?topic=54708.msg724969#msg724969

kirky

Er, not quite.
I haven't got the pi running jmri yet. The pi needs to connect via vnc before jmri can be seen, as I understand it, although that may be wrong.
I have had the pi connected to he iPad via vnc, when using raspbian.
Again, as I understand it, the point of jmri on the pi is that it only runs jmri, and the vnc server. This makes it quicker I think?
Might be worth checking out https://github.com/proffalken/JMR-Pi
Cheers
Kirky
Northallerton will make its next public appearance will be at Perth model railway show https://smet.org.uk/show/layouts/
June 24/25 2023.

Layout: Northallerton: http://www.ngaugeforum.co.uk/SMFN/index.php?topic=1671.msg16930#msg16930

www.northallertonngauge.co.uk

Cleveland Model Railway club website: www.clevelandmrc.club

red_death

Have you got something like Withrottle on your Ipad? In which case why bother with VNC? Just connect directly to the JMRI instance using Withrottle.  You will still have to configure JMRI on the Pi (either directly or via VNC).

Cheers, Mike



PaulCheffus

#34
Quote from: kirky on August 01, 2013, 06:11:39 PM
Er, not quite.
I haven't got the pi running jmri yet. The pi needs to connect via vnc before jmri can be seen, as I understand it, although that may be wrong.
I have had the pi connected to he iPad via vnc, when using raspbian.
Again, as I understand it, the point of jmri on the pi is that it only runs jmri, and the vnc server. This makes it quicker I think?
Might be worth checking out https://github.com/proffalken/JMR-Pi
Cheers
Kirky

Hi

The iPad should connect to the Pi on port 5901 for VNC by default and the VNC service must be running on the Pi.

What app are you using on the iPad? I use one called iSSH which also includes VNC.

Cheers

Paul
Procrastination - The Thief of Time.

Workbench thread
https://www.ngaugeforum.co.uk/SMFN/index.php?topic=54708.msg724969#msg724969

kirky

Hi Mike
Right, I'm learning as I go here, so I might be being a bit of a  :dunce:
Once I have run the JMR-pi script in a raspbian terminal, how do I launch jmri within the raspbian GUI?

Cheers
Kirky
Northallerton will make its next public appearance will be at Perth model railway show https://smet.org.uk/show/layouts/
June 24/25 2023.

Layout: Northallerton: http://www.ngaugeforum.co.uk/SMFN/index.php?topic=1671.msg16930#msg16930

www.northallertonngauge.co.uk

Cleveland Model Railway club website: www.clevelandmrc.club

kirky

Hi Paul
That's interesting.
Yes the JMR-pi script says the port should be 5901. But that doesn't work. It works on 5900. Odd?

Kirky
Northallerton will make its next public appearance will be at Perth model railway show https://smet.org.uk/show/layouts/
June 24/25 2023.

Layout: Northallerton: http://www.ngaugeforum.co.uk/SMFN/index.php?topic=1671.msg16930#msg16930

www.northallertonngauge.co.uk

Cleveland Model Railway club website: www.clevelandmrc.club

PaulCheffus

Quote from: kirky on August 01, 2013, 10:03:54 PM
Hi Paul
That's interesting.
Yes the JMR-pi script says the port should be 5901. But that doesn't work. It works on 5900. Odd?

Kirky

Hi

I've just had a look at the link you sent and it looks to me like the VNC server is configured on port 5900 not 5901 as the end of the script says.

What happens when you use port 5900 from your iPad?

If you get the graphic windows like screen then I wouldn't worry too much that you are connecting on port 5900 instead of 5901.

Cheers

Paul
Procrastination - The Thief of Time.

Workbench thread
https://www.ngaugeforum.co.uk/SMFN/index.php?topic=54708.msg724969#msg724969

Please Support Us!
May Goal: £100.00
Due Date: May 31
Total Receipts: £22.34
Below Goal: £77.66
Site Currency: GBP
22% 
May Donations