libera/#devuan/ Saturday, 2023-07-01

debdogGuest4445: from my POV the simplest solution is a DM which supports autologin. this does start X automagically as well00:06
debdogI just can't recall atm which DM I've used for that00:07
debdogaight, giong back to BF200:08
Guest4445If i put startx to bashrc loop happens ie x is started several times00:21
rustytacoslim can do it00:25
rustytacoeven if it is a really bad idea00:25
rustytacowhy would you want every process running as root?00:25
Guest4445Dont needmultiuser00:26
Guest4445Slim doesnotautostart in single usermode00:27
debdogwhat is single user mode?00:28
rustytacoLets do this a simpler way.. What bad idea are you trying to accomplish that needs every process to run with the ability to damage the OS, rather than being contained to a user?00:29
rustytacoim not scrolling up 1400 pages00:29
Guest4445You can find info on single usermode in internet. Generally you edit inittab to get it00:30
rustytacorunlevel 100:30
dan9er[m]A-B problem00:30
rustytacoWhat ya trying to accomplish tho?  There's probably a better way00:31
rustytacothats the neat thing with all this mess, theres at least 300 ways to skin a cat, and we have to tools for em all!00:31
dan9er[m]Guest4445: Like taco said, what are you actually trying to do ("A") that you _think_ you need single user mode for ("B")?00:32
Guest4445I just want only root user,no multiuser00:32
dan9er[m]Why tho00:33
dan9er[m]The only situation this makes sense to me is rescue disk/mode00:33
debdognot even M$ does that00:33
dan9er[m]I'm sure that if you tell us why, and it is sensible, we'll understand00:34
debdogstill, slim should be able to do autologin as $any_user, even root00:35
Guest4445It's not rescuemode,it's one user mode00:35
Guest4445No other users are allowed00:36
dan9er[m]You keep dodging the question00:36
dan9er[m]What do you need single user mode for00:36
debdogjust stop that discussion, please00:36
debdoghe wants it, we try to help accomplish it00:37
Guest4445Slim cannot start from single usermode, you first have to givepassword00:37
debdogGuest4445: I am pretty sure it should™ be able to https://duckduckgo.com/?t=palemoon&q=slim+autologin&ia=web00:38
debdogif it does not work it prolly is abug00:38
Guest4445It says give root pass or press cttrl dformajntenance00:40
Guest4445So slim.is just not started automatically00:40
debdogGuest4445: you have to configure it accordingly, of course00:41
debdogit doe not do that by default00:41
debdogyou have to enable autologin in the config file and tell it which user00:42
rustytacoYes you need to be in runlevel 3 for a X session to run as a user.00:44
rustytacoIf we knew what you're trying to run, we could probably be more helpful.00:44
rustytacoIf you want to run X and everything under it as root, you'll have to bypass some bits put in place to make the normal multiuser desktop environment work, fwiw. But why single user mode? Why X programs as root?00:45
rustytacoYou need to be in runlevel 3 for slim to start -- or manually start it in your single user (runlevel 1) init scripts -- just use update-rc.d to set it to run in runlevel 1 and it might work.00:46
rustytacostill i'd like to understand the reasoning as there's probably a lot better ways to do what you seek to do00:46
Guest4445As i told i need rt capabilities for latency free work, so root is need andleast running servicez and desources00:50
debdogno, that info is at least a 20 years old00:51
Guest4445Rhel manual says that scheduler can only manage rootprocesses00:54
debdogI'd suggest to just try it the "usual" way. then, if the latncy is too big try to find the bottleneck and improve it00:58
Guest4445Already got someimprovements just trying if root will givebenefits01:01
debdogmaybe, on really old hardware01:02
debdogI mean _really_ old01:02
fsmithredGuest4445, look at live-config scripts for autologin01:03
fsmithredhttps://git.devuan.org/devuan/live-config/src/branch/master/components/0140-xinit01:04
fsmithredfor auto-startx01:04
fsmithred0160-sysvinit for console autologin01:04
fsmithredthe xinit script makes a file in /etc/profile.d that contains startx (and some other niceties)01:05
fsmithredthe sysvinit script edits /etc/inittab getty lines01:05
fsmithredboot a live iso and look at inittab if you don't like sed heiroglyphics01:06
fsmithredrustytaco, default runlevel in debian distros is 2 and 2-5 are all multi-user graphical01:07
Guest4445Dont know what to do. Whils in single user mode it says give pass or press ctrl d for maintenance. If i puf startx inbashrc x is started several times inloop01:07
rustytacoprobably because single user mode isnt intended for what you're doing01:10
rustytacoits for repairing a broken install01:10
fsmithredwhy do you need to use single?01:12
Guest4445Donf know but indeed a manual from 2000 told try single user mode to improve rt01:13
Guest4445I don'tneedmultiuser01:13
debdogbashrc is called by ever shell started. things that should only be started at login do go into .profile (or ~/.bash_profile)01:14
debdog*every01:14
rustytacothats 20 years ago01:16
rustytacoThe kernel has changed immensely since then01:16
rustytacoSchedulers all around have improved immensely and become pluggable even.01:16
rustytacothats like 2.2.x era kernels01:16
rustytacoIgnore the "multi user" thing01:17
rustytacoWhat are you trying to do? Audio stuff?01:17
fsmithrednot all services are started in S01:17
debdog20 years ago I was able to build a studio PC with a latency lower than 10 ms (max) without "single user mode"01:18
rustytacoyou can give a single process realtime priority without any strife01:18
* rustytaco points at the audio processing rack running on his radio serer01:18
Guest4445Rt is about experimenting. I recompiledkernel 15 times with cutting all notneeded it helped, single user may help too01:18
rustytacoyou can give real time priority without all this single user nonsense tho..01:19
debdogall right then. back to slim (or any some other DM). just tell it to do autologin and which user01:19
Guest4445It waz possible like 3msthat time as per article,i now can get 1ms or 2.1ms for largerprojects01:20
rustytacoJa do that, set things up to give rt priority to the needful processes and let the kernel do what it was made to do01:20
* rustytaco watches his passive radar running without any fuss of single user or recompiling kernels.01:21
Guest4445Not that simple. U must shut down all unneeded01:23
Guest4445Including multiuser01:23
Guest4445It indeed helps01:23
debdogout of curiousity, "where" do you try to reduce latency, Guest4445? somthing like sound or reading sensors or user interaction, like keyboard an mouse?01:31
Guest4445For sound purposes. U can read rhel about rt how to get ultimats results01:35
dan9er[m]I flashed Daedalus desktop iso on my USB, and it can't mount /cdrom04:21
dan9er[m]It looks like once I boot in, all the USB ports die04:25
dan9er[m]I'm gonna try burning an actual DVD04:28
grayrocki cp'd the rc1 x64 daedalus desktop iso to a usbstick earlier today. it booted ok. the partitioning messages seem to be fixed. choosing mate on tasksel and continuing gives an error, so i aborted there. the "D" in the text graphic of "DEVUAN" is mangled for me (not important). note that this is a report, not a complaint. :)04:34
dan9er[m]Black screen on boot05:00
dan9er[m]Wtf05:00
gnarfaceis that the installer disk? try the live iso05:01
gnarfaceregular install may be missing some non-free firmware and drivers05:01
grayrockoh, btw, i'm installing offline, completely disconnected from any net, so that might be relevant.05:02
gnarfacegrayrock: what was the error you got?05:02
gnarfacedan9er[m]: (you should be able to install them, but a the live iso might make it easier to figure out which ones)05:03
grayrockgnarface: i foolishly didn't make a note of it. i'll try it again and do that.05:04
grayrockgnarface: https://dpaste.com/2Y2CLUU8Q05:53
grayrockout of curiosity, i went back a step and chose lxqt, which installed normally.05:54
grayrockamd xfce would always install normally. so it's definitely mate-specific.05:57
grayrockand*05:58
rustytacohmm06:03
rustytacomy new compy will be hear soon06:03
rustytaco64kb of ram!06:03
gnarfacegrayrock: uh, sorry i'm too paranoid to click on anything but paste.debian.net, but it matters very little in this case; the person you want to be showing the error to anyway is fsmithred06:54
gnarfacethe most i could do is speculate on a cause, but i'm sure it's not user error06:55
gnarface(thanks for testing these images by the way, they need it)06:55
grayrockgnarface: ok, no prob and reluctance understood.07:01
grayrockhttps://paste.debian.net/1284648/07:05
gnarfacegrayrock: oh, that's weirdly unspecific. i was thinking it'd be another missing library package or something. only thing i can suggest is that you alt+fN over to an unused terminal and enable it so that you can see the actual console errors as they appear07:09
gnarfacewhatever is failing should have thrown an error of some sort, and if it's not showing in the UI it should show up in the first unused virtual terminal (i think it's F4 but i'm not sure)07:10
grayrockyeh, i should have thought of that. i will do that when i get a chance.07:11
rrqgrayrock: possibly a side note, but "console productivity" conflicts with some desktop environments, so don't do moth.07:11
onefangDefault virtual terminals are 1 to 6, with X on 7.07:12
gnarfaceonefang: i thought that was the old days, i thought X moved to 1 but also i thought ncurses mode was different07:13
gnarfacegrayrock: it might matter whether you're starting in X11 mode or ncurses mode07:13
rrqmmm the installer has vt1-4, with 1 being the dialog flow and 4 being a tail of the log file, leaving you 2 and 307:13
grayrockoh, that's relevant, because i usually choose console productivity. i'll try it without.07:13
onefangOh, you meant the installer.07:13
gnarfaceonefang: yea this is happening in the daedalus installer07:14
grayrockheh, i'll just push buttons until i see output.07:14
onefangOK, I was talking about the installed OS, at least up to chimmy.  I haven't tried deadulus yet.07:15
rrqmore specifically the kernel offers 64 virtual terminals nowadays, but sysvinit only uns login on 6 of them, and X traditionally starts on 7.07:18
rrqyou can easily run "openvt -c 23 bash" to get a bash on vt23 if you like07:18
rrq(but who does?)07:19
rrqr07:19
* onefang searches my keyboard for the F23 key. Is it near the ANY key?07:19
rrqyou may need to run "chvt 23" to shif the monitor07:20
rrqt07:20
onefangI'm gonna need a bigger desk.07:20
onefangActually I had moved dmesg to 1, and only use vt2, and even then only rarely.07:24
onefangEverything else is done in X with lots of tmux windows and other things.07:24
grayrocklooks like it's just a missing package on the iso. debian-mate-default-settings is needed as a dependency for mate-session-manager. probablt gets fetched when installing with net enable, but i install offline.08:50
grayrockmultiple-typos*08:50
grayrockand it's vt4 that shows /var/log/syslog. vt1 is the installer, vt2 and vt3 are ash shells.08:54
* grayrock realizes someone already said that08:58
rrqsupposedly the desktop iso includes anything dependent and recommended from task-mate-desktop; is debian-mate-default-settings something extra?09:22
grayrocksyslog gave that as the reason for the error installing mate in offline mode.09:24
rrqah; it's a non-default choice option09:24
rrqthe default choice is mint-mate-default-settings09:25
grayrockoh, well it mentioned all three: mint, ubuntu, and debian. it couldn't find any of them.09:25
rrqyes; not sure why... looks like a bug in the "dependency resolver"...09:29
grayrock"the following packages have unmet dependencies: mate-session-manager  depends: mint-mate-default-settings  or  ubuntu-default-settings  or  debian-default-settings"09:33
rrqoh.. hmmm mint-mate-default-settings is the default choice, but it's missing from debina09:33
grayrockmate-default-settings*09:33
rrqhmm; the the default option is more complex than the first of options...09:35
rrqdebian repository only has one *-mate-default-settings, namely debian-mate-default-settings, and that one is not syntactivally the default one that mate-session-manager depends on09:43
grayrocki searched md5sum.txt on the iso for "mate-default-settings" and came up empty.09:44
rrqyes the iso logic picked the default one to resolve the dependency, and then drop that one since it doesn;t exist in debian09:44
grayrocki was installing offline, btw, so it would have only looked on the usbstick.09:45
grayrockand it looks like none of them are on the usbstick.09:46
rrqwell the debian repository, toatally, only has one of them. the other ones might exist within other package collections, and the maintainer of mate-session-manager seems to know of them all09:48
grayrockso i assume that adding any one of them to the iso would fix the problem.09:50
rrqmmm it would hide this problem, yes, but it'd be better to expand the logic for "the default choice" beyond that mere syntactical consideration09:52
rrqit should pich "the first choice that has an implementation within the repository" (perhaps)09:54
rrqpich=pick09:54
rrqrather than just "the first choice mentioned"09:54
grayrockeven if the programming logic is perfect, it will still need to find debian-mate-default-settings.deb (pr one of the others) on the installation media (when installing without internet)09:55
rrqyes; I'm talking about the logic that decides what to put on the iso09:56
rrqhttps://git.devuan.org/devuan/installer-iso/src/branch/master/pool/review.lsp09:57
grayrockoh. i see.09:58
rrqline 192 picks "the first of options as the default choice".. and that's obviously too weak logic09:59
rrq(or thereabouts.. too weak logic)10:02
djphaww, no daedalus torrent yet. boo. :(10:09
* rrq just saw a bug on line 245.. (this bug?)10:14
rrqmmm at least P rather than x makes the iso inlcude debian-mate-default-settings10:18
grayrocki'm gonna hit the sack but i'm glad you're homing in on it. goodnight.10:20
grayrockinstallng a second instance of devuan 5 causes the common swap partition to be unrecognized in the first instance because of the UUID change. i don't remember that happening before.16:03
rrqgrayrock: 5.0.0-rc2 are available16:17
grayrockcool16:21
grayrockbtw, i notice daedalus comes with nftables instead of iptables. i know zip about nftables. it would really be nice if it was configured with all incoming ports closed by default.16:34
grayrockunless servers were installed by the installer anyway.16:36
grayrocki like that ssh-server is now an option in tasksel. before it was installed by default, which always seemed like a security risk to me.16:39
rrqyou can install and use iptables16:42
grayrocki know, but i figure i might as well just start using nftables since that's the furure.16:42
grayrockfuture*16:43
rrqwell, I'm still waiting for it to handle ipset16:43
rrquntil then the iptables synta is more powerful16:43
grayrockin that case, it would be great to have iptables and ufw, and all their dependancies, available on the installer iso. i like to get a firewall up before exposing a new install to the internet.16:45
* grayrock is paranoid16:45
onefangJustifiably paranoid.16:46
rrqI think iptables is in the desktop pool16:47
rrqand ufw16:47
rrqi.e. on the desktop iso16:48
grayrockgreat, that's what i use.16:48
rrqipset is there as well16:48
grayrocklaters. gonna go play with rc2...17:08
grayrockrc2 report: works great, mate install is flawless. minor issue: openssh-server and openssh-sftp-server are installed even if you don't select ssh server on tasksel menu. otherwise nice release candidate. lotta hard work you guys did. thanks.20:10
grayrockufw can be installed just by copying four .debs from the installation media pool and installing them with dpkg: libip4tc2_1.8.9-2_amd64.deb, libip6tc2_1.8.9-2_amd64.deb, iptables_1.8.9-2_amd64.deb, and ufw_0.36.2-1_all.deb20:20
* grayrock don' need no steenking dvd20:20
XenguyThanks for the feedback grayrock20:35
buZzsoooo, i distupgraded to dae<tab> today, but now 'slim' doesnt allow my useraccount to login, while logging in as root goes fine21:11
buZz'failure to execute login command' :/21:12
buZzand ofcourse, slim.log is completely empty :)21:12
buZz'login' from a rootshell works fine though, also logging in on terminal works fine21:13
buZzmaybe i'll just try a different login manager, lets see21:14
buZz... are there even others? :D21:17
buZzenabling autologin in slim doesnt prevent it :(21:18
buZzgot it!21:24
buZzit was a full disk, lol21:24
* buZz writes 'add diskfull msg to slim login failure' to maybeTODO.txt21:30
Xenguy: -)21:31
dan9er[m]I just installed Devuan Chimera on my  desktop, and my wifi card doesn't work. (I can access internet via Android USB tether.) How do I check what firmware I need and which package provides it? It's a TP-Link Archer T8E21:37
buZzdan9er[m]: if you already have the driver installed (probably) you likely get a message about trying to load firmware but failing in 'dmesg'21:38
buZzwith a filename :P then just apt search filename (without filename extension i guess)21:39
buZzi -believe- thats a Broadcom Corporation BCM463021:41
dan9er[m]Yeah just looked it up, sorry21:42
buZzis it firmware-brcm80211 ?21:42
dan9er[m]I don't see bcm4630 in that package's description21:43
buZzi do see > Binary firmware for Broadcom/Cypress 802.11 wireless cards21:44
buZzwhich it is, i guess?21:44
dan9er[m]Well i've installed that and restarted, still no network22:11
buZzaw, well , maybe try to lookup other people with bcm463022:14
buZzi mean, their online postings22:14

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!