[00:17] ⎀ [00:34] OK === webchat78 is now known as Granny [00:35] how do i access my network drive from ubuntu [00:36] _rayke _ruben [code] ^daemon^ |shark| [00:40] it depends on what you've got installed, what you're trying to do, etc [00:40] quite often there's a file explorer that can easily mount network drives [00:45] ok [00:45] what do you recommend i use [00:50] sarnold [00:50] see our wiki ? [00:50] https://wiki.ubuntu.com/MountWindowsSharesPermanently [00:51] or just the filemanager (nautilus) https://help.ubuntu.com/stable/ubuntu-help/nautilus-connect.html.en [00:51] not loading [00:51] that file manager doesnt work on amd63 [00:51] *amd64 [00:52] it does not? [00:53] the wiki is dreadfully slow but it should eventually load [00:53] hit f5 [00:53] ok [00:55] why is linux so complicated [00:56] Because ubuntu! [00:57] isnt ubuntu the easiest linux distro [00:58] something that scales from the largest supercomputers to billions of cell phones and wrist watches, assembled from the collective work of hundreds of thousands of people with perhaps different visions for what it can be, what it can do, what it needs to do, etc.. [01:01] i made a share in ubuntu instead and its not showing up in windows [01:02] oh, i don't know about windows problems [01:17] i made a share in ubuntu and its not showing up in windows === humberto1 is now known as humbertowoody === M4he is now known as mahe [02:00] how do you separate sound in ubuntu [02:01] i made a share in ubuntu and its not showing up in windows [02:25] morning [03:10] how do you separate sound in ubuntu [03:10] @everyone [03:10] how do you separate sound in ubuntu [03:10] how do you separate sound in ubuntu [03:20] repeating the same unspecific question is not that useful [04:21] Granny: what do you mean separate sound? are you trying to make one application play through one audio device while another application is playing through another audio device? [04:56] Howdy friends, i am on Ubuntu 21.04 with winehq-staging and the wine system tray bar does not integrate into gnome 38 - is this a known issue and how do i fix it [05:02] thyriaen, for that wine ppa, contact the team or #winehq ? [05:02] i find no simular bugreports .. yet [05:03] oerheks, ok will do [05:03] thanks [05:04] 1 [05:56] hello [05:57] hello every1 [05:57] can I run kde apps on ubuntu gnome? === philomath_ is now known as philomath [06:00] no [06:00] gnome yyds [06:00] guy_frm_yogaland, sure you can - it just uses a different toolkit and might not look as the other apps [06:00] kde not good [06:01] why? [06:02] gnome or kde ? [06:02] I find gnome vray good, The kde bug too more [06:04] If you like KDE ,you can apt install kubuntu [06:04] but ubuntu bug too more [06:39] So uuuuum gzip auto deletes the archive source folder when decompressing (similar filename) system.ext4.win.gz archive containing a system.ext4.win file [06:40] Is this at all normal ? [06:40] * -folder [06:40] so whats up with all those "Wrong ELF class: ELFCLASS32" in ubuntu 21.04? like this https://pastebin.com/sE17PxBH [06:42] Apachez: do you have the 32bit versions installed? [06:44] Gaboradon: There is the `-k` switch, if you want to keep the input files. [06:45] Ah, thanks for the future, too late now, just wow, amazing default behavior. [07:04] ThinkT510: looks like that according to the pastebin I provided [07:07] hi! where can i find old versions of xubuntu, such as 18.04 and not 18.04.5? [07:08] I can't find it anywhere but there's surely an archive somewhere? [07:20] http://old-releases.ubuntu.com/releases/18.04.0/ === kai6 is now known as kai [07:44] he [07:45] excuse me [07:45] hlep [07:45] help [07:45] The gnome 40 bug vray more [07:46] admin ? [07:59] hello [08:22] wujie hello === keypushe- is now known as keypusher === prxq_ is now known as prxq [08:30] is there a working way to make autoinstall create additional useraccounts? [08:30] other than just using late-commands === diskin is now known as Guest3820 === diskin_ is now known as diskin [08:46] why is unetbootin not in apt? I just did a clean install of 21.04 today. [08:47] adding a ppa repo is fine, but seems odd for what I'd think is a fairly popular package. [08:47] is unetbootin passe? [08:53] odd [08:54] tuxick: unetbootin? [09:09] yeah, i wonder with you :) [09:13] but tbh i wouldn't wonder too long and just add ppa [09:13] heh, fair enough [09:13] I was more interested if it was some PEBKAC error on my end.. [09:25] !info unetbootin [09:25] Package unetbootin does not exist in hirsute [09:25] nah, installed 21 on my laptop last week, enabled all the standard repositories [09:27] indeed, use mkusb.. giives an option for persistance too.. https://launchpad.net/~mkusb/+archive/ubuntu/ppa [09:27] ubuntu disk creator is handy, ventoy, woeusb,.. [09:27] or dd and sync the iso [09:28] woeusb.. meh, 30 minutes or longer for a job that windows can do in 3 minutes === guest45420 is now known as nigga [10:18] ? [10:19] whats up tuxick [10:19] annoyed, creating additional useraccount in late-commands is silly [10:48] as if https://cloudinit.readthedocs.io/en/latest/topics/examples.html doesn't apply [10:56] hi all [10:56] how can i restore root on a machine i have access to ? [10:56] would be much faster than reinstalling [10:57] "how can i restore root on a machine i have access to ?" explain plese? [10:57] i dont have the password [10:57] also thers nothing on it i need [10:58] but the distro was running smooth that worth something [10:58] https://help.ubuntu.com/community/LostPassword [10:58] yayayay [10:59] thx looks straight forward enough let me try [10:59] you need fysical access [11:02] im 20.04 so which one do i need to hit [11:02] ESC or shift [11:03] cause esc is gonna land me in bios [11:04] oki oki === EriC^ is now known as EriC^^ [11:05] i get into grub, then select advanced then nada [11:05] its a blanl pretty much says "GRUB ..." and underneath got some selections [11:05] like C-ommandline [11:07] yea thers nothing there lol? [11:07] grub doesnt offer a rescue option ._. [11:11] ok got something maybe. whats "append" mean? [11:11] im assuming add at the end of the same line --sometimes thers one space, sometimes thers 2 .. so what would i add [11:19] lmao as per usual [11:19] like no default solution never works [11:26] the method in the link oerheks gave you is the standard way [11:26] " append init=/bin/bash" [11:29] for me default solution is pxe booting sysresccd :) [11:30] well, fallback [11:49] I've got an application that sends files to a samba share but am getting errors about permissions being denied. I can move the files manually to the samba share with no issues at all. Any ideas on how I can troubleshoot this? [11:52] application running as different user? [11:52] maybe application means it can't read the files? [11:53] many applications fail to produce useful error messages [11:54] The application runs under the local user account on the machine. What's strange is it is able to write the file to the samba share but it's 0bytes. So I don't understand if it's a permissions error, why can it write the 0byte file to the share? === EriC^ is now known as EriC^^ [12:04] weird [12:08] fleabeard, #samba ? [12:08] donofrio, oh, will try there. Thank you. [12:20] so pissed now [12:20] same [12:20] did the install .. all fine .. reboot .. nada wouldnt shut off. now .. its all funky [12:20] but don't you think it's a bit early to be so pissed VIA [12:22] yoyo my nigga [12:22] sup [12:22] mebe i need to turn it down a notch [12:25] at least try to hold off until the weekend [12:36] Hi folks [12:39] HI Folks. one question. Does the older d-i installer for automated restart work for Ubuntu 20.04 ? [12:40] $ cat /sys/block/sda/queue/scheduler [12:40] [mq-deadline] none [12:40] how can i install additional i/o schedulers [12:40] as when i copy large files system is unresponsive [12:42] and which one should i chose [12:43] had this ovewr and over [12:43] id even know how i managed to install this [12:43] n now tried reinstall aaaaand gone [12:43] its always UEFI [12:43] UEFI CANCER [12:44] UEFI manages to cripple itself all the time its disgusting [12:44] even on legacy only, it fusk itself [12:44] how is that even a thing ._. [12:46] VIA: if you want, try to paste a small description of the latest problem that you need help with, in a couple of lines, then wait for answers. Ranting may help psychologically but it doesn't help others help you [12:47] memphisto: I haven't tried schedules, but running a long IO process with ionice or plain nice (or later on by changing its nice level using its pid), does help in responsiveness [12:48] thanks [12:49] but it's stuck so much you cant do anything else but wait [12:50] If it's console-based, you can ctrl+z to suspend it, then change its niceness level, then resume it [12:51] I administer a bunch of "single-user" laptops and I want anyone to be able to run updates without having to enter the user password (auto-login is enabled). Here's a "solution" to this problem: https://askubuntu.com/a/1101011 but if I understand correctly, the `org.debian.apt.install-or-remove-packages` polkit action would allow the user to install or remove any package via the commandline which I would like to avoid – users should only be ab [12:51] there any way to allow all updates (not only security) without asking for a password but still require a password for manual package removal or installation? [12:52] Is there any reason to avoid the usual automatic updates? [12:53] https://help.ubuntu.com/community/AutomaticSecurityUpdates => the unattended-upgrades paragraph [12:53] It can apply to all updates, not just security ones [12:53] alkisg: These are the "usual" automatic updates from ubuntu update manager. Security updates will be installed fully automatically but other updates just have a reminder and will prompt for a password when installed [12:53] That's just a small apt configuration option [12:54] I think it's even present in the `software-properties-gtk` UI [13:00] aren't "unattended-upgrades" and the update manager completely separate systems? I don't see any way to configure it this way in the graphical settings and I'd rather stick with the graphical updates than switch to the daemon. [13:06] krumelmonster: I mean that if you configure unattended upgrades, you won't need update-manager, you can then just disable it [13:07] Note that usually, unattended upgrades already run in the background [13:08] And when the security updates have finished, then the rest of the updates show up in the update-manager UI [13:31] Everytime any software (including the os settings app for example) tries to detect my resolution, the screen turns black for a while. What can I do to prevent that? [13:36] Hi folks. I am trying to install Ubuntu onto a Macbook, but I keep running into a problem with GRUB not installing correctly. Can anyone point me in the right direction? [13:42] stevenxl, I assume not one of the newer ones running M series chip? [13:43] Hi kirk781 - no not an M-series chip. [13:43] What exact output does it give? GRUB usually installs onto the first partition{EFI{ [13:44] https://i.stack.imgur.com/CXgMW.jpg [13:49] Technically, someone did register a similar bug here which seems to be unresolved: https://bugs.launchpad.net/ubuntu/+source/grub-installer/+bug/1870819 [13:49] Launchpad bug 1870819 in grub-installer (Ubuntu) "Install Grub on Macbook Pro 2019 Fails - grub-install: error: failed to register the EFI boot entry: Interrupted system call" [Undecided, New] [13:49] The simplest solution might be to reinstall. [13:50] kirk781: This error occurs every time I try to install Ubuntu (I've tried 3 times). It's not a transitory thing. [13:51] This seems to be a common problem (from my searching, see here, for example: https://unix.stackexchange.com/questions/636709/ubuntu-on-mac-executing-grub-install-dev-nvme0n1-failed) but there are no easy solutions. [13:52] stevenxl: https://askubuntu.com/questions/1256686/cannot-install-ubuntu-20-04-on-mac-mini-2020 [13:52] Huh the solution to the issue seems ahem, long and involves switching bootloaders [13:53] 4 stage bootloader! [13:53] stevenxl, try making a 512mb partition for the UEFI boot, then choose manual if auto installation doesn't work [13:57] Hm.. I'm either messing up royally or this process is a bit more involved than I expected. I can boot into Ubuntu now, but my keyboard / mouse / wifi are not working. [13:58] This might take more than the hour or so I allotted. Thank you all! I think I'll have to come back when I have more time. [13:59] Note the "EFI runtime services are disabled" message. This isn't 32bit 18.04, is it? [13:59] I assume the same Grub issue will pop up irrespective of the distro being installed? [14:01] most likely [14:04] Does add-apt-repository have a short cut to add bionic-updates suite for example? [14:04] `add-apt-repository bionic-updates` fails with Error: 'bionic-updates' invalid [14:04] PaulePanter: bionic-updates will be added by default [14:05] I wonder which distros use their own boot manager. Solus has it's clr-boot-manager which somehow fails to detect fellow Linux OS partitions [14:05] kirk781: feel free to discuss in #ubuntu-offtopic [14:07] leftyfb: Not if built with debootstrap. [14:08] `add-apt-repository "deb http://archive.ubuntu.com/ubuntu bionic-updates main"` works, but then I can also edit the file directly. [14:08] PaulePanter: /usr/share/doc/apt/examples/sources.list === EriC^ is now known as EriC^^ [14:34] Hello everyone. I had a problem with the applications overview. The size of the icons is small. and i want to increase the space between them too. image: https://pasteboard.co/Kdh2dCI.png [14:34] can you suggest something please [14:35] Tahsin: that looks like another theme then ubuntu/gnome provides [14:36] is it possible to increase the icons size and the spaces among them? [14:46] Tahsin: maybe with dconf-editor [14:46] I was trying that. but whats the process? [14:48] Tahsin: when you launch dconf-editor there's a search function to find your keywords [14:49] didnt try myself yet, so not sure if the tweak exists [14:50] okay. [14:50] thanks [15:01] I am trying to run the software kget but it does not open up, I have uninstalled and reinstalled it many times but still it doesn't work [15:04] guy_frm_yogaland, not really a fix for that, but there is uget too perhaps? [15:05] it actually opens up when I run it as sudo [15:07] guy_frm_yogaland, does the terminal tell you something when run as user? [15:07] N [15:07] !crosspost | guy_frm_yogaland [15:07] guy_frm_yogaland: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support. [15:08] ok [15:08] did some command on terminal like prune autoclean [15:08] i will write it here [15:08] and after than reinstalled and since then it does not open === genii-core is now known as genii [15:10] after I run kget in the terminal as a normal current user then it shows errors [15:10] Couldn't start kuiserver from org.kde.kuiserver.service: QDBusError("org.freedesktop.DBus.Error.ServiceUnknown", "The name org.kde.kuiserver was not provided by any .service files") [15:11] but when I run it as root user then it opens but still I see errors [15:11] kget is a kde/plasma app, you may be missing some libraries etc [15:13] it installed all dependencies and other kde apps like ktorrents works smooth [15:13] sorry, nu cliu guy_frm_yogaland [15:13] *clue [15:13] ok [15:13] *no clue [15:14] i will ask in kde channel [15:15] might give better result guy_frm_yogaland [15:51] tomreyn: I found it by chance: /etc/apt had permissions 770, and that seems to confuse APT despite called as root. :( [15:53] tomreyn: I manually added that file (and apparently the directory) to work around the debootstrap bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=989724 [15:53] Debian bug 989724 in debootstrap "debootstrap: `--extra-suites=A,B` not showing up in `/etc/apt/sources.list`" [Normal, Open] === jpe__ is now known as sharperguy === Starmina_ is now known as Starmina === Marco_Polo is now known as Guest9134 [16:25] hello, I have a question about gaming on ubuntu. I am looking to replace Win10 on my gaming laptop with Ubuntu, but I am trying to find the level of support for different games [16:26] I have found some info, but nothing definitive on whether using steam/egs/battle.net etc is supported [16:27] Steam works fine, not all games designed for Windows work though. I haven't tried Epic, etc. [16:28] each steam game should list the supported platforms in their store page [16:28] I know that Steam has its own compatibility layer (proton), and I see there's an unrelated project to bring other game stores into linux (lutris) [16:28] some happen to work even if they don't officially support it, but at least you get to know if they officially do (for the ones you are interested in) [16:29] does ubuntu provide packages for steam? === seednode9 is now known as seednode [16:29] I have it installed via flatpak [16:30] CodeGeek: yes [16:31] CodeGeek: I do not recommend flatpak [16:32] CodeGeek: sudo apt install steam [16:35] cool, it also looks like Lutris has a repo available for Ubuntu [16:35] I'm going to try it this weekend [16:35] thanks [16:35] CodeGeek: You'll have no issues at all with any games marked for SteamOS [16:36] if you do and you run Ubuntu you will be entitled to a refund on that game. [16:37] most of the games I play are "old". I also don't usually play the ones that require anti-cheat, which seems to be an issue for linux gaming [16:37] As for games not OTB compatible then most are fine via Steam Play (Proton), the issue is often the game company launchers, like EA [16:37] anti-cheats etc will be an issue too [16:37] You can check ProtonDB for compatiblity [16:38] leftyfb: does the flatpak version work bad? [16:38] why flatpak when it's in the repos. [16:38] akik: nope, but we cannot officially support flatpak here [16:38] sixwheeledbeast: SteamOS != steam installed on Ubuntu [16:39] i didn't say it was [16:39] CodeGeek: you don't need a repository to install steam. Just install it with sudo apt install steam [16:40] sixwheeledbeast: ah right, just using the "steamOS" label for games to determine linux compatibility. Sorry, read it too fast [16:40] indeed === seednode6 is now known as seednode [16:41] ok so it's not that it works or not but not invented here [16:43] akik: supported* === Starmina_ is now known as Starmina [16:45] Here's a strange one! debootstrap is repeatedly failing to fetch the entire Package.{xz,gz} for focal but a manual wget of the same URI gets the entire file! === seednode5 is now known as seednode [16:46] PaulePanter: seems to be related to your problem. Happens whenever there's --extra-suites specified [16:48] TJ-: there some default timeout for the tool used to download? (curl/wget). I think I've messed with debootstrap once in my life, does it used an ephemeral image with something like busybox? [16:48] no, it appears to be fetching the wrong file! [16:48] ah [16:52] https://paste.ubuntu.com/p/xqdGMVWwQR/ [16:53] I thought it may be mixing up the suites but it isn't that - the file is truncated [16:55] and without the --extra-suites https://paste.ubuntu.com/p/XGTJMW7FqS/ [16:55] it works [17:08] Everytime any software (including the os settings app for example) tries to detect my resolution, the screen turns black for a while. What can I do to prevent that? === seednode0 is now known as seednode [17:21] I've encrypted my whole disk with LUKS and I've installed Busybox with the network configuration. So when VM has been rebooted, I can connect to Busybox with SSH to enter my LUKS password. I want to run the wget command automatically after the initramfs network is configured, to send a signal from VM to enter the LUKS password. I've written a script according to this topic, but it doesn't work. https://manpages.ubuntu.com/manpages/xenial/man8/initramfs- [17:21] tools.8.html and my code is: https://paste.ubuntu.com/p/YFy82YV6zx/ (I can't use other methods such as mandos) [17:22] punkgeek: you have a working php loaded into initramfs? [17:24] No, if the VM run that command, the API server would found that the VM needs to enter password [17:24] punkgeek: all your shell code is doing is downloading the file. Is it failing to download? [17:25] punkgeek: does your busybox have an internet connection? Did you try running the wget command in the running busybox environment? I found I had to include my own wget binary in the initramfs due to the busybox version not supporting all the flags I needed [17:25] leftyfb: punkgeek has been working on this in #ubuntu-server past couple of days. The aim is to have the booting system /ping/ a monitoring server to indicate it is waiting for a manual SSH connection to enter the LUKS passphrase [17:26] TJ-, thank you, I never knew about the server channel. [17:29] leftyfb: yes it doesn't run [17:30] punkgeek: did you test it manually as I suggested yesterday by adding a 'break=premount' to the kernel command line so it drops to the shell ? [17:31] TJ-: sorry I've miss your message, could you give me article to do that? [17:31] If I recall correctly, wget in initramfs is busybox and doesn't support DNS; try with the IP [17:33] TJ: Did you report the bug to the BTS? [17:33] alkisg: actually I use ip in the script [17:34] punkgeek: throw some other command in that script like touching a file or something. Verify the script is running at all. [17:34] Where do you put the script in /usr/share/initramfs-tools exactly? [17:35] punkgeek: also, set "#!/bin/sh -x" to get more info when the script is running [17:35] leftyfb: i've tried this: touch /etc/test.sh , and then I checked in the busybox but there is noting in there [17:36] alkisg: punkgeek: I have my script in scripts/init-bottom/ [17:36] punkgeek: also make sure the script is +x [17:36] punkgeek: you really should be booting to the busybox environment and trying to debug there but running the script manually [17:37] punkgeek: I stuck vim in my busybox to make changes until I got things working [17:37] Put break=bottom then in the cmdline to check it [17:37] I just stick a "false" at the end, that kills it and dumps me to the shell [17:37] PaulePanter: no; I'm debugging your bug to create a fix and git this one so trying to debug it! [17:39] break= is much better, there are several stages where you can cause it to stop. See them with "grep maybe_break /usr/share/initramfs-tools/init" [17:44] I found something, when I comment on the wget command, touch is work correctly. It seems there is a problem with the wget [17:45] punkgeek: I did mention before, I added a hook to include my own wget because the one built into busybox doesn't support as many options [17:45] btw, sh -x would probably have told you this [17:45] punkgeek: copy_exec /usr/bin/wget /sbin/wget [17:45] that's my hook to include wget [17:46] Thank you, let me check please [17:47] touch didn't work again: https://paste.ubuntu.com/p/8KDCV5vfzY/ [17:47] leftyfb, do you have any writing to read and understand your setup? [17:48] punkgeek: the copy_exec needs to be a hook, not in the script [17:48] but busybox has wget [17:48] doesnt' relate? [17:49] punkgeek: it doesn't really have wget. It pretends to be wget with limited functionality. You want the real wget to do real wget things [17:50] punkgeek: stick this in /usr/share/initramfs-tools/hooks/mystuff https://pastebin.ubuntu.com/p/HCJxkrQrVt/ [17:51] punkgeek: as a test, try running the wget commands from the busybox shell prompt. I bet it'll say something about unsupported usage [17:52] I added this but still didn't work: https://paste.ubuntu.com/p/dp7DcQvTnX/ [17:53] punkgeek: are you in the busybox shell now? [17:53] no, on the ubuntu [17:53] I've just restart and try [17:53] wait, no, you need to stick wget in /sbin [17:54] why did you edit the pastebin I gave you? [17:54] it won't override the wget in bin/ [17:54] you need to the hook to copy it to /sbin/ [17:55] doesn't work again [17:56] punkgeek: how are you testing all of this exactly? [17:57] punkgeek: you ideally want to be booted to this environment and in a busybox shell [17:58] could you check it please : https://paste.ubuntu.com/p/D2KXWCwP2C/ [17:59] when I remove the wget http://ip line, the tocuh command works === seednode1 is now known as seednode [17:59] remove the copy_exec from the script [17:59] punkgeek: again, how are you testing this exactly? You ideally want to be booted to this environment and in a busybox shell [18:01] removed but didn't work again. [18:02] Sorry I couldn't understand; You ideally want to be booted to this environment and in a busybox shell [18:03] punkgeek: how are you testing this exactly? [18:04] punkgeek: when I do this sort of work, I have to regenerate the initrd file and copy it to whatever(in my case PXE server) and boot it [18:04] on the vm. I've just created that scripts, update-initramfs -u and then rebooting the vm. After rebooting, I connected to busybox to check if there is any touched file or not [18:04] ok, perfect [18:05] punkgeek: so, boot to it ssh to it and lets test from there ok? [18:05] yes I enter wget command on the busybox from ssh and it works correctly. [18:06] punkgeek: 1 step at a time ... please follow along and don't do anything else [18:06] punkgeek: ls -l /sbin/wget [18:06] punkgeek: what does that give you? [18:06] in the busybox? [18:06] yes [18:06] -sh: s: not found [18:06] ah right [18:07] sorry [18:07] punkgeek: ls /sbin/wget [18:07] ls: /sbin/wget: No such file or directory [18:07] punkgeek: ok, go back and edit the hook and make the copy_exec line look exactly like I pasted to you earlier [18:08] Btw that's local top not local bottom [18:08] this one? https://pastebin.ubuntu.com/p/HCJxkrQrVt/ [18:08] Net not yet ready at top [18:08] ok [18:08] yeah, this should all be in local bottom [18:09] well, I put mine in init-bottom [18:09] Everytime any software (including the os settings app for example) tries to detect my resolution, the screen turns black for a while. What can I do to prevent that? [18:09] !repeat | MadLamb [18:09] MadLamb: Don't feel ignored and repeat your question quickly; if nobody knows your answer, nobody will answer you. While you wait, try searching https://help.ubuntu.com or https://ubuntuforums.org or https://askubuntu.com/ [18:09] MadLamb: laptop or desktop? Using a dock? [18:10] I've do this, let me try. https://paste.ubuntu.com/p/rTSbs465W8/ [18:11] ah right .... [18:11] punkgeek: specify the full path ... once you've confirmed wget got copied to /sbin/, you'll need to tell the script /sbin/wget qO- http://ip/ [18:11] even touch /etc/1before didin't work [18:12] which is before wget [18:12] It was working before :D [18:13] seems that after I enter the LUKS password, wget worked [18:14] I moved backed the script to local-top , 1before file has been created but wget didn't worked [18:15] However, 1after file didn't created === seednode4 is now known as seednode [18:25] punkgeek: do you have console access to the VM, or just ssh access? If you have console access, just put a /bin/sh inside your script, it will give you a shell [18:25] From there, you can explore things like "oh, network isn't yet available at local-top" etc === blackest_mamba_ is now known as blackest_mamba [18:27] PaulePanter: I've identified the bug I hit; for focal-updates it is actually fetching Package.* files from focal [18:30] leftyfb: sorry my internet disconncted. did I missed your pm? [18:32] punkgeek: https://pastebin.ubuntu.com/p/g9rMrDGGR6/ [18:32] I'm on Ubuntu focal. https://paste.ubuntu.com/p/byHgx647yY/ I'm wondering why it tests `anacron` executable before running jobs for all types of schedules except for hourlies. What does this test of anacron do? [18:33] leftyfb: on the hook or script? [18:33] punkgeek: in the script [18:34] punkgeek: put it before your wget or the touch [18:34] alzgh: anacron is sort of similar to cron; when a computer is off when a cron time specification happens, cron doesn't do anything when the computer turns back on.. anacron does. [18:35] alzgh: I think anacron manages running all the daily, weekly, and monthly, tasks itself, so if cron also ran them, it'd duplicate work and perhaps mess things up if they both ran the tasks at once [18:35] alzgh: test -x checks to see if the named path is an executable file; if it is, then nothing else happens. if it isn't, then the run-parts commands are run [18:35] so... to improve adoption of linux at work, I'd left functioning desktop installed on various linux images. the majority are devuan with a simple slimd/Xorg running if the windows admins want to view that from the VM console. 4 of them, however, are ubuntu [18:35] alzgh: this lets the crontab adjust to anacron being installed or not installed pretty easy [18:36] they appear to be, in latest upgrade, using GDM and sucking up 610MB per GDM session. [18:36] this seems a bit excessive... [18:36] I was wondering if anyone here in #ubuntu might know of a guide to switching to something more lightweight in a standard ubuntu install [18:36] I'd like to avoid breaking stuff [18:37] (by comparison the devuan Xorg/slim is using about 55 megs) [18:37] nemo: you can try #lubuntu [18:37] nemo: other than that, try #linux or google to find opinions on other non-official non-ubuntu distros [18:37] nemo: I use xdm and i3wm myself, I'm not exactly sure how to *switch* though.. [18:38] leftyfb: yeah. I was hoping to do something "official ubuntu" just... not official ubuntu desktop packaging [18:38] nemo: here's my ~/.xsession https://paste.ubuntu.com/p/zhHMGZhBn7/ in case it's helpful [18:38] sarnold: hm [18:38] sarnold that makes sense. anacron takes care of hourly, daily, and up cron jobs. To avoid duplicate work, cron checks whether anacron exists and executable and if not does the job. Thanks. [18:38] alzgh: anacron probably skips the hourly, because they'll happen again soon enough when the machine is on [18:39] sarnold: that's useful for starting a session, but this is more about switching display managers in a standard Ubunto 20.04 LTS so that they have a nice login screen on the virtual desktop [18:39] sarnold: without my screwing up future upgrades of ubuntu [18:39] sarnold yeah, true. For hourlies, cron doesn't check anacron bc anacron doesn't take care of them. [18:39] sarnold: and to save the current 2.4GiB of RAM these ubuntu desktops are burning ☺ [18:39] sarnold: just to idle on a login screen 😉 [18:39] nemo: oh yeah I remember I had to something about this manually.. [18:39] lrwxrwxrwx 1 root root 31 Aug 31 2020 /etc/systemd/system/display-manager.service -> /lib/systemd/system/xdm.service [18:40] I don't know if you *have* to do it manually :) sorry about that.. [18:40] nemo: in general it's not nice to have multiple desktop environments and display managers. Sometimes services leak from one DE to another, wasting RAM or even causing collisions. Why don't you install e.g. kubuntu or lubuntu from scratch, while keeping user accounts and /home? [18:40] sarnold: yeah, was hoping folks here might know of an official ubuntu.com guide [18:41] alkisg: well. as noted these are existing servers where the desktop was entirely there to help windows admin adoption. the majority of the VMs are devuan so it's not an issue there, but trying to avoid a from scratch reinstall of these 4 ubuntu images. [18:41] nemo: if you want to keep the existing setup and just switch to a lighter DM, `apt install lightdm` will prompt you about which DM you want as the default [18:41] alkisg: this was just looking for low hanging fruit to save a bit of VM ram [18:41] alkisg: ok. that's kinda what I was looking for thanks [18:41] let me give that a shot [18:41] alkisg: I wanted to do somethign that wouldn't screw up future ubuntu maintenance [18:41] nemo: after login, the GDM session should go away, it shouldn't waste more RAM than what the VM anyway needs for user logins [18:41] great [18:41] giving it a try now [18:41] in test 😃 [18:42] nemo: I mean, maybe you don't really need to do anything, if your goal is to keep the gnome session; gdm shouldn't affect the ram used inside the session [18:42] leftyfb: Could you check it how can I go to the shell? https://pasteboard.co/KdiF9oR.png [18:42] alkisg: this is entirely about idling on the gdm screen. no one is logged in [18:42] alkisg: for some crazy reason gdm is using a huge amount of ram [18:43] punkgeek: did you put "/bin/sh" in your script above the wget command? [18:43] leftyfb: from the picture it seems local-top runned before the network configuration. However, local-bottom run after I enter LUKS password [18:43] yes [18:43] nemo: and? if you free that, are you going to use it elsewhere? Do you use memory balloning for VMs? [18:43] alkisg: we are absolutely going to use it elsewhere [18:43] punkgeek: there's also the break=bottom that TJ- had suggested [18:44] should I put it before /bin/sh? [18:44] alkisg: and yes [18:44] punkgeek: no [18:44] nemo: which program are you using for VMs, e.g. virtualbox, vmware? [18:44] punkgeek: right before your wget command [18:44] ok [18:45] alkisg: so... I'm not on that team, but I *think* these 4 VMs are on the VMWare instance [18:45] I'd have to follow up, but frankly it seems fairly irrelevant 😃 [18:45] I'm going to try and free up the RAM so they can put it to better use [18:45] that is. waste it on atlassian java processes or something 😃 [18:46] I mean, if the VM gets assigned 3 GB RAM statically and not dynamically, you shouldn't care if GDM uses 600 MB and frees it upon login [18:46] nemo: in that case, maybe invest in a 10TB SSD for swap just for java ;) [18:46] If it gets assigned RAM dynamically, and you had e.g. 50 VMs, then sure it would make sense [18:46] punkgeek: please do not PM [18:46] Oh sorry, Now I just stock in the busybox in the console :d [18:47] punkgeek: check if you have internet [18:47] alkisg: the issue is we've repeatedly had to increase allocations for these due to atlassian being a hog. we're trying to not waste 2½ gigs of it on idling desktop just 'cause gdm is a hog too 😃 [18:47] alkisg: and it's trivial to fire it back up with more or less ram as needed [18:47] gonna try your lightdm idea though [18:47] on one of the test instances ☺ [18:48] wow. that's a lot of new packages it wants. weird [18:48] leftyfb: yes, it busybox which I had access to it from ssh [18:48] Try --no-install-recommends [18:48] leftyfb: SSD? O_o [18:48] leftyfb: but I guess that was a joke ☺ [18:48] nemo: it was a joke [18:49] alkisg: much better. thank you [18:49] hm. now how to try it out [18:50] I guess halt gdm, start lightdm, and ask one of them to look on the console to verify [18:50] nemo: did it ask you about the default display manager? [18:50] alkisg: yeah. I switched it to lightdm [18:51] Then just reboot? [18:51] alkisg: but gdm is still running right now. guess I have to... systemctl or something [18:51] But sure, stop one, start the other, should also work [18:51] alkisg: ehhh can do that in test. it's more convenient to not do it in prod [18:51] kinda tedious to schedule [18:51] OK [18:51] leftyfb: https://i.postimg.cc/Kvqnp64K/Screenshot-20210728-232121.png [18:51] alkisg: uhoh [18:52] punkgeek: now you're getting somewhere [18:52] punkgeek: can you ping anything? [18:52] leftyfb: I had access to it from ssh [18:52] yes [18:53] alkisg: well this is some thoroughly unhelpful logging 😝 [18:53] punkgeek: actually, that looks like it worked [18:53] punkgeek: try your fulle wget command from the script. Type it in [18:53] in busybox [18:53] nemo: something didn't go as planned? Any error messages? [18:54] alkisg: https://m8y.org/tmp/temp.txt [18:54] leftyfb: I've found this: If I put the script into the local-top, it run before network configuratio. If I put it into the local-bottom, it run after I enter the LUKS password what is the middle folder? [18:55] punkgeek: where are you configuring it to unlock LUKS? [18:56] leftyfb: I'm using this method: http://blog.neutrino.es/2011/unlocking-a-luks-encrypted-root-partition-remotely-via-ssh/ [18:56] nemo: hehe, yeah very helpful. It does create a log under /var/log (maybe lightdm) though, check that one out. Maybe missing some of its dependencies [18:58] alkisg: https://m8y.org/tmp/lightdm.log doesn't seem any more helpful, and I looked several times [18:59] I think I'm going to remove it, this is making me all antsy 😝 and. well, at least the 4 ubuntu machines in our linux flock are for atlassian so they are already hogs [18:59] so wasting 2½gigs on a landing screen, not as noticeable 😉 [19:01] nemo: https://bugs.launchpad.net/ubuntu/+source/lightdm/+bug/1581106 says that installing a greeter helped [19:01] Launchpad bug 1581106 in lightdm (Ubuntu) "[yakkety regression] lightdm fails to install in a minimal environment" [Medium, Fix Released] [19:01] But sure, that RAM will be freed on login so it doesn't matter much [19:02] alkisg: yeah. it was more about idling all the time [19:02] punkgeek: you could try putting your wget command towards the top of scripts/local-top/cryptroot, right after ". /scripts/functions", but I think this is a hack and maybe should be temporary to see if it works [19:05] ok let me [19:06] leftyfb: it just run after I enter LUKS pass in the busybox [19:07] alkisg: if they log in like once in 3 months and it's using 610megs rest of time just to show screen, seems kinda silly ☺ - I mean, slimd on the devuans using 55 megs for Xorg+slimd is more normal. although even that seems a little high compared to history, but eh, memory inflation [19:08] leftyfb: what if I enter PREREQ="dropbear" [19:09] alkisg: trying greeter idea anyway. it's just 3 more packages [19:10] !gda iedereen [19:10] wrong chat sry [19:10] alkisg: 234MiB 😃 I guess... that's an improvement? ☺ [19:11] nemo: hmm, it still sounds like a lot, maybe gnome leaked some things [19:11] I think last time I checked it was around 100 MiB [19:11] (in ubuntu mate) [19:11] punkgeek: not sure, never tried such a thing. Can't hurt to try [19:12] alkisg: the greter alone is 100MiB [19:12] alkisg: but there's also pulseaudio, gnome keyring, dbus, Xorg, lightdm [19:16] 259MiB actually when I include basically anything with a lightdm string, root launched or lightdm itself [19:16] funny. [19:17] venividivici1989, which dutch channel you are in? [19:18] oh. wait. some of these are going down now? interesting. maybe I just need to wait for it to "settle" [19:18] alkisg: ok. seems to overall be a win with lightdm \o/ [19:18] alkisg: will apply this to all of 'em [19:18] can leave gdm on there. don't really care about a bit of storage [19:19] 👍️ === Etua1 is now known as Etua [19:20] oh. crud. I'd failed my regex. no. it's still at 114MiB for root owned processes mentioning lightdm, and 144MiB for lightdm owned processes. siiiigh [19:20] this is probably not worth applying to all 4 [19:20] s/failed regex/failed pipe [19:26] alkisg: hm... sorry to keep bugging you about this, but is slim an option on ubuntu? it seems to do much better - 70MiB for slim, 250MiB for lightdm, 625MiB (!!!) for gdm [19:26] when all processes are (hopefully correctly) summed [19:27] I did try to crosscheck my greps before summing the ram ☺ [19:27] nemo, just run `free` to see the free ram. Sure slim should also work [19:27] alkisg: well, free doesn't really help me see what the login screen is consuming [19:27] smem is nice for that [19:28] it allocates a portion of shared library use to every process using those shared libraries [19:28] sarnold: hm. could be more elegant than my current crude awk/sort thing [19:28] Why not? You run `free` at the login screen, and you compare what you see in the "used" column for the DMs you're testing [19:28] so you can see which processes would give the most immediate memory improvement by killing them [19:28] alkisg: it's sooooo muddy on machines running atlassian ☹ [19:28] alkisg: I wouldn't call that a cleaner test [19:28] alkisg: their memory fluctuates wildly [19:29] alkisg: it's so ridiculous how much atlassian sucks up compared to, say, phabricator ☹ [19:29] OK, no idea about atlassian and what it does to RAM :) [19:29] alkisg: hang on. lemme show you what I'm comparing right now on two VMs [19:29] alkisg: one running ubuntu+atlassian, one running devuan+... custom rust thing [19:30] alkisg: you can judge my scripting [19:30] I thought that atlassian would be a program that users run after login not a service... [19:30] alkisg: nooope it's like... Jira (tickets), Confluence (crappy wiki), Crucible (browsable code review), Bamboo (build bot) [19:30] alkisg: each one consumes a few gigabytes of ram all on its own to run reasonably [19:31] alkisg: phabricator by contrast ran fine on a single gig [19:31] Got it, yeah now it makes more sense to save RAM for that DM [19:31] maybe fewer features, but not ones we cared about [19:31] alkisg: but lemme paste my sucky grep/ps so you can judge it 😃 [19:34] alkisg: https://m8y.org/tmp/ram_by_user.txt [19:34] alkisg: both of these machines have a login gui running for the windows VM folks [19:35] alkisg: and I've been through a grep in my sums to narrow down particular culprits [19:35] nemo: ouch, I'm trying to set up a reverse proxy in apache for the first time, it's too much math for me currently :D [19:35] alkisg: oh. *that* I'm familiar with [19:35] I've setup a *lot* of those [19:36] alkisg: apache to tomcat reverse proxy, apache to atlassian, apache to random sites for switchovers.. [19:36] Specifically, verdaccio.org [19:37] ah. interesting [19:37] alkisg: not so familiar w/ npm though [19:37] Yey works!!! :) [19:37] cool [19:37] Yeah it's my first time there too, trying to create an npm registry for educational webapps === coconut_ is now known as coconut [19:45] If i want to create a start icon on the desktop with an .desktop file, how should i do that, under gnome? [19:47] coconut: you can't just right click and do it in context menu like in other DMs? [19:47] (haven't used gnome3 in ages personally) [19:47] in MATE it would be "Create Launcher" [19:49] coconut: er. DE not DM sorry ☺ [19:49] nemo, what do you mean with context menu(i cannot find anything anymore since i came from mate de) [19:49] I have DMs on the brain right now [19:50] coconut: ah. I have yet to make switch. ditto rest of my family. My mom switched to ubuntu 20.04 and first thing she asked for help with was "Getting my desktop back" [19:50] so had to look up instructions for that. thankfully was pretty easy [19:50] coconut: guess I'll let someone else answer it. I'm surprise right click doesn't work though [19:52] nemo, i got it as far as the applications grid, but want it from desktop for the one or two apps. Cannot find how. [19:54] hi, does anyone have an idea what might cause net.ipv4.conf.all.rp_filter = 2 in /etc/sysctl.conf to be ignored? on ubuntu 18.04 [19:54] running systemctl restart systemd-sysctl *does* apply it, but on a reboot it is set to 1 [19:57] Nei: don't go anywhere... [19:58] sarnold: ? [19:58] Nei: I went off to look through systemd files, I didn't want you to just run off :) hehe [19:59] Nei: unfortunately I didn't find what I thought I'd find -- I thought systemd sets this thing itself via a /usr/lib/sysctl.d file .. but I don't see it on my system :( [19:59] there is a /etc/sysctl.d/10-network-security.conf which sets net.ipv4.conf.all.rp_filter=1 [20:01] I guess I could test if editing that file somehow makes it work... but according to the docs the /etc/sysctl.conf should overwrite those settings [20:02] Nei:I have this reference for rp_filter change in systemd 240 https://lists.freedesktop.org/archives/systemd-devel/2018-December/041852.html [20:03] i-garrison: o/ [20:03] ubuntu 18.04 is currently using systemd 237 [20:04] leftyfb, its a laptop. I'm not using a dock but a usb-c dongle. [20:06] alkisg: uninstalled lightdm, installed slim. 62megs of ram for slim related processes \o/ now to see if they can actually, well, log in :D [20:07] Everytime any software (including the os settings app for example) tries to detect my resolution, the screen turns black for a while. What can I do to prevent that? [20:09] MadLamb: please stop repeating. If you unplug the usb-c dongle, does your laptop screen still do the same thing? [20:14] alkisg: aaand the windows admin confirms a nice soothing login screen with slim. woot. hopefully it gets him to a desktop if he ever has to type in credentials 😃 [20:14] hm [20:14] I should check what is running on my mom's old-ish ubuntu laptop === Guest9134 is now known as Marco_Polo === kevr is now known as kevr[m] === kevr[m] is now known as kevr [20:50] PaulePanter: my bug fix (Debian bug #991625) ... and this causes focal-updates to be added to sources.list ... there are other bugs revealed, not least it adds several duplicates of the $component (e.g. focal-updates main main main main) ! [20:50] Debian bug 991625 in debootstrap "debootstrap: extra-suites= broken; attempts Package.* fetches from primary suite" [Important, Open] https://bugs.debian.org/991625 [20:54] I am using VSCode on my company laptop. The version is 1.55.0. I have an issue where the Python extension does not load. All I see is the "Python extension loading ..." and the spinning arrow. the version of the extension is 2021.5.9265005. Since it is a company machine (actually a VDI), I cannot upgrade or downgrade or install insiders editions. Has there been any resolution to this issue? [20:54] I already asked in #vscode, but there's only 24 people in there and the seem a bit shy ... :) === dbungert1 is now known as dbungert [20:57] dang ... wrong chan ... sorry === Starmina_ is now known as Starmina === Starmina_ is now known as Starmina === Starmina_ is now known as Starmina [21:57] exit === matsaman_ is now known as matsaman === Starmina_ is now known as Starmina === genii is now known as genii-core