Solaris
Text

Solaris

The Solaris app is a Sun workstation in a window: an emulated SPARCstation 5 running Solaris 9, with the CDE desktop, its Front Panel and four workspaces, and a hard disk of its own. Solaris comes installed, so setup is a download and a start, with no installer to follow.

What it is for

  • Use Sun's Unix as it shipped. CDE and its File Manager, dtterm, Motif programs, and the commands and tools of a 2002 Solaris.
  • A workstation that stays as you left it. What you change and save is kept on its 8 GB hard disk, on this node; /export/home has 5.9 GB free. Closing the window leaves it running.
  • On the network. It reaches the internet through this machine, and names resolve.

The SPARCstation is emulated in software, like the Macs, and needs no hypervisor.

What it needs

  • QEMU for SPARC. exe's own emulator has no SPARC build yet. On Ubuntu 24.04 setup fetches Ubuntu's (qemu-system-sparc) and unpacks it in the app's folder; nothing is installed on the system and no root is needed. On another system, install qemu-system-sparc and qemu-img first: on macOS, brew install qemu; on Windows, QEMU from qemu.org, with its folder on PATH.
  • Room on this node. The disk image is a 436 MiB download, kept after setup. The hard disk takes 1.6 GB and grows to at most 8 GB.
  • A processor core. While the SPARCstation runs it keeps one of this machine's cores busy, even when Solaris has nothing to do. Shut it down when you are done.

Set it up the first time

  1. Choose Special → Solaris; it is also among the built-in apps. The window says what setup downloads. Click Set up Solaris.
  2. Setup prepares the emulator, downloads UTM's Solaris 9 disk image from its gallery on GitHub, checks it against its checksum, unpacks the hard disk and starts the SPARCstation. Setup details shows each step.
  3. Solaris takes about two minutes to start. At its login screen type root and press Return, then Return again: root has no password.

The firmware is QEMU's own OpenBIOS, which starts Solaris from the disk by itself. The bundle UTM publishes also holds Sun's PROM; exe does not use it.

Start it, leave it, shut it down

  • Start. Opening the app starts a SPARCstation that is shut down. With the window already open, click Start Solaris.
  • Leave. Closing the window leaves it running, and opening it again returns to the same desktop.
  • Shut down. Open a terminal (right-click the backdrop, then Tools → Terminal) and type init 5 as root. Solaris saves its files and turns the SPARCstation off, and the window says so. EXIT on the Front Panel only logs you out.

The window

The app's own buttons are in a row above the screen. The status line names the hardware, a SPARCstation 5 with 256 MB of memory, and says whether the display is connected.

ButtonWhat it does
Start SolarisStarts the SPARCstation when it is shut down. During setup the same button reads Set up Solaris or Continue setup.
Pause setupStops a setup that is under way.
Setup detailsShows the setup steps, the download's progress, and the ports of the SPARCstation's services.
Sun keys…Sends a key of Sun's keyboard that a PC keyboard lacks: Help, Open, Props, Undo, Again, Copy, Paste, Cut or Find.
Full screenGives the SPARCstation more room.
CD…Shows the mounted CD and the disc images you can mount.

The display is 1024×768 in 256 colours, fitted as the Macs' are: each pixel of it takes a whole number of your screen's pixels.

Keyboard and mouse

Click the screen to type in it.

A SPARCstation's mouse tells the computer only how far it moved, never where it is. The window puts the arrow where your pointer is all the same: each time the pointer comes onto the screen it sends the arrow to the top left corner and brings it from there, in steps Solaris does not speed up. When the pointer rests the window looks for the arrow under it, and brings back an arrow it finds elsewhere. The arrow follows at about 2,000 pixels a second, so after a quick sweep across the screen it takes a moment to arrive. Now and then Solaris moves the arrow less or more than it was sent; until the pointer rests, a click can then land beside the place you point at. The window recognizes only the plain arrow, not the text cursor or the other shapes X gives it.

In Style Manager → Mouse, keep Threshold at 4 or more: below that, Solaris speeds up the arrow's steps too, and it no longer lands where your pointer is.

CDs

Click CD…, then Upload image…, and choose an ISO image of up to 9 GiB; select it under Available images and click Mount. Solaris mounts the disc by itself under /cdrom and opens a File Manager window on it. To take it out, type eject cdrom in a terminal; the window then shows no CD. While Solaris holds the disc, Eject in the window says so.

A shell from this machine

While the SPARCstation runs, its Secure Shell and Telnet servers are reachable from this machine, and no other, at 127.0.0.1: Setup details shows their ports. Solaris lets root in on neither, so add an account first, in a terminal:

useradd -d /export/home/me -m -s /bin/sh me
passwd me

Solaris 9's Secure Shell is old, and today's ssh has to be asked for its methods:

ssh -p PORT -o HostKeyAlgorithms=+ssh-rsa -o KexAlgorithms=+diffie-hellman-group1-sha1 -o Ciphers=+aes128-cbc [email protected]

Clock and network

The clock starts at this machine's time, kept in universal time, which is also Solaris's time zone as installed. The SPARCstation's own Lance Ethernet has the address 10.0.2.15 behind outbound NAT, and names resolve through 10.0.2.3, the emulator's.

Where it is kept

The emulator, the disk image, setup progress and the hard disk live in ~/.exe/solaris/ (or $EXE_HOME/solaris/), outside app-data sync: the SPARCstation belongs to this node and is not copied to joined ones.

The API is the Macs' under another name: GET /v1/solaris, POST /v1/solaris/start and /cancel, the binary WebSocket at /v1/solaris/console, and for the drive GET and POST /v1/solaris/cd and POST /v1/solaris/cd/upload.

Contents