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
- ncmprhnsbl
- DEV Team
- Posts: 3939
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Openbox ignores login=root
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:
should have been
(no space before login= )
thanks
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`
Code: Select all
login=`egrep -o "login=[^ ]+*" /etc/bootcmd.cfg | cut -d= -f2`
thanks
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44
-
- Warlord
- Posts: 622
- Joined: 04 Jan 2014, 04:27
- Distribution: Porteus 5.0 x64 OpenBox
- Location: NZ
- Contact:
Openbox ignores login=root
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)
- ncmprhnsbl
- DEV Team
- Posts: 3939
- Joined: 20 Mar 2012, 03:42
- Distribution: v5.0-64bit
- Location: australia
- Contact:
Openbox ignores login=root
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..
Forum Rules : https://forum.porteus.org/viewtopic.php?f=35&t=44