libera/#devuan/ Saturday, 2020-03-28

systemdlete2so when I create an xauth for root I can run virtualbox under xtrace.  Just won't run withuot xtrace.    Grrrrrr00:03
systemdlete2AHA!  I've got it, by George.   (sorry George)00:05
systemdlete2So, this WILL work, but it's a PITA.  First create the xauth file for root.  THen run "su - root -c 'virtualbox -- -d :0.0'"  (single quotes are important!)00:06
systemdlete2I was able to generate a xauth for root by running "xauth add ${HOST}:0 . $(xxd -l 16 -p /dev/urandom)"00:07
systemdlete2So, this can be done, but what a fiasco.00:07
systemdlete2fsmithred:  Who do I seek out about addng to the release notes?  Is that the appropriate place for this info?   Will anyone remember them when they get to installing vbox, perhaps months later?00:08
fsmithredme00:09
systemdlete2oh.  Hi me.00:09
fsmithredyou can start root apps if you revert to the old behavior of su00:09
systemdlete2So there are two ways to do it.00:09
fsmithreddon't need to mess with xauth or xhost00:09
fsmithredI know five00:09
fsmithred(I think)00:10
fsmithredI think the easiest is to put 'ALWAYS_SET_PATH yes' in /etc/default/su00:10
systemdlete2how do you get past the fact that the x11 client (in this case, vbox) can't connect to the display?00:11
fsmithredI haven't tried it with vbox00:11
fsmithredanything else works00:11
systemdlete2We are talking about virtualbox, not anything else, working or not.00:12
fsmithredyou want to run the regular vbox gui as root?00:13
systemdlete2IOW, how can a beowulf user install vbox extension pack.  That's what this has been about the whole time.   No "goalposts" moved, or even wiggled.  That's all I've been after.00:13
fsmithredI don't know. I'm trying to help you find out.00:13
fsmithredbut I'm not going to install it here.00:14
rrqsystemdlete2: perhaps starting the X server with "-auth /var/run/common-xorg-access.auth" is an option?00:14
systemdlete2No, as I said before, *I* do not want to run vbox gui as root.  The problem, again, is that a regular user can no longer install them themselves.00:14
fsmithredand what's the problem with installing them as root?00:14
systemdlete2rrq:  Would you really want to do it that way00:14
systemdlete2fsmithred:  virtualbox is a gui.00:15
fsmithredand?00:15
systemdlete2There IS a command line option I think, and that might circumvent all of this.00:15
fsmithredyou have to run that as root?00:15
systemdlete2fsmithred:  WHy not try installing virtualbox extension yourself?  Then you will find out the joy I have.00:16
systemdlete2I am NOT talkig about guest additions.  Haven't gotten to that.00:16
systemdlete2These are the extensions that enable things like USB, etc00:16
fsmithredno thanks.00:16
fsmithredI know. I've used it in the past.00:17
fsmithredI'm glad not to have it bothering me about updates all the time00:17
fsmithredand having to reinstall guest additions00:17
systemdlete2OK... so how do we proceed from here?00:17
systemdlete2Not everyone in the world will be keen to switching from virtualbox00:18
fsmithredwell, if you want to install from the gui00:18
fsmithredand it will only let root install00:18
systemdlete2In fact, some might even have quite a large investment in it.00:18
fsmithredhave you tried running the gui as root to install the extensions?00:18
systemdlete2have you?00:18
fsmithredand have you tried the commands on the page you linked earlier?00:18
systemdlete2Of course I have.  That is how I got to this point!00:19
systemdlete2That's precisely what I haev been doing , yes00:19
fsmithredwhich?00:19
systemdlete2(sorry this keyboard on the testbox is lousy)00:19
fsmithredthe commands work?00:19
systemdlete2all of the above00:19
fsmithredgui as root works?00:19
systemdlete2no00:19
fsmithredbecause it won't run in user session?00:20
systemdlete2what do you mean?00:20
systemdlete2maybe scroll back and see what we've discussed so far.00:20
fsmithredif you're in a user session on the desktop, and you get root in a terminal and then start the vbox ui, does it run, or do you get an error?00:20
systemdlete2rather than me retyping it all00:20
fsmithred<systemdlete2> how do you get past the fact that the x11 client (in this case, vbox) can't connect to the display?00:21
fsmithredsorry, but I don't exac tly know what you mean there00:21
systemdlete2the regular user (person who will ultimately use virtualbox) "owns" the X display00:21
fsmithredright00:22
fsmithredI already gave you the fix for that00:22
systemdlete2root cannot send to it00:22
fsmithredrevert the behavior of su00:22
systemdlete2how do you "revert the behavior of su"?00:22
fsmithredI think the easiest is to put 'ALWAYS_SET_PATH yes' in /etc/default/su00:22
systemdlete2go back to ascii?00:22
* Xenguy 's head starts spinning around ...00:22
fsmithredI think the easiest is to put 'ALWAYS_SET_PATH yes' in /etc/default/su00:22
* systemdlete2 's also00:22
fsmithredtake you a couple minutes to try that00:23
systemdlete2fsmithred:  even if I gave the entire path explicitly, it doesn't cahnge matters00:23
systemdlete2*change00:23
fsmithredI know00:23
fsmithredyou need to keep user's environment but get root's path00:23
systemdlete2so what would setting the path do for the x permissions rproblem00:24
fsmithredand use 'su' instead of 'su -'00:24
systemdlete2OK.  Now I see the problem.00:25
systemdlete2You said "revert the behavior of su"00:25
fsmithredyeah, like it was in ascii and before00:25
systemdlete2I thought you meant installing an older versoin of su or something00:25
fsmithredewww00:25
fsmithredlol00:25
systemdlete2yeah00:25
systemdlete2that's generally what people mean by "revert"00:26
systemdlete2but thanks, that solves it I think.00:26
fsmithredI hope so00:26
systemdlete2at least, the gui comes up00:26
systemdlete2let me try doing the actual install though00:26
fsmithredyeah00:26
systemdlete2that worked.  thanks again.  sorry for the mismatch in English.00:28
fsmithredyw00:28
systemdlete2(did you know that "deprecate" means to insult someone or something?  I've never met a software that felt insulted by anyone or anything, except, perhaps, the person who wrote it.  They often got angry, yes.  But not the software, incredibly, despite the mis-use of the word.)00:29
systemdlete2(and there are more words like this in softwaredom.  It never ceases to amuse me.)00:30
systemdlete2btw, there is no need to set any envars if you omit the - argument.  At least, I didn't make any changes00:31
systemdlete2And why do you put it as "like it was in ascii and before" -- afaik, "su -" has been around since time immemorial (I was using it back in college in the early 80's)00:34
systemdlete2I don't remember a time when it was not an option00:34
systemdlete2maybe my memory plays tricks on me again...00:34
meep_____» [16:34:10] <systemdlete2> And why do you put it as "like it was in ascii and before" -- afaik, "su -" has been around since time immemorial (I was using it back in college in the early 80's)00:36
meep_____since epoch00:36
systemdlete2yes, since the epoch.  I am 100% certain that the su command has not changed much since then.00:37
meep_____It hasn't00:37
meep_____It's gotten some user-friendlyness enhancement00:37
meep_____S00:37
meep_____Like help messages00:37
meep_____But that's it00:37
meep_____It doesn't do much00:37
meep_____Just changes uid00:37
systemdlete2sure, but the arguments it supports in beowulf haev nothing to do with dropping the - option to su00:38
meep_____There's a "discrete logic" implementation of SU in the US patent archives00:38
meep_____They did this because software patents wasn't a thing, so they had to represent 'su' as a circuit00:38
meep_____systemdlete i'm not familiar with arguments about su in beowulf00:38
meep_____What's happening with su?00:39
systemdlete2yeah, you can now pass arguments to su.   So in this case, one runs "su root -c virtualbox"00:39
systemdlete2that wasn't possible before.00:39
meep_____Oh, yeah that too00:39
meep_____So what, poettering and the gang are trying to remove that in beowulf?00:40
systemdlete2but "revert" to how it worked in ascii would not be helpful, because in ascii, you could not enter that command.00:40
systemdlete2no, meep____  not at all00:40
meep_____You can also do sudo -u user cmdline00:40
meep_____Or su -- user to start a shell00:41
meep_____The OpenBSD folks re-implemented sudo and call it doas00:41
systemdlete2what fsmithred really wanted was to drop the root envirnoment00:41
meep_____Not sure why00:41
meep_____Or if doas offers any real improvement over sudo00:41
systemdlete2to create porting challenges00:41
systemdlete2keep things very interesting00:42
meep_____» drop the root envirnoment00:42
meep_____what do you mean00:42
systemdlete2"su cmd..." just runs the user's own environment and privs00:42
systemdlete2whereas "su - cmd..." runs it with root env and privs00:42
fsmithredhttps://wiki.debian.org/NewInBuster00:43
fsmithredhttps://bugs.debian.org/cgi-bin/bugreport.cgi?bug=90556400:43
systemdlete2uh-oh00:43
fsmithredhttps://www.debian.org/releases/buster/amd64/release-notes/ch-information.en.html#su-environment-variables00:43
meep_____» Wayland is the default session type for GNOME 3. (You may also choose an X session from the display manager.)00:43
fsmithredwhen su was moved from shadow to util-linux, the behavior changed00:44
fsmithredthat happened in buster/beowulf00:44
fsmithredit used to be that typing 'su' gave you root's path. No longer.00:44
meep_____I don't have any strong feelings about this change one way or another, however I do have to ask why00:45
meep_____Is this change for the sake of change?00:45
fsmithredI don't know why00:45
meep_____Or was there a reason00:45
fsmithredI find it very annoying00:45
fsmithredusually when I become root, I want to do something in the current directory, and if the command is in any *sbin, I have to type the full path00:46
fsmithredor use 'su -' which moves me out of the current directory00:46
gnarfacei always used "su -" anyway, because just the path isn't usually enough for what i'd want to do with it...00:46
gnarfaceso i guess when this changed i didn't even notice00:46
fsmithredI guess we do different stuff00:47
gnarfacebut yea "su -" will also start you in the user's home directory00:47
fsmithredI mount a lot of isos00:47
fsmithredhm, maybe I don't need it for that00:48
systemdlete2so, essentially, aside from some of the other new features in su, devuan/debian's su now works the way it did in the 1970s.00:48
fsmithredI missed that era00:48
systemdlete2I did too, actually.  But by the time I got to college, it still worked that way.  I have an ANCIENT AT&T Bell Labs System V Unix manual somewhere in my many possessions I have dragged around the US as I moved many times.00:49
systemdlete2I am pretty sure that su is described the same way then.00:50
systemdlete2(without these new bells and whistles aside from the semantic change )00:50
systemdlete2in fact, I have been using the "-" option in ascii and jessie too.  THat's not actually new, even in devuan.00:51
meep_____fsmithred: i have normally used sudo -i and trained a lot of people at the office to use sudo -i because it has increased auditing ability and fine control, like allowing %wheel to be root any time, allowing %webdev to restart the webserver daemon and applications, syn git repos etc00:51
systemdlete2and the "-" was the pivotal part of the thread that caused the confusion for me.00:51
fsmithred'xhost +' didn't work for you?00:52
rrqif PATH setting solved it, it would probably have been just lack of DISPLAY setting00:52
rrqif env setting...00:53
systemdlete2fsmithred:  THere still needs to be an advisory for virtualbox.  Otherwise, others may run into the same issues.00:54
fsmithredvirtualbox is not in the repository00:54
fsmithredI'll expand the section that mentions the changes in su00:54
systemdlete2again, thousands of users and businesses use virtualbox00:54
fsmithredand other third-party software00:54
systemdlete2or you could just give the one liner to make it easy00:55
specinghow did vbox take over qemu so hard00:55
specingwas it because qemu sucks at GUI?00:55
fsmithredit's so much easier00:55
specingerr, wrong channel00:55
systemdlete2have you looked at vagrant?00:55
specingsystemdlete2: nah00:55
systemdlete2can qumu migrate VMs to other machines?  idk actually00:56
systemdlete2My understanding is that businesses like the vagrant features, and I think vagrant is largely built on vbox, but it may support others00:57
fsmithredqemu-img allows you to create, convert and modify images offline.00:58
systemdlete2thats just one example.  Also, you can lock down vm sessions so users can't tool with the configuration or the running system (kiosks and the like)00:58
systemdlete2vboxmanage can do those things also00:58
systemdlete2and it actually supports qumu cow images (not sure how well though)00:59
systemdlete2last time I used qemu was back around 2005 I think.  It was pretty impressive.  I just found vbox easier to use.01:00
systemdlete2There are probably many users as lazy as me out there.01:00
fsmithredqemu-img -h   (to see supported formats)01:01
fsmithredif I can find them01:01
fsmithredSupported formats: blkdebug blklogwrites blkreplay blkverify bochs cloop copy-on-read dmg file ftp ftps gluster host_cdrom host_device http https iscsi iser luks nbd nfs null-aio null-co nvme parallels qcow qcow2 qed quorum raw rbd replication sheepdog ssh throttle vdi vhdx vmdk vpc vvfat01:02
meep_____» [16:54:03] <systemdlete2> fsmithred: THere still needs to be an advisory for virtualbox. Otherwise, others may run into the same issues.01:19
meep_____» [16:54:17] <fsmithred> virtualbox is not in the repository01:19
meep_____» [16:54:35] <fsmithred> I'll expand the section that mentions the changes in su01:19
meep_____» [16:54:44] <systemdlete2> again, thousands of users and businesses use virtualbox01:19
meep_____you should be able to switch to QEMU no problem. QEMU does everything virtualbox does and more, also without any proprietary binary blobs with native integration into Linux KVM01:19
meep_____» [16:56:16] <systemdlete2> can qumu migrate VMs to other machines? idk actually01:20
meep_____yes, before i moved to LXC containers i did this01:20
furrywolfforcing people to transition to a new program, even if the program has more features, should not be done lightly.  of course, I entirely missed the context of that paste.01:21
fsmithredI don't think the release notes are the right place for guides to third-party software01:22
meep_____Furrywolf, virtualbox requires binary blobs to do basic things like usb2.0/3.0 passthrough, and i don't even know if it can access raw block devices yet01:22
meep_____And it's owned by Oracle01:23
meep_____It would be different if it was open source free software transitioning to something else01:23
furrywolfwas it included in the repositories previously?01:23
meep_____I don't know01:23
fsmithredfree version was in repo01:23
meep_____Qemu is really not that hard01:24
fsmithredbut there's always been the non-free version from virtualbox.org (oracle)01:24
furrywolfwill the old version continue to function with everything else upgraded, so existing installs don't break?01:24
meep_____Qemu-system-x86_64 -m 4096 -smp 4 -cdrom linux.iso01:24
meep_____4 gig, 4 core x86 system in a one-liner01:24
meep_____You can add a hard drive in -hda disk.img01:25
furrywolfI really, really, really hate "I ran apt-get upgrade and now things don't work".  heh.01:25
fsmithredI haven't tried an upgrade of ascii with virtualbox installed01:25
meep_____I like to do fancy stuff like virtio or emulated sas to ZFS Zvolumes01:25
fsmithredit's actually in ascii-backports01:25
viciouspiranhaaqemu is a qt frontend to qemu, check it out01:26
specingmeep_____: how do I add an USB stick (file) while the VM is running?01:26
meep_____Not sure01:26
specingSee, it is hard01:26
meep_____There's a command line interface into the running qemu virtual machine01:26
onefanglibvirt allows you to be independent of VM type.  It even has a GUI.  It did suck enough for me to go back to qemu command lines and self written scripts.01:26
meep_____You may be able to attach it at runtime there01:26
furrywolfso far, php and python have been the #1 offenders for upgrades breaking things.  heh.01:27
specingmeep_____: there is, I've tried and it did not work01:27
meep_____onefang: libvirt is just a redhat abstraction layer. It ends up calling qemu-system-<cpuarch>01:27
onefangThus earning their place in my "I hate languages beginning with the letter P" list.01:27
meep_____Pavascript?01:27
onefangI know that.  It also abstracts other VM systems.01:28
onefangSo it would make it easier to migrate from vbox to qemu for example.  In theory, never tried that.  I always just stuck with qemu.01:28
meep_____You can use qemu-img to convert the virtualbox disk formats to standard one01:29
meep_____Word of advice though01:29
* furrywolf can't think of any other p languages01:29
meep_____Use qcow2 instead of raw img files01:30
onefangRuby is an honourary member of that list of P languages, JavaScript is also called Ecmascript, if you add the numeric value of J and E together, you got close enough to P.  B-)01:30
furrywolfpascal!  yeah, that was pretty bad too.01:30
meep_____furrywolf: is it?01:30
onefangPerl, PL1.01:30
meep_____I've used gddrescue01:30
meep_____It's written in pascal01:30
furrywolfoh yeah, perl....01:30
meep_____onefang: oh no Perl is a fantastic language01:30
furrywolf..  pascal still exists?  I thought it died like 30 years ago.01:30
meep_____No complaints here about perl01:30
meep_____furrywolf: yes. You can get the Lazurus IDE from the ASCII repos01:31
furrywolfhave you ever tried reading someone else's perl?  or, for that matter, your own?  :)01:31
meep_____furrywolf: yes01:31
meep_____Have you ever tried reading someone else's C++?01:31
furrywolfyes01:31
onefangI started off writing APL, I can read line noise.01:31
meep_____How many times did you smash your desk01:31
furrywolfalthough C is still my favorite language.01:32
onefangLua, C, and assembler are mine.01:32
meep_____I don't think saying Perl is unreadable has much merit01:32
meep_____It comes from SH, Awk, and Sed01:32
furrywolfc++ tries to encourage clean programming...  perl does not.01:32
meep_____And regular expressions01:32
fsmithredyes, I've tried reading perl script written one year prior, and I did not understand it.01:32
onefangYou can write unreadable code in any language.01:32
meep_____If you understand those your golden01:32
furrywolfpython attempts to force you to write readable code01:33
meep_____Yes01:33
meep_____And i despise python for that01:33
meep_____It's like the Chasity belt of language syntax01:33
onefanglol01:33
meep_____And don't get my wrong i have written a lot of software in python01:33
fsmithredthis really isn't the right channel for a discussion of different programming languages01:33
furrywolfI started writing my own programming language once...  maybe I should re-start that project one of these days.01:33
meep_____I've been writing all my newer stuff in perl01:34
rrqplease go to #debianfork01:34
furrywolfit's mostly C syntax, but with all the nice things (proper strings, hashes, regexs, etc) as part of the language, everything passed by reference, a built-in rdbms wrapper,...01:34
meep_____Built in rdbms?01:35
meep_____In perl?01:35
meep_____What are you talking about?01:35
furrywolf<furrywolf> I started writing my own programming language once...  maybe I should re-start that project one of these days.01:35
meep_____I didn't know there was a built in rdbms01:35
rrqplease go to #debianfork01:35
onefangYeah, my fault, take the language discussion to #debianfork.01:35
meep_____Hold on01:35
* furrywolf notes onefang is not in #debianfork to continue being part of said discussion01:37
onefangI'm a compulsive reader, I try to stay in only a few low traffic channels, or I'll never get anything done.  I'm here coz I'm a Devuan dev, so I need to help support Devuan like the rest of us.01:38
meep_____I'm concerned about Devuan01:41
meep_____Because I no longer trust Debian01:41
meep_____I know how dependent Devuan is on Debian01:41
meep_____Also, I want to contribute some software packages. Normally told to go upstream it on Debian instead of working downstream01:42
meep_____I don't trust Debian anymore and I really don't want to write anything for systemd integration01:42
onefangYou want to contribute software packages that are not in Debian?01:44
meep_____Y02:11
systemdleteis it possible to have multiple video ports putting out the same output?  I have a video card with vga and hdmi (and hdi, but I don't use that).  What I want to do is route the video through both vga and hdmi simultaneously to 2 different devices.  Is that possible?02:34
systemdlete(there is also onboard vga and hdmi, but I think those are disabled by the bios)02:35
systemdletetia for any support on this.02:35
onefangMirroring a screen is a thing, so yes it's possible.02:36
systemdletehow do I do that?  Is that in the monitor settings?  And what if one of the displays is routed through a kvm switch?  Will it still work?02:46
meep_____» [18:34:59] <systemdlete> is it possible to have multiple video ports putting out the same output? I have a video card with vga and hdmi (and hdi, but I don't use that). What I want to do is route the video through both vga and hdmi simultaneously to 2 different devices. Is that possible?02:48
meep_____Yes, it's called mirring02:48
systemdleteok, thanks, I'll install it02:48
meep_____systemdlete the xfce has a standlone monitor configuration tool02:48
meep_____Gui02:48
meep_____Although you can also diy by editing xorg.conf directly02:48
meep_____Xfce4-display-settings02:49
onefangA KVM shouldn't matter.02:49
systemdleteapt install mirring does nothing (spelling?02:50
meep_____» [18:49:17] <meep_____> Xfce4-display-settings02:50
onefangIf I recall correctly, since I've only ever done this long ago by accident, you can even mirror screens at different resolutions, the smaller one will just have bits cut off.02:50
MinceRyou can also just use xrandr on the command line02:56
meep_____» [18:50:42] <onefang> If I recall correctly, since I've only ever done this long ago by accident, you can even mirror screens at different resolutions, the smaller one will just have bits cut off.04:12
meep_____The proprietary nvidia driver does that with with the framebuffer on boot04:12
meep_____Except is uses scaling04:12
meep_____So i'll have a 1080p image scaled on a 1600x900 monitor04:13
meep_____It looks cool04:13
meep_____I wonder if it could offer any usability improvement on lower res screens, at the cost of some blurriness04:13
onefangI was just messing with some GUI on top of xrandr, on my VR test box that at the time had it's own monitor, and was sharing my main monitor via my KVM.04:14
gnarfaceit should work both ways, you should be able to mirror with scaling or panning04:15
gnarface(driver bugs not withstanding)04:15
onefangMostly I was just trying to get the left monitor to be on the left, and the right on the right.04:15
gnarface(though with nvidia's binary drivers the bug is just usually "doesn't obey xrandr right so you have to use nvidia-settings instead")04:16
gnarfaceheh, yea that's something the nvidia driver seems to be particularly bad at parsing when it comes from the xorg.conf for the xrandr command-line04:16
gnarfacebut the nvidia-settings thing works usually04:17
onefangThis is a nVidia Optimus chip, an evil hybrid between Intel and nVidia graphics chips.  That computer is small, made from laptop parts, but was the cheapest thing I could buy quickly so I could do VR development on when someone hired me to.04:18
onefangLater Oculus decided that Optimus was too evil to support.  lol04:18
systemdletexserver-xorg-video-s3 ?05:52
systemdleteis this no longer supported?  only on debian?05:53
systemdleteor never existed or renamed?05:55
systemdleteI found an old s3 video card to run the second vga monitor.  I can see it in inxi -F (both video cards), but xorg does not seem to detect them.05:56
yetitry the vesa server. that card is a pain as there is only acceleration upto 16bit modes and everything™ expects 32bit today06:25
yetithere was a s3 xserver but it kind of is useless now maybe itÄs just no longer built by the deb-src's rules06:26
yetiI think I've it in an old thinkpad06:26
yetiok... maybe my priblems were/are specific to the S3 variant in that notebook... take all that with a ton of salt06:29
yetiP3M era notebook06:29
gnarfacesystemdlete: yea it's gone.  the cirrus logic driver is gone too.06:38
systemdletesoooo.  I can chuck the s3 card?06:39
systemdlete(I've got more)06:39
gnarfacewell, yeti's suggestion to just use the vesa driver is probably worthwhile06:39
gnarfaceit's not like the hardware acceleration features are going to be good enough on that card that having support for them is going to buy you any practical improvement in any software currently in the wild06:40
gnarfaceit would still be cripplingly slow either way06:40
gnarfaceso yea i would just shrug it off06:41
gnarfaceor, if you're really bored, get to patching it06:41
gnarfacethat card has what, 2MB of video ram?  4?06:42
gnarfaceheh06:42
gnarfaceit's fine for virtual terminals06:42
plasma41systemdlete: xserver-xorg-video-s3 was removed after Wheezy. https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=73247606:42
systemdleteI'm sure there is a recycler somewhere who would like it.06:43
gnarfacei'd take it off your hands for free but it's not worth the shipping cost06:43
gnarface(i have a few here too)06:43
gnarfaceBSD might still have a real s3 driver integrated properly though, if it ever did.   whatever reasons it was pulled from linux and/or debian wouldn't apply there.06:44
systemdleteYour junk pile and my junk pile probably look a lot alike.06:46
systemdletethere is a mainboard vga -- is it possible to enable it again?  It seems to shut off when another card is inserted06:47
* systemdlete switching to testbox...06:47
gnarfacein theory, but check the bios options06:48
gnarfacedidn't we go over this already and there were no bios options, though?  or was that someone else?06:48
systemdlete2bios -- what I figured, but didn't want to go through all that...06:48
plasma41systemdlete: see also https://lists.x.org/archives/xorg-announce/2019-July/003015.html06:48
systemdlete2someone else, bc I don't recall06:48
gnarfacecheck the bios options, and if it's a really old board it might be worth checking for bios updates too06:49
gnarface(make sure only to get them from the original manufacturer's site though)06:49
systemdlete2I've updated the bios as far as it can go (v17.17)06:49
gnarfaceoh good06:49
systemdlete2thakns for the reminder06:49
systemdlete2not some fake cia front, huh?06:50
gnarfacehuh?06:50
gnarfaceoh, right, yea like fileshack.  fuck those guys06:50
systemdlete2Yeah.  I'm very careful about that.  (you said only get bios updates from orig mfr)06:50
systemdlete2ok, taking the testbox down for bios config...06:51
systemdlete2I enabled internal graphics.  But the system still boots on the same video card (1st pci video card,not the s3)06:57
systemdlete2do I need a cold boot?06:57
systemdlete2nvm.07:00
* systemdlete2 wants to kill himself. (please do not inhibit this impulse)07:00
systemdlete2I forgot to move the cable over...07:00
systemdletegnarface:  When I listed the hardware on the testbox, there was no specific info on video.  That is prob why I'm not getting video on that output -- maybe there is no driver for it07:08
systemdleteinxi -F does not list it; only the PCI card07:08
systemdletehelp me choose which pos card to use:  Trident card dated 1994 or creative card dated 1999 (prob pref, if one can call it much better).07:13
systemdleteThere is a junk  shop near me.  The guy has bins full of video cards.07:13
systemdleteI'm pretty sure they are dated as well.07:13
systemdleteOR07:14
systemdleteI could be patriotic and buy a new video card online and help keep "fantastic American businesses" like Amazon plenty flush.07:14
systemdleteIt would probably cost less than the electricity it is taking to sort this out.07:15
systemdletethe rest of the cards here are either gaming cards without a vga port, or agp (no agp slot on this board).07:16
systemdleteIn fact, after much reflection (about 3 seconds since realizing this), I will do that.07:17
systemdlete[crowd cheers with a collective sigh of relief]07:18
onefanglol07:18
systemdletelol07:19
onefangI did wake up this morning to 300 messages about this, 302, 314, ...07:19
meep_____Where do you buy gpu cards for linux that aren't buggy pieces of shit and requiring special snowflake drivers?07:19
systemdleteI might give this creative card a shot.  It's 21 years since mfr, but if it saves me my next order of Buffalo Wild Wings...07:20
systemdleteActually, I sort of inherited a lot of it, but some I have collected over the years.07:20
systemdlete(trying to remember)07:20
systemdleteI used to "shop" at ReCyclePC in Seattle when I lived there back in the 1990s/early 2000s07:21
systemdleteThen I lived with a widow whose husband had been into all sorts of electronics (not to mention 48 other hobbies)07:21
systemdleteHe made a lot of stuff himself -- you should see some of the adapters he made...07:21
onefangAh, so some of this stuff was old unsupported stuff people got rid of twenty years ago.07:21
systemdlete(I don't use them.)07:21
systemdletenot exactly.07:21
systemdleteSome of this stuff was relatively recent when I obtained them.07:22
systemdleteThe creative board was relatively new when I got it c. 2005 or so07:22
systemdletebut they followed me over the years.07:22
systemdleteI tried to make them go away, honest.07:22
systemdletePeople sometimes gave me their old computers so I could use them for testing and to play with.07:23
systemdleteAnyway...07:23
onefangTelling a graphics card "Oy, you, you are old enough to drive, time to go and live on your own" doesn't work that well.07:23
systemdleteno07:24
systemdlete(funny, onefang!)07:24
onefangThough if they where old enough to drive, they wouldn't need drivers.07:24
systemdleteI mean, I've tried to collect stuff for recycling, then I forget, and when I'd move, I didn't think to toss them07:25
systemdlete(we should take this to fork, btw)07:26
systemdleteI don't think this mainboard will let me do it.  BIOS allows internal or pci-e only.  It is silent on plain pci video cards.  And having a pci and a pci-e card would seem simple for linux, but maybe the board gets in the way a bit07:46
systemdleteThe option says PRIMARY Graphics Adapter (my emphasis) so I figured maybe there could be a secondary, and so forth.07:49
gnarfacesystemdlete: yea the issue is that it's entirely up to the bios whether to support it or not.  if it doesn't do it, it doesn't do it... but note that it is worth checking to see if internal only works when there's no add-on card10:06
systemdleteyeah, I thought of running that test.  It means removing the card though.  I am doing some testing on adelie atm; as soon as I can shut it down, I'll remove the card and see.  One thing for sure:  It seems the internal does not work at all if there is a card also10:08
gnarfacesystemdlete: as for replacement cards, i dunno anything about the creative labs video cards at all, but the trident ones should be well supported - they're just cheap crap though10:08
gnarfacesystemdlete: see if the bios options for the internal video card change when there's no other video card10:09
systemdletewell, additional problem is it seems to be limited to just the pci slot(s), and I am not even sure that you can have both pci-e slots with a video card.10:09
systemdleteI tried setting the bios to internal with the card still present.  It auto switched to the card though; it was the only port getting output.10:10
systemdleteI should have said, limited to just the pci-e slots (there's a pci slot, but it doesn't seem to be covered by the whatever logic they use).10:11
systemdletesaddest part is that, after all this work, the board might just go blow up tomorrow.  It is a rather old board, and I've moved it around a bit from case to case.10:12
gnarfacesome of the pci slots may be paired with pci-e slots in a way that it's not supported to use both of the pair at once10:12
gnarfaceyea i'm also wondering if maybe the onboard video was nvidia and it just burned out...10:12
gnarfaceany way to tell?  got the model & vendor name?10:12
systemdleteiirc, I bought the board in 2014 or so.10:12
gnarfacethe manual, what does it say?10:13
systemdleteyeah.  It's the 760GM-P25  (the board is marked 6531 I think, something like that)10:14
systemdlete764110:14
systemdleteIt's actually the 760GM-P34 (which matches my box it came in).  I may have the wrong manual (for the p25)10:15
gnarfacethe bios may also have some setting like "reset hardware configuration data" that you should check when you go in there before you save changes, whenever you change the add-on cards10:17
gnarfaceAMD System Drivers for 7xx/8xx/SB7xx/SB8xx Series (except RS690, 740) <10:18
gnarfaceDescription10:18
gnarfaceAMD System & VGA Drivers10:18
gnarfacei'm inferring from this ^ that the onboard video is something by amd10:19
gnarfaceso maybe the radeon or amdgpu drivers would recognize it10:19
gnarfacebut you need to be able to find it in the output of lspci first10:19
systemdleteright, right10:19
gnarfaceyou saw this, right? https://us.msi.com/Motherboard/support/760GM-P34-FX10:20
systemdleteyep10:20
systemdletebeen there many, many times now10:20
gnarfaceit's not one of those ones that requires a special "apu" cpu to enable, is it?  it looks too early for that but i'm not sure...10:22
systemdleteno, i don't think so.   I used it for years without the video card.10:22
gnarfaceoh, so you've seen the onboard video work before10:23
gnarfaceok10:23
systemdleteIf you look at that manual, btw, you will see that there is no video spec in the manual!10:23
systemdleteeverything else, yes, but not the videospec10:23
gnarfacethat's the other thing that leads me to question whether this is assuming you need a APU...10:23
systemdletethanks for all your help and especially the info you offer.10:27
systemdleteI'm going to knock off for a while.  It's 2:30am here and I've been pounding at this for at least 8 hours.10:27
gnarfacealright, lemme know how the test with no add-on cards works.10:28
systemdleteI notice no one makes a dual vga output pci card.  LOL why would they?10:28
systemdleteI'm probably the last guy left on the planet who needs one.10:28
gnarfacehmm, they certainly must have existed, but i'm sure they were much more rare...10:28
systemdletepci-e I meant10:29
gnarfaceoh, yea, no it's hard enough to even find dvi ones anymore10:29
gnarfaceeverything is going hdmi10:29
systemdleteThis much I know:  The card must go in one of the pci-e slots.  The only choices in the bios are internal and pci-e10:29
gnarfaceinteresting10:29
systemdletewould linux recognize the pci card though?   I saw it listed in ixni10:30
systemdleteinxi10:30
gnarfacecan you paste your lspci output to paste.debian.net?10:30
systemdleteor, I thought I did10:30
gnarfaceideally i'd like to see it with and without the add-on card10:30
gnarfacemight not matter though depending on what we see10:31
gnarfaceactaully you can just /msg it to me even10:31
systemdletesure.10:32
xrogaanI don't know if it's related to consolekit, so I'll be switching back to elogind to figure it out, the .xsession-errors file isn't being created or rotated for some reason, and it annoys me so much.11:08
xrogaan(beowulf) based on /etc/X11/Xsession, a xsession-errors file should be created following:  http://dpaste.com/0CDVCVV11:09
xrogaanit is not, and no message gets logged anywhere.11:09
xrogaanOh, weird, I just found out that there is a .xsession-errors.log, no idea how it gets created11:11
gnarfacersyslogd perhaps?11:12
gnarfaceor the X server itself11:12
gnarfacedunno though for sure11:13
xrogaanslim starts the session this way: login_cmd           exec /bin/bash -login /etc/X11/Xsession %session11:15
xrogaanI don't know why there is a .log at the end of the xsession-errors11:15
xrogaanI can't find any reference to that file anywhere.11:16
gnarfaceyea that's what made it look like a rsyslogd thing to me, but then i remembered the Xorg.0.log ends in .log too...11:16
gnarfacebut it's just a guess11:16
xrogaanthe rsyslog is minimal here11:17
xrogaanrsyslog conf*11:17
xrogaanI remember why I don't want to go back to elogind: xfce is crappy under it and we won't get an update to xfce until next debian stable.11:19
xrogaanso if I change, I change of WM too11:19
gnarfacemaybe enlightenment will behave better for you?11:19
xrogaanno, it's a crappy desktop11:35
xrogaanthe defaults are so out of my norms that it's just too much work to figure out11:35
xrogaanLike the mouse cursor automatically being placed on the button of a message window.11:36
gnarfacei admit that's annoying and i turn it off too11:45
gnarfacebut there are so many settings...11:46
gnarfaceit's very flexible11:46
kgkknllping16:30
MSIVITALER^3I_hey there how would one suspenf in openrc would  loginctl suspend work isnt that sytemd command?16:31
gnarfacethere's probably a bunch of ways to do it16:32
gnarfacesomething would be tied to acpid probably...16:32
MSIVITALER^3I_what would be the easiest with a one line coomand16:33
MSIVITALER^3I_Im pretty green to openrc based systems, but Im glad I switched after a bit of research I dont know how something like systemd come to existence16:34
gnarfacei'm sorry i don't know openrc either and i'm not sure it is even the part of the system that handles suspend16:45
gnarfacei use sysvinit which really does not16:46
gnarfacesuspend would be handled by acpid and your window manager...16:46
gnarfacelike, there should be something in the gui to click on16:46
gnarfacethere isn't?16:46
gnarfaceif you have a suspend button on the keyboard it might work too16:47
gnarfacesee if you have a package called pm-utils, and try the pm-suspend script in there16:47
gnarfaceif all else fails16:47
MSIVITALER^3I_gnarface:  cheers found answer on acpid arch wiki16:53
gnarfaceMSIVITALER^3I_: cool, glad you found it16:59
MSIVITALER^3I_gnarface: thk for the help17:29
gnarfacenp17:32
meep_____gnarface: doesn't pm-suspend rely on policykit?20:01
meep_____How did we suspend before the redhatification?20:01
meep_____I remember back when shutdown -P NOW worked20:02
meep_____And then i had to change to poweroff20:02
meep_____Or shutdown -H NOW before ACPI20:02
masonpolicykit? no20:03
gordonDrogononce upon a time it was: sync;sync <pull the plug>20:10
gnarfacemeep_____: i have it here without policykit, i can't claim to know if it works right or not though20:29
meep_____This https://upload.nuegia.net/ac42c189-115c-432c-8a5a-0943d335496a/screenshot.png20:30
meep_____This is bullshit20:30
meep_____It looks like an iphone20:30
meep_____Gtk+3 is so bad20:30
meep_____Now I have to fork notifyd too20:31
avboxI want to setup a new mail server (smtp/587, imap/143, webmail, spam). What can you recommend? Is there a howto for Devuan?20:43
meep_____tom: fixed https://upload.nuegia.net/6b2d9050-9068-44be-a907-bab754f0f4fd/screenshot.png20:54
tuxd3v_meep_____, what is the toolkit used?21:00
meep_____Gtk221:00
meep_____avbox: OpenSMTPd, Dovecot, Spamassisin, and SquirrelMail21:01
meep_____tuxd3v_: I reverted the GTK+3 version back to gtk221:02
avboxmeep_____: SquirrelMail, is there any further development'21:02
meep_____Idk21:02
meep_____I don't use webamil21:02
meep_____I have programs for email, like mutt and claws-mail21:03
masongordonDrogon: Sometime trace the origin of "sync; sync" - I did recently and I was surprised.21:32
furrywolfsync sync...  that's the new york prison where they stick dirty write caches, right?  :P21:37
gordonDrogonheh... my first unix was v6 on a pdp11 - it was just the "done thing" ...21:38
masongordonDrogon: I still do it reflexively, but evidently it hasn't actually been a thing for decades.21:45
gordonDrogonI know... old habits though.21:45
gordonDrogonarguably the start of bloat - why write a shutdown/reboot when you can 'wall' everyone, sync;sync, then flip the run switch :)21:46
expert975That's how I poweroff my raspberrypi: sync and unplug :)21:53
aitormeep_____: good job22:00
meep_____» [13:46:45] <gordonDrogon> arguably the start of bloat - why write a shutdown/reboot when you can 'wall' everyone, sync;sync, then flip the run switch :)22:01
meep_____to allow the daemons to stop22:01
meep_____Your forgetting a few steps22:02
ukinei was taught after unmounting/disk ops to do it 3 count 'em 3 times22:02
meep_____Yes you wall22:02
ukinesyncing22:02
meep_____Wall, stop daemons gracefully, remount disks read-only, sync, then halt22:02
meep_____Then ask acpi to turn off the power22:02
gordonDrogonthe 2nd sync supposedly blocked until the first one was done, but I never did a 3rd. as for daemons... the small, lonely pdp11 only ran lpd that I recall, but memory isn't what it was ..22:11
meep_____I don't think the second sync is needed22:12
meep_____Is it?22:12
meep_____As far as i know that's like people who press the off button on their light switches because they have ocd or something22:14
meep_____And want to really make sure it's off22:15
meep_____*light switches 5 times22:15
expert975REISUO22:37
meep_____Ebola?22:38
initfr33d0mhello23:45
Guest72323\o23:48

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