pop-os / raspi-img

Raspberry Pi 4 Image
GNU General Public License v3.0
8 stars 2 forks source link

[FAILED] OpenBSD Shell Server upon bootup #10

Closed juanejot closed 2 years ago

juanejot commented 2 years ago

I’ve been pretty impressed overall with how the Pop!_OS 21.10 final experience on the Raspberry Pi 4B (rev1.4) experience matches that on X86. But I’m now settling down to the brass tacks of installing a server under the GUI, and finding that I can’t get openssh-server running once installed. Journalctl says something along the lines of requests being re-made too soon, but I don’t know if that’s one process asking another on my sudo user’s behalf. All I know is I see several red “[FAILED]” lines on every boot for the OpenBSD Shell Server, and clients get refused. I’ve changed the ssh port in sshd_config, set it to not permit root login, allow only my user, and have set up UFW to allow that (different) ssh port in; this process has never hit a snag on other servers I’ve set up. But then they’ve usually been on Raspbian Lite or Ubuntu Server (on both RPi & x86 hardware). I would assume though that no System76 implementation of SSH would massively change what any other flavor or distribution based off of Ubuntu would be doing with it. Everything else is, as above, running great. Getting the latest full-fat Firefox instead of ESR or Chromium is a nice surprise, as is being able to install & use Gnome Extensions. I wish frame drops were better on streaming video playback, but that’s as much GPU hardware as non-mobile browser optimization. Overall, great desktop experience. Just hope to do some server work under the hood.

juanejot commented 2 years ago

This behavior seems to have gone away upon a subsequent re-installation of Pop!_OS 21.10 for the RPi4 on the same hardware; I might add above that I had installed & replaced just the ssh package (not openssh-server), realized my mistake, removed it (but not purged it, wanting to keep the changes I had made to sshd_config), and installed openssh-server. Installing openssh-server on a fresh install, works as intended. And phew, let me tell you that Pop!_OS is the only Debian-based distro (throwing my net further afield than just Ubuntu-based ones!) other than Raspberry Pi OS itself, that works well out of the box when either burned directly to a USB-connected SSD, or when transferred from SD card to the same SSD! Ubuntu Server, vanilla desktop Ubuntu, and Ubuntu MATE are ALL grumpy about the /boot/firmware they expect from an SD card, no matter how carefully I follow various published steps to manage UUIDs & copy them over. So kudos on the simplicity of that, too! Since I solved my own problem by not mis-installing stuff first, closing this issue.