×
INDI Library v1.8.7 Released (21 Nov 2020)

Nov. 2020 Release brings significant improvements to streaming and recording videos. Support for new drivers including Estatto focuser and Pegasus falcon rotator.

USB3 / WIFI

2 months 2 weeks ago
amendolajamie
Senior Boarder
Senior Boarder
Posts: 56
More
Topic Author
USB3 / WIFI #59542
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.

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

2 months 2 weeks ago 2 months 2 weeks ago by AstroNerd.
AstroNerd
Moderator
Moderator
Posts: 876
Karma: 1
More
USB3 / WIFI #59557

amendolajamie wrote: 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.


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 & 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 both scopes

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

2 months 2 weeks ago
amendolajamie
Senior Boarder
Senior Boarder
Posts: 56
More
Topic Author
USB3 / WIFI #59558
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.

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

2 months 2 weeks ago
amendolajamie
Senior Boarder
Senior Boarder
Posts: 56
More
Topic Author
USB3 / WIFI #59559
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

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

2 months 2 weeks ago
amendolajamie
Senior Boarder
Senior Boarder
Posts: 56
More
Topic Author
USB3 / WIFI #59561
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

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

2 months 2 weeks ago
gilesco
Gold Boarder
Gold Boarder
Posts: 171
Karma: 1
More
USB3 / WIFI #59565

amendolajamie wrote: 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


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

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

2 months 2 weeks ago
AstroNerd
Moderator
Moderator
Posts: 876
Karma: 1
More
USB3 / WIFI #59567
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 & 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 both scopes

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

2 months 2 weeks ago
ouioui01
Senior Boarder
Senior Boarder
Posts: 55
More
USB3 / WIFI #59569
Hello,

Did you try NoMachine ?

Cheers

----
ES ED 127mm FCD100, AZEQ6 GT, FocusLynx ESX25, Nikon D800 full modded / D5300, ASI120mm-s for guiding, Polemaster
-- RPi4 4Gb Stellarmate 1.5.3, Windows 10 Pro, Kstars/VNC
-- RPi4 8Gb Ubuntu mate 20.04.1 LTS - Kstars/NoMachine

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

2 months 2 weeks ago
AstroNerd
Moderator
Moderator
Posts: 876
Karma: 1
More
USB3 / WIFI #59577

ouioui01 wrote: Hello,

Did you try NoMachine ?

Cheers


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 & 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 both scopes

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

2 months 2 weeks ago
rickbassham
Expert Boarder
Expert Boarder
Posts: 84
More
USB3 / WIFI #59619
I'd also recommend trying xpra. It's a more modern X11 forwarding like system.

Gayle H Riggsbee Observatory
Charlotte Amateur Astronomers Club

CGX
AT72EDII w/Homemade Moonlite Compatible Arduino Focuser
AT8RC w/Moonlite CSL 2.5" w/Moonlite Stepper v3
ZWO ASI1600MC-Pro
ZWO ASI1600MM-Pro
ZWO ASI174MM-Mini
ZWO OAG
ZWO EFW
AT2FF

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

1 month 3 weeks ago
amendolajamie
Senior Boarder
Senior Boarder
Posts: 56
More
Topic Author
USB3 / WIFI #60903
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!

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

Moderators: Kaczorek
Time to create page: 0.381 seconds