vnc makes no relevant difference.
command = ‘screen’ below shows program ‘screen’ has a ‘pi’ user process open on 
/dev/ttyUSB0 at the moment. not weewxd. probably left over from earlier 
troubleshooting.
kill it with “sudo killall screen”.
check if any weewxd’s or screen’s hanging around with “ps -ef | grep -e weewxd 
-e screen”. kill them if you find any.
you should now be back to a clean state with /devttyUSB0 ready for opening. do 
“sudo lsof /dev/ttyUSB0” to be sure

> On 25 Feb 2021, at 5:24 pm, gjr80 <[email protected]> wrote:
> 
> I don't know, I'm a SSH only person, I am getting out of my depth now.
> 
> Gary
> 
> On Thursday, 25 February 2021 at 16:21:11 UTC+10 monmul wrote:
> I am using VNC Viewer (and always have) rather than SSH....not sure if that 
> makes any difference?
> 
> On Thursday, 25 February 2021 at 19:13:29 UTC+13 gjr80 wrote:
> Hmm, different to my Davis on my RPi which shows weewxd rather than screen. I 
> will have to defer to Tom or someone who knows about screen.
> 
> Gary
> 
> On Thursday, 25 February 2021 at 15:58:07 UTC+10 monmul wrote:
> pi@WeatherPi:~ $ sudo /etc/init.d/weewx stop
> [ ok ] Stopping weewx (via systemctl): weewx.service.
> pi@WeatherPi:~ $ sudo lsof /dev/ttyUSB0
> lsof: WARNING: can't stat() fuse.gvfsd-fuse file system /run/user/1000/gvfs
>       Output information may be incomplete.
> COMMAND   PID USER   FD   TYPE DEVICE SIZE/OFF  NODE NAME
> screen  16582   pi    6u   CHR  188,0      0t0 20196 /dev/ttyUSB0
> pi@WeatherPi:~ $ 
> 

-- 
You received this message because you are subscribed to the Google Groups 
"weewx-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/weewx-user/3FE5D7F5-535A-4DB7-94BD-9D3C11D6A47B%40gmail.com.

Reply via email to