You are not logged in.
Refracta no-dbus build (experiment)
wpasupplicant \ # get libdbus-1-3 here
I recently debianized wpasupplicant without libdbus, so that simple-netaid will run without any dependency on dbus.
If you work systematically, things will come by itself (Lev D. Landau)
Offline
Cool, Aitor! Thanks. I'll add it to the next nodbus build (which might be beowulf.)
Offline
Guess I should have re-read this thread before uploading new isos. These are beowulf.
https://get.refracta.org/files/experimental/
refracta10-nodbus_amd64-2019-04-16.iso 17-Apr-2019 01:05 703594496
refracta10-nodbus_i386-2019-04-16.iso 17-Apr-2019 01:23 687865856
No dbus (just some libs), no *kits, no libsystemd0, most of the same apps that go into the xfce builds.
You can probably get rid of most of the dbus libs if you remove abiword and transmission.
You can replace xpdf with atril. (Not sure if that'll pull in dbus libs again, but it won't pull in dbus. I left it out to keep the iso size down.)
Made with live-sdk. I'll post the blend files when I decide where to put them.
Offline
Just playing on refracta10-nobus. on evo n610c i386.
- ogg playing
- nginx
Fun!
Last edited by Droidus (2019-04-17 11:01:14)
Offline
evo n610c i386.
I had to google it, and the first hit was Berkeley Archeology. At first I thought maybe it was a museum piece, but no, it's just one of the items on their equipment list. If you need to save ram, run ps_mem.py to see what you can kill.
Here's the config file showing what I installed. It's not the complete package list - lots of other things got pulled in as dependencies. (Recommends are turned off.)
#!/usr/bin/env zsh
# config for refracta-nodbus.blend (beowulf)
version=10.0test
base_packages+=(
bash-completion
texinfo
acpi-support-base
aptitude
apt-listchanges
console-setup
debootstrap
debsums
discover
dnsutils
doc-debian
docutils-common
docutils-doc
ftp
gettext
gnupg2
# grub-efi-amd64-bin
# grub-efi-ia32-bin
# grub-pc-bin
$grubversion
haveged
laptop-detect
lsof
mlocate
mutt
ncurses-term
nfs-common
procmail
# reportbug
telnet
unzip
usbutils
w3m
whois
zip
)
extra_packages+=(
sshfs
mbr
w3m
hwinfo
moc
ffmpeg
ntfs-3g
dosfstools
live-config
live-config-sysvinit
squashfs-tools
xorriso
pmount
pv
rsync
syslinux
syslinux-common
syslinux-utils
isolinux
gdisk
irssi
scrot
feh
p7zip-full
pm-utils
sysv-rc-conf
tree
file
live-boot-doc
live-config-doc
dkms
eject
xorg
xserver-xorg
xinit
xserver-xorg-video-all
xserver-xorg-legacy
libelogind0
gconf-service
gconf-gsettings-backend
xterm
openbox
openbox-menu
obconf
# libpam-elogind
$linuxheadersversion
build-essential
lxappearance
lxappearance-obconf
lxpanel
lxterminal
lxrandr
spacefm
xarchiver
libnotify-bin
links2
mesa-utils
gparted
# leafpad
geany
gtk2-engines
firejail
firejail-profiles
# wicd # needs dbus
xscreensaver
xserver-xorg-video-all
xserver-xorg-video-intel
x11vnc
xtightvncviewer
yad
refractainstaller-base
refractainstaller-gui
abiword
abiword-common
acl
arp-scan
asunder
# bleachbit requires policykit-1
cifs-utils
cryptsetup
lvm2
mdadm
deborphan
dkms
dmidecode
eject
ethtool
fdupes
firmware-linux-free
gddrescue
gdmap
geeqie
gftp
gimp
grsync
hardinfo
hddtemp
hdparm
hexchat
hexedit
hicolor-icon-theme
htop
hwinfo
iftop
lm-sensors
locales
meld
mpv
mtools
multiarch-support
net-tools
# partimage no package
patch
pciutils
ppp
pppconfig
pppoe
pppoeconf
rename
sane-utils
smartmontools
strace
testdisk
transmission-gtk
uuid-runtime
volumeicon-alsa
vorbis-tools
vrms
wget
winff
wodim
xinput
xpdf
xsane
)
# Replace the default purge_packages list if you want to keep dbus.
# or add any packages you want to purge.
#
purge_packages=(
dbus
debian-keyring
)
custom_deb_packages+=(
deadbeef-static_0.7.2-2_${arch}.deb
fig29-31_1.0.deb
firemenu-1.2.deb
refracta-lang_1.1.deb
refracta2usb-2.4.1.deb
refractasnapshot-base_10.2.1_all.deb
refractasnapshot-gui_10.2.2_all.deb
usbpmount-1.2+blend.deb
)
Offline
I thought I would like to try this on my ancient, tiny Asus EeePC. I used refracta10-nodbus_i386-2019-04-16.iso, dd-ed it to a memory stick and once I had remembered that I needed the <esc> key to get the boot menu, it booted nicely and was surprisingly quick for such an old machine.
I have a small number of observations from having installed it.
As I went through the installation, I was offered an existing swap partition and I failed to realise that I had to click on it to select it, as there was only one to choose and I ending up having to start again ;-)
I changed the passwords and had to have a second go at the user pwd before I managed to duplicate it correctly. This may be to do with the tiny keyboard on the Eee PC. When it booted up I could log in and it looked sensible, however I discovered that I didn't know the root password. It took some investigation before I worked out the the root password had not been changed to the new one. This may have been finger trouble on my part, but I thought it went ok at the time.
There is no way to shutdown from within X. Providing you know the root password or are set up in sudoers then this can be worked round. I think that I can work out how to get something in lxpanel working... Is this related to not having elogind installed?
Anyway, it is all good fun, thank you.
Geoff
Last edited by Geoff 42 (2019-04-21 10:18:31)
Offline
Geoff, thanks for the report.
User has sudo nopasswd enabled for halt, reboot, pm-suspend and pm-hibernate. Oh, you might have disabled that in the install. If so...
echo "user ALL= NOPASSWD: /usr/sbin/pm-suspend, /usr/sbin/pm-hibernate, /sbin/halt, /sbin/reboot" > /etc/sudoers.d/user_shutdown
To restore it.
Right-click on the desktop should give you the openbox menu, and I've added reboot and shutdown. Warning: Those two work without asking for confirmation.
You can tie the logout in lxpanel to one of the quit-dialog scripts in /usr/local/bin. I missed that and should add it to the blend.
elogind would pull in policykit-1 and dbus, and the user would be able to use the dbus shutdown commands.
Offline
Thank you for the info. I have checked /etc/sudoers.d/user_shutdown and it looks ok. I have now found shutdown on the openbox menu and it does seem to stop lx and ob stuff from running, although the cursor still responds. A quick press on the on/off button seems to cause an orderly shutdown!
I have installed dillo which seems to work as a nice lightweight browser. I found it when claws-mail switched to using it to render html.
Geoff
Offline
Maybe you need to add shutdown and poweroff to the list of user_shutdown commands. If one of those works better, edit the quit-dialog and /etc/xdg/openbox/menu.xml (You did log out and in again after adding the file to sudoers.d, right?)
I will try dillo. I only tried a couple of browsers and gave up quickly, because they needed dbus.
Offline
I checked /etc/xdg/openbox/menu.xml and found a couple of lines appeared to have been corrupted, in that the lines ended prematurely in a "$" sign, viz :- </actio$ which I corrected to </action>. I have also tried using
sudo /sbin/shutdown -h now
but my first attempt needed a password, so I have reworked /etc/sudoers.d/user_shutdown so that it now looks like :-
Cmnd_Alias SHUTDOWN_CMDS = /sbin/shutdown -h now, /sbin/shutdown -r now
Host_Alias LOCAL_HOST = iron, localhost
ALL LOCAL_HOST = (root) NOPASSWD: SHUTDOWN_CMDS
this now works as expected.
Geoff
Offline
Oops. You found a copy/paste-from-nano error. What I don't understand is why it works for me when it's like that.
I tried dillo, and it would not let me go to youtube. I didn't expect to watch video with it, but I wanted to see what I got. It's like it didn't even try to get to the page. I was able to get there with links2, and after adding youtube-dl I could download a video and watch it with mpv.
Offline
I think that the problem with sudo wanting a password was because your file was giving permission to a user called "user" and during the installation I set up a user with a different name!
Geoff
Offline