×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Fresh Ubuntu Install?

  • Posts: 8
  • Thank you received: 1

Replied by Dominic on topic Fresh Ubuntu Install?

install Tiger Vnc

create a systemd service file example "
/etc/systemd/system/vncserver@.service
"
also set permissions correctly
chmod u+x /etc/systemd/system/vncserver@.service

example contents ( change both username / home dir / and monitor geometry )
[Unit] Description=Start Tiger VNC server at startup After=syslog.target network.target [Service] Type=forking User=dom Group=dom WorkingDirectory=/home/dom PIDFile=/home/dom/.vnc/%H:%i.pid ExecStartPre=-/usr/bin/vncserver -kill :%i > /dev/null 2>&1 ExecStart=/usr/bin/vncserver -geometry 3440x1440 -localhost no :%i ExecStop=/usr/bin/vncserver -kill :%i [Install] WantedBy=multi-user.target


then enable service
systemctl enable vncserver@.service
systemctl start vncserver@.service
3 years 1 week ago #70176

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

  • Posts: 1957
  • Thank you received: 420
Or .... make sure that your user logs in automatically and make sure that VNC is an application that gets started automatically when your user logs in. For both you can search online how to do that. It depends on the login manager and the desktop that you are using.
3 years 1 week ago #70177

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

  • Posts: 180
  • Thank you received: 16

Replied by AirBourn on topic Fresh Ubuntu Install?

Indeed, that is the ultimate goal. I've heard that NoMachine is a good solution.
3 years 1 week ago #70186

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

  • Posts: 1957
  • Thank you received: 420
You can search for all of this on internet yourself, right?

linuxhint.com/enable-automatic-login-on-ubuntu-20-04/
3 years 1 week ago #70189

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

  • Posts: 300
  • Thank you received: 57

Replied by Scott Denning on topic Fresh Ubuntu Install?

Unlike the R Pi, it's easiest to get most mini PCs to create a virtual screen by fooling the hardware into thinking there's a monitor attached. This is done with a cheap "dummy HDMI" plug you can get for $4 to $8 online. Here's a link to a good one on Amazon .

Wouter's link to the "auto-login" feature on ubuntu is perfect. You can also set that up during ubuntu install.

Hang in there! All this confusion and thrashing about are a one-time setup thing. Once you get it working, it will "just work" from now on.

Good luck!
Scott
 
The following user(s) said Thank You: David Tate
Last edit: 3 years 1 week ago by Scott Denning.
3 years 1 week ago #70191

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

  • Posts: 42
  • Thank you received: 1

Replied by MountainAir on topic Fresh Ubuntu Install?

Just a suggestion…For those who are not already well-versed in Linux, this platform can be mind-numbingly confusing.  I just wrote about 2 pages of examples for you, but I’ll boil it down this way instead: most people who ask questions here have already burned up Google and they’re exhausted (from their day jobs, this hobby, and now learning a very alien operating system).  They just need a helpful point in the right direction.Cheers and clear skies!  :-)
3 years 1 week ago #70193

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

  • Posts: 1957
  • Thank you received: 420
Yes it is confusing. But the link I posted literally is the first hit I get when I search on Google. Have you tried that at least?

Also, with RPi it is really easy to set up a virtual frame buffer with the correct dimensions. With any other device, like the mini PC you're using, it is exceedingly hard. You'll need to set up Xorg to use a frame buffer and then an .xinitrc again with a frame buffer to get this working. I have been using a mini PC for about two years and in the end I gave up because a Raspberry Pi 4 with 4 Gb just performs better. Even with the virtual frame buffer and using a wired network, there were a lot of hick ups in the virtual display and things like plate solving just didn't perform very well. I had to wait for over a minute for a solution to come and with an RPi it is about 2 seconds. Not kidding!!!

My advice: use the mini PC for something else and get you a Raspberry Pi 4. That works and it works really well. There are scripts that can help you to install Ubuntu and KStars and they work. If you don't know Linux very well then a mini PC is just too hard. I have been using Linux for over 20 years and found it hard to configure my mini PC. Just my $0.02 :)
3 years 1 week ago #70228

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

  • Posts: 42
  • Thank you received: 1

Replied by MountainAir on topic Fresh Ubuntu Install?

For me, the RPi4 is out because of my full-frame cameras. Jasem and I troubleshooted it, and Kstars just isn’t able to use > 2gb RAM [EDIT: I was referring to KStars on Stellarmate OS]. I get a few frames into my session and those ASI6200 images cause Kstars to crash unless I turn off all kinds of features that I need. The Pi is also laggy even on LAN, which is a big irritation of mine.
Last edit: 3 years 6 days ago by MountainAir.
3 years 1 week ago #70231

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

  • Posts: 180
  • Thank you received: 16

Replied by AirBourn on topic Fresh Ubuntu Install?

Agreed - My 2600MC beats up on the SM and the WiFi 2.4 versus USB3 is irritating.  Have a 16G mini now.
3 years 1 week ago #70232

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

  • Posts: 1957
  • Thank you received: 420
I use an ASI6200MM with a Raspberry Pi 4 with 4 Gb and if I switch off the FITS viewer, KStars runs all night without crashing. If KStars doesn't run on an RPi then why would it run on a mini PC? Also, why isn't KStars able to use more than 2 Gb of memory? Are you running a 64 bit Ubuntu on the RPi? Finally, yes the Pi is laggy for me to but not nearly as much as on the mini PC.
3 years 1 week ago #70233

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

  • Posts: 1119
  • Thank you received: 182

Replied by Jose Corazon on topic Fresh Ubuntu Install?

Concur with Wouter here.

I am also using both systems, mini-PC as well as the 8 GB version of the RPi4 and I prefer the RPi4 BY FAR.
I run Ubuntu 20.04 on both systems and I do not concur with the VNC being laggy. I am using 5GHz connection to the Pi4, image transmission is near instantaneous, and the Pi4 is considerably faster than the mini-PC. 867 Mbps vs 433 Mbps.

That being said, both work for me, and once set up for the night, I don't care much about the mini-PC being more laggy on VNC. I just let it run and collect my frames in the morning.

You must be doing something wrong with your setup.

Jo
3 years 1 week ago #70234

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

  • Posts: 300
  • Thank you received: 57

Replied by Scott Denning on topic Fresh Ubuntu Install?

The responses here have gotten seriously off-topic. The OP is asking for help with KStars & INDI on a mini-PC running ubuntu.

I do this all the time, and find it to be a fast & reliable workhorse. I also run several other systems on Pi4's. They are all wonderful.

There's no reason you can't use an ubuntu miniPC for astro. I like my miniPC because it also runs FireCapture really fast due to its built-in SSD, and because I can dual-boot it into Windows for the occasional foray into other software that doesn't run under ubuntu. Loads of people run INDI and KStars on x64.

Agreed it sounds like there's a problem with the NoMachine configuration since you are having the blank screen even with a physical monitor connected to the HDMI port.

Here is a hopefully useful troubleshooting thread:
knowledgebase.nomachine.com/AR03P00973

 
3 years 1 week ago #70236

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

Time to create page: 0.502 seconds