×

INDI Library v1.9.2 Released (14 Sep 2021)

Bimonthly Stable INDI Library release introduces new drivers and fixes for existing ones.

USB3 / WIFI

  • Posts: 56
  • Thank you received: 2

Replied by James Amendolagine on topic USB3 / WIFI

There absolutely is a way. Just ssh over to it using the X option and run kstars with it opening a window on your desktop. Like this

ssh -l astroberry -X 192.168.247.108

kstars &

This requires that you are running Linux on your desktop though (or something with X11). It also means that you need to keep your desktop running and connected to the pi.
1 year 2 weeks ago #59542

Please Log in or Create an account to join the conversation.

  • Posts: 1064
  • Thank you received: 133

Replied by AstroNerd on topic USB3 / WIFI


No you misunderstand me...
I know it can be done and how to do it, my point is that running 4k over VNC is awful and really laggy, that’s what I want to avoid, normal HD is fine, but 4k resolution is a no go....over VNC..
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
Last edit: 1 year 2 weeks ago by AstroNerd.
1 year 2 weeks ago #59557

Please Log in or Create an account to join the conversation.

  • Posts: 56
  • Thank you received: 2

Replied by James Amendolagine on topic USB3 / WIFI

I do get your point. Remote X11 is not VNC. It's quite different. It does it's drawing using your desktop hardware. It's not just copying the screen data from the pi to your desktop. I haven't tried kstars much doing it this way, but I expect it to perform way better than VNC. I'd expect it to handle 4k resolution well. I'll try it again tonight. The part that I'm concerned with is the connection. If I loose my wifi for a long period, the X11 remote app will be useless. The VNC app on the other hand will be just fine.
1 year 2 weeks ago #59558

Please Log in or Create an account to join the conversation.

  • Posts: 56
  • Thank you received: 2

Replied by James Amendolagine on topic USB3 / WIFI

I just tried it. The planetarium part of kstars is slow as lots of the pixels are being pushed across the wire, but the UI is actually nice and fairly snappy. Not quite as good as native on the desktop, but much better than VNC even at 1920. The windows come up natively on the desktop and can be resized large and still it's very snappy. I've got a great big monitor too, 4K os something like that. So give it a try! I think that I'll stick with VNC since it can handle a loss of network connectivity with no issues. The 1920 display is a bit annoying, but not that bad.

Jamie
1 year 2 weeks ago #59559

Please Log in or Create an account to join the conversation.

  • Posts: 56
  • Thank you received: 2

Replied by James Amendolagine on topic USB3 / WIFI

Here's a little more:

ssh -l pi -C -X 192.168.247.108

This adds the "-C" for compression which helps with some things. I also had to use the "pi" account for some reason, probably to do with all my mucking around.

photos.app.goo.gl/ypFvet7RWjpv9KEq5

Jamie
1 year 2 weeks ago #59561

Please Log in or Create an account to join the conversation.

  • Posts: 230
  • Thank you received: 31

Replied by Giles on topic USB3 / WIFI


Just a note that using the native X protocol over the network can sometimes have very poor performance if the connection starts to have higher latencies. This is because the protocol is very laggy and a lot of things have to wait until the screen redraws complete.

If you're having problems with VNC, has anyone tried xrdp ?

XRDP is slightly different, in that it doesn't actually mirror the native desktop, but uses the MS Windows RDP protocol to run a new remote session on the Pi, but it might work better - so if multiple people were to connect they would each have a different desktop, although that isn't probably a good use case here, it still works with a single user.
__
I blog my progress: www.coochey.net
1 year 2 weeks ago #59565

Please Log in or Create an account to join the conversation.

  • Posts: 1064
  • Thank you received: 133

Replied by AstroNerd on topic USB3 / WIFI

Yes, I have tried XRDP, and found it to be about the same as VNC, and still not good with 4k... :(
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
1 year 2 weeks ago #59567

Please Log in or Create an account to join the conversation.

  • Posts: 103
  • Thank you received: 18

Replied by ouioui01 on topic USB3 / WIFI

Hello,

Did you try NoMachine ?

Cheers
----
ES ED 127mm FCD100, AZEQ6 GT, FocusLynx ESX25, Nikon D800 , ASI120mm-s, Polemaster
-- RPi4 4Gb Stellarmate , Windows 10 Pro, Kstars/VNC
-- RPi4 8Gb Ubuntu mate 20.04.1 LTS - Kstars/NoMachine
1 year 2 weeks ago #59569

Please Log in or Create an account to join the conversation.

  • Posts: 1064
  • Thank you received: 133

Replied by AstroNerd on topic USB3 / WIFI


Yes, have tried them all, and none will produce a lag free connection with 4k.... :(
Stellarmate OS on Raspberry pi4b
Skywatcher EQ8 pro, on steel pier
Takahashi FSQ85, FS60cb & Meade 8” SCT (de-forked)
Starlight Xpress SXVR H18, SXVR M25c, Lodestar x2 Guide Camera
Pegasus Ultimate Hub V2 for all USB & Power
Pegasus focus motors on all scopes
1 year 2 weeks ago #59577

Please Log in or Create an account to join the conversation.

  • Posts: 186
  • Thank you received: 108

Replied by Rick Bassham on topic USB3 / WIFI

I'd also recommend trying xpra. It's a more modern X11 forwarding like system.
Gayle H Riggsbee Observatory
Charlotte Amateur Astronomers Club

CEM120
TMB 100/800
AT72EDII w/Homemade Moonlite Compatible Arduino Focuser
AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI2600MC-Pro
ZWO ASI2600MM-Pro
ZWO ASI174MM-Mini
ZWO OAG
ZWO EFW
AT2FF
CCDT67
1 year 2 weeks ago #59619

Please Log in or Create an account to join the conversation.

  • Posts: 56
  • Thank you received: 2

Replied by James Amendolagine on topic USB3 / WIFI

I've got an update if anyone is trying this.

So the WIFI stopped again for not so well known reasons. I'm guessing that it happened after a software/firmware update. I had to tweak it again. This time it's a bit hacky, but it works.

Login as root and add this to your crontab:

crontab -e

@reboot /usr/bin/tvservice -o
@reboot /usr/bin/vcgencmd display_power 0

@reboot sleep 5; /usr/bin/tvservice -o
@reboot sleep 5; /usr/bin/vcgencmd display_power 0

@reboot sleep 60; /usr/bin/tvservice -o
@reboot sleep 60; /usr/bin/vcgencmd display_power 0

Seems that I've got to do that several times after boot. I couldn't just put it in /etc/rc.local

Ugly, but it works!
11 months 4 weeks ago #60903

Please Log in or Create an account to join the conversation.

Moderators: Radek Kaczorek
Time to create page: 0.393 seconds