<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Hi Anu,</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I was able to reboot the Pi remotely and the login procedure worked. Try it again and if it does not work we can arrange a time to go over the procedure.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Currently, you guys aren't flowing any gas.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Marc<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Dsg-halla_gas <dsg-halla_gas-bounces@jlab.org> on behalf of Marc Mcmullen <mcmullen@jlab.org><br>
<b>Sent:</b> Wednesday, December 23, 2020 4:26 PM<br>
<b>To:</b> Anuruddha Rathnayake <adr4zs@virginia.edu>; dsg-halla_gas@jlab.org <dsg-halla_gas@jlab.org><br>
<b>Subject:</b> Re: [Dsg-halla_gas] [EXTERNAL] Re: Login instructions and remote monitoring</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi Anu,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Have you tried using your mobilepass to provide the second part of the password. <br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
This is necessary because the Raspberry Pi is on the 86 network, which is secure.
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
There is a second Raspberry Pi at the teststand which is set to use on the 36 subnet, but I did not see a switch available for the 36 when I did the install.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I just tried to login myself, and I can get into the hallgw, but the I could not log into the Pi itself. It is hung up at the xrdp screen.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
It may need to be rebooted, I am not sure because I can ping it and it responds. So I am wondering if there is a security issue.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I'll continue to look into the issue and give an update later.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
If you end up going in and rebooting it, please let me know.<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Marc<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div id="x_appendonsend"></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="x_divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Anuruddha Rathnayake <adr4zs@virginia.edu><br>
<b>Sent:</b> Wednesday, December 23, 2020 3:18 PM<br>
<b>To:</b> Marc Mcmullen <mcmullen@jlab.org><br>
<b>Subject:</b> Re: [Dsg-halla_gas] [EXTERNAL] Re: Login instructions and remote monitoring</font>
<div> </div>
</div>
<div>
<div dir="ltr">Hi Marc,<br>
<br>
<div>I'm getting this error when I try to log into hallgw. It says "network error: connection timed out". However, at the first few times, I was prompted to type in a user address (for which I gave my Jlab username) and then the password. I checked a couple
of times whether I'm typing the password correctly but still it didn't work. Now I'm getting the above error. If you have time, could you please let me know how to troubleshoot this ?<br>
<br>
Best</div>
<div>Anu<br>
<br>
<br>
<br>
</div>
</div>
<br>
<div class="x_x_gmail_quote">
<div dir="ltr" class="x_x_gmail_attr">On Mon, Dec 21, 2020 at 2:46 PM Marc Mcmullen <<a href="mailto:mcmullen@jlab.org">mcmullen@jlab.org</a>> wrote:<br>
</div>
<blockquote class="x_x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<div dir="ltr">
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
I'll give this a try. VNC is already enabled on the RP. I just needed a work around because I didn't know if there was a computer on that subnet with VNC available.</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Marc<br>
</div>
<div id="x_x_gmail-m_-5305755506603786074appendonsend"></div>
<hr style="display:inline-block; width:98%">
<div id="x_x_gmail-m_-5305755506603786074divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Brad Sawatzky <<a href="mailto:brads@jlab.org" target="_blank">brads@jlab.org</a>><br>
<b>Sent:</b> Monday, December 21, 2020 2:43 PM<br>
<b>To:</b> Marc Mcmullen <<a href="mailto:mcmullen@jlab.org" target="_blank">mcmullen@jlab.org</a>><br>
<b>Cc:</b> <a href="mailto:dsg-halla_gas@jlab.org" target="_blank">dsg-halla_gas@jlab.org</a> <<a href="mailto:dsg-halla_gas@jlab.org" target="_blank">dsg-halla_gas@jlab.org</a>>; Chuck Long <<a href="mailto:mlong@jlab.org" target="_blank">mlong@jlab.org</a>><br>
<b>Subject:</b> [EXTERNAL] Re: [Dsg-halla_gas] Login instructions and remote monitoring</font>
<div> </div>
</div>
<div><font size="2"><span style="font-size:11pt">
<div>Hi Marc,<br>
<br>
I not on vacation yet, but am (unfortunately) tied up in meetings all<br>
afternoon. Happy to chat Tuesday if you like. I'll summarize my<br>
approach below, FWIW.<br>
<br>
The way I've done this in the past is to have the VNC server only bound<br>
to 'localhost'. This is very easy under linux, MacOS/Windows need to<br>
Linux:<br>
vncviewer -via user@host :1<br>
<br>
Windows/MacOS:<br>
- 'SSVNC' : client with automatic tunneling built in<br>
- Or open a terminal and establish the tunnel manually<br>
$ ssh -L 5901:localhost:5901 user@host<br>
- Then run the VNC client and connect to 'localhost:5901'<br>
$ open 'vnc://localhost:5901' (MacOS terminal, for example)<br>
<br>
The tunnel removes the valid security risks with 'raw' VNC access, and<br>
allows people to still connect across VLANs firewalling.<br>
<br>
-- Brad<br>
<br>
On Mon, 21 Dec 2020, Marc Mcmullen wrote:<br>
<br>
> Hi Brad,<br>
> I have experimented with VNC, but there are some hoops to get around. Do you<br>
> have a few minutes to chat? Not sure if you are on vacation.<br>
> Thanks,<br>
> Marc<br>
> <br>
> ----------------------------------------------------------------------------<br>
> <br>
<br>
<br>
<br>
> From: Brad Sawatzky <<a href="mailto:brads@jlab.org" target="_blank">brads@jlab.org</a>><br>
> Sent: Monday, December 21, 2020 2:18 PM<br>
> To: Marc Mcmullen <<a href="mailto:mcmullen@jlab.org" target="_blank">mcmullen@jlab.org</a>><br>
> Cc: <a href="mailto:dsg-halla_gas@jlab.org" target="_blank">dsg-halla_gas@jlab.org</a> <<a href="mailto:dsg-halla_gas@jlab.org" target="_blank">dsg-halla_gas@jlab.org</a>>; Chuck Long<br>
> <<a href="mailto:mlong@jlab.org" target="_blank">mlong@jlab.org</a>><br>
> Subject: [EXTERNAL] Re: [Dsg-halla_gas] Login instructions and remote<br>
> monitoring<br>
> <br>
> Hi Marc,<br>
> <br>
> I would recommend running the GEM readout in a VNC session. That would<br>
> allow multiple people to view the screen at a time. It would also allow<br>
> for full remote operation of the GUI. (That is, the software will run<br>
> persistently within the VNC session, even if a remote user starts it,<br>
> and will not die if the remote connection drops or someone else wants to<br>
> view the GUI).<br>
> <br>
> -- Brad<br>
> <br>
> Oe Fri, 18 Dec 2020, Marc Mcmullen wrote:<br>
> <br>
> > Hi,<br>
> > DSG has installed the GEM Gas Flow Readout single board computer<br>
> (Raspberry<br>
> > Pi). The software installed is prototype and will be updated in 2021.<br>
> > Here are some important notes on monitoring:<br>
> ><br>
> > 1. It is best practice to remotely login using the instructions attached<br>
> to<br>
> > this email to monitor the gas flow, even if you are local (at the<br>
> lab).<br>
> > If you are at the gas distribution rack, please observe the flow by<br>
> > looking at the Flow Meter Panel in the rack.<br>
> ><br>
> > 1. logging in and running the display on the local Raspberry Pi monitor<br>
> > will prevent viewing the display remotely<br>
> > 2. If the display is left on locally, the CSS program will have to be<br>
> > "killed" or the Raspberry pi will have to be rebooted (~ 2 minutes)<br>
> and<br>
> > all software must be restarted (~ 2 minutes) per the instructions (on<br>
> > the desktop of the Raspberry Pi and in this email)<br>
> ><br>
> > 2. To remote monitor follow the instructions attached to this email. DSG<br>
> > has already started the monitoring program, if it is not running:<br>
> ><br>
> > 1. restart the software by following the attached instructions (also on<br>
> > the desktop of the Raspberry pi)<br>
> > 2. send an email to the group and someone will restart the software<br>
> ><br>
> > 3. Only one person can remotely log into the Raspberry Pi at a time,<br>
> > logging in will disconnect someone who is already logged in, so please<br>
> > coordinate with each other via email and disconnect by closing the<br>
> > Remote Desktop window when you are finished monitoring<br>
> ><br>
> > In future updates, DSG plans to make a web distribution for the prototype<br>
> > software, allowing multiple users to monitor the CSS screen.<br>
> > Finally, EPICS will be used to monitor gas flow during hall operations.<br>
> > Regards,<br>
> > Marc<br>
> <br>
-- <br>
Brad Sawatzky, PhD <<a href="mailto:brads@jlab.org" target="_blank">brads@jlab.org</a>> -<>- Jefferson Lab / Hall C / C111<br>
Ph: 757-269-5947 -<>- Fax: 757-269-5235 -<>- Pager: <a href="mailto:brads-page@jlab.org" target="_blank">
brads-page@jlab.org</a><br>
The most exciting phrase to hear in science, the one that heralds new<br>
discoveries, is not "Eureka!" but "That's funny..." -- Isaac Asimov<br>
</div>
</span></font></div>
</div>
_______________________________________________<br>
Dsg-halla_gas mailing list<br>
<a href="mailto:Dsg-halla_gas@jlab.org" target="_blank">Dsg-halla_gas@jlab.org</a><br>
<a href="https://mailman.jlab.org/mailman/listinfo/dsg-halla_gas" rel="noreferrer" target="_blank">https://mailman.jlab.org/mailman/listinfo/dsg-halla_gas</a><br>
</blockquote>
</div>
</div>
</div>
</body>
</html>