James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 2 weeks ago

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

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 2 weeks ago

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

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 2 weeks ago

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.

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 2 weeks ago

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.

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 2 weeks ago

Another thing that I'm considering is just doing this from my linux desktop:
ssh -l astroberry -X 192.168.247.108

Then I can run kstars / phd2 etc and they will use X11 remoting. I should be able to use my giant monitor fully this way without being restricted to 1920.

Either way I've now got a very good system working and I think that I may switch to astroberry from my own home-brew linux system !

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 2 weeks ago

OK, so this is all that I had to do to get this to work (other than installing tightvnc)

sudo -u astroberry vncserver -localhost no :1

I can use my regular vnc software on my desktop to connect, but now to :1

USB3 camera is working great!

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 2 weeks ago

Success!

I'm trying to avoid using a dongle if possible. I was able to get it to work for the first time today. Nothing all that special really, I just had to run the right commands to get the vncserver to start, and the right commands for the client as well. I'm going to make this better, but for now I just run on the astroberry:

1. ssh to the astroberry
2. vncserver 192.168.247.108:3

and on the desktop:

xtigervncviewer -via This email address is being protected from spambots. You need JavaScript enabled to view it. :3

It connects and seems to work. From here I'm going to improve the process and make it start from boot. This is all without any HDMI output so I can turn that off and end the interference with wifi 2.4G / USB3 -- I couldn't get 5G to work, so maybe it's not supported on the RPI4? BTW: I didn't have to uninstall or disable the realvnc server, just ran tightvnc on it's own, and my router is setup to always issue that ip address to the astroberry --

Jamie

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 2 weeks ago

So I was going to switch from realvnc to tightvnc so that it is not tied to HDMI, and I found that is inside of the package astroberry-server-full I'm not sure how to disable realvnc, or to configure it to not be tied to hdmi. Any ideas?

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 2 weeks ago

hdmi_ignore_hotplug=1 turns it off. Unfortunately since the astroberry VNC setup is sharing the X11/HDMI desktop, VNC stops working after you do this and just gives a black screen with the message: "can not currently show desktop". On my other setup I ran a VNC separate from the X11 desktop and was able to shut off HDMI output. That's why that setup worked with WIFI and USB3.

OH, and I was mistaken about the distro that I used for my previous setup. It was actually raspbian, not mate.

Jamie

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 2 weeks ago

OK, so I've got some success. It looks like it is the hdmi. I set hdmi_ignore_hotplug=1 in /boot/config.txt and now it boots and I can ssh to it over wifi using 2.4G This is great, I think that I've got a fix. I just need to install a VNC separate from X11/HDMI and I should be good to go. I can still VNC. but now just get a blank screen "can not currently show desktop". I verified that HDMI is not working by plugging it into a TV. No HDMI output.

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 2 weeks ago

One HW thing is just a little different --- I'm using two RPI4's here. The first (mate) one is the 4G memory version, and the astroberry is an 8G version. I'm going to switch the hardware between them and see if that makes a difference.

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 2 weeks ago

I just checked my setup with mate. It's 2.4 and it's doing perfectly fine with everything plugged in. USB3 is working fine as well. This is a setup I've been using for months without any wifi or USB issues. So it does not look like I need 5G. I'm going to try and switch off the hdmi on the astroberry setup...

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 2 weeks ago

I just checked, and my 1600 cameras hub is powered, so that's not an issue. I didn't mention it, but I always use headless but I noticed that the astroberry is forcing the hdmi to be on in the config.txt. I'll look at turning that off. I'm also going to try and switch the pi to 5g. I think I need to set the country code to achieve that.

Read More...

James Amendolagine replied to the topic 'USB3 / WIFI' in the forum. 2 weeks ago

Thanks for the reply's. I'm running a RPI4. I believe that the astroberry is up to date, but I'm not sure how to get the version info other than this:
uname -a
Linux astroberry 5.4.51-v7l+ #1333 SMP Mon Aug 10 16:51:40 BST 2020 armv7l GNU/Linux

I've just updated with "apt update" "apt full-upgrade" that didn't help.

My mount is a Losmandy, so I'm using the ethernet port to control the mount. I am connecting a ZWO 1600MM Pro to the USB3 port, and a ZWO 178MC for guiding to the USB2 port on the 1600. That's all that' connected other than power which is a canna power supply made for the RPI4. I'm using google mesh WIFI which I imagine supports both 2.4, and 5GHz, but right now it is showing that it is connected through 2.4GHz. I haven't done any compiling of any of the software. It all came with the astroberry install.

What happens is when I try and boot the PI with the USB3 plugged in, is no network connection happens. It does not connect to my local WIFI, and it does not make it's own hotspot. If I unplug the USB3, or plug it into the USB2 port then everything works fine. It connects to my local wifi. If I'm away from my house, it will make a hotspot.

The Mate hardware setup is exactly the same, so I know that this can work with the RPI4. One difference with the Mate setup is I have done my best to lower the resolution of the HDMI, and shut it off. I use a VNC server that is not tied to the physical display. I'll try and set that up at some point on the astroberry as well.

Read More...

James Amendolagine created a new topic ' USB3 / WIFI' in the forum. 2 weeks ago

I'm trying to figure out how to get USB3 working with the astroberry while keeping wifi working on a RPI4. I've done this on my own system based of of mate, but I'm not sure what it is that's different with the astroberry. One difference is that I think that I use a stand-alone vnc that does not connect to the hdmi/display. Has anyone gotten both WIFI and USB3 to work together?

Read More...