Page 1 of 1

Openbox ignores login=root

Posted: 15 Nov 2018, 09:54
by rych
1. Install the official openbox ISO
2. modify the /boot/syslinux/porteus.cfg or specify at the startup "login=root"
3. GUI boots into guest account anyway
4. Simply replace the openbox module with the 003-lxde and Reboot successfully into root GUI.

Is this a restriction of the Openbox DE?

Openbox ignores login=root

Posted: 15 Nov 2018, 12:49
by ncmprhnsbl
confirmed.. here's a quick fix : rootfix.xzm
contents: /etc/rc.d/rc.4
what's happening:
in openbox module i used a newer rc.4 that references /etc/bootcmd.cfg instead of /proc/cmdline to edit slim.conf at boot..(lxde is using the old one)
the reason that newer rc.4 failed was a simple typo:

Code: Select all

login=`egrep -o " login=[^ ]+*" /etc/bootcmd.cfg | cut -d= -f2`
should have been

Code: Select all

login=`egrep -o "login=[^ ]+*" /etc/bootcmd.cfg | cut -d= -f2`
(no space before login= )
thanks

Openbox ignores login=root

Posted: 16 Nov 2018, 05:20
by rych
Thanks @ncmprhnsbl, your fix works. By the way, should I use the official module or your other one 003-box-64-20180321.xzm ? Also, what's your reasons for using Openbox instead of LXDE, for example? How is it better overall? (I know why I'm looking to replace LXDE: its file manager, terminal, etc often freezes on me and need to be restarted)

Openbox ignores login=root

Posted: 16 Nov 2018, 07:49
by ncmprhnsbl
rych wrote:
16 Nov 2018, 05:20
should I use the official module or your other one 003-box-64-20180321.xzm ?
your choice :) although similar(both have spacefm, tint2), they are somewhat different.
my box module is more like the "traditional" crunchbang style openbox > rightclick menu with lots of pipemenus, no 'desktop' operations, conky)
whereas i regard the official openbox like a defacto lxde, except run by spacefm instead of pcmanfm> desktop file actions, taskbar menu..
other differences:
box has gparted, audioplayer(deadbeef) included
official doesn't (mpv handles all media pretty well) ...left open for users to make their own choice..

why i use openbox(pure)?
1. just habit (i've tried a lot of WMs, many i like, but i always come back to openbox)
2. the Desktop folder is just another folder(in the file manager) to me (WM vs DE arg)
3. i really like spacefm (word of warning: i'm shipping an 'alpha' version so although it's fast, it does crash occasionally)
4. pipemenus, tiling keybinds..