=== guiverc2 is now known as guiverc [00:53] hi, whats the xft alternative to xfontsel? [00:53] you can use very ordinary looking text with xft compared to xfontsel [00:54] so maybe just 'fc-list' will suffice [00:56] I want to preview the fonts I have installed. [00:57] seems like people end up writing their own xfontsel for xft when I googled. I found that very strange. [00:58] can't you just use xfontsel? [00:58] and then skip the monstrous text string part of it? [01:00] I was thinking xfontsel was only for old fonts. isn't it? [01:01] take a look and see [01:01] thats what I read when I googled on it. [01:02] http://gtk2fontsel.sourceforge.net/ [01:02] I'd probably use imagemagick to crap out a bunch of images [01:06] Any chance gtk2fontsel will end up in ubuntu repository? or an alternative to it? [01:10] https://snapcraft.io/gnome-font-viewer [01:12] oerheks1: This happens when I try to start it: gnome-font-viewer: Fatal IO error 11 (Resource temporarily unavailable) on X server :0. [01:15] I'll try rebooting to see if that helps [01:16] or there is already a font application in ubuntu 20.04 [01:16] type 'font' in search === raccoon_dog is now known as Guest40896 === raccoon_dog_ is now known as raccoon_dog === GhostOfSamurai1 is now known as GhostOfSamurai [01:33] oerheks1 do you use PHP on Ubuntu ? [01:36] Anyone manage to get KVM wireless bridge networking working in Ubuntu 20.04? [01:46] !msg ubottu !efi [01:46] Bashing-om: I am only a bot, please don't think I'm intelligent :) [01:47] lol === zbenjamin_ is now known as zbenjamin === MIF0 is now known as MIF === xclaesse9 is now known as xclaesse === krodelabestiole6 is now known as krodelabestiole === lucenera3 is now known as lucenera === ktosiek1 is now known as ktosiek === antoine3 is now known as antoine === JeremyD is now known as SleePy === mozzarel1 is now known as mozzarella === SynfulAck_ is now known as SynfulAck === geri71 is now known as mike18 === de-facto_ is now known as de-facto [03:03] anyone able to assist with nuking/resetting IP settings? [03:03] Pastebin of ifconfig: https://pastebin.com/Dxu14Upm [03:04] I've tried a few different steps to reset but after reboot, the settings are still the same. [03:04] did you make a backup? [03:05] No, the settings I changed were all done through GUI. This is on Ubuntu 20.04.1 LTS. [03:05] can you pastebin your config? [03:06] sure what command? Sorry, I haven't been on Ubuntu since 16.04 === oerheks1 is now known as oerheks [03:07] I should have prefaced this actually with the fact that I'm RDP in and not sure if that's the limiting factor in saving the network settings. [03:07] cat /etc/netplan/* [03:08] or if you are using the GUI [03:09] protip: if you don't apt autoremove at least once every 3 years, your very expensive HP server will break every day when the automatic apt runs [03:09] lol [03:10] i think i had 50 kernels in /boot [03:10] 3 years .. would reach mars [03:10] lol [03:10] https://pastebin.com/RpQg4Tms [03:10] starting at like 4.4.0-124 [03:10] what I thought illmortal [03:10] Yeah ubuntu has this weird apt loop it does when you have multiple kernel versions [03:11] lol [03:11] i honestly thought a CPU was dying based on the syslogs on all the guests [03:11] lol [03:13] one time ubuntu-server was in the auto remove [03:13] for me [03:14] * MIF runs a server not a gui [03:22] * Tails runs a server too === westor{off} is now known as westor === ktosiek1 is now known as ktosiek === xclaesse2 is now known as xclaesse [03:23] cool [03:23] what do you use it for? Tails? [03:24] just for irc atm [03:24] mine runs Wok [03:25] ubuntu 16.04.7, EOL in 2 months, woooo [03:25] I also run a IRC server, and my search engine [03:25] cool [03:25] MIF which ircd? all the ones i looked at many years ago took too many config files [03:25] Yep [03:25] unrealircd [03:25] !discuss [03: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! [03:25] oh sorry [03:26] genewitch do you want to hop over there [03:26] So I upgraded from 18.04 to 20.04 and now PHP is broken. I've uninstalled and reinstalled it several times, and I'm kinda stuck. I'm also recovering from COVID so I'm hoping someone can take pity on me and give me a pointer. Yes, that's a blatant plea for pity, I'm not above that. [03:27] jx I had the same issue [03:27] https://askubuntu.com/questions/1186877/apache-php-no-longer-working-after-upgrading-to-19-10-from-19-04/1223210#1223210 [03:28] let me read that [03:28] yeah, I've done that, which is why I'm so confused. Apache SAYS php is enabled. [03:28] but when I hit domain.com/x/php with just has the phpinfo() command, it's sent as a download rather than processed as a php file [03:29] Ok [03:29] MIF: i joined discuss [03:29] ok [03:29] let me help jx [03:29] run [03:29] php -v [03:29] PHP 7.4.3 (cli) (built: Oct 6 2020 15:47:56) ( NTS ) (and two more lines) [03:30] ok [03:30] Also, thank you in advance. :) [03:30] NP [03:31] ok [03:31] do [03:31] I'm fairly sure I'm missing some entry in some config, I'm just not sure where. [03:31] ls /etc/apache2/mods-enabled [03:32] are you using something like webmin/cpanel ect? [03:32] https://pastebin.com/Dpr6WNYB [03:33] This is my own server, I do have webmin/virtualmin installed. all o0f which was working greate before I thought, "Oh, hey, let's upgrade to 20.04lts!" [03:34] it works on 20.04 [03:35] and I would create it with virtualmin because it dose something weird [03:35] to the php config [03:35] * MIF uses nginx now but used apache2 for years before [03:35] I created a new domain, same behavior. [03:35] ok [03:35] I do have to go to bed, but I can get on tommarow [03:35] night [03:35] ok [03:35] thanks [03:37] jx: hi. are there any error messages in apache httpd's logs - any of them? [03:37] I don't think so, let me look again [03:37] no errors, just a couple notices [03:38] [Mon Jan 18 02:35:38.468130 2021] [mpm_prefork:notice] [pid 1412] AH00163: Apache/2.4.41 (Ubuntu) OpenSSL/1.1.1f configured -- resuming normal operations [03:38] [Mon Jan 18 02:35:38.468148 2021] [core:notice] [pid 1412] AH00094: Command line: '/usr/sbin/apache2' [03:39] MIF eeeuwww vitualmin! [03:40] And when I run sudo a2enmod php7.4 I get "mpm_prefork already enabled" and "php7.4 already eneabled" [03:40] jx: what does sudo apache2ctl -M report? [03:40] so I think apache isn't seeing how to handle .php files in a config somewhere [03:41] https://pastebin.com/VGiLkX8c [03:42] so php7_module is getting loaded indeed. is this the module that's being referred to in php7.4.load ? [03:42] i.e. is the name identical? [03:42] let's look [03:43] # Conflicts: php5 [03:43] # Depends: mpm_prefork [03:43] LoadModule php7_module /usr/lib/apache2/modules/libphp7.4.so [03:43] and that module does exist, just looked. [03:43] good [03:44] are there any non-symlinks in /etc/apache/mods-enabled and /etc/apache/sites-enabled = [03:44] ? [03:44] nope [03:47] try disabling mpm_prefork, then reanabling it, using a2dismod + a2enmod [03:47] then the same for the php module [03:47] here's one of the site definitions: https://pastebin.com/KL3VRbsy [03:48] jx you are better of with piping to FPM [03:49] lutin mm? [03:49] jx trust me... it's seperate then and you can test more easily [03:49] read about php-fpm [03:49] I'm ok with that [03:49] * Lutin is off [03:49] AddHandler fcgid-script .php [03:49] AddHandler fcgid-script .php7.2 [03:50] makes me think that you're not not actually trying to use the php module [03:50] jx I'm a big Apache fan but Nginx it also nice piping to FPM [03:50] probably, sounds like wha tI'm seeing [03:50] ok later! [03:50] * jx waves [03:51] hmm, 7.2? [03:51] that's... od [03:51] odd [03:52] so use one of mod_php, f(ast)cgid + fpm, but not both for the same php version [03:53] agreed, that's odd. I could have sworn I'd edited this fiel half a dozen times... [03:54] so I admit I have a cursory level knowledge of apache. Where are you seeing both in that config? [03:55] well you have mod_php enabled, you did this previously using a2enmod [03:56] and presumely site-wide (though i may have run to conclusions there?) [03:56] oh... I see. In trying to fix one thing I screwed up by not realizing I was already using fastcgi [03:56] so I' haven't actually been fixing the problem [03:56] and in the configuration file you posted you have refernces to how php should be run through fcgid [03:56] ok, so that makes sense why that part doesn't work. [03:58] so I need to do something like this? https://smddzcy.com/posts/2017-09-16/migrating-from-mod-php-to-php-fpm [03:59] i'm not saying you must migrate, just that you'll need to decide for one of the two. [03:59] ideally whatever virtualmin recommends [04:00] well, IIRC it was FPM, I just haven't touched this in months and forgot. thanks for the reminder. [04:00] you're welcome [04:00] so since I had that, and that's what broke, it's probably better to remove momphp and stat again the right damn way. [04:00] I'm telling you, the COVID brainfog thing is real [04:01] i read about it. get well soon. [04:01] thanks for the smack upside the head, tomreyn [04:01] :) [04:01] Hello, can anyone help me with resetting my NetworkManager's settings to default? Ethernet adapter has a configuration that is uneditable / unable to save. Here's an example when trying: https://pastebin.com/jc9MTWGf [04:01] I'm on the upswing, I'm out of bed for more than 3 hours at a time now! [04:03] good to hear that [04:03] illmortal: you can use nmcli or nmtui to configure NM, too [04:05] Let me try. So far through GUI and through gnome-control-center display command, both have failed to save. [04:05] illmortal: is this a standard ubuntu installation? [04:05] Yep. Fresh install of 20.04.1 LTS [04:06] amd64? desktop? in a vm? [04:07] desktop [04:07] that's one of three questions answered. ;-) [04:08] pretty much trying to setup a simple seedbox and file/media server. [04:08] It's 64bit yes, installed onto a mini desktop PC and I'm RPD into it from a Windows 10 laptop. [04:10] okay. i can't find anyone reporting this error under 20.04, just under 18.04, and only few reports. and those reports are all about ubuntu derivatives. [04:11] dude [04:11] ++tomreyn [04:11] Yeah, I've spent about 2 almost 3 days trying to find something to help me reset the network settings, either just for the ethernet adapter or both wifi and ethernet. [04:14] https://ask.fedoraproject.org/t/networkmanager-insufficient-privileges-from-remote-login/7643 looks like it can be related to your situation (this is about fedora, though) [04:14] is it stored in netplan? [04:14] also here https://unix.stackexchange.com/questions/564044/nmcli-insufficient-privileges-during-initial-vm-setup [04:15] /etc/netplan/*.yaml. [04:17] Not sure if stored.. But it may be true that using RDP to make these changes is causing the problem. [04:18] Not sure how else to get around it besides going to the machine and adding kb/mouse/monitor to set it up.. which I'd like to avoid. [04:18] did you try nmcli / nmtui then? [04:19] when I use nmcli, I receive an output. Pastebin it? [04:20] if it helps, sure [04:20] https://paste.ubuntu.com is preferred here over pastebin.com [04:20] ah ok cool [04:21] keep in mind though that remotely configuring this network interface isn'T a good idea if that's the one you're connecting through [04:22] https://paste.ubuntu.com/p/qjqjQYYMpS [04:22] i.e. better set up some kind of out of band access [04:22] " The Paste you are looking for does not currently exist. " [04:22] you may have mistyped this url [04:23] blah.. I can't even copy/paste between windows 10 and ubuntu through rdp lol [04:23] I did. [04:27] https://paste.ubuntu.com/p/qJqjQYYMpS/ [04:28] IP address for eno1 is supposed to be 192.168.1.XXX [04:31] if you intend to use this as a server rather than a desktop then indeed you should be using systemd-networkd and maybe netplan rather than network-manager. [04:31] and you should not try to apply changes to the network configuration through the very link you're configuring [04:31] Right now I'm going through nmtui [04:32] yeah I'm RDP into the WiFi card and trying to change the LAN card info. [04:32] WiFi card is setup correctly. While LAN isn't. [04:34] so i guess you could try to delete the existing LAN connection profile and create a new one [04:35] but as soon as this connection activates, there is a chance that the primary gateway points there, and your rdp connection will stall/fail [04:35] That's fine.. I can try it. [04:36] i.e. you wouldn't be able to reconnect then [04:36] I went the nmtui route, it looks like the configuration is saved but ifconfig still shows the same output - incorrect IP address. [04:36] Yeah, I'll pull the machine if I have to. [04:36] I have a feeling nuking it and starting from scratch is the only option at this point. [04:37] "incorrect ip address" as in you have one statically configured? [04:37] The LAN card should be on 192.168.1.xxx instead it's on 10.0.0.xxx [04:37] I don't know how it received that IP address.. but the WiFi card received the correct address. [04:38] https://paste.ubuntu.com/p/qJqjQYYMpS/ says that the ethernet interface, eno1, has two ipv4 addresses configured, 10.0.0.249/24 and 192.168.1.106/24 [04:39] i need to catch some sleep - good luck! [04:39] Yeah, at first I tried to find a way to eliminate just 10.0.0.249/24, but no dice. Now I'm at the point of saying screw it, lets nuke the entire settings for the eno1 card. [04:40] okay thank you [04:46] tomreyn slee is for sissies... 5:46 am here ;) [04:46] sleep is pretty important xD [04:48] Anyone know how to nuke/reset ethernet adapter's IP settings? Unlable to make changes and save them. Possibly due to RDP session into my Ubuntu box. [04:57] Hey [04:58] / [04:59] I'm attempting to log into an ubuntu server on aws, using rdp, but when I log in using microsoft remote desktop it just... stops. And when I look at the /var/log/xrdp-sesman.log, it shows that I am indeed logging in but then it's closed and exited almost straight away. [04:59] How do I troubleshoot this? [05:06] do I need to sanitize ubuntu server from cloud syncing, amazon-requests and other crap? [05:11] CMCI storm detected: switching to poll mode <--- this shows up sometimes in syslog, is it a cuase for concern? === daysun_ is now known as daysun [05:44] apt says sshfs is no longer required. I want to auto-remove the other packages. How do I mark sshfs as required? [05:45] i still want it to be updated [05:53] what's the current kernel on your ubuntu machine? [06:05] daysun: 5.4.0-60-generic x86_64 [06:05] thank you makara1. [06:05] debian is currently on 4.19. [06:05] as a developer, it's just not right. [06:05] need new sandboxing features etc. [06:06] Arch is at 5.10. [06:13] Does anyone have a good tutorial for setting up VNC and SSH on a fresh install of Ubuntu 20.04.1 LTS GNOME [06:18] illmortal: any dists wiki on SSH will do, it's basically the same. See if ubuntu got one, go with archs wiki otherwise (it's almost always good, short, correct and on point) [06:19] Or is it the specific combo of ssh and VNC that you want? I think VNC comes with its own encryption. [06:19] Hmm, I suppose if xrdp refuses to work, I could try vnc. [06:21] arch as in arch linux? [06:21] yes, their wiki is great. [06:21] I don't understand what you want to do here though. [06:22] I've tried with TigerVNC but unfortunately it's been the typical issue a lot of people are getting when they VNC in.. which is a black screen. [06:22] if you've got an ssh server on linux, you can just ssh into it with X11 enabled [06:22] I want to be able to remote into my headless ubuntu box without logging out of it. [06:22] I see. [06:23] illmortal: Generally I use tmux for that as far as the command line is concerned. But the graphical session is nice. [06:23] illmortal: https://www.howtogeek.com/429190/how-to-set-up-remote-desktop-on-ubuntu/ [06:23] illmortal: That is, ssh in, and then `tmux` or `tmux attach` (to re-attach) [06:23] illmortal: if you just want a terminal, you could use 'screen' [06:24] which can keep a session alive as you disconnect/reconnect. [06:24] but there you go. Seems like there's a "remote desktop" thing in ubuntu that you just can enable. [06:25] I'm currently able to RDP but it forces me to log out. If I don't log out, I get a black screen. If I log out, I interupt its services (media/fileserver) [06:25] let me check out that link. [06:26] illmortal: if the target is headless then what kind of GUI applications are you wanting to share remotely? [06:27] illmortal: Lucky - I can't RDP at all. :( [06:27] It logs in, but immediately closes. [06:28] illmortal: 'headless' means no video or input devices; it sounds like you don't mean that but simply 'monitor disconnected/switched off' [06:28] specifically Plex and a torrent client [06:28] correct, it's a mini pc without a monitor and kb/mouse [06:31] illmortal: so not quite headless then (headless means no actual video output device, not just disconnected). In terms of those applications, I would have expected them to have a client-server architecture so you could run a 'remote control' on another device. For torrents, I've used transmission in that configuration for about 15 years [06:33] *sigh*, and Now I can't install anything because 'unattended-upgrades' has stolen the dpkg lock. [06:33] illmortal: and, as I read it, Plex uses a web interface so should be simple to access remotely with appropriate configuration/firewall settings [06:34] true [06:34] I guess just having the luxury or convenience to remote into a desktop and browse when necessary. [06:34] arahael: have you checked the logs for the RDP server for clues as to why it closes ? [06:35] TJ-: Yes, but there are no clues. It starts Xorg, and then immediately waits for it to close, which it does as: [06:36] [20210118-06:30:35] [CORE ] window manager (pid 5049) did exit, cleaning up session [06:36] illmortal: yeah... I'm just trying to find you some easier alternatives. One of the problems with remote desktops is the way the applications render their windows. Nvidia and/or prime can often be problems (proprietary drivers mainly) [06:36] arahael: you've got an SSH session to the target? [06:36] TJ-: I do indeed. [06:37] arahael: check for an obvious cause; files not owned by the user. "find $HOME -not -user $USER -ls" [06:37] thankfully none of these display drivers are nvidia based haha [06:37] arahael: actually, use 'sudo' for that command in case some are root-owned [06:37] illmortal: phew! [06:37] TJ-: No results, even with sudo. [06:37] arahael: thats good :) [06:38] TJ-: Not really. ;) Would be an easier fix. [06:38] arahael: now check the user's session logs with "journalctl user@$(id -u).service -b 0" [06:39] arahael: jump to the end and work backwards (press G (not 'g;)) [06:41] TJ-: I don't actually fully know that comand, why journalctl? In any case, Failed to add match 'user@1000.service': Invalid argument [06:41] doh! my typo! [06:41] arahael: missed the --unit/-u option: "journalctl -u user@$(id -u).service -b 0" [06:42] daysun - that howtogeek link.. unfortunately the command is irrelevant: gsettings set org.gnome.Vino require-encryption false [06:42] arahael: journalctl is the log inspector. systemd-journald keeps comprehensive system and user session logs [06:42] Ah, that gives more detail. Neat. *sigh*, systemd isn't using the system log. :( [06:42] I guess this makes some sense given that this is user-specific. [06:43] no such schema org.gnome.Vino [06:43] arahael: indeed - there are system services and user services. Anything related to log-ins is user session [06:44] THis looks intriguing - there's a bunch of errors relating to some sort of keyring and crap, but this is interesting: [06:44] Jan 18 06:43:44 ip-172-31-93-15 gnome-session[16230]: gnome-session-binary[16230]: CRITICAL: We failed, but the fail whale is dead. Sorry.... [06:45] TJ-: It's *very* interesting because it shouldn't be using gnome-session at all, I installed: xubuntu-desktop [06:46] arahael: I use Xubuntu but never install Gnome so not entirely clear how it'll interact to start that [06:46] TJ-: Yeah, that's the thing - I wouldnt' expect it to start that at all. [06:47] How does DESKTOP_SESSION get set at all? [06:47] arahael: I came in after you described the main problem so not clear on your scenario. Is the implication that you have a system that you usually log-in to with the xubuntu-session ? [06:48] TJ-: It's a brand new AWS instance I launched using ubuntu server. I wanted to run an RDP session on it. Then delete it at teh end. [06:49] arahael: hmmm, that sounds kind of unusual, since that'd be truly headless [06:49] TJ-: It is a headless server, yes. Which is why I want to use rdp :) [06:49] arahael: so the 'server' is actually doing GUI log-ins ? [06:50] TJ-: Someone needs to use a web browser in it to log in to some service and then download some ~100 GB, so we want this to be done in a place where it's pretty easy to download some crazy big files. [06:50] TJ-: It will run Chrome, yes. Because that user knows Chrome. [06:51] arahael: is it using xRDP ? [06:51] Yes, the xrdp bit as best as I can tell works fine. I'm now installing ubuntu-desktop, just to try it. [06:51] arahael: first thing I'd do is consult open (and closed) related issues in the XRDP issue tracker. Thsis one for example: https://github.com/neutrinolabs/xrdp/issues/1412 [06:52] arahael: oftentime you learn useful debug/config options and clues even if issues don't directly address your problem [06:52] TJ-: Indeed. Curious how it's *assumed* you have a .xsession in the user home. [06:53] TJ-: Installing ubuntu-desktop "fixed" the issue, so there's clearly some sort of broken setup where xrdp's configuration or something must be asusming that. [06:56] The default ubuntu desktop is *very* confusing! [06:57] why wouldn't you want autoremove on by default? (configuring unattended updates) [06:57] to roll back? [06:58] daysun: If it were a long-standing server, it might be appropriate. [06:59] arahael: my arch stacked up gigabytes of old packages and I kept wondering how such a light weight dist could take up 200GB. I never used any of those cache files ever. [07:00] daysun: Keeping a "cache" of old packages is common. [07:00] * arahael is an old-school Debian user, but hasn't kept up. [07:01] arahael: hmmm, that does seen strange because if xrdp needs something else it should declare a Depends on the package [07:01] I rather have an unattended-updating server reboot at night.. is that a bad decision security-wise? (I understand the hypocrisy) [07:02] daysun: who's 'night' though? [07:02] arahael: I think it's pointless unless your goal is to keep them backed up for safe keeping for the community [07:02] TJ-: night time [07:03] daysun: It makes it easier to troubleshoot package problem, eg, you could dpkg -i an old package manually. [07:03] makes sense for devs [07:03] daysun: There's a few good reasons for keepign them, especially when you don't have 100% reliable and super-fast internet. [07:04] daysun: Having such a fast, always-on internet connection changes things. It's not just for devs, it's also for highly controlled systems - it's easier to keep track of specific .deb's to install, etc, sometimes. Eg, "On servers X, Y, and Z, we must install this specific .deb to resolve ticket XYZ". Again, old-school. [07:04] daysun: Also, when's night, indeed? [07:05] daysun: This unattended upgrade happened very recently, and it's defniitely not night time. :D [07:06] daysun: Also, unattended upgrades breaks when you have a good blue-green deployment system going. [07:07] arahael: There's a config option Unattended-Upgrade::Automatic-Reboot-Time "02:00" [07:07] daysun: Hmm, is that GMT? [07:07] reboots are only required for kernels or systemd, and not for kernels if using livepatch/kpatch services [07:07] arahael: I think that notation is supported by all time zones [07:07] arahael: local time [07:08] it'll be interpreted as local time [07:08] Hmm, I guess local time is probably US-east. [07:09] the dilemma is whether to delay the reboot until night time, or reboot when the update is done. If there's a vulnerability, then you're keeping an attack window open. [07:10] but an attack is less likely to happen if you got your networking right etc and only employees have access to the server. [07:11] arahael: blue-green deployment is above my pay grade :P [07:11] TJ-: How do I change the DE to xfce? [07:12] daysun: With blue-green deployment, you do the update, then switch. The downtime is minimal, or completely eliminated, if done right. [07:14] Yeah, I mean, they don't pay me for that. [07:14] daysun: Fair. :) [07:14] Invalid data - SHA1 hash mismatch for file... even after a reboot a manual backup fails... what to do to solve this? [07:15] arahael: you'd have to change the default session, which I would assume is a system-wide greeter option [07:16] dust: error: insufficent information :) what file, what commands [07:16] TJ-: Yeah, it seems xrdp almost bypasses the greeter. Seems I'm using gdm3, but looking how to configure gdm3 to start xfce4-session. [07:17] arahael: xubuntu would use ligthdm so I wonder if xrdp is tied to gdm [07:17] arahael: any directory /etc/gdm{,3}/ with settings in? [07:17] TJ-, the standard backup program from ubuntu desktop... set at daily updates... today it failed even after a reboot [07:18] TJ-: It's not xubuntu, I just installed the 'xubuntu-desktop in ubuntu server. [07:19] TJ-: And yes, /etc/gdm3 is there. [07:19] SO is /etc/lightdm [07:21] Hmm, just got xfce going - I ran sudo dpkg-reconfigure lightdm [07:22] Ok, a far better DM - actually usable. I suppose the default DM is probably nice for a local system, but headless, with high latency, it's just awful. [07:24] arahael: I haven't touched Gnome in over 10 years due to the way it headed [07:25] TJ-: Yeah. Honestly, I haven't done xorg either for almost a decade! [07:25] I don't like this trend of "hide it all". Makes for poor discoverability. [07:25] TJ-, seems it dosnt like all states of firefox... after a restart of firefox the backup worked again [07:25] But before I had to setup my home office for working from home, I did run E17 on nixos. [07:31] Incidentially, xfce4 looks pretty decent. [07:32] Yes xfce4 looks great [08:03] https://uploads.kiwiirc.com/files/6d34452330c5125c91ea013d23163322/20210118_131933.jpg hrm. puzzling. === retentiveboy_ is now known as retentiveboy [08:10] a CD? :O [08:54] https://packages.ubuntu.com/groovy/nodejs I installed the latest ubuntu server, but why do I have node 10? [08:54] I have a fully updated system. [08:57] !info nodejs groovy [08:57] nodejs (source: nodejs): evented I/O for V8 javascript - runtime executable. In component universe, is extra. Version 12.18.2~dfsg-1ubuntu2 (groovy), package size 32 kB, installed size 142 kB [08:57] daysun: try 'sudo add-apt-repository universe && sudo apt upate' [08:58] will that also be updated by the unattended updater? [08:58] you need to edit the config for that [08:58] all packages will be updated unless you pin a version [08:59] what ducasse said [08:59] not true, unattended-upgrades only applies from security and updates iirc [09:00] daysun: see /etc/apt/apt.conf.d/50unattended-upgrades [09:00] indeed [09:01] you need to add universe to that list at the beginning [09:02] I already had universe enabled for all sources apparently. Yet node is v10. [09:02] 'apt policy nodejs' [09:04] 500 http:/...ubuntu.com/ubuntu focal/universe amd64 Packages [09:04] 100 /var/lib/dpkg/status [09:05] strange [09:05] that's focal, not groovy, are you on 20.04? [09:05] yes, I suppose [09:05] !info nodejs focal [09:05] nodejs (source: nodejs): evented I/O for V8 javascript - runtime executable. In component universe, is extra. Version 10.19.0~dfsg-3ubuntu1 (focal), package size 59 kB, installed size 154 kB [09:06] !info groovy [09:06] groovy (source: groovy): Agile dynamic language for the Java Virtual Machine. In component universe, is optional. Version 2.4.17-4ubuntu1 (focal), package size 12638 kB, installed size 28594 kB [09:06] then you're getting the right version [09:06] what's groovy? [09:06] groovy is 20.10 [09:07] if you want nodejs 12 you need to upgrade [09:08] Or use 'n' [09:09] (You can install it using npm) [09:09] I thought I got the latest ubuntu version? :P is Groovy some kind of test thing.. or something? [09:09] all I find is that it's a release, I get that. [09:10] focal is the latest lts, groovy is a regular release [09:10] just went to the website and downloaded the latest server version. [09:10] !lts [09:10] LTS means Long Term Support. LTS versions are supported for 5 years on the desktop and server. The latest LTS version of Ubuntu is !Focal (Focal Fossa 20.04). Ubuntu !flavors may have different support durations, check their release notes for information. [09:10] thank you for all the support [09:10] yw [09:12] Hi all. I'm trying to upgrade my desktop from 18.04 to 20.04. When I try the updater from either the commandline or Software Updater, I get this error: https://pastebin.ubuntu.com/p/95nggpB4WM/ [09:12] This is the contents of apt.log https://pastebin.ubuntu.com/p/qw72sbrt8y/ [09:12] And this is contents of main.log: https://pastebin.ubuntu.com/p/4nsnGpsn3f/ [09:13] I'm not really sure what I'm looking for [09:13] that error tells you what to do, use ppa-purge to remove packages from ppa's [09:15] how do I figure out which packages should I remove? [09:16] what happens after the 9 months that groovy is supported? [09:17] bobdobbs: look under /etc/apt/sources.list.d [09:17] daysun: it goes eol [09:17] !eol [09:17] End-Of-Life is when security updates and support for an Ubuntu release stop. Make sure to update Ubuntu before it goes EOL so you get updates promptly for newly-discovered security vulnerabilities. See https://help.ubuntu.com/community/EOL and https://wiki.ubuntu.com/Releases for more info. Looking to upgrade from an EOL release? See https://help.ubuntu.com/community/EOLUpgrades [09:18] thanks [09:21] daysun: you could check if there is a ppa or third-party repo so you can run lts [09:22] ducasse: well, there's a ton of files there. I guess they list sources. How do I know which ones to remove? [09:22] bobdobbs: ideally you'd remove them all [09:22] bobdobbs: ideally all the ones ending in .list [09:23] do I just do 'rm *.list' ? [09:23] you, use ppa-purge [09:23] so 'ppa-purge *.list'? [09:24] no [09:24] bobdobbs: no, if you want you can use this, it makes it easier https://github.com/ericj112/ppa-tool [09:24] get the ppa names from the lists [09:30] EriC^^: something odd happens when I run ppa-tool. I run it as root. As soon as the command returns, I stop being root [09:31] just test -- no hel need thx [09:32] Huh. None of the .list files seem to be being used anyway. Every line in every one of them is commented out. [09:34] the packages might still be present [09:35] will ubuntu just update to a new nodejs version when 10 is unsupported? nodejs stops supporting it in 3 months [09:35] no [09:35] packages do not receive major updates during the life of a release [09:35] I installed mint on a macbook, for the webcam I built and installed the bcwc_pcie reverse engineered driver. I blacklisted bdc_pci. I can load the module (named facetimehd) fine, but I don't have a /dev/video0. The module wiki says to load v4l2-common, but no such module exists. I installed and ran v2l-conf to maybe see what's going on, but it also errors out because /dev/video0 does not exist. There's no word of v4l on dmesg. [09:36] ducasse: that's likely yes. I'm not sure why the lines are commented. But I haven't done mass installing of packages or anything. [09:36] !mint | aplainzetakind [09:36] aplainzetakind: The Ubuntu channels can only provide support for Ubuntu and its official flavors, since other distributions and derivatives have repository and software changes. So please use their dedicated support venues, for example: Linux Mint (#linuxmint-help on irc.spotchat.org), Kali Linux (#kali-linux), and LXLE (#lxle) [09:38] so what should my next step be? [09:39] you can use synaptic to list the origin of packages, might be easier [09:49] bobdobbs: you have to enable all the ppas in order to purge them [09:50] uncomment them, then purge [09:50] bobdobbs: uncomment the ppas, then run sudo apt update, then run the ppa-tool to purge === Kel_ is now known as Kel [09:51] EriC^^: it's coming up to 11pm here. I'm gonna take a break and maybe try again tomorrow :) [09:51] thanks for the help [09:52] bobdobbs: alright, no problem [09:52] hi, is there a way to have a personal (per-user) hosts file? [09:53] I am using wsl and somehow all my personal edits to /etc/hosts got wiped, I suspect it is linked to host system's hosts file (c:/windows/system32/etc/drivers/hosts or something) and that is probably a file being watched by some watchdogs that prune all the edits [09:57] ducasse: how's it LTS then? [09:58] ducasse: if it's providing packages that lacks LTS that wont' get any security updates upstream [10:09] daysun: core packages will be updated with security updates. === Lynx_54 is now known as Lynx_ [10:10] in most cases the framework makers probably recommends installing the framework directly from their distribution and not from the distro's package management system [10:12] yep [10:12] harder to automate though. unattended updates does a lot for you. [10:14] I want to reinstall Ubuntu, but keep the users data in /home. /home is on a separate HD. I have saved the users' uids and will recreate them using that and the existing home dir. Anything else I need to do before I reinstall? [10:30] Lynx_: nope. Unless there's nothing you need on the other disk to mount it, such as encryption keys. [10:30] Keep in mind that symlinks may be messed up if you got any on your /home. [10:36] I was able to install in wine sketchup, but have no ideea how to start it [10:47] Hi, could be slightly off-topic: what is a (casual-user) good IRC client. I am on HexChat but I have complaints: it disconnects and rarely reconnects. Doesn't always auto-join the channels back on start on reconnect, etc. [10:49] Hi there! I'm having a bit of a problem with my Vulkan in Ubuntu 20.10 ... Maybe someone could help me out? [10:51] I've been thinking though.... instead of unattended updates, what about just running an updating "cron job"? Is that such a bad idea? [10:51] ishaqm: I use mozilla thunderbird, it has mail and chat [10:52] So, my problem in Vulkan is that all the sudden this happened to my 3D games running on Steam: https://images2.imgbox.com/4d/64/mnrZjnhX_o.png [10:52] this happened yesterday and well, basically I'm unable to play any 3D games (that game is The Long Dark and it has a native Linux launcher.) [10:53] My GPU is NVidia Quadro P4000 and I'm using the cutting edge MESA/Vulkan PPA's. Nvidia driver version 460.x [10:53] :( [10:54] So, Vulkan, out of the sudden, decided to take a dump on my game library and i.e. in that game it started to do those red overlays (that's _supposed_ to be a burnt-down forest btw) [10:55] I've tried switching inside steam from Linux Native Runtime to different versions of Proton, they all have the same red overlay, so I'm not sure if this is a glitch that affects things all the way to NVidia driver and/or Vulkan/MESA level ... [10:55] The only thing I've installed after yesterday was VICE v3.5 (compiled from source) and WINE 6.0 (compiled from source as well) [10:55] neither gave any errors or warnings. [10:56] been trying to revert back and forth with drivers, etc. etc. [10:56] removing apt packages, reinstalling them ... [10:56] If someone can tell me by looking at the picture, what is the common term for this kind of graphics bug, I'd be happy to start googling. https://images2.imgbox.com/4d/64/mnrZjnhX_o.png [10:57] It's like an texture overlay bug or whatever [10:58] ace_me, thanks === BrianG61UK__ is now known as brianG61UK_ === calcmandan_ is now known as calcmandan [11:23] I am in a strange situation now where I have a ppa "installed" for a package that I suppose is installed already. [11:23] just out of curiosity now.. the old package form the debian repo is installed. The ppa got a newer version. [11:23] Will there ever be conflicts here? [11:31] daysun: we dont support external ppa's here, its adviced to !ppapurge your system back to the original ubuntu !sources [11:32] daysun: and yes, external ppa's often conflict and result into dependency issues [11:35] well shoot. how else are you supposed to get a non-outdated version of node on ubuntu [11:36] I don't mind the older version if it actually works with ES6 libraries (which I doubt). But nodejs officially drops v10 in 3 months. [11:37] daysun: could try higher ubuntu version or !backports or snaps [11:40] how's snap any better? [11:40] daysun: snaps often provide higher/latest versions where apt remain with the versions meant for the specific ubuntu release [11:41] there is a snap that's maintained by the nodejs foundation.. so I guess it's a pretty safe source. and ubuntu seems to come with snap by default, so I suppose it's safe too, in this case. [11:42] !ppapurge [11:42] To disable a PPA from your sources and revert your packages back to default Ubuntu packages, install ppa-purge and use the command: « sudo ppa-purge ppa:/ » – For more information, see http://www.webupd8.org/2009/12/remove-ppa-repositories-via-command.html [11:43] daysun: i didnt say safe, a bit the same as external ppa's you also need to trust the snap maintainer [11:43] daysun: Thanks! === mouses is now known as mooses [11:48] lotuspsychje: seems like the ppa is for focal specifically, so I'm assuming it's safe [11:49] heh.. not safe. I mean.. intended to be compatible. [11:50] daysun: we cant advice on external ppa's, best to contact the maintainer itself [12:07] A PPA got the following: Origin: Node Source; Codename: focal; Components: main; so I added this to Unattended-Upgrade::Allowed-Origins: "Node Source:focal". That appears to be wrong [12:08] changing focal to main doesn't solve it. unattended-upgrade --dry-run doesn't find anything, but should. Any ideas? [12:21] ok, it fails sanity check. [12:21] Hi! I can't find a specific 5GHz network, but I can find other 5GHz networks. Tried with both network-manager and airomon-ng. Any suggestions about the culprit would be greatly appriciated. Ubuntu 20.10. Currently connected to a 2,4GHz network without problems. Driver wl: /lib/modules/5.8.0-38-generic/updates/dkms/wl.ko [12:21] Hey guys, can you help me with something? I attached SSD via external case in ubuntu(focal, pi4), but I can't find it in /media or /mount [12:21] Here's the sys log file [12:21] kre10: can you find it in lsblk? [12:22] kre10: is it via usb? [12:22] via usb, yes [12:22] Jan 18 14:16:58 docker multipath: sda: can't store path info [12:22] Jan 18 14:16:58 docker multipathd[1532]: uevent trigger error [12:22] promille: try iwd, and be close to the AP because 5GHz signals are easily blocked. [12:22] https://pastebin.com/NK3GMKEb [12:24] it's weird - I can find it in LibreELEC [12:24] Thanks daysun, trying now. Should be sufficient coverage (10 meters) with two "light walls". Works fine with cellphone and Win10 with full download speed === cheater1 is now known as cheater [12:25] May I know how to check my NIC support Gbits ? Advertised link modes: 1000baseT/Full but speed is 100Mb/s ? ethtool eth0 https://paste.ubuntu.com/p/k8wmSzDCd7/ [12:27] daysun any idea? [12:28] sda 8:0 0 223.6G 0 disk [12:28] └─sda1 8:1 0 223.6G 0 part [12:28] is there - when I type lsblk [12:29] Got nodejs v10 installed on ubuntu. Added the "official" ppa to nodejs unattended-update. Tried a unattended-update --dry-run --debug but nodejs 15 fails some kind of sanity check. Any idea what that's about? [12:29] kre10: can you mount it? [12:29] manually [12:29] no, i don't know how :( [12:30] kre10: try mount /dev/sda1 /mnt/ as root [12:30] thanks [12:30] and then see if you can cd into /mnt/ [12:30] got it [12:30] so it's available to you? [12:30] eworks? [12:30] works*? [12:31] dev/sda1 223G 61M 223G 1% /mnt [12:31] kre10, ubuntu server doesn't auto-mount USB attached storage (the desktop does, but not server) [12:31] there we go. hehe. [12:31] ooh, so sorry, I didn't know that [12:31] So, I have to mount it manually everytime after reboot, perhaps? [12:32] no, you can set it up in fstab [12:32] kre10, https://www.freedesktop.org/software/systemd/man/systemd.mount.html [12:32] sda1 is unusual for a usb device though [12:32] not on a pi :) [12:32] daysun have you tried installing node using nvm? [12:33] on a pi (assuming SD card boot), the OS device will be /dev/mmcblk0 so USB attached storage will frequently be /dev/sda (this is also the reason that I will inevitably nuke my storage eventually - I spend a lot of the day casually dd'ing /dev/sda :) [12:35] So, I have to unmount the device first, right? [12:35] umount: /mnt: target is busy. [12:35] you shouldnt use device names in fstab though ... (it could become sdb, sdc or whatever) so better use the filesystem UUID in a systemd mount unit ot fstab entry ... that makes sure the right disk gets mounted [12:35] I can't though [12:35] s/ot/or [12:35] I think I can't handle it myself [12:37] kre10, do you have a console that's still "in" a directory under /mnt ? If so, you need to "leave" that dir before un-mounting the thing containing it [12:37] ls: reading directory '/mnt/': Input/output error [12:38] I have disconnected the storage [12:38] did you unplug it without unmounting it first ? [12:38] Yes [12:38] well, that'll happen :) [12:38] ah, thats not so good ... [12:38] :( [12:39] So, should I plug it in again? [12:39] (if it writes while you unplug it you lose data) [12:39] if writes where? [12:39] to the USB disk [12:39] I have just mounted the device [12:39] it -> your OS [12:40] So, should I put it back? [12:40] right, then it should be fine (it will still leave the info that the filesystem was not unmounted properly on the disk though) [12:40] Jan 18 14:37:52 docker kernel: [4051452.080098] EXT4-fs warning (device sda1): htree_dirblock_to_tree:997: inode #2: lblock 0: comm ls: error -5 reading dir [12:40] Now, I'm getting this errors [12:41] that was your ls attempt from above [12:41] Oh, right [12:41] So, I will put it back [12:41] the OS thught it was still attached and barked at you 😉 [12:42] Should I attach it to the same USB port? [12:43] why do you want to attch it again ? [12:44] (there is no need to unless you want to actually use it) [12:44] https://pastebin.com/nzYsZhd9 [12:44] is it bad? [12:44] I want to use it for nextcloud, so I want to use it all the time [12:45] right, so make an fstab entry or create a systemd mount unit [12:45] I will try with systemd mount [12:45] can you please tell me if the log file is too bad? [12:47] well, is that while it is plugged in ? [12:47] Yes [12:47] but it's unmounted [12:48] mount: /mnt: special device /dev/sda1 does not exist. [12:48] and if you mount it again ? [12:48] this is weird [12:48] no, I can't [12:48] check the end of "dmesg" probably it showed up under a new name [12:50] When booting from the USB hd to install, I can choose to boot legacy or UEFI from my BIOS. Does this make a difference for installation? UEFI does not seem to work, Ubuntu does not boot. [12:50] tail -f /var/log/dmesg | grep USB [12:50] right? [12:50] nah ... [12:50] i'D do: dmesg | tail -50 [12:50] to see the last 50 lines [12:51] Oh, okay [12:51] /var/log/dmesg is not a live log [12:51] (it is a copy of the dmesg output right after boot and will not updated after booting) [12:51] *not be [12:51] I understand, thank you [12:51] Uploaded file: https://uploads.kiwiirc.com/files/2adbbdecdd8b7ce71cdeaf9a407fc593/pasted.txt [12:51] https://pastebin.com/gqQzGPKa [12:52] here's the log file of dmesg | tail -50 [12:52] right, it is nos sdb1 [12:52] *now [12:53] as i said above, it isnt safe to rely on device names ... [12:53] Yes, but how to remove these errors from before - [12:53] Uploaded file: https://uploads.kiwiirc.com/files/b188d1193701f7f8b04e81c10feb3175/pasted.txt [12:54] sudo umount -l /dev/sda1 [12:55] to tell your kernel that sda1 is gone [12:55] umount: /dev/sda1: no mount point specified. [12:55] did you use the -l switch like i did above ? [12:55] I tried with sudo umount -l /dev/sda1 /mnt [12:55] Yes [12:55] hm, that should have worked [12:56] worst case just rebot to get back to a clean state [12:56] *reboot [12:57] I just rebooted [12:58] so now ... plug in the disk and do: sudo blkid -o export /dev/sda1 [12:58] (you want the UUID= line) [12:58] then add a line like: [12:59] UUID="b56fdac9-4c6a-4306-b5d5-1d635c0905b6" /mnt ext4 defaults 0 0 [12:59] to the /etc/fstab file [12:59] (indeed replacing the UUID with yours from the blkid command) [12:59] then reboot and you should find the disk auto-mounted in /mnt [12:59] (assuming it's ext4 - better check what it's formatted as :) [13:01] So, sudo blkid -o export /dev/sda1 UUID="1001" /media/SSD ext4 defaults 0 0 [13:01] the log errors indicated it is ext4 [13:01] waveform I have formated like ext4 [13:01] UUID=1001 ????? [13:01] 1001 - my username [13:02] thats a weird UUID [13:02] $ sudo blkid -o export /dev/nvme0n1p3 | grep ^UUID [13:02] UUID=5cb98ba3-8583-42fb-90c0-e7d251ab7815 [13:02] this is what an ext4 UUID should look like [13:03] So, I have to sudo blkid -o export /dev/sda1 | grep UUID , to see the ext4 UUID? [13:03] yep [13:03] ten you take the UUID and create a line in /etc/fstab [13:04] I think it's not /dev/sda1 anymore ;( [13:04] check dmesg [13:04] OK [13:05] (or simply do "ls /dev/sd*" ) [13:05] Actually, it is [13:05] (on a pi there should be no other sdX devices anyway beyond the USB ones, like waveform said above ... only mmcblk ... ) [13:05] .Actually, it is [13:06] yes, mmcblk for the sd cards, right? [13:06] right [13:06] So, sudo blkid -o export /dev/sda1 | grep UUID [13:06] yeah [13:06] UUID=f117b1a8-c188-4319-8761-61407a3c37e1 [13:06] PARTUUID=4e7d59ec-01 [13:06] perfect [13:07] sudo blkid -o export /dev/sda1 UUID="f117b1a8-c188-4319-8761-61407a3c37e1" /media/SSD ext4 defaults 0 0 [13:07] Is it fine? [13:07] UUID="=f117b1a8-c188-4319-8761-61407a3c37e1" /mnt ext4 defaults 0 0 [13:07] add this line to the end of the /etc/fstab file ... exactly like i wrote it [13:08] ОК [13:08] save and reboot and your USB disk should be mounted on boot under /mnt [13:08] there are some lines [13:08] LABEL=writable / ext4 defaults 0 0 [13:08] LABEL=system-boot /boot/firmware vfat defaults 0 1 [13:08] just add oe to the end [13:08] OK [13:08] oh [13:08] you are on ubuntu core !! [13:08] Yes [13:08] you should have said that from the start 🙂 [13:09] Sorry [13:09] I said ubuntu(focal) I tought it's enough [13:09] on ubuntu core /etc/fstab is readonly, you can not edit it [13:09] core is different (not using .deb packages and such) [13:10] So, is there anyway to mount this storage automatically? [13:10] Hi everybody... [13:10] yes, but only through a systemd unit [13:10] this is a bit more complex [13:11] I have this to mount network storage deivce: [13:11] core is completely built from snap packages (including kernel and rootfs) [13:12] it is designed for embedded, IoT, appliances and such ... for greater security [13:13] * ogra points to https😕/ubuntu.com/core [13:13] Uploaded file: https://uploads.kiwiirc.com/files/ffdfa578360e03f1e72f9cc92a054947/pasted.txt [13:13] |Here's the systemd [13:13] thats a file to mount a remote samba share [13:14] Yes [13:14] is it the same for the external storage? [13:15] kre10, https://paste.ubuntu.com/p/63TVqWkZRS/ [13:16] it *needs* to be named mnt-usbdisk.mount and should live in /etc/systemd/system [13:17] I'm trying now [13:17] after you put it there you needs to run "sudo systemctl enable mnt-usbdisk.mount" [13:17] *need [13:17] then it shoudl be automounted on boot [13:18] Active: active (mounted) since Mon 2021-01-18 15:18:44 EET; 5s ago [13:18] Where: /mnt/ssd [13:18] What: /dev/sda1 [13:19] So, I have to enable it to make it automounted on boot [13:19] yes [13:19] systemctl will put a link for it into /etc/systemd/system/multi-user.target.wants/ [13:20] systemd processes everything in that dir on boot [13:20] I don't know how to thank you, Oliver! You were very patience and kindness. [13:20] no prob 🙂 enjoy ubuntu 😉 [13:21] Created symlink /etc/systemd/system/multi-user.target.wants/mnt-ssd.mount → /etc/systemd/system/mnt-ssd.mount. [13:21] perfect! [13:21] now reboot and lets see [13:22] Now, I have one more problem....I tried to use network storage mounted just like this for nextcloud config and data, but it doesn't allowed because of root [13:22] What is the solution for this? I think we just mounted as root, right? [13:23] yes, you did [13:23] systemd runs as root and mounts as root [13:24] that said ... if you use the nextcloud snap i dont know where it actually expects its config ... that would be a question for forum.snapcraft.io [13:25] (likely somewhere under /var/snap/nextcloud or so) [13:25] nope, I'm using the docker image, with my user [13:25] I will try to point the new storage [13:25] ah, well, not a docker user either (i use lxd for containers) so i cant help with that [13:27] the weird thing is that the other containers don't have this problem [13:40] ogra thank you so much for everything! [13:42] kre10, as i said, no problem 🙂 [13:42] Hi folks [13:42] :) [13:42] How do I check network eth0 speed ? from an old PC Ethernet port. [13:43] May I know how to check my NIC support Gbits ? Advertised link modes: 1000baseT/Full but speed is 100Mb/s ? ethtool eth0 https://paste.ubuntu.com/p/k8wmSzDCd7/ [13:45] ogra: tested zoom-client snap this weekend for a customer, looks great! nice work mate [13:46] thanks ... you are among 165000 other users with it 😉 [13:46] snap users that is? [13:46] yep [13:46] wow [13:46] * ogra loves that snaps can give you exact statistics [13:47] ogra: can you join in #ubuntu-discuss plz [13:53] Hello [13:53] welcome Indrek [13:53] why are locales needed in webserver [13:53] lets say that im running simple wordpress site [13:53] not in english [13:54] do i even need different locales ? [13:54] or is it only used when i log into terminal or use GUI? [14:01] Got nodejs v10 installed on ubuntu. Added the "official" ppa to nodejs unattended-update. Tried a unattended-update --dry-run --debug but nodejs 15 fails some kind of sanity check. Any idea what that's about? [14:05] Check with mii-tool show https://paste.ubuntu.com/p/YjXgftrb43/ 1000baseT capabilities but negotiated 100baseTx-FD ? I just need to confirm whether current direct LAN able to support 500mbps from ISP.Do I need to get a NIC to support Gigabits ? === TJ_Remix is now known as TJ- [14:24] nbusrone: you can set speed to 1000 ... sudo ethtool –s eth0 speed 1000 duplex full autoneg on === Dev0n_ is now known as Dev0n [14:25] I'm surprised that the latest ubuntu server isn't using nftables. iptables feels so outdated [14:25] even for debian-based distros [14:28] I'm surprised its not using eBPF [14:46] some app is consuming too much data from my wifi connection (ubuntu 20.04). I wana know which one. Please guide. System monitor doesnot tell which app is using how much. [14:46] pavlos : to be confirm, motherboard LAN support 1000mbps or 1 gbits ? what are the difference between 1000baseT vs TX ? [14:49] jeremy31, you are awake? [14:50] jeremy31, here is my paste for hwe status http://p.ip.fi/ES0F === mooses is now known as mouses [14:56] nbusrone: any chance the rj45 cable you're using is cat5 and not cat5e ? I had this issue before, system supported 1000 but comm was at 100. [14:57] nbusrone: I usually test with iperf3 ... on server iperf3 -s on client iperf3 -c server ... [15:17] I've bought a device, USB 3.0 hub with an ethernet adapter (RTL8153). The connection over the ethernet device wasn't stable, so I blacklisted it in /etc/default/tlp (according to https://askubuntu.com/questions/1044127/usb-ethernet-adapter-realtek-r8153-keeps-disconnecting ). Sadly this caused system crashes (total lockup, not even sysrq). Can anything be done? [15:18] (OS is ubuntu 20.04.1) [15:19] Hey everyone. My Laptop screen decided not to be detectable after I have disabled it. I can not manage to get it back on using XRANDR which just says "Can't open display" [15:20] Also I had an enteresting error when trying to reset. -> mit-magic-cookie-1 : Can't open display [15:21] In the ~/.config/monitor.xml the eDP-1 was under "" and even if I removed that and replaced it with it was till the same issue [15:53] cart_man: does "xrandr -q" show the output and its EDID modes/rates info? [15:54] cart_man: also, are you using an SSH session, local console text TTY, or a GUI terminal shell [16:01] it the program bash completion that allows you to partally type a command and then press the up or down arrow to search through the history? === goddard_ is now known as goddard [16:07] i installed xorg on ubuntu server and now i got like a DE installed, how do i purge it? [16:08] Xvfb broke because of it :/ === knackebrot is now known as dubcheck [16:37] pavlos : sorry for late reply , not too sure , i am checking the cable but how to find out the difference cat5 and 5e ? google shows it's the same color twists. [16:41] I am trying to get a udev rule to work with a oneshot service when usb mounted. I see nothing in syslog show it runs. It will run manually starting the service. here is the rule, any ideas? [16:41] ACTION=="add", KERNEL=="sd?", SUBSYSTEM=="block", ENV{ID_BUS}=="usb", TAG+="systemd", ENV{SYSTEMD_WANTS}+="autorunUSB.service" === cheater1 is now known as cheater [16:45] phc === megoix0 is now known as megoix [16:49] Hello everyone , How can I access my one ubuntu system from another ubuntu system at same network [16:49] I want complete access I mean GUI [16:50] Is there any ubuntu app available like Remmina [16:50] anyone please [16:50] !patience | Mr_Singh [16:51] Mr_Singh: 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/ [16:51] if you run default Ubuntu Remmina should be installed by default iirc [16:54] Mr_Singh: in Settings / sharing / screen sharing , should work, it's just off by default. [16:56] remmina is available on ubuntu too, try Boxes too, it should come with ubuntu. [16:59] legreffier : Thank you , I have Remmina on my one pc , Should I install it to my second pc for access , Right [17:02] no. [17:06] Ok , So at one pc I need to setup screen sharing in setting and then from another ubuntu pc I can access first pc with Remmina client [17:06] right ? === jelly-home is now known as jelly [17:52] hello [17:55] trying to mailx to foo@example.com from the very server at example.com, fails with "No Such User Here". How do i get it to try mailing it out to the public internet, because the MX record does point to other servers where the recipient does exist === ijohnson is now known as ijohnsonlunch === ijohnsonlunch is now known as ijohnson|lunch [18:07] hi, i am running xubuntu and everytime i login i get an error message telling me that a problem in a software component occured and if i want to report it. i press always "report problem" but not sure if something is done or not [18:07] also i dont know what exactly happened - is there some GUI where i can see whats going on? [18:08] the onlyè way to get rid of the message is to disable apport [18:09] nbusrone: cat5 supports 100, cat5e supports 1000 [18:11] tete_: i think there will be an file in /var/crash/ which is associated with your problem. deleting the file will probably solve the issue. [18:22] ok there were 4 files and i deleted them [18:22] lets see what happens ;) [18:22] thanks [18:27] Can someone explain to me when I attempt to modify the network settings of my 20.04 installation that I get kicked to the login screen and my session is closed with a "permissions denied" for the snap app? [18:34] projectui, are you using the snap version of network-manager ? [18:37] ioria: I was but every time I attempted to edit, it would log me out, then when I used nm-connection-editor the changes would take effect until I rebooted the machine. Even when I made the changes via command line and up/downed all the interfaces and services. [18:37] projectui, i suggest you use the default (.deb) version [18:38] ioria: will it really mess things up if I took that crap snap stuff oof? [18:38] off* [18:39] what app or command line can I run to trim a mp4 file? I want to get rid of 1.5 inches to the right [18:41] ffmpeg? [18:45] is ffmpeg cli? [18:48] yes frad [18:49] hi! im trying to run ubuntu 20.04 inside a docker container in an airgapped network environment. inside the network environment, there is a apt mirror server setup that i use as my only "apt" source. I can successfully run apt-get update to download lists from the mirror, and i can also install basic things like nano using "apt-get install nano". BUT for some packages, I get weird "unmet [18:49] dependencies" errors. For example, when I try to install build-essential, I get the error "build-essential requires dpkg-dev (>1.17.11) and is not going to be installed". However, when I check "apt-cache policy dpkg-dev", it says the candidate is 1.19.7ubuntu3, which is >= 1.17.11, right? There are no "held" packages in my container, its just a fresh one spawned. (apt-mark showhold lists nothing). [18:49] When I run the same thing outside our airgapped network, installing build-essential works fine. I can only assume something is wrong with our mirror, but I could need some advice on how to troubleshoot what is wrong [18:52] EriC^, will ffmpeg create a bigger file, if I crop an original one? [18:54] frad: i think it should be smaller === ijohnson|lunch is now known as ijohnson [18:55] well, yes, that's what logic dictates, but I have converted some m4a to ogg and even if playing time is smaller, the file size is bigger... [19:02] all right!! we're in business!! [19:04] EriC^, is it normal that ffmpeg runs so slow? [19:04] yeah frad , it takes some time [19:05] EriC^, do youperchance know how many pixels equal 1.5 inches? [19:06] frad: 144px (courtesy of https://www.unitconverters.net/typography/inch-to-pixel-x.htm ) [19:06] much obliged [19:13] is there anyway to fix the wireless mouse lagging? [19:14] Battery is fine. It works in windows too [19:28] Is it a bluetoooth mouse ? [19:28] tuxakadjseb, no... wireless [19:29] Okay [19:36] hello, is there any app that may allow me to block specific apps in specific period of time? [19:37] likely an other radio source bugging your mouse, speakers, phone, other wifi device [19:37] wappyn, there used to be netnanny, [19:39] oerheks: ooh, it's not even freeware... [19:40] oerheks, my router wifi is enabled. Can it be an issue too? [19:40] I use Stay Focused at android, it have some limitations but made it's job. On firefox I use LeechBlock, but I want to block some Desktop apps [19:41] from monday to friday from 5:30 PM to 9 PM [19:41] to don't waste whole time after work on wothless and addicting places [19:41] like telegram channels [19:42] * gravitos pops out of nowhere with ubuntu 18.04-powered laptop, two phones, headset and a usb stick [19:42] maybe I would uinstall telegram app, and switch to browser one [19:43] so, back to bluetooth sticks. my laptop does not connect to anything via bluetooth [19:43] it shows device busy error every time i try to [19:43] any ideas? [19:46] uh, this time bluetoothd is dead. how to start it? [19:47] gravitos: 'sudo service bluetooth start' I'd guess [19:48] hm [19:48] bluetoothctl still waits for bluetoothd to respond [19:49] so, `sudo service bluetooth start` did nothing [19:50] service --status-all | grep -i blue [19:51] [ - ] bluetooth [19:52] Look like mouse is lagging as there is WIFI enabled in my router. What is the solution here? [19:52] discovered: is this a bluetooth mouse? [19:53] gravitos, no. === Sven_vB_ is now known as Sven_vB [19:54] The mouse keyboard is connected USB dongle [19:54] hm, i see no reasons for it to lag... other than 'pc is too old' [19:54] gravitos: - is for disabled, yeah? [19:55] idk, but bluemon shows [ + ] [19:56] service bluetooth status shows this https://www.irccloud.com/pastebin/06qAWLwH/Terminal [19:57] so its probably more dead than disabled, I guess [19:57] bt stick is plugged in if that matters [19:58] gravitos, Not sure if Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz should be considered as too old [19:58] too old for what [19:58] i guessed that his mouse lags because of too old pc [19:58] cuz i have a very old phone that lags af when it is connected to wifi [19:59] disabling router wifi seems improve it. [19:59] why ubuntu installer doesn't fully encrypt the disk including the /boot partition? [19:59] for a wireless mouse with a dedicated USB wifi dongle? [19:59] ice9: cause it cant boot if /boot is encrypted [19:59] only great physical interference or dead/dying batteries should matter to that [20:00] matsaman, yes. Mouse and Keyboard using one dedicated USB wifi dongle [20:00] gravitos, negative! grub can unlock encrypted partitions with luks [20:00] but grub is on /boot [20:00] and if there is no grub to unlock /boot, how do grub even start? [20:01] gravitos, if you will boot with EFI then there is EFI loader in the EFI partition which is unencrypted [20:02] but can it unlock partitions? [20:02] yes it can [20:02] anyway, my laptop is too old for all this efi things [20:02] probably that's why [20:03] if a very dumb user will encrypt /boot on such an old laptop, he cant boot, and he will go to forums and write negative reviews [20:05] Hi anyone guide me how I can access my ubuntu desktop from my ubuntu laptop machine [20:05] I have remmina on my desktop computer and on my laptop as well [20:05] Mr_Singh: you want to use your laptop as a remote to desktop? [20:06] like, see desktop screen on laptop and control it from laptop [20:06] yes [20:07] on desktop, `sudo apt install x11vnc` [20:07] I want to control my destop from my laptop [20:09] Mr_Singh: done? [20:09] not yet [20:09] I have remmina on desktop side [20:09] is that help ? [20:10] not really [20:10] install remmina on laptop [20:10] yes I have remmina on laptop as well [20:11] on laptop, check if you installed remmina-plugin-vnc. if not, install it [20:12] remmina have vnc support in drop down I have checked [20:12] it have support ssh, vnc, rdp [20:12] run x11vnc on desktop (you may want to add it into autorun for it to start itself on your user login) [20:13] ok [20:14] did you run it in terminal or from icon? [20:14] which one you suggest [20:14] icon shows additional dialog to select port [20:14] terminal just runs [20:15] done [20:15] what is next [20:16] now use remmina on laptop to connect to your desktop [20:16] ok [20:16] check your desktop ip address: ifconfig [20:16] address what we are looking for is starting with 192.168 [20:16] it is asking me server , repeater, user name , user password [20:17] get your desktop's ip address [20:19] Mr_Singh: done? [20:20] Actually I was setting the password [20:20] terminal: `ifconfig | grep 192.168` and look for that address what is after inet [20:21] like, it gives you this: [20:21] `inet 192.168.1.105 netmask 255.255.255.0 broadcast 192.168.1.255` [20:21] so address we need is 192.168.1.105 [20:21] in my case [20:21] yep [20:21] gotcha [20:21] so I need to put that address in remmina [20:22] now input this address in remmina, and after it add `:5900` (with no quotes) [20:22] like, 192.168.1.105:5900 [20:22] why 5900 [20:22] any specific reason === sauvin_ is now known as Sauvin [20:23] because it is bound to x desktop :0, which is your desktop screen [20:23] if you for some bizarre reasons got two or more x desktops on one user, ports will change [20:23] but you probably didn't, so it defaults to 5900 [20:24] ok [20:24] thanks I am able to access my desktop [20:25] it's little slow and I am not able to access menu bar [20:26] not sure why you cant access menu bar, works perfect for me [20:26] slowness is how vnc works [20:26] hmm [20:26] I have opened 3 tabs of terminal at my desktop but I am able to access only one at laptop side [20:27] * gravitos shrugs [20:28] Mr_Singh: if you're using the Terminal application remotely, why not just SSH in? [20:28] maybe resting mouse at anything before clicking it will help [20:28] TJ : I need to access other apps as well [20:29] like, if you want to click a button, first hover over it with mouse cursor for half a second, or more, depending on how slow your vnc works [20:29] gravitos : I will fix it [20:29] Mr_Singh: ok... do you know you can use those remotely too via 'ssh -X' so they appear on your local system but run on the remote? [20:30] * gravitos didnt know that [20:30] actually, with x11vnc you can control your desktop even with android phone which has any vnc client installed [20:31] Actually I think there is resolution issue [20:31] My desktop resolution is large as compare to laptop , [20:31] Do you know how I can fix it [20:31] that is where all the slowness coming from btw [20:32] open display settings on desktop and lower the resolution [20:32] hmm [20:32] Thank you [20:35] gravitos : I have stopped the x11vnc [20:35] and? [20:35] and I am still able to access my desktop [20:35] how ? [20:35] good question [20:36] because it didn't stop, or it auto-restarts, or there was another VNC instance already operating [20:36] let me find out [20:36] actually, I have no answers for it [20:36] I will back after few mins [21:01] gravitos : because I have enabled screen sharing before running x11vnc , when I stopped it then my vnc connection was closed [21:12] gravitos: Thanks for following up. I figured it out, My sound card changed when I plugged in my usb sound card. All is good now. === satanist_ is now known as satanist [21:42] anyone have good understanding of udev. I can't get my rule to work. [21:43] https://dontasktoask.com/ [21:43] GrandPa-G: is it on strike? [21:44] TJ-, is that a joke? [21:44] GrandPa-G: as MIF pointed out, don't ask to ask, just tell us the exact problem/ show the problem [21:45] TJ-, I got that, know that, and asked earlier and got nowhere. [21:46] GrandPa-G: experts aren't always around due to timezones etc. [21:46] Lot's of variations of this rule ACTION=="add", KERNEL=="sd?", SUBSYSTEM=="usb", ENV{ID_BUS}=="usb", TAG+="systemd", ENV{SYSTEMD_WANTS}+="autorunUSB.service" [21:47] I want to know when usb flashdrive was inserted. [21:47] service is a oneshot [21:48] GrandPa-G: where's the specific problem? the rule not triggering or the systemd service not being triggered? [21:49] All I can tell is that the service output is not found in syslog and nothing in syslog indicates the service was run [21:49] the service has very simple ExecStart=/usr/bin/echo 'device has been attached' [21:55] maybe something like: ACTION=="add", DRIVERS=="usb-storage", DRIVER=="sd", RUN+="/usr/bin/echo 'device has been attached'" [21:55] https://askubuntu.com/questions/625243/how-to-execute-c-program-whenever-a-usb-flash-drive-is-inserted [21:55] GrandPa-G: first thing I'd do is add a tell-tale debug shell command to the udev rule to prove the rule is firing, something like PROGRAM="/bin/sh -c 'touch /tmp/my-rule-fired.proof' " [21:55] GrandPa-G: you're unplugging and re-inserting the USB device ? [21:56] the problem with a RUN (from what I have determined) is that can't run very long or will be killed. That is the purpose of the service. [21:56] TJ-, yes that is what I am using to try to detect. [21:56] and after adding; sudo udevadm control --reload-rules [21:57] GrandPa-G: the two suggestions above use echo or touch to create a tell-tale that the rule fired, they aren't long-running. Once you've proved the rule triggers you know your issue is on the systemd unit side [21:57] oerheks, that is from 2015, a bit outdated. [21:58] GrandPa-G: udev hasn't changed that much in a long time [22:16] TJ-, one small step for man... the rule runs, not to change to service. Thanks both [22:16] Hi all. I'm trying to update from 18.04 to 20.04. I get an error: "* Unofficial software packages not provided by Ubuntu [22:16] Please use the tool 'ppa-purge' from the ppa-purge..." How can I identify which pages to purge? [22:17] GrandPa-G: so the issue is systemd not triggering the service? [22:18] TJ-, maybe. I am just buiding back to service. I am just sure what options need to be in the rule. [22:22] GrandPa-G: silly question, but the unit is installed and enabled according to 'systemctl status' ? [22:23] TJ-, not silly at all, but yes, installed and enabled. [22:24] GrandPa-G: can you show us what "systemctl cat autorunSUB.service" reports? [22:24] oops! [22:24] GrandPa-G: can you show us what "systemctl cat autorunUSB.service" reports? [22:24] * TJ- broked it :) [22:27] https://pastebin.pl/view/014c6575 [22:29] GrandPa-G: I'll test the udev rule and your unit here [22:29] TJ-, very kind of you [22:42] I need help determining if my system is in an inconsistent state after an installer crash. I had checked 'install 3rd party software' because I have an Nvidia GTX 960 and wanted their proprietary driver package installed because their 'control center app' is better than the windows one. [22:43] it crashed at the very end of the installation while downloading updates... [22:43] i've booted into the newly installed system. i'm on it now [22:44] why is no one talking? this channel use to be 'alive' with chatter....is IRC dead? [22:45] GrandPa-G: with your udev rule I cannot get it to trigger and create the tell-tale [22:45] TJ-, did you do just the PROGRAM or try the service? [22:47] GrandPa-G: I've fixed it though; both are now working [22:48] TJ-, what do I need to pay for the secret? [22:48] GrandPa-G: ACTION=="add", KERNEL=="sd?", SUBSYSTEMS=="usb", TAG+="systemd", ENV{SYSTEMD_WANTS}+="autorunUSB.service", PROGRAM="/usr/bin/sh -c '/usr/bin/touch /tmp/my-rule-fired.proof' " [22:48] TJ-, I am hoping it is not a simple thing [22:48] TJ- What's the path to the ubiquity installer logs? I thought it was var/log/installer but there is no such path on my newly installed system... [22:49] GrandPa-G: I removed the " ENV{ID_BUS}=="usb", " since it wasn't in the same event as the other values that were matching. I checked using "udevadm -kup" [22:49] InZane84: I don't recall but thought it was /var/log/install/ or similar [22:51] GrandPa-G: "systemctl status autorunUSB" shows "autorunUSB[1447328]: device has been attached" [22:51] TJ- I have nothing such as that.... [22:51] InZane84: hmm, does "ls -latr /var/log/" help (that lists entries with most-recently-changed last) [22:52] TJ-, I put that rule in my rules, then did a reload of the rules. Doesn't seem to work. No tmp file, nothing in syslog [22:53] GrandPa-G: won't necessarily be in syslog but would show with "systemctl status autorunUSB" and "journalctl -u autorunUSB" [22:53] TJ- naw, that most of everything within /var/log. I'm trying to determine if my system is OK after a installer crash. I've booted into it. It crashed while attempting to download 3rtd party software. Should I be worried? Or am I good? [22:53] TJ-, I don't get same status either, just normal service activted status [22:55] GrandPa-G: I've just restested, monitoring with "journalctl -fu autorunUSB" and it reports the device being inserted [22:58] TJ-, this is the last journalctl results. https://pastebin.pl/view/29c0972b I am running on Raspberry, maybe some differences. [22:59] TJ-, you just created the service file in systemd/system, then systemctl enable - correct? anything else? [22:59] it ran according to that, 13:37:02 . What does this report "systemctl status autorunUSB" [23:00] GrandPa-G: "sudo systemctl daemon-reload" [23:00] TJ-, of course after any change [23:01] GrandPa-G: my config/results: https://paste.ubuntu.com/p/zs4jFDRMBG/ [23:05] TJ-, I am starting from scratch, new files, removed old. [23:06] GrandPa-G: good plan :) [23:06] TJ-, and a reboot [23:06] reboot should never be needed on Linux! [23:06] is there a way to build one's own livepatch service? instead of registering with Canonical? [23:07] geosmile: yes, but its difficult to do since that hard part is preparing the patches [23:22] TJ-, one small gotcha (for me) echo is in /bin/echo [23:26] TJ-, Success. How can I thank you? [23:27] GrandPa-G: ahhh, /bin/ should be a sym-link to /usr/bin/ nowadays [23:28] TJ-, it was giving a No such file or directory. Changing it, made things work. Now I can try what I really want to do. Again thanks. [23:29] anyone know how to setup jack? [23:51] https://www.imgpaste.net/image/jXQ5a [23:53] installed almost 6 months ago, no internet change [23:54] i understand what green USUALLY means, but the strength is always at max. when it isn't, it is white with black area showing lack of signal