> izder456 said:
>
> > @CiotBSDsaid:
> >
> > This night, I tested Lumina on a fresh OpenBSD (qemu).
> > I was surprised to realize that there was no default terminal; you have to install one – unlike with Xfce or Mate.
> >
> > Similarly, I was unable to get the system to display messages in French; it simply wouldn’t work, even though the LC_MESSAGES environment variable had been set in my personal .profile file, or even via the available settings; when I restarted the session, it was still in American English! :p
> >
> > After, I install Xfce; this DE recognize immediatly my personals parameters.
> > "Hi haaaa!"
> >
> > Bye Lumina! Anyway, I’ve always been a fan/lover of Xfce. :D
> >
> > PS: This post is not a request for help; just a little story.
>
> I just opened a PR in the github repository adding Lumina now that this script is more modular.
>
> https://github.com/outpaddling/desktop-installer/pull/66
>
> I also made it install qterminal as the default terminal.
>
> It seems the lumina port on OpenBSD is out of date, (1.4.x vs 1.6.x), so maybe your locale issues are solved in a newer version. :/
>
> feel free to test this, I'll update the OpenBSD-wip port shortly after a merge of this PR.
It has been merged. Feel free to test the new ports in OpenBSD-wip now. Also feel free to report your experience to the GitHub thread.
> @etrigan63said:
>
> OK, i was able to install OpenBSD 7.9 on the i3 NUC. Firmware has been installed via USB drive and my laptop (running CachyOS again) with the manual on screen. Wifi is up and operational. I may take this opportunity to modify my boot image to include the firmware as per the instructions.
For the record, and as a FYI for future you, it is possible do an offline install of OpenBSD from usb using installXY.img, then with another computer, make a fat32 formatted usb drive with your wifi firmware on it. then its as simple as running fw_update against the mounted usb drive following the manual page for it on your newly installed OpenBSD installation.
Do note- wifi firmware isn't the only firmware usually needed for full functionality on most amd64 devices. Once you get a network going, remember to run fw_update again with no arguments to fetch and install any other missing firmware.
> @CiotBSDsaid:
>
> This night, I tested Lumina on a fresh OpenBSD (qemu).
> I was surprised to realize that there was no default terminal; you have to install one – unlike with Xfce or Mate.
>
> Similarly, I was unable to get the system to display messages in French; it simply wouldn’t work, even though the LC_MESSAGES environment variable had been set in my personal .profile file, or even via the available settings; when I restarted the session, it was still in American English! :p
>
> After, I install Xfce; this DE recognize immediatly my personals parameters.
> "Hi haaaa!"
>
> Bye Lumina! Anyway, I’ve always been a fan/lover of Xfce. :D
>
> PS: This post is not a request for help; just a little story.
I just opened a PR in the github repository adding Lumina now that this script is more modular.
> @CiotBSDsaid:
>
> @izder456 and what about the lumina desktop? why the script does not manage it?!
> (too many confidential?)
It used to, but the lumina session had a lot of issues and I removed it if I recall correctly. I plan on re-adding it at a later date now that the script is more modular.
> @CiotBSDsaid:
>
> Hi.
>
> I've just to read only the "OpenBSD installer".
>
> About Xfce, it seems me that it's missing this: usermod -G _shutdown,wheel
> - _shutdown to shutdown or reboot sys, since 7.4
> - wheel to manage/enable the sleep and hibernate functions
We use consolekit for this on supported desktops, including xfce, like the pkg-readme says to. This change isn't needed. Also by default the regular user made in the installer of the OpenBSD system is in :wheel by default.
> For Gnome, it's seems to needed to manage limits, like on /etc/login.conf:
> > gnome:\ > :datasize-cur=1024M:\ > :tc=default: >
> and adding user to gnome: usermod -L gnome
> (see the pkg_readme of gnome)
I see no mention of login class settings for gnome in the pkg-readme.
Also don't set this. This is lower than the default class, and will likely break things:
Responding to clear up some confusion and to give you general hints as you discover more about the system. Feel free to ignore if you wanna discover in your own time via man and info pages.
Keybind notation in this post uses emacs notation.
Ex:
C-A-d means: Control + Alt/Meta + The literal letter d
> @niborisaid:
>
> Without much structure or thought, might serve as a record, for me or others.
>
> Installer: from usb stick, the install experience is nice! Just hardcore enough that I feel the system assumes I have some idea about computery things, but not brew to the point of confusion. For example, at one point it asks which install target, and prompts "sd0 sr1 ?" (or such.. maybe a b... don't take my word). On pressing ? it gives a brief oneliner of each device. Just enough to make the choice, just brew enough I'm amazed.
>
> At one point install prints "relinking to make unique kernel". Wow.
>
> Booting: after entering passphrase, it gives me "boot>". Okay... Boot you say? So I type "boot", half-expecting based on past grub experience I will see some arcane message. But instead it actually boots! Neat.
You can also just wait it out, IIRC after some timeout (can't remember how long), it'll automatically run that command for you. OFC you can interrupt this timer by typing anything. This is particularly useful if you wanna boot a different kernel such as bsd.rd (which is a ramdisk kernel that contains the upgrade/install stuff and a basic shell environment for emergencies):
boot> boot bsd.rd
or to boot the single processor kernel rather than a muliprocessor kernel on a multiprocessor machine while troubleshooting:
boot> boot bsd.sp
You can also get a list of commands available at this boot prompt which may prove useful in some scenarios:
boot> help
> On login to system, there's a welcome mail with instructions. The man pages indeed work! Could connect to wifi with just using ifconfig. Well, needed fw_update first to get the wifi driver. Where are the logs though? Linux would spray dmesg with link state foo bar, or wpa auth so and so.. here I didn't notice similar.
Minor correction. Like the name suggests, fw_update just updates/installs missing firmware needed by drivers. Since OpenBSD's kernel is non-modular, all this command does is let some particularly non-free devices behave correctly by letting the built-in kernel drivers load the needed firmware. This fw_update utility doesn't "install" drivers.
You can preserve ifconfig settings across reboots with hostname.if files too btw.
man hostname.if
As for logs, for the whole system (with some exceptions), usually they go into some subdirectory/subfile of /var/log. Plaintext OFC for sanity. For ifconfig specific information, just run ifconfig against your interface name. Eg:
~ $ ifconfig em0
em0: flags=8802 mtu 1500
lladdr 34:17:eb:ac:6d:bf
index 1 priority 0 llprio 3
media: Ethernet autoselect (none)
status: no carrier
> (Sidenote: the feeling when you adjust ifconfig and route, it still doesn't work, and it turns out be a flaky cable... flood ping for the rescue)
Congrats! ifconfig is one of my favorite features of OpenBSD's configuration.
> Looking at the filesystem. Looks clean! Hm, no /proc, /sys? Where do I get some stats about the battery? Will discover later.
man apmman apmdman sysctlman sysctl.conf
> Consoles... multiple consoles anyone? Alt+F2 doesn't work. Maybe it is the key mapping, or maybe it is not supposed to have multiple consoles by default?
Just like Linux, which you may be already familiar with, you use C-A-Fn, where n is the tty number you want to navigate to, corresponding to a "Function" key on your keyboard. By default X11 launches on tty5 and kernel messages are on tty1. The rest are login(1) prompts. You can inspect /etc/ttys to learn about the default tty config.
man ttys
> Hm, what could be the equivalent of "loadkeys"? Well, can work with en layout for now.
man wsconsman wsconsctlman wsconsctl.confman kbd
> startx gives me xterm and xclock, with a blue-red colorscheme. Wicked.
I'd suggest using the XenoDM rc script and login manager. It is more secure. Just using xinitrc/startx doesn't lock the tty that X11 runs in so a passerby can just C-A-Fn then C-d/C-z to fork to the x11 process to bg and get a free shell in your name. With XenoDM, it dedicates a tty for X11 only (tty5 by default) so you can't use anything other than x11 in that tty. It also correctly handles privsep/privdrop whereas startx/xinitrc does not which can fix some quirks you may come upon.
man rcctlman xenodmman xsessionman rc.subr
> pkg_add works. pkg_info executed plainly gives a list of explicitly installed packages!
I love the OpenBSD package system. Super simple and easy to use. Fun fact! They're just perl scripts.
Reporting Lumina as functional and in a good state. At least for the default locale.
> izder456 said: > > > @CiotBSD said: > > > > This night, I tested Lumina on a fresh OpenBSD (qemu). > > I was surprised to realize that there was no default terminal; you have to install one – unlike with Xfce or Mate. > > > > Similarly, I was unable to get the system to display messages in French; it simply wouldn’t work, even though the LC_MESSAGES environment variable had been set in my personal .profile file, or even via the available settings; when I restarted the session, it was still in American English! :p > > > > After, I install Xfce; this DE recognize immediatly my personals parameters. > > "Hi haaaa!" > > > > Bye Lumina! Anyway, I’ve always been a fan/lover of Xfce. :D > > > > PS: This post is not a request for help; just a little story. > > I just opened a PR in the github repository adding Lumina now that this script is more modular. > > https://github.com/outpaddling/desktop-installer/pull/66 > > I also made it install qterminal as the default terminal. > > It seems the lumina port on OpenBSD is out of date, (1.4.x vs 1.6.x), so maybe your locale issues are solved in a newer version. :/ > > feel free to test this, I'll update the OpenBSD-wip port shortly after a merge of this PR.
It has been merged. Feel free to test the new ports in OpenBSD-wip now. Also feel free to report your experience to the GitHub thread.
CC @CiotBSD
> @etrigan63 said: > > OK, i was able to install OpenBSD 7.9 on the i3 NUC. Firmware has been installed via USB drive and my laptop (running CachyOS again) with the manual on screen. Wifi is up and operational. I may take this opportunity to modify my boot image to include the firmware as per the instructions.
For the record, and as a FYI for future you, it is possible do an offline install of OpenBSD from usb using installXY.img, then with another computer, make a fat32 formatted usb drive with your wifi firmware on it. then its as simple as running
fw_updateagainst the mounted usb drive following the manual page for it on your newly installed OpenBSD installation.Do note- wifi firmware isn't the only firmware usually needed for full functionality on most amd64 devices. Once you get a network going, remember to run
fw_updateagain with no arguments to fetch and install any other missing firmware.Happy hacking!
> @CiotBSD said: > > This night, I tested Lumina on a fresh OpenBSD (qemu). > I was surprised to realize that there was no default terminal; you have to install one – unlike with Xfce or Mate. > > Similarly, I was unable to get the system to display messages in French; it simply wouldn’t work, even though the LC_MESSAGES environment variable had been set in my personal .profile file, or even via the available settings; when I restarted the session, it was still in American English! :p > > After, I install Xfce; this DE recognize immediatly my personals parameters. > "Hi haaaa!" > > Bye Lumina! Anyway, I’ve always been a fan/lover of Xfce. :D > > PS: This post is not a request for help; just a little story.
I just opened a PR in the github repository adding Lumina now that this script is more modular.
https://github.com/outpaddling/desktop-installer/pull/66
I also made it install qterminal as the default terminal.
It seems the lumina port on OpenBSD is out of date, (1.4.x vs 1.6.x), so maybe your locale issues are solved in a newer version. :/
feel free to test this, I'll update the OpenBSD-wip port shortly after a merge of this PR.
> @etrigan63 said: > > @izder456 > Your quote in your tagline as a haiku: > > I say mundane things > so the uninteresting > just might get noticed.
can i steal this? i wanna put this in my signature. i like this a lot.
> @CiotBSD said: > > @izder456 and what about the lumina desktop? why the script does not manage it?! > (too many confidential?)
It used to, but the lumina session had a lot of issues and I removed it if I recall correctly. I plan on re-adding it at a later date now that the script is more modular.
> @CiotBSD said: > > Hi. > > I've just to read only the "OpenBSD installer". > > About Xfce, it seems me that it's missing this:
usermod -G _shutdown,wheel> -_shutdownto shutdown or reboot sys, since 7.4 > -wheelto manage/enable the sleep and hibernate functionsWe use consolekit for this on supported desktops, including xfce, like the pkg-readme says to. This change isn't needed. Also by default the regular user made in the installer of the OpenBSD system is in :wheel by default.
> For Gnome, it's seems to needed to manage limits, like on
/etc/login.conf: >> gnome:\ > :datasize-cur=1024M:\ > :tc=default: >> and adding user to gnome:usermod -L gnome> (see the pkg_readme of gnome)I see no mention of login class settings for gnome in the pkg-readme.
Also don't set this. This is lower than the default class, and will likely break things:
@naltun report your experience to this thread please when you do: https://github.com/outpaddling/desktop-installer/issues/30
thanks for the kind words!
Responding to clear up some confusion and to give you general hints as you discover more about the system. Feel free to ignore if you wanna discover in your own time via man and info pages.
Keybind notation in this post uses emacs notation.
Ex:
C-A-dmeans:Control + Alt/Meta + The literal letter d> @nibori said: > > Without much structure or thought, might serve as a record, for me or others. > > Installer: from usb stick, the install experience is nice! Just hardcore enough that I feel the system assumes I have some idea about computery things, but not brew to the point of confusion. For example, at one point it asks which install target, and prompts "sd0 sr1 ?" (or such.. maybe a b... don't take my word). On pressing ? it gives a brief oneliner of each device. Just enough to make the choice, just brew enough I'm amazed. > > At one point install prints "relinking to make unique kernel". Wow. > > Booting: after entering passphrase, it gives me "boot>". Okay... Boot you say? So I type "boot", half-expecting based on past grub experience I will see some arcane message. But instead it actually boots! Neat.
You can also just wait it out, IIRC after some timeout (can't remember how long), it'll automatically run that command for you. OFC you can interrupt this timer by typing anything. This is particularly useful if you wanna boot a different kernel such as bsd.rd (which is a ramdisk kernel that contains the upgrade/install stuff and a basic shell environment for emergencies):
boot> boot bsd.rdor to boot the single processor kernel rather than a muliprocessor kernel on a multiprocessor machine while troubleshooting:
boot> boot bsd.spYou can also get a list of commands available at this boot prompt which may prove useful in some scenarios:
boot> help> On login to system, there's a welcome mail with instructions. The man pages indeed work! Could connect to wifi with just using ifconfig. Well, needed fw_update first to get the wifi driver. Where are the logs though? Linux would spray dmesg with link state foo bar, or wpa auth so and so.. here I didn't notice similar.
Minor correction. Like the name suggests,
fw_updatejust updates/installs missing firmware needed by drivers. Since OpenBSD's kernel is non-modular, all this command does is let some particularly non-free devices behave correctly by letting the built-in kernel drivers load the needed firmware. Thisfw_updateutility doesn't "install" drivers.You can preserve ifconfig settings across reboots with
hostname.iffiles too btw.man hostname.ifAs for logs, for the whole system (with some exceptions), usually they go into some subdirectory/subfile of
/var/log. Plaintext OFC for sanity. For ifconfig specific information, just run ifconfig against your interface name. Eg:> (Sidenote: the feeling when you adjust ifconfig and route, it still doesn't work, and it turns out be a flaky cable... flood ping for the rescue)
Congrats! ifconfig is one of my favorite features of OpenBSD's configuration.
> Looking at the filesystem. Looks clean! Hm, no /proc, /sys? Where do I get some stats about the battery? Will discover later.
man apmman apmdman sysctlman sysctl.conf> Consoles... multiple consoles anyone? Alt+F2 doesn't work. Maybe it is the key mapping, or maybe it is not supposed to have multiple consoles by default?
Just like Linux, which you may be already familiar with, you use C-A-Fn, where n is the tty number you want to navigate to, corresponding to a "Function" key on your keyboard. By default X11 launches on tty5 and kernel messages are on tty1. The rest are login(1) prompts. You can inspect
/etc/ttysto learn about the default tty config.man ttys> Hm, what could be the equivalent of "loadkeys"? Well, can work with en layout for now.
man wsconsman wsconsctlman wsconsctl.confman kbd> startx gives me xterm and xclock, with a blue-red colorscheme. Wicked.
I'd suggest using the XenoDM rc script and login manager. It is more secure. Just using xinitrc/startx doesn't lock the tty that X11 runs in so a passerby can just C-A-Fn then C-d/C-z to fork to the x11 process to bg and get a free shell in your name. With XenoDM, it dedicates a tty for X11 only (tty5 by default) so you can't use anything other than x11 in that tty. It also correctly handles privsep/privdrop whereas startx/xinitrc does not which can fix some quirks you may come upon.
man rcctlman xenodmman xsessionman rc.subr> pkg_add works. pkg_info executed plainly gives a list of explicitly installed packages!
I love the OpenBSD package system. Super simple and easy to use. Fun fact! They're just perl scripts.
> To be continued, eventually...
Godspeed. Enjoy OpenBSD!
Happy Hacking!