libera/#devuan/ Sunday, 2023-11-19

rhyTwo Questions:  How do I fix it so su can init 6?  And, how do I get compiz on straight from boot?00:44
fsmithred_is it just init 6 that doesn't work, or you can't change runlevels at all?00:46
fsmithred_if you get 'command not found' then you need to use the full path or else get root with 'su -' or else set it in /etc/default/su00:47
rwpAlways use "su -" with a "-" to load root's profile and environment.  Without the dash you get your own environment, which often means you end up with files in $HOME owned by root afterward, among other problems.01:19
n4dirgotta admit that i pretty much never use "su -", only su01:20
rwpInstead of "init 6" what's wrong with the traditional "shutdown -r now"?  Or if you are wanting to yank the rug out from under it "reboot"?  "reboot -f" if you really want to yank the cord out.01:21
n4diri can't say in those 15+ years i ever ran in a real problem in doing so.01:21
rwpThough using Magic SysRq is even more strong.01:21
rwpn4dir, As an experienced user I am sure you have all of the directories in your PATH and already know how to handle files in $HOME owned by root when you find them.01:22
* blockhead hasn't tried "reboot -f" yet. hmm01:22
rwpThe -f mnemonic is fast because of how it works but really it is quickly getting to triggering a system reset to reboot and not running shutdown scripts.  NOT recommended for database systems!01:23
n4dirrwp: for PATH there now (a bit longer) is that ALWAYS_SET_PATH setting needed, but yeah, that is confusing if you don't know it. In the other problem i don't really run often, if so i just change the ownership01:23
rwpIt's interesting to run "env" saving the result off.  Then su and running env and saving the result.  And then su - and env saving the result and then comparing the environment.  And current working directories for the combination.01:24
rwpAnd the same with sudo and sudo -i too for the similar stuff there.01:24
n4dirwell, as far i can see pretty much everyone recommends "su -". If not everyone.01:25
rwpI actually have a cron in place that runs periodically looking for root owned files in my $HOME so that I get notified if I have forgotten and done it by mistake and every so often it tells me that I have and hten I go fix things.01:26
rwpA last thing is that /bin/login is what logs us in on consoles.  So one can also su -c "login -f root" or "sudo login -f root" too but that's too much typing.  I use those sometimes with containers though.01:28
n4dirI miss the times when such ended in neverending flamewars (su, sudo, whatnot)01:34
rhyAh, su -.  That's it.01:35
rhyI forgot. How do I make compiz load on boot?01:36
fsmithredcan't you add something to the desktop startup apps?01:37
rhyProbably.  Just trolling for best practices before I break it myself. LOL01:37
n4dirthere was compiz-icon or such, running in the panel, to autostart it. Not sure if it still exists01:38
n4dirperhaps compiz --replace; or such It really is long ago01:38
rhyyeah, compiz --replace is how I'm doing it manually, but then the stupid terminal never goes away, and it's a manual process every boot.01:39
n4dirAre you using a display-manager? Or startx?01:40
fsmithredwhat desktop is it?01:40
n4diri assume you could also run the command from  a command-prompt, to avoid the open terminal01:40
blockheadput something like ( compiz ) & in .xinitrc?01:42
n4dirfusion-icon - tray icon to launch and manage Compiz01:42
gnarfacefrom my notes i just have these two lines in the ~/.xinitrc:01:47
gnarface#/usr/bin/urxvt -tn xterm &01:47
gnarface#/usr/bin/compiz --fast-filter01:47
gnarfacethose are pretty old notes though, and i don't remember what the terminal has to do with it01:48
rhyMate.  Just put compiz --replace in the startup applications, and did an init 6 under su -01:48
* rhy crosses fingers01:48
n4dirI can't say the manpage is outstanding clear what --fast filter does (" Use a fast texture filter.")01:50
rhylol01:52
rhyWhat's the command to open a mate terminal?  Compiz borked my hotkeys.01:52
n4dirmate-terminal01:53
blockheadforget what I typed, i have that wrong01:55
blockheadi mistakingly thought you wanted to turn compositing on in your current window manager.01:56
rhyCool.  Fixed it in the Mate Shortcuts dialog.01:57
rhyThis thing is starting to run pretty well.01:57
rhyCan I get some of these cleaned up settings into the default MATE installation?01:58
rhyI'll shoot a video if that's helpful.01:58
rhyCompiz comes out of the box pretty terribly setup, for example.01:58
rhyWould also be nice to get a few better wallpapers into the upstream.  Happy to help with that.01:59
rhyStill haven't gotten chrome remote desktop to work. :/02:03
rhyDo you guys recommend a better LAN alternative?  xrdp, or?02:03
rhyI just want it to be maximum graphically over the wifi.02:03
rhyOne more question: Is there an equivalent of nvtop but for terrible built in intel gfx?02:17
gnarfacerhy: wifi is gonna be a problem with that plan unless you've got a really good wifi hardware at all points, as throughput tends to be high bandwidth if you want good responsiveness02:27
gnarfaceif you don't, VNC is fine for normal use typically, but i haven't seen anything work better than Steam's remote desktop feature if you have a video card with hardware encoding supported02:28
gnarfacethough some people have compared it unfavorably to a out-of-distro program called "Sunshine" i haven't tried out (at that point i'd have already resorted to cobbling something together with ffmpeg and netcat)02:29
rhyOn the client or server end?  I have nvenc on the client machine, but not on the "server"02:29
rhyYeah, i was also thinking about just sshx into the remote browser.  That might be more responsive.02:29
gnarface... unfortunately for this plan to work low-latency enough for gaming, you'll need hardware decoding on the client AND hardware encoding ont he server02:29
gnarfacebut yea, if you just need web browsing, VNC or ssh forwarding is fine02:30
rhyssh forwarding probably fastest.  Yeah, it's just for the browser for my newz show.02:30
gnarfacethough, a historical anecdote, there used to be more commonly supported hardware mjpeg builds for VNC that can improve latency dramatically with commodity hardware02:31
gnarfacedunno how hard it would be to get such a build working these days though, as it seems like everything in the repo has had it disabled in the build for some years now by default02:31
gnarfacehmm, i just remembered what the terminal had to do with it in my notes snippet above02:38
gnarfaceyou can't & the window manager, or it doesn't take control, but you have to have something else running or it just immediately exits02:39
gnarfaceso i picked a terminal because it was the most useful thing i could think of, but it could be literally anything02:39
gnarfacebut i was just doing this without the benefit of window manager features, i think i was using gtk-window-decorator02:40
gnarface(it was named something like that, anyway. a completely bare window handles/border renderer)02:41
gnarfaceperhaps compiz has come a long way since that02:41
al1r4dwhy devuan still using pulseaudio? 🤔04:44
blockhead "still"?04:44
brocashelmyou can remove it04:45
brocashelmapt remove pulseaudio04:45
brocashelmrefracta uses alsa as default, btw04:45
fluffywolfbecause we need more developers to implement default configs that use alsa for everything.  thanks for volunteering!04:45
brocashelmanyway, it's exactly ootb as debian's xfce tasksel has it04:46
brocashelmbut you could do a minimal install with only the software that you want04:46
* blockhead pretty much uses alsa for everything. in devuan you can ignore pulseaudio04:46
brocashelmtoo bad libpulse0 is still installed if you use programs like mpv, atril, ffmpeg, or simplescreenrecorder, though04:48
blockheadnot sure about those others, but ffmpeg can totally use just alsa04:49
al1r4dblockhead, yeap04:49
al1r4di mean it would be good if pipewire as default04:49
al1r4dsorry bad english.04:49
brocashelmi meant as dependencies04:50
brocashelmbut you could try compiling against pulseaudio04:50
blockheadis pipewire even in devuan?  i never noticed04:51
al1r4dblockhead, it exists -> pipewire/unstable 0.3.85-1 amd6404:53
* blockhead is content with an all-alsa audio system04:54
brocashelm sndiod can also be used04:55
brocashelmi prefer that one over pulseaudio, pipewire, or jack if i had to have a layer above alsa04:56
al1r4dsndiod available on linux?05:24
brocashelmmost distros05:26
brocashelmdevuan has it05:26
al1r4dwell.. i thought it openbsd thing05:27
brocashelmit originates from openbsd, but it has been ported to linux and other unix-like operating systems (as well as doas, openntpd, rpki-client, etc.)05:28
brocashelmso they should all work on devuan with the right configs05:29
gnarfacealright, i really hate to be "that guy" but i couldn't let the window of opportunity pass without letting you all know that Valve has released a 25th-anniversary update to the original Half-Life game and it's free to keep if you download it this weekend06:06
gnarfacei'm sure pretty much everyone here already heard that news, but in a similar situation i would have hoped someone reminded me had i not, so i'm now telling all of you. i was not compensated for this.06:07
gnarfacewoops, i really meant to type that into #devuan-offtopic, my bad06:08
masongratis-to-keep, yes?06:12
gnarfaceyrd06:16
gnarface*yes06:16
al1r4dis it safe to remove intel-microcode? i want to remove because non-free software06:32
masonal1r4d: That package is part of what mitigates Spectre and Meltdown attacks.06:57
masonThink of it as "upgradable hardware" rather than "non-free software".06:58
masonupgradeable*06:58
schillingklausdegradeable hardware would be more like it06:59
masonOr hardware for which flaws have been found, but which can be patched with microcode.07:36
gnarfaceal1r4d: safe as in will it damage the install? yes, it won't break your install to remove it. safe as in it will leave you open to known vulnerabilities? no, you should keep it.11:45
gnarfaceif you suspect it is causing stability problems maybe try running without it, but otherwise you should keep it.11:46
gnarface(assuming you have a relevant processor obviously - if you're using a AMD processor that package is useless to you)11:47
onefangOn the other hand, there is also an AMD version, for the same reasons.11:58
gnarfaceyesm, that's true, it is called amd64-microcode, and should be kept for similar reasons12:36
gnarfacebut you only need one of them12:36
al1r4dhttps://ibb.co/LNBqTs5 <- why guix recommends systemd?12:54
rwpal1r4d, That's the recommendation of the Debian package maintainer for Guix.  As I understand it the GNU Guix project recommends GNU Shepherd for use in the standalone Guix system.20:01
msiismDebian's release notes for Bookworm recommend backing up /etc, /var/lib/dpkg, /var/lib/apt/extended_states, and the output of `dpkg --get-seceltions '*'`.20:40
msiismNow, to make my life easier on the next upgrade, I included the directories form /var in my regular backup.20:40
msiismI'd also like to back up the output of `dpkg --get-selections…` But that's a bit cumbersome because I'd always have to run it before the backup and put the file into a location that actually get backed up.20:41
msiismI mean the file holding the output.20:42
msiismSo, what's a good (maybe common) solution to this?20:43
n4diri don't understand. Just put it wherever you back up other stuff too?20:44
msiismWell, I'd like to put it under /etc somewhere actually, but I'm not sure whether that's such a good idea.20:46
msiismI could put it into /root.20:47
msiismJust looking for a place that makes good sense.20:47
n4diryup, root is where i usuall put such stuff20:47
msiismThe other question si whether it makes good sense backup this up at all.20:47
msiisms/backup/backing/20:48
n4diri don't. If i can't figure out what is missing, i probably don't need it20:48
n4diron the other hand it won't hurt20:48
msiismYou'd need this to restore a half-broken system.20:49
msiismThe question is if you'd strictly need or if it's just a nice-to-have.20:49
msiismBackup… it's a chore…20:50
n4dirtruth to be told, i hardly back up much anymore at all20:51
onefangNOt sure exactly waht you need, but etckeeper might be useful anyway.20:51
onefangI know what I need, better typing skills.  lol20:51
msiismYeah, I do keep /etc, generally.20:51
msiismIn the backup, I mean.20:51
n4dirthe thing i care most for is the Audio folder and some scripts in ~/bin, the ~ config files, and those are always to be found, and hardly change20:51
rwpI back that type of thing up to /var/backups/20:52
rwpI have several cronjobs that make copies there, so that the system backup will back it up off system.20:52
rwpMeanwhile...  If one is doing a major system upgrade and has to back it out then the original system would need to be fully recreated.  Better if the system can be snapshotted and restored exactly that way.  But if not then going back is almost as hard as going forward.20:53
rwpAnother reason for using /var/backups is that the system already comes by default with several cronjobs that put copies of various files there already.20:54
msiismI haven't yet used cron jobs for backup, or anything, actually.20:59
JethroTullWoot I made it22:11
JethroTullim having a hell of a time installing, can someone help me with a small problem?22:12
plasma41JethroTull: What's the problem?22:12
JethroTullbasically it doesnt matter if I do the live install or the desktop the system will not ask me what DE to use.  once installed things like apt-get are broken and the repositories have to be installed manually etc.22:12
JethroTullno matter what I have the default desktop and switching to KDE is near impossible, since the mouse does not work in the login screen22:13
JethroTullive done the fixes to finally install the desktop and fix repositories etc but the install is still a disaster and I cannot figure out why for the life of me it wont ask what DE to use or what my hostname is etc22:14
JethroTullalso it loves to try to partition the USB drive along with the hard drive which of course fails but I can get past.  the live installer doesnt have this problem but the desktop one does22:14
plasma41Which installer ISO are you using?22:15
JethroTullive tried the torrent and the main mirror for daedalus amd6422:16
plasma41What's the filename, please?22:16
JethroTulldevuan_daedalus_5.0.0_amd64_desktop-live.iso and devuan_daedalus_5.0.1_64.iso22:17
plasma41IIUC, devuan_daedalus_5.0.0_amd64_desktop-live.iso only supports installing the same Xfce desktop environment that it boots into. If you'd like to use KDE, I'd recommend installing from this ISO: http://files.devuan.org/devuan_daedalus/installer-iso/devuan_daedalus_5.0.1_amd64_desktop.iso22:21
plasma41I'm not seeing a devuan_daedalus_5.0.1_64.iso. Can you confirm you typed that correctly?22:22
JethroTull5.0.0 confirmed taken from a link from devuan.org site to here -> https://mirror.leaseweb.com/devuan/devuan_daedalus/desktop-live/22:23
JethroTullim downloading the 5.0.1 now thanks for that link22:23
plasma41Let me know how if that addresses your issue and I should be around for a while if you have any further questions.22:25
JethroTullgoing to try it right now thanks will report in either way22:25
plasma41s/know how/know/22:25
JethroTullim sure this is it22:25
rwpIt does seem strange that no 5.0.1 version is available from the main release archive.  Hmm...22:25
plasma41rwp: I think the 5.0.1 revision was only for the installer ISOs, not the live ones. rrq would know22:27
rwpThat does seem likely.22:27
rwpI have never used the live installers.  But it should be simple to check /etc/apt/sources.list and /etc/apt/sources.list.d/* files and verify that they contain reasonable apt repositories listed.  If not then fix those up.22:28
rwpThere is also an installer question about required proxies so it would be good to double check that either no proxies are set or the correct proxies are set.22:29
rwpAnd lastly, for whatever reason, DNS is sometimes broken due to $REASONS and needs to be fixed.  If DNS is broken then it will appear just as if apt-get is broken.22:29
plasma41rwp: The live installers are fsmithred's domain22:29
JethroTull@rwp no i actually get an error with apt-get when I try to run tasksel to install KDE.  in any event im going to assume all these issues will go away with this new version22:34
rwpHmm...  tasksel just calls apt.  You can run tasksel in a test mode with "tasksel -t" and then it runs in dry-run mode printing out the commands that it would call if running for real.22:36
rwpIf apt-get is having an error then I would re-update "apt-get update" and verify that it is not having errors getting the Packages index files.22:37
JethroTullhmm partitioner wanted to partition the usb along with the drive causing an error I could ignore afterwords.  same as before22:38
plasma41JethroTull: Did you select manual or guided partitioning?22:43
JethroTullguided. use entire disk22:44
JethroTulli can do manual if i need to but i got sick of having to do it over and over again22:44
JethroTulland FWIW the desktop-live version didnt have that problem using guided22:46
JethroTullhmm same problem.  didnt ask me what time zone im in, what DE to use etc.  im going to make damn sure I used the right iso and try again22:46
plasma41You shouldn't need to in order to select timezone and DE, but it can't hurt to select 'expert install' when presented with the choice.22:48
plasma41JethroTull: BTW, the install guide is here: https://www.devuan.org/os/documentation/install-guides/daedalus/install-devuan22:50
JethroTulloh ya been there, thanks though plasma.  basically step 8,13-17,20,21 are missing when I do it22:52
JethroTullwiped out all copies of the iso and redownloaded your link, its writing again and im gonna try again will let you know22:52
plasma41Ok22:55
rwpI just look at the desktop-live image and go, 1.5GB in download size!  OMG!  And return immediately to the more reasonably sized 477MB netinstall iso.22:55
JethroTullya i went with the desktop install because it seemed to be the way to go according to distrowatch reviews23:00
JethroTullliterally all the same problems as before.  all the same steps were missed during install.23:07
rwpThe other advantage of the netinstall image is that the URL plasma41 noted above has a full walk through of every screen in the install.  (But someone should do that for the live image some day and hten it will have it too.)23:07
JethroTullill just try the net install but maybe you guys should take a hard look at that desktop installer.  not my place to say though maybe im just an anomaly23:08
plasma41JethroTull: Hmm, what hardware are you attempting to install onto?23:08
JethroTullI bought a beelink mini desktop about 6 months ago and have been using it to distro hop while I try to switch away from mint23:09
JethroTulland ya so im at the login now on a fresh install. below it says "press f1 to select session for more options man slim"  mouse does not work and f1 does not respond23:10
JethroTullvery strange23:10
JethroTullhmm stupid question im trying the net install and im at a login screen do I log in as root?23:14
systemdleterwp, gnarface:  I had /etc/apt/sources.d/bareos.list *AND* /etc/apt/sources.d/bareos.sources files!   THAT was my problem.  You can't have both, especially if one is pointing at one rlease and the other is pointing at a different one; hence the hash conflict.23:17
plasma41JethroTull: You should just be able to log in as the user you created during the install.23:18
rwpJethroTull, You have just learned why most of us really hate 3rd party repositories in the system.  They ALWAYS cause trouble.23:19
JethroTullfor net install?  I didnt create one.  it just booted in, and now im at a black prompt asking me to log in23:19
JethroTullroot and toor works but then what23:19
plasma41rwp: I think you meant to direct that at systemdlete rather than JethroTull23:20
JethroTulldoes net install use a gui?23:21
plasma41JethroTull: the net installer runs in text mode23:22
JethroTullok so im logged in as root.  is there a doc I can read to figure out how to install?23:22
systemdleteplasma41, maybe :D    But this has nothing to do with 3rd party repos23:23
systemdleteThis was one of those PEBCAK issues.23:24
onefang3rd party repos don't cause any trouble for me, but I know what I'm doing.23:24
systemdleteIt seems that apt can use either the .list or the .sources format for its configuration.   I THINK the .sources format is the newer format, but I forget now.  And as long as they point to the same repos, both can co-exist because it will just be redundant.  But having one pointing to bullseye bareos repo and the other pointing to bookworm kind of generated confusion for apt, which is VERY understandable.23:26
plasma41JethroTull: I'm confused. The net install should have booted into the installer, not to a login prompt. Are you sure you booted from the correct disk?23:26
rrqJethroTull: if it booted to a login screen, then it booted your previously installed system, and not the ISO23:27
systemdleteIf I were apt myself, I would definintely be confused also.23:27
JethroTullit does not recognize the password I set for root or the user on the previously installed system but i CAN log in as root/toor.23:27
rrqthe ISO will present the boot screen with "8 selection options + help"23:27
JethroTullnope. not for me it doesnt23:28
rrqthat means you don't boot the ISO23:28
systemdleteOnce I removed the config file that was pointing at bookworm, apt's anger went away like *poof*23:28
JethroTullI might be using the wrong one its minimal-live yes?23:28
systemdlete(It's a chimaera system where this happened.)23:28
JethroTulldevuan_daedalus_5.0.0_amd64_minimal-live.iso23:29
rrqwhy not pl all the wrong ones away and only use the right one. you don't want "minimal-live"23:29
rrqpl=put23:30
JethroTulland yeah I had thought that maybe it was somehow reading from the disk of previous install attempts so I put in debian and had it repartition the drive adding home seperate etc just to make sure its wiped23:30
JethroTulli wish I could rrq but im going off of devuan.org and that seems like a good site to get download links from23:30
plasma41JethroTull: devuan_daedalus_5.0.0_amd64_minimal-live.iso is not the netinstall ISO23:30
JethroTullinstaller-ISO, minimal-live, or desktop-live.  which is it?  your torrent and website links only seem to have those three options23:32
plasma41http://files.devuan.org/devuan_daedalus/installer-iso/devuan_daedalus_5.0.1_amd64_netinstall.iso is the netinstall ISO23:33
JethroTullok downloading.  out of curiosity lets pretend im a guy like me looking to try out the product. where is that link located?23:34
JethroTullcan I find it on the website someplace I overlooked?23:34
blockheadheh, every website seems to hide links these days23:34
blockheadmakes me feel like it's the early 90s again and looking for elusive warez  ;)23:35
JethroTulllol takes me back too :)23:35
plasma41JethroTull: Ok, fair point. From https://devuan.org the Download link at the top of the page points to https://www.devuan.org/get-devuan which contains descriptions of the various ISOs variants as well as links to the various ISO mirrors. From an ISO mirror, selecting 'devuan_daedalus/' takes you to the Daedalus release section, then selecting 'installer-iso/' takes you to the various installer ISOs of which devuan_daedalus_5.0.1_amd64_n23:44
plasma41etinstall.iso is the option for net install on amd64.23:44
al1r4dguix + devuan = <323:45
rwpplasma41, Ooops.  Yes.  I did mean that for systemdlete instead.  Thanks for saving me!23:46
JethroTullplasma41: thanks for that.  installing it now but other than downloading from the internet it still made the same error with the partition bit.  if this doesnt work im going to use a live usb to blowaway the hard drive along with its partitions and try one more time.  if that fails I give up23:48
JethroTullbarrier to entry from hell heh23:48
rrqcould you elaborate what "same error is" (you may have said it before I arrived)23:56

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