[00:00] on a machine I have- df -h shows /dev/sdd2 450G 129G 298G 31% / --- there is no entry "/home", but when i do a ncdu /home -> I get 2TB - how is that possible? [00:00] I found it, mount shows where it is from [00:03] Hi, why wouldn't my screen go blank after the duration I set in power settings? How can I debug this problem? [00:03] 20.04 here [00:16] i increased the size of my drive from 36GB to 86GB by adding 50GB (virtual disk). I then used parted to add 100% of this upgrade onto the part 3 which is where the Linux LVM resides. I am still getting error messages when trying to install cuda informing that i've run out of disk space. [00:16] fdisk -l /dev/sda | grep ^/dev [00:16] shows sda3 as [00:17] dev/sda3 3147776 180363230 177215455 84.5G Linux filesystem === Mollerz5 is now known as Mollerz [00:52] http://cdimage.ubuntu.com/lubuntu/releases/19.10/release/lubuntu-19.10-desktop-amd64.iso [00:53] The requested URL was not found on this server. [00:53] https://lubuntu.net/ I am trying to download this [00:53] Oh wait tht's old [00:53] hmm [00:54] https://lubuntu.me/focal-released/ [00:54] I wonder if to get lts or .10 [01:12] Hash: Lubuntu 20.04 LTS is supported for 3 years, 20.10 only 9 months [01:24] I added a ppa for php. I had to install redis because I was using it before. Why when I installed new redis it installed for other versions too? php-redis [01:25] when I try to 'purge' it will uninstall for all versions [01:31] guys, whats the difference between sda3 and ubuntu-vg? which one is the logical volume? [01:37] i need to add 2GB to Disk /dev/mapper/ubuntu--vg-ubuntu--lv: 20 GiB, 21474836480 bytes, 41943040 sectors [01:37] , how can this be done using lvresize? im trying # lvresize --size +2G --resizefs /dev/ubuntu-vg/ubuntu-lvv error path not found. === zbenjamin_ is now known as zbenjamin [02:21] someone still awake? [02:21] nope :P [02:21] haha === PowerTower_121 is now known as PowerTower_120 [02:28] My ubuntu 18.04 VM has time sync issues. `systemd-timesyncd` is masked, what's used to sync time with NTP? [02:30] ldiamond: can you paste the output of timedatectl [02:34] I started `systemd-timedated` and it's the right time now [02:35] https://paste.ubuntu.com/p/KdRwyMD7YX/ [02:35] it's 03:35 here [02:48] you're GMT+1 [02:50] I know [03:40] I have a stock X1 Carbon 6th gen. Integrated graphics. I am running stock Ubuntu ISO 20.10. I get lockups after waking, The Activity menu works. Apps do not accept mouse or keyboard inputs. I can close the app from Activity menu but nothing else. Alt-f2 "r" restart gnome does not work unless I click on activity menu, then do a Alt-F2 "r". After that Im good till next lockup. [03:40] Same senario on 20.04 stock ISO. [03:41] GSMarquis: something on logs? [04:00] How well does Wayland work now (in Focal)? And assuming I *don't* use nvidia gpu. [04:08] https://askubuntu.com/questions/948106/how-to-install-quake-3 [04:08] hell of a game [04:09] only need q3demo and the baseq3 to install [04:50] as a user, can i check if there are updates available on the ubuntu box? what command do i run for that? === fattywompus_ is now known as fattywompus [04:54] geosmile: Short answer is No: " apt update >> Could not open lock file /var/lib/apt/lists/lock - open (13: Permission denied) [08:07] hi guys, i am trying to install 20.04.1, and I was wondering how I can set the efi partition to be mounted as /boot [08:08] i would like the efi partition to contain the kernel and initrd [08:09] aeplus: i think that's something you'd manually have to do, not in the installer [08:10] (post-install) [08:12] EriC^^, the installer won't let me continue without specifying a /boot partition (the / partition is being placed inside an encrypted physical volume) [08:12] i was hoping to avoid creating another /boot partition [08:13] aeplus: use /boot and the efi at /boot/efi, later after the install you can put /boot inside of "/" [08:13] ah [08:14] not sure how you could not create the /boot partition at installation, if you want, you could after the install make /boot partition into the efi partition, and during the install not create the efi partition or make a small one and add them together into 1 efi partition [08:17] sounds like a plan. I'd like to preserve the existing efi and system recovery partitions. so I will delete the partition used for the OS, create the encrypted physical volume minus some allowance for /boot at the end of the disk, then grow the encrypted physical volume to cover the /boot directory [08:18] sounds good [08:27] I'm having problems with my onboard bluetooth, and I read buying a bluetooth dongle can help. Do I need to do anything else than plug it in? How does ubuntu know which BT to use? === akem_ is now known as akem [09:18] Hi. Question: I have 2 ubuntu installations on my computer on different hardrives - each with their own EFI partitions (one is a removable drive) - both using UEFI boot sequence. In my UEFI menu, both are labeled "ubuntu" - and I can't tell which is which (they also change order when one of the systems runs grub-install) - How can I configure the UEFI grub-install to name the boot entry something different than ubuntu? [09:18] note, this is about the EFI boot menu, not the grub boot menu which comes later [09:21] note: I found a similar question on https://askubuntu.com/questions/1125920/how-can-i-change-the-names-of-items-in-the-efi-uefi-boot-menu - but the answer is unsatisfactory, it only temporarily renames it, the next run of "update-grub" will revert that [09:25] correction "next run of grub-install" [09:44] hmm I checked the gub source code. the label is taken from a default config entry called "config.grub_distributor" - but I haven't found that set in any config file. I wonder if that is set at compiletime for ubuntu's grub [09:55] correction, it is set in /etc/default/grub [09:55] just not to "ubuntu" but to the output of `lsb_release` === bad_1 is now known as badbodh === bad_1 is now known as badbodh [10:06] CorvusCorax: Don't mess with lsb_release [10:07] im not messing with lsb_release, I'm just changing the entry in /etc/default/grub to a hardcoded string instead of lsb_release invocation [10:35] I don't know if I'm in the right channel [10:36] BUT I'm having issues with supervisor [10:36] on ubuntu? [10:36] yes [10:36] then you are not in the wrong channel; but it is always possible there is a better channel [10:38] I actually think I've found the issue and it's a coding error [10:39] okay I guess I'll go ahead and ask what I was going to for scientific purposes... [10:40] why does supervisor stop a process because it exits too quickly? [10:41] currently I have a * * * * * cron to restart the script, but I make sure to use sleep() [10:42] s/supervisor/script [10:50] argh, this didn't work [10:50] issue is shim [10:50] shim has "ubuntu" hardcoded as a name [10:50] stupid secure boot === denningsrogue5 is now known as denningsrogue [11:45] Hi there! Could someone help me with SQL syntax? I am trying to install a language learning software with this guide here: https://www.mezzoguild.com/how-to-install-learning-with-texts-lwt/ [11:46] My question: what's "root" & "localhost"? And are those "'" necessary? As you can tell, I am an absolute beginner on this OS. Thanks in advance! === bad_1 is now known as badbodh [12:35] Hi all, I know there are probably better places to ask this question but im not sure where to turn. Does anyone here have experience with web hosting, setting up domains, stuff like that? [12:36] !ask | neorpheus [12:36] neorpheus: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [12:44] Sorry. I Have some very old knowledge on building webpages. I am looking to set up a simple website hosted on a spare laptop in my home. I know how to set up the webserver, directory structure etc. My problem is that when I redirect my domain to my external ip, going to MyWebsite.com/index.html changes to my.external.ip.address/index.html. clearly [12:44] i am missing something, i have created dns entries as follows "@ ------------> A -----------> My.External.Ip.Address" and "wwww ----------> CNAME ------> MyWebsite.com" any help or direction to resources where i can learn more would be appreciated [12:46] how did you configure the web server? [12:47] the dns records seen fine [12:47] DNS by itself can't cause the URL to change [12:48] so something is redirecting at the HTTP level [12:53] *blush* i get the feeling that im about to feel really dumb. currently i do not have a proper web server set up and am hosting the directory structure for the future website via a program called HFS. link: http://rejetto.com/hfs/ . i know that i need to brush up on apache before i get too deep into this project but i thought i could take the quick [12:53] and dirty route bu using this to make my site available [13:03] Hi folks [13:23] Hi all, I’ve a doubt regarding the Copyright header in the source files. We have the source code for out of tree device drivers under 3 sub directories(“linux”, “windows” and “common” as given in https://pastebin.com/5bmn2Hvg) [13:23] The source files under "linux" directory are with "Copyright (c) 2015 The Linux Foundation. All rights reserved" . The source files under "windows" directory are with proprietary Copyright. The source files under “common” sub directory gets used by Linux kernel module and also windows driver. I’m not aware of these copyright stuff, what [13:23] should be the correct copyright for the files under “common” sub directory? === st4t1c is now known as s747lc [13:59] so, there is 1 website that fails to load and it only fails to load on ubuntu [14:00] it works on the same machine from the windows partition [14:00] but on ubuntu, whether it's from firefox or chrome, it doesn't load [14:00] the problem is it's the 2-factor website for my school's email webapp [14:00] so I need it to work [14:01] any reason that a specific website should fail to load on ubuntu only? [14:01] or ideas for troubleshooting steps [14:01] ? [14:47] bumblefuzzzz, I would suggest testing it with a third system for example a mobile phone. there's a few reasons why a webpage would only work with one system: [14:48] 1. the server checks the User Agnet string for a specific system and gives different content/refuses to work if you don't have the right one. in this case a browser extension that fakes the user agent might help, pretending you are using windows [14:49] Hi, my screen doesn't go blank after the duration I set in power settings. When I hit Super+L I get this in the syslog: Nov 30 09:49:01 weasel gsd-media-keys[2592]: Couldn't lock screen: Cannot invoke method; proxy is for the well-known name org.gnome.ScreenSaver without an owner, and proxy was constructed with the G_DBUS_PROXY_FLAGS_DO_NOT_AUTO_START flag [14:49] 2. the webpage uses extensions such as digital rights management, activeX (allthough that should no longer exist) or similar that are operating system specific. this could include extensions to communicate with hardware tokens or the computers secure enclave (crpyto chip) [14:49] Can you help? [14:50] 20.04 [14:50] MrKeuner: do you have any screensavers installed? [14:50] I'm thinking "the well-known name org.gnome.ScreenSaver without an owner" may indicate you don't [14:51] deltab, looks like gnome-screensaver is installed. [14:51] I even tried uninstalling it and reinstalling [14:52] I heard gnomeshell doesn't have screensavers but still it is capable of locking and blanking the screen [14:52] no idea then, sorry [14:52] deltab, np thanks [14:53] MrKeuner, the error message suggests that it might be installed but not running and the current permissions prevent the windowmanager from auto-starting it. which desktop environment are you using? the default one? [14:54] CorvusCorax, I think it's the default one. Gnomeshell? [14:54] This system has been upgraded several times though. Not a brand new installation of 20.04 [14:55] hmm then it might be missing some packages, or some configuration relics prevent it from working properly. can you make a second brand new user account on the same system and see if it works there? [14:55] Okay [14:56] if not, then the problem is system wide (packets missing or global configuration borked) if it works in a brand new user account, then it could be some old user-specific config in your user home dir that messes things up. that helps you narrow down where to look [14:56] CorvusCorax, got it thanks I'll look [14:57] :) [15:00] Can I somehow prioritize network traffic to one IP above all else? [15:00] considering I only have access to the machine itself and no network equipment === LabMonkey is now known as Mechanismus [15:14] is there a way to prevent gpu crashes from taking down a linux system? [15:23] idmistir: look into qos [15:45] is there a command to switch user session with gdm? with ldm I could use dm-tool [15:59] hello guys [16:00] i'm having caps lock delay issue any idea how to fix it? [16:05] leftyfb thanks, i saw a solution using `tc` - i haven't tried it yet === watkinsr6 is now known as watkinsr [16:26] I try to rsync -avzgopt 'ssh -p 8022' /local/path root@domain:/remote/path but it tries to use port 22 [16:29] nvm [16:45] ddubya: are you looking to solve a specific issue, or would you like to discuss methods? [16:47] lotuspsychje, looking for methods, I currently use chvt was wondering if there was something safer [16:47] ddubya: ok, come discuss in #ubuntu-discuss please [17:01] yello ;) [17:02] welcome Junior [17:02] i have upgrade from 16.04 to 20.10 and i am having troubles with setting up the "hotkeys" for volume up/down [17:04] inside seettings _> shortcuts -> global shortcuts if i set the play/pause to a button it works, if i do the same for volumne up/down the buttons do not work altough i am able to assing them. This happens both on spotify and ff [17:07] forgot - kubuntu :) [17:58] Package 'linux-modules-extra-5.4.0-56-generic' has no installation candidate [17:58] i'm getting this error when trying to complete an update [17:58] is this a known issue? [17:59] did you run 'sudo apt update'? and what is the exact command that gives out this error? [18:00] did apt update, and apt upgrade. if i do "apt list --upgradable" i get 3 packages.. linux-generic, linux-headers-generic, and linux-image-generic [18:01] trying to upgrade them tho gives me: Package linux-modules-extra-5.4.0-56-generic is not available, but is referred to by another package. [18:01] imbezol: did 'apt update' give out any errors or warnings? [18:01] no [18:03] https://paste.ubuntu.com/p/wmGMyQc6Fx/ [18:04] if i try to specifically upgrade that modules-extra package i get the error "E: Package 'linux-modules-extra-5.4.0-56-generic' has no installation candidate" [18:08] imbezol: linux-modules-extra-5.4.0-56-generic is part of the proposed repo. You need that enabled [18:08] oh, wait, this is focal [18:10] imbezol: yup, confirmed. linux-modules-extra-5.4.0-56-generic is part of proposed on focal === ijohnson is now known as ijohnson|lunch [18:15] leftyfb: why is it trying to pull it in then? [18:16] i'm not trying to run any proposed packages.. i'm just trying to upgrade what it says is in need [18:16] imbezol: can you pastebin /etc/apt/sources.list? [18:17] imbezol: I'm not sure. the kernel package is in updates and proposed but the modules-extra package is only in proposed [18:18] https://paste.ubuntu.com/p/59xwRFMwzq/ [18:20] only things in sources.list.d are google earth, signal, and chrome [18:20] and ms teams [18:20] i don't see anything that could cause this issue [18:22] yeah, I imagined these would be in sources.list.d/, and they would not affect you. [18:23] imbezol: the only thing that comes up for ne is something is broken on your mirror. I just apt install --reinstall linux-modules-extra-5.4.0-54-generic on a server, and it downloaded the package OK (and I do not have -proposed) [18:24] oh [18:24] you are using 5.4.-56, sorry [18:25] actually using 5.4.0.53, but it's showing 56 is available for upgrade [18:25] tho it doesn't work [18:25] but officially -56 is not released yet [18:25] !info linux-generic focal [18:25] linux-generic (source: linux-meta): Complete Generic Linux kernel and headers. In component main, is optional. Version 5.4.0.54.57 (focal), package size 1 kB, installed size 18 kB [18:26] ioria: then my system shouldn't be trying to upgrade to it [18:26] imbezol, i guess the issue it's not on your side [18:27] i wouldn't even care because i'm sure it'll get sorted, but i'm actually trying to upgrade from 20.04 to 20.10 and it's telling me it won't proceed until i apply all available updates :P [18:27] Checking for a new Ubuntu release [18:27] Please install all available updates for your release before upgrading. [18:27] PITA :P [18:27] if anyone knows of a way to tell it to ignore updates, that would work too :P [18:29] imbezol, if that it's a spare pc (and i think it is) i would just wait or change sources.list directly [18:29] it's my main workstation... [18:30] guess i can try again this evening and see if it's been sorted [18:30] seems like they released part of .56 but forgot this one part [18:32] wow, just ran another update and it said 4 packages instead of 3 now... and the upgrade ran successfully [18:32] problem solved [18:39] do-release-upgrade running now. thx for the help all [18:40] lucky you [18:40] you having issues with yours? [18:41] no i don't imbezol, just happy for you here [18:42] gotcha. :D thx === ijohnson|lunch is now known as ijohnson [18:45] hi, anyone use an rpi4 and have issues with opening certain things? trying to open "thunar" and I have to wait 20+ seconds. I'm using USB-BOOT. [18:46] pcmanfm opens instantly, but thunar and pavucontrol take over 20 seconds. could be others, not checked. [18:46] it also boots fine... [18:57] imbezol: makes sense. Today was the expected date for the release of the updated kernels for all Ubuntu versions (but I thought we were going to a -55. I guess there was a security update added in) [19:17] btw has ubuntu mate it's own channel? [19:19] DocMors, yeah there is #ubuntu-mate [19:19] thanks [19:19] DocMors, do a /msg alis list mate [19:19] Anytime I enter 'sudo su' (and other various commands) I get "sudo: unable to resolve host administrator: Name or service not known" 'Administrator' is my hostname. [19:19] If i change my hostname I get the same problem. Tried rebooting to see if it altered anything but this seems to be a persistent issue [19:20] !hostname | random1 [19:20] random1: Use hostname to set the hostname, or to do it permanently: edit /etc/hosts to include BOTH the old and new hostname and then change /etc/hostname to the new one. WARNING! Make sure that your current hostname and /etc/hosts match, otherwise sudo may not work properly. [19:20] Eric^: administrator [19:21] ok let me see [19:22] Eric^: 127.0.0.1 administrator [19:22] 127.0.1.1 computer [19:22] Do I change 'Computer' ? [19:24] Eric^: I see what you mean. I fixed it. Im curious with hosts and hostname not matching what potential issues could it cause? [19:25] or may have caused [19:25] Just nothing more then a error popping up? Or would it throw off some settings. Just curious [19:25] sorry no idea *shrug* [19:26] EriC^: alright thank you. [19:32] ok, guys, we need some serious help. We're running some robots wirelessly. They were originally running xenial but we moved to bionic. Now when robots roam between AP's using PSK_FT(802.11r) , we get "wlp2s0: DHCP lease lost" from systemd-networkd and they go through the process of renewing DHCP. This shouldn't be needed and is causing delays/drops in traffic and big problems. I've been at this for months. We've looked into different kernels, wifi [19:32] chipsets, drivers, firmware. We can't seem to find where this is coming from or what is causing it. Here's some more info on the issue https://askubuntu.com/questions/1281380/networkd-and-wpa-supplicant-with-roaming [19:39] leftyfb: i seem to recall experiencing something similar. i believe the problem was a poor DHCP implementation in systemd. in my case the solution was to stop using systemd and use netplan instead [19:41] imbezol: uh, you mean use ifupdown instead? I don't think you can use netplan without systemd-networkd [19:41] nope nope [19:41] sec.. lemme see what i did here [19:41] leftyfb it's probably because wpa_supplicant is dropping carrier during the AP handover [19:41] i remember that cloud-init is normally used to configure netplan, but adds complexity to it, so i removed cloud-init too and use netplan directly [19:42] you could try marking the interface as critical to avoid de-configuring it on carrier loss [19:42] ddstreet: where is that done? [19:43] nm, found it [19:44] in my case i was actually getting dhcp renewals even without losing connection. problem was that systemd didn't properly ask for a renewal, and instead would release and request a new ip [19:45] you can tell if that's the problem because when the renewal comes up, you'll see it never asks for a renewal, and instead makes a new request [19:47] https://github.com/systemd/systemd/issues/15421 [19:47] was broke at 242, and fixed in 245 [19:48] leftyfb if you're using bionic, CriticalConnection isn't availalbe there yet (pad.lv/1815101 might add it) but you might be able to use IgnoreCarrierLoss=true, though not sure how the dhcp4 client will react to the carrier loss [19:50] imbezol it looks like it got fixed somehow, but not clear what exactly the fix was? [19:51] yeah i'm not sure on the details of the fix but at 245 a renew didn't cause a complete interface down and up and dhcp request [19:52] if leftyfb is using < 245 then perhaps this could be relevant. if not i'd disregard [19:53] bionic is systemd 237 [19:55] leftyfb: you can tell if this is the issue by checking if you're losing the lease at an exact interval... in my case it was every 2 hours [19:55] if it's only when you roam from AP to AP then it's likely a different issue [19:56] grep DHCP /var/log/syslog [19:56] imbezol: sounds like 2 different issues [19:56] yeah [20:00] i have two weird ones in "software & updates" under focal. It lists both my drivers for wifi and gpu wrong. It says i have a manual driver used for wifi(which i do not), and it says i have the nouveau driver in use(which i also do not, i have the nvidia in use). [20:05] i want to connect my bluetooth earphone 4.1 to ubuntu 20.04. Bluetooth in ubuntu sees the G3 says not setup but it wont pair. how do i findout if 4.1 bluetooth is an issue with ubuntu? [20:22] hi guys. ubuntu is so depressing, how it works. if you do not ask for installation of grub, installation crashes. [20:22] wifi on kde does not work out of the box either. there is no ifconfig to fix anything. [20:22] ifconfig was replaced, IIRC [20:23] maybe you should try the Debian net install image [20:23] dmesg and fdisk, need a bypass with sudo/su. [20:24] i installed ubuntu on sda5, and installation crashed. I just asked minimal and using JFS on sda5. nothing complex. === Mollerz5 is now known as Mollerz [20:24] ctrl-alt-t opens a terminal window, could you tell me where to find these key kombinations? [20:24] even combinations [20:25] sSo, fixing, the efi does not allow (dvd) to run debootstrap file:://cdrom to fix anything. Seriously. [20:25] no debootstrap on dvd either. [20:26] ah ah, even better, the ubuntu installation replaced my grub2 of netbsd with its own without asking me anything. [20:27] there is no xterm, replaced by heavy console on PC. [20:28] et voila nothing works, it ends to : you are in emergency mode. [20:29] after loging in type journalctl -xb to view systems logs [20:29] to removeb... bla bla contrd D to continue. man, seriously. [20:30] It is very 20, and still ubuntu does not follow installation on a Ext. part sda5 partition. [20:30] It is very depressing. [20:32] cc not found by default. this would help to fix sthg. [20:32] how do i check how much swap space i have? [20:32] sounds like you're new to ubuntu and perhaps not installing properly and not used to where things are at [20:33] pi0: swapon -s [20:33] ah ah;) i just installed on partition sda5, like it should, and cleanly. I have 25 years xp on unix. [20:34] sure, but ifconfig hasn't been common in a long while [20:34] and wifi works out of the box on everything i've tried it on [20:34] etc [20:35] ok, so all is fine actually. [20:35] fstab is having uuid, /proc/cmdline is clean [20:35] grub is clean. but it fails. all sounds quite nicely done wiht uuid. [20:36] let me try grub by hand to see. [20:36] it comes after passing the stage of loading the kernel. [20:37] Well, it seems an easy fix to handle. Developers might look at instllation on a given partition (extended, eg. sda5). It fails to loads sddm there. [20:38] it's been a while, but I'm pretty sure the installer has a 'partition manually' option still [20:38] Debian's certainly has [20:38] partition manually is not working. Have a look to fix this please. [20:38] unixbsd: you may also wish to sudo apt install build-essential [20:39] unixbsd: Ubuntu doesn't have that many developers [20:39] does windows 10 installer destroy everything in the partition table like windows 7 installer did? [20:40] well, at least the installer should work in manually. I boot it manually from grub2 to see. [20:40] ok. I see the problem [20:40] do I need to physically unhook all the other disks to preserve my linux? [20:40] the grub2 fails. [20:40] If I boot it up by hand, it boots. [20:40] doug16k: in my experience, that's a good idea anyway [20:40] that was any easy fix. [20:40] your installer does not work well with /boot/grub config. it has a bug there. [20:41] /etc/fstab is fine, but the issue is when grub2 (grub mk config) goes it. [20:41] yeah I should do the completely safe thing even if it isn't strictly necessary. thanks [20:41] space /swapfile file 20971480-2/swapfile [20:42] that is not enough space right [20:42] for swap [20:42] my comp seems to lag here and there [20:42] from time to time [20:42] especially when using obs [20:42] pi0: depends what's your doing with it and how much ram you have. i think the general rule use to be to make as much swap as you have ram [20:42] you don't technically need any swap at all. [20:43] this is an older 2015 macbook pro [20:43] 16gb ram [20:43] ssd [20:43] I have 0 swap, 64GB RAM though. works fine. never OOM [20:43] pi0: one or two gigs of swap is great, regardless of how much ram you've got [20:43] nice! [20:43] pi0: if you're limited on harddrive space then i'd say to 8 gigs. if you have lots, then maybe do 16 gigs [20:43] oh 64gb [20:44] how do i go about creating swap space [20:44] Is there something like readyboost for Linux? [20:44] after an install [20:44] pi0: you have none? [20:45] I say don't go above two gigs of swap space; it's nice for the kernel to be able to make better use of your ram if it can stash rarely used memory somewhere; but if you're 8 or 16 gigs deep into swap, you're having a bad time, and it'd probably be better to just kill something. [20:45] boredguy: tmpfs? [20:45] boredguy: or maybe 'swapboost' [20:45] space /swapfile file 20971480-2/swapfile [20:46] this is my result [20:46] not sure how to read it [20:46] how much is that value there [20:46] is there a reason the default sources.list has separate entries for components from the same release archive? Will that do anything in terms of resolving a package with apt or is it just for ease or removing the line? Is a URI + release combination ever needed more than once? [20:46] well, it depends on how you might want to suspend to swap [20:46] technically you might need as much space as your RAM capacity to suspend to [20:46] i will have to do 16gb [20:46] i want it to be smooth [20:47] pi0: tough to read it without the tabs [20:47] pi0: so you've got a swap file instead of a swap partition, and you just want a bigger one? [20:47] Hi - installed ubuntu 20.04 and xrdp. When I connect the desktop feels odd. No desktop icons and for example settings tab doesnt contains appearance tab where I change theme and things like that. And when I open Home folder, I cant create any files with right click. Only folders. Any thoughts ? Feels odd [20:47] Latoiu: xrdp is a pretty odd choice [20:47] Latoiu: vnc? [20:48] pi0: https://wiki.archlinux.org/index.php/swap#Swap_file [20:48] matsaman: I doubt swap and readyboost tech work the same way. [20:48] matsaman: well i would like to increase the size to the same size as my ram [20:48] I am not very good at this ... I tried couple vnc videos without any luck. Have something easy for me ? [20:48] boredguy: I mean it depends on what you're trying to get out of readyboost [20:48] that i can try after installing xrdp ? [20:48] only because running obs seems to make my comp laggy [20:48] what is the command to get comp specs [20:49] pi0, are things being out-of-memory killed? [20:49] Latoiu: I thought it was all config'd out of the box with plain Ubuntu [20:49] pi0: free -m [20:49] would cpu play a role in it as well? [20:49] for obs recording [20:49] more than a little swap reduces speed and reduces occurrence of out-of-memory [20:49] I thought so too ... I activated the settings but for some reason I cant get it to start with ultra vnc from my windows machine [20:50] pi0: obs? [20:50] matsaman: better r/w speeds to a HDD [20:50] I have an RPI4 with samsung EVO SD card. not even close to a cheap HD [20:51] boredguy: by using additional storage to perform additional i/o, right? [20:51] boredguy: that's kinda what swap is, anyway that's what swapboost is meant to be, regardless of the name [20:51] boredguy: but tmpfs will do the same thing, in a different way [20:51] looks like you're just using a file so you just make a new empty file of the desired size and then mkswap on it [20:52] dd status=progress if=/dev/zero of=/newswap bs=1024 count=$((1024*1024*8)) [20:52] ??? [20:52] mkswap /newswap [20:52] for pi0 [20:52] truncate --size=4G /swapfile [20:53] much faster, thx [20:53] that command will increase to 16gb? [20:53] i think i'd want to swapoff first, do the truncate, mkswap, then swapon [20:54] I activated screen sharing and then put a password and activated Wired connection 1 [20:54] might need to adjust fstab with new UUID too [20:54] matsaman: osb = Open Broadcaster Software [20:54] *obs [20:54] when I put the IP in tightvnc, it just doesnt connect [20:54] is there a reason that virt-install is only version 2.2.1 in ubuntu an not 3.2.0 like fedora? [20:54] I mean its missing lots of features... [20:55] non of the cloud install options are in the 2x version. [20:55] pi0, any size [20:55] tangarora: that's the way ubuntu work, like debian, older but more stable packages. Fedora ships newer packages [20:55] within filesystem limits of course [20:56] matsaman: tried swapboost, didn't notice any gains. I'll give tmpfs a try. [20:57] pi0, oh, if you want 16G say =16G there. it's in bytes [20:58] nice thank you!!! [20:58] this is awesome :D [21:00] on desktop A: x11vnc ; On desktop PC B: xtightvncviewer 192.168.x.x and you get the vnc, easy way. === Mollerz4 is now known as Mollerz [21:29] Can anyone recommend a mini PC that can support ubuntu? [21:30] NUCs seem popular [21:31] these guys are doing reviews of a bunch of these little tiny systems, but I don't know if they bothered looking at how they handle desktop use https://www.servethehome.com/introducing-project-tinyminimicro-home-lab-revolution/ [21:38] bray90820: https://wiki.debian.org/FreedomBox/Hardware#Supported_Hardware [21:40] Mathisen: It actually has to be X86 because I am gonna run discord === oshirix is now known as rnm === rnm is now known as mambang [21:50] you can't just rebuild it? [21:50] don't have the technology [21:52] bray90820: things you can use other than discord [21:52] mumble? [21:59] hi [22:00] how do I start a terminal at startup and execute a command (for example a command which starts a server)? [22:00] matsaman: I am gonna use discord to recotd other people so I can't really use another app [22:00] IniGit: but the Ubuntu install is a desktop install? [22:00] bray90820: sure you can [22:01] IniGit: the proper method would be to create a systemd service unit file to start your service on boot [22:01] matsaman: yes [22:01] matsaman: Not when others are broadcasting on discord [22:02] leftyfb: Why on boot and not after the automatic login? Is everything that I need already loaded at boot? [22:02] Automatic login, because I run this server in a VM [22:03] IniGit: https://linuxconfig.org/how-to-create-systemd-service-unit-in-linux [22:03] bray90820: even then [22:04] IniGit: you can probably use ~/.config/autostart/ [22:04] IniGit: if it were a non-desktop install, you'd definitely want to go leftyfb's route [22:04] IniGit, it isn't a server if someone has to sit in front of the machine and poke at it to start it [22:04] matsaman: why? [22:04] IniGit: because ~/.config/autostart/ wouldn't be available on a server, for starters [22:05] you mean how do I launch desktop programs automatically when I log on, not how do I start a server [22:05] IniGit: just create the service file. It's the proper way to do it. You will need to create a .desktop file in autostart for the alternative anyway. Just create the proper file to begin with [22:05] doug16k: unfortunately I cannot start it remotely, because the mainboard does not support that [22:05] IniGit: mainboard? [22:05] or bios [22:06] matsaman: ok I understand [22:06] doug16k: The command launches a verdaccio server [22:06] to be clear I am agreeing with starting it with script and not agreeing with launching on a desktop [22:07] if it's something you want only after you're using your desktop, ~/.config/autostart/ is actually more appropriate [22:07] just depends when you want it and why [22:07] if you want to start a terminal that is invisible, and connect to it from a desktop, then you want screen [22:08] as in the program "screen" [22:08] that's definitely a nice easy way to do it [22:08] doug16k: I don't understand that [22:08] IniGit: there's an app 'screen' [22:08] it's super handy, and not just for this application [22:08] IniGit: would you like this service to restart on it's own if it dies? [22:08] also with screen you can ssh in and connect to it from there too, no desktop needed [22:09] leftyfb: yes that would be nice. It never happened so far, but it would not hurt to have that feature [22:10] IniGit: guess which method of starting the service will give you that feature? [22:10] leftyfb: systemd? [22:11] yes [22:14] Does this also open a terminal such that I can read the logs? I do not want to flip everything around, because I have no time for it and the machine can only be acceses inhouse. I want to keep the Ubuntu Desktop and connect via vpn and remote desktop to it. [22:15] doug16k do you know if it's possible to control a screen session within a screen session? if yes how? [22:15] IniGit: you can look a the logs like: journalctl -xefu verdaccio.service [22:15] matsaman: tmux > screen [22:15] gordonjcp: I've read that, but [22:15] gordonjcp oO, you can't even compare them [22:15] IniGit: you can run this over ssh, no need to "remote desktop" to it [22:15] I use about 0.1% of screen's total features [22:16] so that's not really an argument to get me to switch [22:16] matsaman: same tbh [22:16] matsaman: and actually 99% of the time I use screen as a serial terminal [22:16] plus I think tmux's default bindings are on purpose different so as to not conflict with screen? [22:16] matsaman: and indeed a serial terminal *multiplexer* so I can talk to a bunch of machines [22:16] I also do actually prefer screen's licensing [22:16] matsaman: I work for the emergency services, 9600-8N1 is more than a way of life :-D [22:17] oh man [22:17] I was super stoked at working at a 911 dispatch place once [22:17] even in the interview process they were thinking about letting me play with the software solutions they had [22:17] which blew [22:17] but then they told me (after the entire process) that all vacation is based on seniority [22:19] https://www.gnu.org/licenses/license-list.en.html#ISC [22:25] matsaman: I do stuff for the Fire Brigade, the 999 control rooms are separate and patch you through to the appropriate emergency service [22:25] matsaman: I think it's pretty strange trying to handle all possible emergencies in one control room [22:25] !discuss [22:25] Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [22:25] well these people were using some awful proprietary Windows software, the poor devils === nckx is now known as ncksneekx === ncksneekx is now known as nckx [22:26] when I place something in ~/.config/autostart/ will it be then executed in Ubuntu 20.04 after the login or do I have to add the script within gnome-session-properties too? [22:27] IniGit: it can be, if you get the file format right, executed once you log in [22:27] matsaman: file format? [22:27] the GNOME part of your Ubuntu probably has a session manager that can help you with that, if you don't want to edit the file by hand [22:28] yes it's a simple text format [22:28] ok [22:29] IniGit: it needs to be a .desktop file format [22:29] IniGit: you're going to spend time creating a file with more required fields than the proper systemd file format [22:29] leftyfb: I want to try both [22:30] no it's a very simple format, and GNOME can make it for you [22:30] I thought this is more easy [22:30] matsaman: you mean gnome-session-properties edits this file? [22:31] or what you mean with session manager? [22:31] IniGit: former I think is right: https://help.ubuntu.com/stable/ubuntu-help/startup-applications.html.en [22:32] IniGit: https://askubuntu.com/questions/436891/create-a-desktop-file-that-opens-and-execute-a-command-in-a-terminal [22:34] thx [22:34] IniGit: although, looking at the server you're talking about [22:35] IniGit: if it's a server that provides something you'll only use from a terminal ('npm'?), you could probably do this from ~/.bash_profile or ~/.bashrc, too [22:35] not that ~/.config/autostart/ isn't fine [22:37] I mean you could even turn your 'npm' into a wrapper that automatically starts it if it hasn't been