VNC Server Is Always A Problem

While trying hard not to watch videos of a class I paid for, I decided to see if I could set up ROS 2 Jazzy on Ubuntu 24.04 on my Pi5 real quick.

Although it has to be done with attached keyboard, display, and mouse (initially) the OS install went well, adding SSH access, and ROS 2 Jazzy even.

The last step is always to add Remote Desktop access VNC server. Full stop, no way any of the methods used for the last three Ubuntu setups, or the last three Pi OS setups resulted in a working VNC, nor any of the five “How To” found on the web.

Why does this required functionality have to change with every new OS?

I am too old for this!

1 Like

This could be said about the functionality of 90% of the “new O/S” - or any new version of Python.

I’m watching a YouTube article on “Hacking MS Basic” using a breadboarded 8-bit system connected to a terminal program via RS232.

Everything has been going down hill since.
:wink:

1 Like

That was my first home computer - 8080 with a cassette-player storage initially loaded from MS-Basic on a 6" roll of paper-tape.

This VNC Server / Remote Desktop feature is something the Pi Foundation makes sure to solve for PiOS users on Raspberry Pi computers.

The fact that Canonical has been creating Ubuntu releases to run on the Raspberry Pi computers, has not meant they actually care that Raspberry Pi users have a working option from the “myriad of third party software for remote desktop from the Raspberry Pi to the three major operating systems”.

There is still something to be said for my decision to run PiOS (Bookworm) on Dave’s Pi5 and put Ubuntu and ROS in a Docker container - no mater how painful that has been, there are lots of folk running PiOS on their Pi5, and very, very few running Ubuntu 24.04 on their Pi5 (I’ve seen evidence of two in the whole world.)

It doesn’t look like Dave is going to be migrating anytime soon to ROS 2 Jazzy to run Ubuntu 24.04 native on his Pi5.

I really don’t need to solve this problem, at this time at least. That also means I don’t have to “certify” an “Install GoPiGo3 API on Ubuntu 24.04” method, yet.

1 Like

An Altair?

This article actually has a link to the source code for MS-Basic.

New project:
Compile it to run on the Pi.

1 Like

No I was working at Hewlett-Packard in Colorado Springs, CO, where they encouraged the engineers to design and build things. I drew the mechanical drawings for the case and front panel, and also taped the screens for 8k x 8-bit memory boards. Another person designed and taped the motherboard and front panel with leds and switches to manually enter the boot loader until we added a EEPROM for that. The shops in the back folded the metal, and built the PC boards, and the parts department dispensed all the parts we needed. Eventually, we added paper tape drive, and cassette storage, then 8" floppy disk drives when MS-DOS came out.

I don’t even think you have to compile - if you go with QBBasic.

1 Like

Make quick on that - sudo apt install _____ any of the following:

pi@GoPi5Go:~/GoPi5Go/ros2ws $ apt-cache search basic | grep "BASIC"

basic256 - educational BASIC programming environment for children
brandy - BBC BASIC VI interpreter
bwbasic - Bywater BASIC Interpreter
python3-pcbasic - cross-platform emulator for the GW-BASIC family of interpreters (Python3)
python3-pcbasic-doc - cross-platform emulator for the GW-BASIC family of interpreters (doc)
sdlbasic - BASIC interpreter for game development
sdlbrt - BASIC interpreter for game development - runtime interpreter
yabasic - Yet Another BASIC interpreter

1 Like

The MS Basic is “basically” (:man_facepalming:) built from source for the 6502 experimental platform this person is using for a series of "this is the way a computer works ‘on the other side of the screen’ lessons.

The interesting thing is that this system (a breadboarded 6502 machine) has an attached LCD display as an “output” device that can be addressed and used, (and some push buttons), as a demonstration of how computers communicate with the outside world.

As a part of the article “hacking MS Basic” he adds specialized instructions to the generic Basic language specifically for the LCD display as a target for things like print statements.

Assuming that I install a particular Basic package, I am also assuming that I can also download the source code and “grow my own” version with whatever modifications I want.

Where would the source code and necessary build-time libraries be installed?  Is there a “standard” place for downloaded source packages to be placed?

One thought - possibly distant future? - is a “GoPiGo Basic” - a way to program the robot in something other than Python.

P.S.
Do any of these have “compiled” Basic as an option?  Basic as an interpreted language might be really slow.

1 Like
  1. No Idea
  2. No one is using the 6 available “other than Python” languages to program the GoPiGo3, and not one person in 7 years has complained “Why can’t I program it it Basic?”
  3. IDK. Basic was my third programming language (1) Fortran 1968, (2) COBOL 1968, (3) Dartmouth Basic 1969. I built an entire “Commercial Heating and Air Conditioning Duct Project Design and Costing” system in MS-Basic in 1977-1978. NEVER AGAIN want to touch BASIC.

I really want to quit collecting building materials, and start building stuff with the pile I have. Don’t quite understand your fascination with BASIC, at this point.

1 Like

Maybe it’s because:

  1. It was my first love, (on a DEC PDP-10 and an ASR-33 teletype between my junior and senior years of high school), and you never forget your first time. :wink:

    • Until I got an Atari 8-bit system and began programming 6502 assembler I hadn’t done much of anything else.

    • . . . Except for FORTRAN, COBOL, and PL/I that I learned in college that is. I don’t count them because you need a gazillion-dollar system.  Basic was much more ubiquitous, easy to find, and much less expensive than some Big Iron System by IBM.
       

  2. Programming languages are both interesting AND frustrating.  There’s this fascination with “knowing how it’s done” and not having the Python Police dictating what you can and can’t do.

  3. The idea of being able to tweak the environment is interesting, and it’s a lot simpler than Cdim7, in the key of G.  (AKA C++++++++, or whatever “the latest thing” happens to be this moment in time.)

1 Like