libera/#devuan/ Wednesday, 2021-12-08

nosystemdHello12:45
nosystemdHow can i change slim display manager to go to gnome instead of xfce.12:45
nosystemdI could run gdm3 but it is too heavy , it slows, although i love gnome because too slimplistic to use.12:46
nosystemdso i want to use display manager as slim12:46
nosystemdbut choose gnome to go into if available12:46
mzk_Good day. I just installed devuan and wanted to encrypt my home folder. I did it with fscrypt and libpam. If I log on in the console, the home folder is decrypted, however, when I try to log on with the graphical interface, after I put my password, the screen remains with the default (dark blue) background colors w/o loading any menus.12:48
nosystemdencrypt12:50
debdognosystemd: F1?12:58
nosystemdoh is it :D12:58
nosystemdThank you12:58
debdognot certain, it's been a while since I last sat in front of it12:59
nosystemdwhat you use now @deb12:59
debdogyou might have to alter its config file12:59
debdogI do not have a display manager. but installed slim on my dad's 'puter13:00
nosystemd=L  dont have display manager13:00
nosystemdis there any way to automatically login13:00
nosystemdi'm rebooting :)13:01
debdogif I login as my user in tty1 it does startx automatically13:01
furrymcgeehow is startx run from tty1?13:04
debdogfurrymcgee: I told it to in .profile or .bash_profile13:06
debdogfurrymcgee: the last entry of ~/.bash_profile: https://paste.debian.net/1222543/13:07
debdogcannot recall why I had that rm in there13:10
furrymcgeedo you have an extra user for X or dont use tty1 anyway?13:14
debdogI've done that for my regular user, furrymcgee13:15
furrymcgeedo you think this works with tty7 as well?13:48
furrymcgeeafter changing inittab accordingly ...13:49
debdoghmm, it should™ work on any login shell13:50
debdogand since tty7 does not seem to be reserved for X generally anymore, could work13:51
furrymcgeeyes they added keeptty after it broke14:16
nosystemdguys14:19
fsmithredhere's how live-config sets up console autologin: https://termbin.com/5pcq14:19
nosystemdsysVinit not updateds14:19
nosystemd sudo update-rc.d emacsd defaults14:19
fsmithredfor autologin with slim, edit slim.conf14:19
nosystemdwhere emacsd is my folder located at /etc/init.d/emacs.d14:20
nosystemdwhich have script to run emacs14:20
nosystemdscript is this i copied from this https://github.com/fhd/init-script-template14:20
nosystemdThis is error i get14:21
nosystemdinsserv: missing valid name for `Provides:' please add.14:21
nosystemdinsserv: script emacsd is broken: incomplete LSB comment.14:21
nosystemd:)14:29
nosystemdsolved14:29
nosystemd actually i've to put name in Provides inside that script14:29
furrymcgeeit is to declare dependencies to your service14:30
nosystemd:)  thanks for not replying really, i've figured out myself. such it was easy i thought hard14:31
nosystemd:*14:31
nosystemddevuan14:31
nosystemdbut14:31
nosystemdmy nvidia graphics not shwoing14:31
furrymcgeethis is common problem with nvidia14:34
nosystemdit was not when i was in debian14:36
nosystemd;(14:36
furrymcgeedebian has a wiki page for nvidia14:38
nosystemdfrom that i've used nvidia-detect in devuan14:38
nosystemdand it recommended to install nvidia-driver14:38
nosystemdi installed it using "apt install nvidia-driver"14:38
nosystemdbut when i boot, and navigate to settings/about14:39
nosystemdgraphics14:39
nosystemdONly one graphics is showing14:39
nosystemdis there any way to check if installed nvidia is working properly in devuan14:39
nosystemdbecause when i boot, i see mild error like "modeprobe -l nvidia-cor" , although it starts finely14:40
nosystemdi think it is installed, because i can see nvidia-settings14:41
nosystemdbut i feel why that error14:41
furrymcgeeme thinks inittab is a better place to configure autologin14:56
GyrosGeiernot really14:57
GyrosGeierthat's not a proper login14:57
GyrosGeierstuff that depends on PAM session setup may fail in curious and interesting ways14:57
debdogI do _not_ do autologin. (just to prevent any misunderstanding)14:58
p0rthey! I have a Brother MFC-9120CN printer which doesn't want to print. I tried the official Brother PPD as well as 2 that are shipped with cups and nothing seems to work. It was fine until 2-3 weeks ago and I haven't changed anything since then. I can print a test page all right, but when I try to actually send a proper print job there, the printer warms up, stuff is spinning inside but it never takes the paper. This is not a mechanical fault as I am able to15:12
p0rtprint test pages from cups web interface. Here's my error_log from cups: https://zerobin.net/?fec9c8ff4e036bad#T2AGLjPBAjlaQdHtb6toAsUp0Hn59G2JzdVxmFTtjs0=15:12
p0rtI'm on cups 2.3.3op215:13
furrymcgeeis /usr/bin/startx in /etc/passwd a proper login15:24
furrymcgeeno it is not a shell15:29
mzk_GyrosGeier, earlier today I was asking for help here. I'm trying to use fscrypt with pam. My XFCE session doesn't load and I'm out of ideas what may brake it. It might be some fscrypt pam misconfiguration by my side. If I log on the console my files are decrypted. Once I log through the graphical interface my home folder doesn't get unlocked (tried15:47
mzk_on fresh boot), despite that if I manually unlock it, it again doesn't successfully load the home screen. Would you give some recommendations?15:47
Akuliufw doesn't seem to work on chimaera, is that a problem for my friend's desktop computer that has sshd installed for me to maintain it remotely?18:44
fsmithredAkuli, is the computer behind a router?18:48
Akuliyes, a thingy that has a sim card inside it a lot like a phone, and creates a wifi network18:49
fsmithredsetting it up to use a high port can help18:49
fsmithreduse ssh keys18:49
Akuliyes, we specifically allowed a port through in its settings, and we didn't use port 2218:49
Akuliand yes, password auth is disabled :D18:49
fsmithredand there are other firewalls, um I haven't tried in chimaera18:50
fsmithredgimme a minute to install my favorite18:50
Akuli:)18:52
fsruh, yeah, the firewall works.18:54
fsrnot sure what happened there. Firewall disconnected me from the network.18:55
Akuli:D18:57
Akulifsmithred: so it would be good to have a firewall that says "allow out everything, and in only this one port that is used for ssh" ?19:07
Akuliwhich is what i set up ufw to do19:07
rwpI like using Shorewall because the configuration is a set of simple files which I can copy around and reference.19:15
rwpDoes your friend have a static IP address assignment?  If not then is it possible that the IP address has changed?19:16
Akuliit changes sometimes, yes19:16
Akulibefore connecting, i ask him to send me his current ip19:16
Akulii'll be afk for a while, back in 30min or so19:17
fsmithredAkuli, I just set the router to high port and usually forward to 22 locally so all my local machines can talk to each other19:27
fsmithredI use firewall if there are windows machines on the local network. I don't want them to talk to me.19:27
mzk_I struggle to register in the dev1galaxy forum. Someone here engaged with the forum support?20:05
mzk_Namely, I'm getting blank (white) screen immediately after I click "Register" (answering the human question)20:07
_ds_HW2921:33
_ds_...21:33
systemdletewhat is the story with ovirt for devuan?  Their site (ovirt.org) seems to imply there is no supported version other than RH and CentOS.  I was hoping to try it.21:49
systemdlete(Yes, I know I can hand-craft a qemu config myself.  I want to try the UI)21:49
rwpI use either virsh command line or virt-manager graphical in parallel to manage VMs.  I have not tried Proxmox yet as that seems rather involved to set up.  But people like it.21:53
rwpHow do you feel about virt-manager?  I find it quite capable.21:53
systemdleteI can't find any doc on it.21:53
systemdleteIf I specify a shared bridge, it creates a virbr0 anyway, but it doesn't seem to show the MAC I see when I arp from the KVM guest.  It also sometimes creates vnet0 which has the correct MAC21:54
systemdletewhy it needs virbr0 and virbr0-nic is also puzzling to me.21:55
systemdleteIt's a bridge, I get that. I just don't understand why it needs to be bridged21:55
systemdletewould a simple bridge by itself do?21:55
systemdlete(vbox does this very cleanly, that's why I am asking)21:56
systemdleteSo I thought, hey, I will just sit down and RTFM, like we are always told to do in these situations.21:56
systemdletebut I don't find any on the libvirt web page21:56
systemdlete(maybe I missed it)21:56
systemdleteI realize it is mostly intuitive, but what do I do when these questions come up?21:57
systemdleterwp:  Is proxmox in the repo?21:57
systemdleteI see API for python, etc.  but not sure if I am seeing the engine that runs it21:57
systemdletemaybe I just don't have the right "apt search" fu21:59
rwphttps://proxmox.com/en/ is really an entire turnkey installation, I guess.21:59
rwpHowever those in the know can run it on their own systems without a full turnkey installation of it.21:59
rwpProxmox + Ceph is what the cool kids are running these days.22:00
rwpThe libvirt bridging mode is one of the several different networking configurations available to choose from.  It's good for desktops and servers but not for laptops.22:00
systemdleteoh-oh.  I see.  The docs are at libvirt.org, not at libvirt-manager.22:01
rwpI configure my systems running libvirt with a br0 bridge and then tell virt-manager and virsh to use it when setting up VMs.22:01
systemdleteThat makes sense.22:01
systemdleteI mean, they don't have a link at virt-manager.22:01
systemdleteI found it by ddg22:01
rwpMost WiFi chipsets do not support bridging mode.  I guess.  And therefore I say that for laptops it isn't a good choice.  Since most laptops are using WiFi networking.22:01
systemdleteI am not at wifi chipsets yet, rwp. LOL.  I'm still trying to play with VMM22:02
rwpWhen using a br0 bridge one can do anything with the VMs.  DHCP.  Static IP assignment.  Whatever.  It's a fully neighbor on the network.22:02
systemdletewhat is the br0-nic for then?22:02
systemdleteand what is vnet0?22:03
rwpThe other network options are all NAT based such as "host mode networking" or other things and of course those can't have a static IP address nor can't have incoming connections.22:03
rwpI have no idea about br0-nic because I don't see it on any of my systems.22:03
rwpThe vnet0 device I do not know but it is on all of my systems and I assume is something used to connect networking between the guest and the host.22:04
rwpReminds me of the vlan system in naming but I do not know.22:04
rwpI have always simply ignored the vnet devices as a don't-care.22:05
systemdletewell, I find it distracting clutter.  Strangely, in one scenario I tried, the correct MAC was showing up in the vlan0, not either of the virbr0 or virbr0-nic22:06
systemdleterwp:  I may try building ovirt here for myself and try it.22:06
systemdleteIn hopes it might be  a little more straightforward.  BTW, there does not seem to be any link to libvirt-manager on the libvirt.org page22:07
systemdleteSo I guess one just has to kind of guess and poke around until something magical happens.22:07
systemdleteI'm getting a VM to run, but I can't seem to get the networking right.  All of this is using the libvirt-manager22:08
systemdleteso, advice around here seems to be dispense with the GUI and hack a qemu file22:08
systemdletethat is very disappointing, but this is probably just more breakage from the big split I guess22:09
systemdleteand licensing issues.22:09
systemdleteanyway, I will poke around some more and see what I can figure out.22:09
rwpI don't think it is libvirt-manager is it?  But libvirt virt-manager.  https://virt-manager.org/22:12
rwpAlso virt-manager is virt-viewer which is the best performing graphical client for VMs that I have found.  I use it instead of VNC when I want fast graphics.22:13
rwpAnd to be specific when I said virsh I guess I really meant I use virt-install for command line installations.22:14
rwpI am using --network "bridge=br0" when using virt-install.  And selecting br0 from the pull down menu when using virt-manager.22:15
rwpsystemdlete, At some point in the later time I would be happy to help more specifically with kvm installation but time is passing and I must run afk for a while...22:17
systemdleteI don't have any issues with kvm or installation of kvm.  I can get a VM to run.  The entire issue centers on using libvirt-manager, that's it.22:18
systemdlete(but thanks for the offer)22:18
fsmithredif you just want a gui, there's aqemu22:18
systemdleteI am trying to tackle one problem at a time.22:18
systemdleteaqemu!22:18
systemdleteI think I remember that now22:19
systemdleteI will look at that, thanks22:19
systemdleteI was going to try out qt-virt-manager but I'd have to build it myself.  I don't see it in the repos22:19
systemdlete(but maybe I missed it?)22:19
ham5urgI have a question regarding sound. How does a common application knows to deliver sound to the backend? I was thinking about installing sndio. Can any app play sounds on this backend? But task-xfce-desktop depends on pulseaudio. How to disable pulseaudio and let all applications let use sndio instead?22:20
fsmithredapt remove pulseaudio22:21
ham5urgIt's that easy?22:21
fsmithredshould be. I've done it in the past.22:21
fsmithredrecent past (year or so)22:21
gnarfaceham5urg: ymmv but alsa itself is supposed to work fine without pulseaudio, and if it doesn't it's a problem with your config or your kernel22:25
brocashelmremoving pulseaudio and installing apulse (for programs that depend on pulseaudio) has done me favors22:25
gnarfaceyea that will work for most things for output, but doesn't handle input or network streams22:26
gnarfaceyou can get around alot of missing features by swapping out the ~/.asoundrc on the fly though22:26
gnarfaceyou can get around some bad driver bugs that way too22:27
brocashelmyeah, there are workarounds and pulse alternatives (like jack, pipewire, etc.)22:27
gnarface(pulseaudio often hides bugs by merely hiding the features)22:27
gnarfacepipewire is basically just pulseaudio 2.0, i wouldn't put a lot of faith in it22:29
gnarfacejack seems like it's about getting real work done, though i don't know the first thing about how to use it22:29
gnarfacei get by with bare alsa and hot-swapping ~/.asoundrc files manually22:30
gnarfacein the one place where Steam "requires" a pulseaudio feature that apulse can't support, i found a trick using netcat and arecord/aplay and the snd-aloop kernel module22:30
ham5urgIs a plugin for sndio available to handle applications which depend on pulseaudio? Nevertheless, if PA is not installed maybe many packages won't play sound (except with apulse)22:30
gnarfaceham5urg: i dunno about "many" - pulseaudio primarily works by emulating alsa and intercepting commands for it.  for just output, no recordings, most programs should be able to fail over to bare alsa fine unless they're very badly behaved22:32
gnarface(only gnome and several decade-old games on Steam come to mind as offenders in this category)22:32
ham5urgI see22:32
gnarface(and other than gnome there's hacks for the other stuff to make them work anyway)22:32
av6i would put more trust in pipewire, because it has a different set of values22:33
gnarfaceham5urg: however this is the point where after removing pulseaudio many people run into hidden driver bugs and think nothing will work without it - if you go this way don't just panic and eject right away.22:33
gnarfaceav6: made by the same staff at the same company under the same leadership, and they have a known track record of lying directly about their stated values in order to gain stock market value22:34
av6they're not trying to create a magic thingy that works for everyone because that's impractical, they are trying to implement pulse and jack in one server, together with their own protocol and also video processing22:34
av6that's a power user goal, so they are against deciding for users what they want22:34
av6gnarface: not the same people22:35
ham5urgGnome is going the android-way I guess but that's offtopic.22:35
av6i mean i get the "company" bit, but so far the direction pipewire is taking is not the same as pulse22:35
ham5urgI like sysvinit and startx.22:36
gnarfacewell, the important part is i almost certainly can't help with any of the three, jack, pipewire, or pulseaudio - but i might be able to help with bare alsa stuff, especially if it's obvious or common misconfigurations or bugs22:36
ham5urgI installed sndio and removed pulseaudio. I reload X.22:38
gnarfaceham5urg: fyi i'm not using sndio either but that doesn't mean it's not gonna work22:40
ham5urgIf I try to remove libpulse0 I will destroy my system... X-|22:43
gnarfaceit's fine, don't do that22:44
gnarfacelibpulse0 is harmless without the pulseaudio daemon itself present22:44
gnarfacelike libsystemd0 it's still linked to a ton of packages22:44
gnarfacejust ignore it22:44
gnarfacemake sure pulseaudio itself isn't running22:44
* gnarface has a feeling this is exactly why gentoo was invented 22:45
ham5urgBecause Gentoo compiles at install-time and dependencies are set by the user?22:47
gnarfaceyea, it obviates the task of "now how do i rebuild every single package on the system without libpulse0 as a dependency"22:47
gnarface?", i mean22:48
ham5urgYes.22:48
gnarfaceyou could do that on debian with native tools, some time, and a clever shell script22:48
gnarfacebut gentoo just bakes it into the installation/upgrades procedure22:48
gnarface(at what would have been considered a grossly negligent waste of electricity before fucking bitcoin was invented, but i digress...)22:49
ham5urgI gave up on Gentoo many years ago. Some packages havn't compiled and I was stucked with packages I wanted but could not get.22:50
ham5urgI gonna reboot this machine to test if it will work.22:51
gnarfaceany luck?22:54
ham5urgNo, neither budgie nor xfce showing a soundcard. pulseaudio is off, sndiod is running.22:55
gnarfacewait, they didn't show one without any sound daemon running either though?22:56
gnarfaceyou shouldn't actually need *any* userspace daemon for alsa to work22:56
ham5urgI installed sndiod prior reboot22:56
av6what do you mean by xfce not showing a sound card? where are you looking? i don't think xfce supports sndio, i only know about a pulseaudio panel plugin22:57
gnarfaceyea, do make sure to check with stuff like speaker-test as a sanity check22:57
ham5urgI use daedelus and the xfce wants to establish a connection to pulseaudio. Yes, I will need apulse22:58
gnarfaceham5urg: there might be some alternate sound panel widget to use22:59
gnarfaceor you could just use alsamixer...22:59
ham5urgI restart xfce after apulse installed.22:59
gnarfacelots of people here are using xfce... you can't all be using pulse with it, can you?  how you guys getting around this?23:00
ham5urgNo, apulse is installed but xfce sticks to pulseaudio.23:01
Jjp137well I'm using Xfce and it works fine without Pulseaudio; definitely check alsamixer first23:04
ham5urgalsamixer works23:04
Jjp137if you're using Xfce's volume icon widget, I think that only supports pulse but it's been a while23:04
ham5urgYes, looks like23:05
Jjp137there's actually a volumeicon-alsa package that basically does the same thing23:05
Jjp137if you like having a volume icon in your notification area, I'd recommend that package23:05
ham5urgI must state that much problems exists due to these software packages. But it's much work to elimante it. The whole repo must be recompiled to remove wayland, pulseaudio, pipewire, systemd, ...23:26
ham5urgAnd another question would be, that if packages like pulseaudio could be replaced by sndio?23:29
bb|hcbThere are ~30+K packages in Debian, let's assume that 1/3 of them require touching to get what you describe, then with another rough estimate that a single person can maintain ~50 packages on their freetime without getting overloaded, we would need 200 people for that task...23:33
ham5urgYes, that is true.23:33
systemdletefsmithred:  Thanks for that, aqemu.  I guess my ddg fu is not working too well.  Much, much nicer and complete interface.  Now I just have to figure out how to use it.23:34
fsmithredsystemdlete, I was going to ask you to explain to me. I could never figure it out, so I wrote my own scripts.23:45
blockheadnothing wrong with writing your own scripts.  always the possibility for advancement23:58

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