I remember need to alter this login.conf for sake of some program to run well but i forgot exactly. Just document it here for reference.
Tag: openbsd
I have some disappointment on netbeans 11, because plugin activation problems i face. Netbeans 12 i feel different, no errors on plugin activation. Beginning my trials for Netbeans 12 LTS (yes its a long term support version), i downloaded a platform independent zip file and extract it on my home folder. I saw on the website that older version no longer supported, including Netbeans 11 ???
This trials run on OpenBSD 6.7 laptop. Open terminal and cd to netbeans12/bin. Execute ./netbeans& [enter]. The Netbeans 12 run with JDK 8 just fine (oldest JDK version supported by Netbeans 12). First time first , activate all installed plugin to see if any errors happen. No errors, its good down the road. Right away Netbeans 12 do a task of downloading repository, hmmm. This downloading stuff is new and it takes long time to complete, i leave it over night, maybe just my slow old laptop cant handle it :). So far its a positive experience and i will say its a good job to the developers.
Recently i have successfully printing a test page from my HP printer on my OpenBSD 6.7 laptop after reading and practicing an article on website of mp-5 text editor (see it on my other post). I use following step.
1. add required packages using pkg_add cups gtk+3-cups hpcups hplip.
2. edit /etc/rc.conf.local as follow on pkg_scripts section.
3. restart openbsd.
Minimum Profit is a text editor for programmer available to download from https://triptico.com/software/mp.html. I accidentally found this software from article related to OpenBSD and the author is the creator of this mp editor. The downloads are available in source and windows executable (Wow).
I managed to compile mp 5.38 on debian 10 using ncursesw driver which is already available on my laptop. Compilation step as follow.
Upgrade OpenBSD 6.6 to 6.7
This is my first time upgrading OpenBSD. Usually i do full reinstall but it just too time wasting, so i tried these step.
- sysupgrade
- pkg_add -u
sysupgrade will update your OpenBSD by rebooting and download installation package from internet (i think). Then pkg_add -u will update all of installed program (take a long time). Its a successful upgrade. Thanks to OpenBSD developer who make it so seamless and work beautifully. Great work.
OpenBSD Virtualization in Action
BSD’s recently have progress for things called virtualization. FreeBSD have BHyve, NETBSD have NVMM and OpenBSD have VMM. OpenBSD VMM have been around for 1-2 years maybe and i decided to try it now. My laptop running OpenBSD 6.6 with 4GB of RAM which is having enough spare RAM to launch a VM. First thing i download OpenBSD 6.6 ISO image. My first VM will be OpenBSD guest to make things simple.
Next, we need to enable VMD through /etc/rc.conf.local by adding “vmd_flags=”. We can also start vmd immediatelly using “rcctl start vmd”.

Installing TCL on OpenBSD 6.6
To bring tcl/tk programming language and some database connectivity for tcl on OpenBSD do command below as root :
pkg_add tcl tk sqlite3-tcl pgtcl
OpenBSD 6.6 can install tcl/tk 8.5 and 8.6.
Two extra package named sqlite3-tcl and pgtcl will give tcl capability to work with sqlite3 database and postgresql database.
Tdbc also a good choice for database connectivity. Tdbc packages on OpenBSD available for mysql, postgres, sqlite3. To add tdbc , we can do pkg_add tdbc-postgres tdbc-mysql tdbc-sqlite3.
Later will write more about tcl/tk.
This one work for my old AMD E-450 laptop on OpenBSD 6.5 after searching for some time.
- Edit /etc/wsconsctl.conf using your favorite text editor.
- add a line : mouse.tp.tapping=1
- Reboot.
- Test tapping on xfce4 desktop environment !
Welcoming OpenBSD 6.6 : sysupgrade
OpenBSD new feature to do version upgrade is coming …
Ruby manage gem by using gem command.
An interesting command is :
gem server