You are not logged in.
Found already the manpage of start-stop-deamon . Planning to rewrite that "stubby-script" when i get tired of solving the gray_screen_problem.
https://github.com/systemd/systemd/issues/4288 that issue was added almost 8 years ago, and https://www.reddit.com/r/linuxquestions … up_secure/ was 5 years ago. So i'll need to find something more recent.
Or use the Easy Way Out: usermod -aG input normal_user .
First attempt with a new file under /etc/udev/rules.d : failed.
Not a surprise actually, since i haven't done anything with udev rules before.
Edit. of course i'm aware of the fact that there's no more static files under /dev anymore. About 20 years ago there was 1 attempt to create the device files on demand? or during boot?
And then the second attempt which was called udev.
Regarding to: https://www.reddit.com/r/linuxquestions … up_secure/
t hink that line
SUBSYSTEM=="usb", ATTR{idVendor}=="12ab", ATTR{idProduct}=="34dc", TAG+="uaccess"
is essential.
So i should make copies of that line for my keyboard and mousepad, right? Of course change vendor and product also...
cat /proc/bus/input/devices says among other things:
I: Bus=0011 Vendor=0001 Product=0001 Version=ab83
N: Name="AT Translated Set 2 keyboard"
P: Phys=isa0060/serio0/input0
S: Sysfs=/devices/platform/i8042/serio0/input/input0
U: Uniq=
H: Handlers=sysrq kbd leds event0
B: PROP=0
B: EV=120013
B: KEY=402000000 3803078f800d001 feffffdfffefffff fffffffffffffffe
B: MSC=10
B: LED=7
I: Bus=0011 Vendor=0002 Product=000e Version=0000
N: Name="ETPS/2 Elantech Touchpad"
P: Phys=isa0060/serio2/input0
S: Sysfs=/devices/platform/i8042/serio2/input/input9
U: Uniq=
H: Handlers=mouse2 event3
B: PROP=1
B: EV=b
B: KEY=e420 30000 0 0 0 0
B: ABS=661800011000003
should those devices be enough?
Looks like adding LIBSEAT_BACKEND=logind to /etc/environment doesn't help, BTW.
About https://wiki.gentoo.org/wiki/Elogind#st … ntegration : if i say "--exit-with.session lxdm" in .xinitrc , startx exits with complains.
If i instead say, for example: "--exit-with-session /usr/lib/lxdm/lxdm-session" , my machine freezes with dark gray screen
.
And if i remove normal_user from group "input", my machine freezes again when in init 3 and trying to exit xfce.
So maybe it is time to try that "udev_trick".
TRied https://wiki.gentoo.org/wiki/Elogind#st … ntegration . Created .xinitrc with exec dbus-launch --exit-with-session lxdm .
After that, first attempts with startx in init 2 , sa normal_user resulred in something like that:
culd not connect to socket /run/seatd.sock
backend 'seatd' failed to open seat, skipping
logind.c:317 could not activate session: permission denied
seatd/server.c:145 new client connected (pid:xxxx uid:1000 gid:1000)
common/terminal.c:162 could not open target tty:permission denied
seatd/seat.c:72 could not open terminal for VT 0:permission denied
seatd/seat.c:461 could not open VT for client
Also added normal_user to group input. Didn't help, propably because now it is /dev/tty* - files that have wrong owners and rights. I'll try again with seatd installed.
Edit:Didn't help with startx i mean.
Returned "/"-partition from backups succesfully.
Tried to install libpango-packaged before lxdm. GOt this complaint:
apt-get install libpangoxft-1.0-0 libpangomm-1.4.1
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Note, selecting 'libpangomm-1.4-1v5' for regex 'libpangomm-1.4.1'
Note, selecting 'libpangomm-1.4-1' for regex 'libpangomm-1.4.1'
libpangomm-1.4-1v5 is already the newest version (2.46.3-1).
libpangomm-1.4-1v5 set to manually installed.
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
libpangoxft-1.0-0 : Depends: libpango-1.0-0 (= 1.46.2-3) but 1.50.12+ds-1 is to be installed
Depends: libpangoft2-1.0-0 (= 1.46.2-3) but 1.50.12+ds-1 is to be installed
E: Unable to correct problems, you have held broken packages.
Trying to install lxde or lxde-core results in same complaint. With additional comlaints about lxsession.
So no lxde today.
Sometimes i wonder if the problem is the machine i have or is it just too many bugs or features in the software ?
Maybe I just don't understand the software of today, so i'll have to throw sh*t around to see what sticks.
Note to self: https://wiki.gentoo.org/wiki/Elogind#st … ntegration and those udev-tricks meantioned earlier, try if those work or not.
And "/etc/environment" -thing may be related to: https://www.reddit.com/r/Gentoo/comment … d_elogind/ .
First attempt with a) and b) . Managed to get rid of xfce-related packages and libraries. And elogind also.
But then i tried to install lxde. Got stuck with complaints about libpango-something packages from apt. Couldn't install those packages back.
Looks like i was too trigger-happy when removing the libraries.
Time to find out if i can restore "/" from backup.
Btw. it is still possible to run xorg without display manager, right? In the Good Old Times it was possible, i think.
Finished recently:lords of uncreation by A.Chaikovsky. Mostly boring but the last 100 pages was slightly intresting.
Did some research, found these links:
https://stackoverflow.com/questions/179 … nit-script
https://bitmingw.com/2017/01/22/use-sudo-in-scripts/
So, if sudo is not the recommended command, deamon/runuser/whatever_passes_for_those_in_Devuan_today is ok?
I'm considering whether i should convert that service-file(?id=4865) or not?
Looks like this weekend i'm not going to do anything about that "postgres and *sqlalchemy*"-situation.
So maybe i'll try to a) remove all xfce-related packages and replace thwm with lxde-related packages b) replace elogind if possible.
Recently noticed this: https://dev1galaxy.org/viewtopic.php?id=5909 .
Although better to make some backups before a) and b) .
Is the problem with sudo just that "you're not supposed to do thing that way". Or are there security problems involved?
https://www.youtube.com/watch?v=RGG0hQ5QKVU Karl Sanders - No Creature More Deserving of Cataclysmic Annihilation
Next time i'm in the mood for doing something, i think i'll try also find out if elogind is necessary or not.
On the other hand , about 3 months ago i was too clever with postgres and i should find out i i can coerce sqlite to cooperate or not.
I'm sure that there was an episode of House which included that "my finger hurts"-joke.
https://www.youtube.com/watch?v=-AnmP4PHrE8 Set the World on Fire (2013 Version)
it seems that this week i will be mostly listening to canadian thrash metal.
As far as minimalism: installers should all offer it, but then everyone would complain about how long it took to install a new full DE system, and updaters would have to be rewritten for every DE.
I was under the impression that devuan desktop install iso is for those who want desktop environment working ASAP.
And netinstall is more likely for those who want a minimal system. So is there any real harm done if avahi and some other packages are made optional in netinstall?
Haven't touched Arch yet. Would like to figure out first how to make guix usable.
Avahi may be necessary when using wireless network. But with wired, which i prefer, it just gets in my way. And then there are some security-related-problems.
Especially when the default iptables_rules are "-P ACCEPT"
Although this is going off-topic.
By "removal of polkit-related packages" i meant:
apt-get remove --purge pol*;apt autoremove
rather not touch "libpolkit*" -packages since year 2022 when i found out that some of them are actually necessary if you want to log in to X.
https://www.youtube.com/watch?v=i8XHyhCGE3s prescribing horror by Exodus.
Recently noticed this:https://dev1galaxy.org/viewtopic.php?id=6571 . Started to think: could removal of polkit-related packages have something to do with my "freezing problem" ?
And then there's that idea:replace xfce with lxde.
But on the other hand, i would like to get some Docker-related stuff done first before i cause a Fukushima-Chernobyl-level catastrophe. I think there's a related comic in xkcd.com but right now i'm too lazy to remember the exact link. Maybe sharks were mentioned, maybe not.
Edit. https://www.explainxkcd.com/wiki/index.php/349:_Success
dbus, systemd, network-manager, pulseaudio, pipewire, wayland, avahi, java and their libraries being completely OPTIONAL is the only way I would think that devuan could meet that standard of what I would desire.
For most parts, sounds like a good start. I strongly dislike avahi and networkmanager. But on the other hand i'm neutral towards dbus.
I guess i could figure out how to make alsa work without those pulse/pipewire/whatever, if i really want to.
Would like to add all polkit-related packages to that list.
Although that is for security-reasons, not minimalism-related.
Tried ktechlab. Put some components together and first the output in the oscilloscope looked like what i was expecting.
But then the voltage went flat-lined. Maybe i chose wrong component values or maybe there is some bug somewhere.
Tried first a simple thing, half-wave-rectifier combined with a RC-circuit before going to more complex things.
Maybe "What i was expecting" was a over-statement. The "downward slope" looked like what i have seen in electronics books and from a real oscilloscope once. But that "rising edge" was weird. Looked more like sawtooth wave. Maybe a rounding error or a bug?
Should send some email to the makers of ktechlab.
Got tired of that ngspice manual...