[00:53] <Netsrot> hi, whats the xft alternative to xfontsel?
[00:53] <matsaman> you can use very ordinary looking text with xft compared to xfontsel
[00:54] <matsaman> so maybe just 'fc-list' will suffice
[00:56] <Netsrot> I want to preview the fonts I have installed.
[00:57] <Netsrot> seems like people end up writing their own xfontsel for xft when I googled. I found that very strange.
[00:58] <matsaman> can't you just use xfontsel?
[00:58] <matsaman> and then skip the monstrous text string part of it?
[01:00] <Netsrot> I was thinking xfontsel was only for old fonts. isn't it?
[01:01] <matsaman> take a look and see
[01:01] <Netsrot> thats what I read when I googled on it.
[01:02] <matsaman> http://gtk2fontsel.sourceforge.net/
[01:02] <matsaman> I'd probably use imagemagick to crap out a bunch of images
[01:06] <Netsrot> Any chance gtk2fontsel will end up in ubuntu repository? or an alternative to it?
[01:10] <oerheks1> https://snapcraft.io/gnome-font-viewer
[01:12] <Netsrot> 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] <Netsrot> I'll try rebooting to see if that helps
[01:16] <oerheks1> or there is already a font application in ubuntu 20.04
[01:16] <oerheks1> type 'font' in search
[01:33] <Lutin> oerheks1 do you use PHP on Ubuntu ?
[01:36] <nmatrix> Anyone manage to get KVM wireless bridge networking working in Ubuntu 20.04?
[01:46] <Bashing-om> !msg ubottu !efi
[01:47] <krytarik> lol
[03:03] <illmortal> anyone able to assist with nuking/resetting IP settings?
[03:03] <illmortal> Pastebin of ifconfig: https://pastebin.com/Dxu14Upm
[03:04] <illmortal> I've tried a few different steps to reset but after reboot, the settings are still the same.
[03:04] <MIF> did you make a backup?
[03:05] <illmortal> No, the settings I changed were all done through GUI. This is on Ubuntu 20.04.1 LTS.
[03:05] <MIF> can you pastebin your config?
[03:06] <illmortal> sure what command? Sorry, I haven't been on Ubuntu since 16.04
[03:07] <illmortal> 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] <MIF> cat /etc/netplan/*
[03:08] <MIF> or if you are using the GUI
[03:09] <genewitch> 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] <MIF> lol
[03:10] <genewitch> i think i had 50 kernels in /boot
[03:10] <oerheks> 3 years .. would reach mars
[03:10] <MIF> lol
[03:10] <illmortal> https://pastebin.com/RpQg4Tms
[03:10] <genewitch> starting at like 4.4.0-124
[03:10] <MIF> what I thought illmortal
[03:10] <genewitch> Yeah ubuntu has this weird apt loop it does when you have multiple kernel versions
[03:11] <MIF> lol
[03:11] <genewitch> i honestly thought a CPU was dying based on the syslogs on all the guests
[03:11] <MIF> lol
[03:13] <MIF> one time ubuntu-server was in the auto remove
[03:13] <MIF> for me
[03:14]  * MIF runs a server not a gui
[03:22]  * Tails runs a server too
[03:23] <MIF> cool
[03:23] <MIF> what do you use it for? Tails?
[03:24] <Tails> just for irc atm
[03:24] <genewitch> mine runs Wok
[03:25] <genewitch> ubuntu 16.04.7, EOL in 2 months, woooo
[03:25] <MIF> I also run a IRC server, and my search engine
[03:25] <Tails> cool
[03:25] <genewitch> MIF which ircd? all the ones i looked at many years ago took too many config files
[03:25] <MIF> Yep
[03:25] <MIF> unrealircd
[03:25] <lotuspsychje> !discuss
[03:25] <MIF> oh sorry
[03:26] <MIF> genewitch do you want to hop over there
[03:26] <jx> 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] <MIF> jx I had the same issue
[03:27] <MIF> https://askubuntu.com/questions/1186877/apache-php-no-longer-working-after-upgrading-to-19-10-from-19-04/1223210#1223210
[03:28] <jx> let me read that
[03:28] <jx> yeah, I've done that, which is why I'm so confused. Apache SAYS php is enabled.
[03:28] <jx> 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] <MIF> Ok
[03:29] <genewitch> MIF: i joined discuss
[03:29] <MIF> ok
[03:29] <MIF> let me help jx
[03:29] <MIF> run
[03:29] <MIF> php -v
[03:29] <jx> PHP 7.4.3 (cli) (built: Oct  6 2020 15:47:56) ( NTS ) (and two more lines)
[03:30] <MIF> ok
[03:30] <jx> Also, thank you in advance. :)
[03:30] <MIF> NP
[03:31] <MIF> ok
[03:31] <MIF> do
[03:31] <jx> I'm fairly sure I'm missing some entry in some config, I'm just not sure where.
[03:31] <MIF> ls /etc/apache2/mods-enabled
[03:32] <MIF> are you using something like webmin/cpanel ect?
[03:32] <jx> https://pastebin.com/Dpr6WNYB
[03:33] <jx> 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] <MIF> it works on 20.04
[03:35] <MIF> and I would create it with virtualmin because it dose something weird
[03:35] <MIF> to the php config
[03:35]  * MIF uses nginx now but used apache2 for years before
[03:35] <jx> I created a new domain, same behavior.
[03:35] <MIF> ok
[03:35] <MIF> I do have to go to bed, but I can get on tommarow
[03:35] <MIF> night
[03:35] <jx> ok
[03:35] <jx> thanks
[03:37] <tomreyn> jx: hi. are there any error messages in apache httpd's logs - any of them?
[03:37] <jx> I don't think so, let me look again
[03:37] <jx> no errors, just a couple notices
[03:38] <jx> [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] <jx> [Mon Jan 18 02:35:38.468148 2021] [core:notice] [pid 1412] AH00094: Command line: '/usr/sbin/apache2'
[03:39] <Lutin> MIF eeeuwww vitualmin!
[03:40] <jx> And when I run sudo a2enmod php7.4 I get "mpm_prefork already enabled" and "php7.4 already eneabled"
[03:40] <tomreyn> jx: what does    sudo apache2ctl -M   report?
[03:40] <jx> so I think apache isn't seeing how to handle .php files in a config somewhere
[03:41] <jx> https://pastebin.com/VGiLkX8c
[03:42] <tomreyn> so php7_module is getting loaded indeed. is this the module that's being referred to in php7.4.load ?
[03:42] <tomreyn> i.e. is the name identical?
[03:42] <jx> let's look
[03:43] <jx> # Conflicts: php5
[03:43] <jx> # Depends: mpm_prefork
[03:43] <jx> LoadModule php7_module /usr/lib/apache2/modules/libphp7.4.so
[03:43] <jx> and that module does exist, just looked.
[03:43] <tomreyn> good
[03:44] <tomreyn> are there any non-symlinks in /etc/apache/mods-enabled and /etc/apache/sites-enabled =
[03:44] <tomreyn> ?
[03:44] <jx> nope
[03:47] <tomreyn> try disabling mpm_prefork, then reanabling it, using a2dismod + a2enmod
[03:47] <tomreyn> then the same for the php module
[03:47] <jx> here's one of the site definitions: https://pastebin.com/KL3VRbsy
[03:48] <Lutin> jx you are better of with piping to FPM
[03:49] <jx> lutin mm?
[03:49] <Lutin> jx trust me... it's seperate then and you can test more easily
[03:49] <Lutin> read about php-fpm
[03:49] <jx> I'm ok with that
[03:49]  * Lutin is off
[03:49] <tomreyn> AddHandler fcgid-script .php
[03:49] <tomreyn> AddHandler fcgid-script .php7.2
[03:50] <tomreyn> makes me think that you're not not actually trying to use the php module
[03:50] <Lutin> jx I'm a big Apache fan but Nginx it also nice piping to FPM
[03:50] <jx> probably, sounds like wha tI'm seeing
[03:50] <Lutin> ok later!
[03:50]  * jx waves
[03:51] <jx> hmm, 7.2?
[03:51] <jx> that's... od
[03:51] <jx> odd
[03:52] <tomreyn> so use one of mod_php, f(ast)cgid + fpm, but not both for the same php version
[03:53] <jx> agreed, that's odd. I could have sworn I'd edited this fiel half a dozen times...
[03:54] <jx> so I admit I have a cursory level knowledge of apache. Where are you seeing both in that config?
[03:55] <tomreyn> well you have mod_php enabled, you did this previously using a2enmod
[03:56] <tomreyn> and presumely site-wide (though i may have run to conclusions there?)
[03:56] <jx> oh... I see. In trying to fix one thing I screwed up by not realizing I was already using fastcgi
[03:56] <jx> so I' haven't actually been fixing the problem
[03:56] <tomreyn> and in the configuration file you posted you have refernces to how php should be run through fcgid
[03:56] <jx> ok, so that makes sense why that part doesn't work.
[03:58] <jx> so I need to do something like this? https://smddzcy.com/posts/2017-09-16/migrating-from-mod-php-to-php-fpm
[03:59] <tomreyn> i'm not saying you must migrate, just that you'll need to decide for one of the two.
[03:59] <tomreyn> ideally whatever virtualmin recommends
[04:00] <jx> well, IIRC it was FPM, I just haven't touched this in months and forgot. thanks for the reminder.
[04:00] <tomreyn> you're welcome
[04:00] <jx> 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] <jx> I'm telling you, the COVID brainfog thing is real
[04:01] <tomreyn> i read about it. get well soon.
[04:01] <jx> thanks for the smack upside the head, tomreyn
[04:01] <tomreyn> :)
[04:01] <illmortal> 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] <jx> I'm on the upswing, I'm out of bed for more than 3 hours at a time now!
[04:03] <tomreyn> good to hear that
[04:03] <tomreyn> illmortal: you can use nmcli or nmtui to configure NM, too
[04:05] <illmortal> Let me try. So far through GUI and through gnome-control-center display command, both have failed to save.
[04:05] <tomreyn> illmortal: is this a standard ubuntu installation?
[04:05] <illmortal> Yep. Fresh install of 20.04.1 LTS
[04:06] <tomreyn> amd64? desktop? in a vm?
[04:07] <illmortal> desktop
[04:07] <tomreyn> that's one of three questions answered. ;-)
[04:08] <illmortal> pretty much trying to setup a simple seedbox and file/media server.
[04:08] <illmortal> It's 64bit yes, installed onto a mini desktop PC and I'm RPD into it from a Windows 10 laptop.
[04:10] <tomreyn> 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] <jx> dude
[04:11] <jx> ++tomreyn
[04:11] <illmortal> 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] <tomreyn> 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] <oerheks> is it stored in netplan?
[04:14] <tomreyn> also here https://unix.stackexchange.com/questions/564044/nmcli-insufficient-privileges-during-initial-vm-setup
[04:15] <oerheks>  /etc/netplan/*.yaml.
[04:17] <illmortal> Not sure if stored.. But it may be true that using RDP to make these changes is causing the problem.
[04:18] <illmortal> 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] <tomreyn> did you try nmcli / nmtui then?
[04:19] <illmortal> when I use nmcli, I receive an output. Pastebin it?
[04:20] <tomreyn> if it helps, sure
[04:20] <tomreyn> https://paste.ubuntu.com is preferred here over pastebin.com
[04:20] <illmortal> ah ok cool
[04:21] <tomreyn> 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] <illmortal> https://paste.ubuntu.com/p/qjqjQYYMpS
[04:22] <tomreyn> i.e. better set up some kind of out of band access
[04:22] <tomreyn> " The Paste you are looking for does not currently exist. "
[04:22] <tomreyn> you may have mistyped this url
[04:23] <illmortal> blah.. I can't even copy/paste between windows 10 and ubuntu through rdp lol
[04:23] <illmortal> I did.
[04:27] <illmortal_> https://paste.ubuntu.com/p/qJqjQYYMpS/
[04:28] <illmortal_> IP address for eno1 is supposed to be 192.168.1.XXX
[04:31] <tomreyn> 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] <tomreyn> and you should not try to apply changes to the network configuration through the very link you're configuring
[04:31] <illmortal> Right now I'm going through nmtui
[04:32] <illmortal> yeah I'm RDP into the WiFi card and trying to change the LAN card info.
[04:32] <illmortal> WiFi card is setup correctly. While LAN isn't.
[04:34] <tomreyn> so i guess you could try to delete the existing LAN connection profile and create a new one
[04:35] <tomreyn> 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] <illmortal> That's fine.. I can try it.
[04:36] <tomreyn> i.e. you wouldn't be able to reconnect then
[04:36] <illmortal> I went the nmtui route, it looks like the configuration is saved but ifconfig still shows the same output - incorrect IP address.
[04:36] <illmortal> Yeah, I'll pull the machine if I have to.
[04:36] <illmortal> I have a feeling nuking it and starting from scratch is the only option at this point.
[04:37] <tomreyn> "incorrect ip address" as in you have one statically configured?
[04:37] <illmortal> The LAN card should be on 192.168.1.xxx instead it's on 10.0.0.xxx
[04:37] <illmortal> I don't know how it received that IP address.. but the WiFi card received the correct address.
[04:38] <tomreyn> 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] <tomreyn> i need to catch some sleep - good luck!
[04:39] <illmortal> 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] <illmortal> okay thank you
[04:46] <Lutin> tomreyn slee is for sissies... 5:46 am here ;)
[04:46] <mefistofeles> sleep is pretty important xD
[04:48] <illmortal> 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] <Swift110-mobile> Hey
[04:58] <illmortal>   /
[04:59] <arahael> 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] <arahael> How do I troubleshoot this?
[05:06] <daysun_> do I need to sanitize ubuntu server from cloud syncing, amazon-requests and other crap?
[05:11] <genewitch> CMCI storm detected: switching to poll mode <--- this shows up sometimes in syslog, is it a cuase for concern?
[05:44] <makara1> apt says sshfs is no longer required. I want to auto-remove the other packages. How do I mark sshfs as required?
[05:45] <makara1> i still want it to be updated
[05:53] <daysun> what's the current kernel on your ubuntu machine?
[06:05] <makara1> daysun: 5.4.0-60-generic x86_64
[06:05] <daysun> thank you makara1.
[06:05] <daysun> debian is currently on 4.19.
[06:05] <daysun> as a developer, it's just not right.
[06:05] <daysun> need new sandboxing features etc.
[06:06] <daysun> Arch is at 5.10.
[06:13] <illmortal> 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] <daysun> 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] <daysun> Or is it the specific combo of ssh and VNC that you want? I think VNC comes with its own encryption.
[06:19] <arahael> Hmm, I suppose if xrdp refuses to work, I could try vnc.
[06:21] <illmortal> arch as in arch linux?
[06:21] <daysun> yes, their wiki is great.
[06:21] <daysun> I don't understand what you want to do here though.
[06:22] <illmortal> 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] <daysun> if you've got an ssh server on linux, you can just ssh into it with X11 enabled
[06:22] <illmortal> I want to be able to remote into my headless ubuntu box without logging out of it.
[06:22] <daysun> I see.
[06:23] <arahael> illmortal: Generally I use tmux for that as far as the command line is concerned.  But the graphical session is nice.
[06:23] <daysun> illmortal: https://www.howtogeek.com/429190/how-to-set-up-remote-desktop-on-ubuntu/
[06:23] <arahael> illmortal: That is, ssh in, and then `tmux` or `tmux attach` (to re-attach)
[06:23] <daysun> illmortal: if you just want a terminal, you could use 'screen'
[06:24] <daysun> which can keep a session alive as you disconnect/reconnect.
[06:24] <daysun> but there you go. Seems like there's a "remote desktop" thing in ubuntu that you just can enable.
[06:25] <illmortal> 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] <illmortal> let me check out that link.
[06:26] <TJ-> illmortal: if the target is headless then what kind of GUI applications are you wanting to share remotely?
[06:27] <arahael> illmortal: Lucky - I can't RDP at all. :(
[06:27] <arahael> It logs in, but immediately closes.
[06:28] <TJ-> illmortal: 'headless' means no video or input devices; it sounds like you don't mean that but simply 'monitor disconnected/switched off'
[06:28] <illmortal> specifically Plex and a torrent client
[06:28] <illmortal> correct, it's a mini pc without a monitor and kb/mouse
[06:31] <TJ-> 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] <arahael> *sigh*, and Now I can't install anything because 'unattended-upgrades' has stolen the dpkg lock.
[06:33] <TJ-> 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] <illmortal> true
[06:34] <illmortal> I guess just having the luxury or convenience to remote into a desktop and browse when necessary.
[06:34] <TJ-> arahael: have you checked the logs for the RDP server for clues as to why it closes ?
[06:35] <arahael> TJ-: Yes, but there are no clues.  It starts Xorg, and then immediately waits for it to close, which it does as:
[06:36] <arahael> [20210118-06:30:35] [CORE ] window manager (pid 5049) did exit, cleaning up session
[06:36] <TJ-> 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] <TJ-> arahael: you've got an SSH session to the target?
[06:36] <arahael> TJ-: I do indeed.
[06:37] <TJ-> arahael: check for an obvious cause; files not owned by the user. "find $HOME -not -user $USER -ls"
[06:37] <illmortal> thankfully none of these display drivers are nvidia based haha
[06:37] <TJ-> arahael: actually, use 'sudo' for that command in case some are root-owned
[06:37] <TJ-> illmortal: phew!
[06:37] <arahael> TJ-: No results, even with sudo.
[06:37] <TJ-> arahael: thats good :)
[06:38] <arahael> TJ-: Not really. ;)  Would be an easier fix.
[06:38] <TJ-> arahael: now check the user's session logs with "journalctl user@$(id -u).service -b 0"
[06:39] <TJ-> arahael: jump to the end and work backwards (press G (not 'g;))
[06:41] <arahael> 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] <TJ-> doh! my typo!
[06:41] <TJ-> arahael: missed the --unit/-u option: "journalctl -u user@$(id -u).service -b 0"
[06:42] <illmortal> daysun - that howtogeek link.. unfortunately the command is irrelevant: gsettings set org.gnome.Vino require-encryption false
[06:42] <TJ-> arahael: journalctl is the log inspector. systemd-journald keeps comprehensive system and user session logs
[06:42] <arahael> Ah, that gives more detail.  Neat.  *sigh*, systemd isn't using the system log. :(
[06:42] <arahael> I guess this makes some sense given that this is user-specific.
[06:43] <illmortal> no such schema org.gnome.Vino
[06:43] <TJ-> arahael: indeed - there are system services and user services. Anything related to log-ins is user session
[06:44] <arahael> THis looks intriguing - there's a bunch of errors relating to some sort of keyring and crap, but this is interesting:
[06:44] <arahael> 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] <arahael> TJ-: It's *very* interesting because it shouldn't be using gnome-session at all, I installed: xubuntu-desktop
[06:46] <TJ-> arahael: I use Xubuntu but never install Gnome so not entirely clear how it'll interact to start that
[06:46] <arahael> TJ-: Yeah, that's the thing - I wouldnt' expect it to start that at all.
[06:47] <arahael> How does DESKTOP_SESSION get set at all?
[06:47] <TJ-> 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] <arahael> 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] <TJ-> arahael: hmmm, that sounds kind of unusual, since that'd be truly headless
[06:49] <arahael> TJ-: It is a headless server, yes.  Which is why I want to use rdp :)
[06:49] <TJ-> arahael: so the 'server' is actually doing GUI log-ins ?
[06:50] <arahael> 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] <arahael> TJ-: It will run Chrome, yes.  Because that user knows Chrome.
[06:51] <TJ-> arahael: is it using xRDP ?
[06:51] <arahael> Yes, the xrdp bit as best as I can tell works fine. I'm now installing ubuntu-desktop, just to try it.
[06:51] <TJ-> 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] <TJ-> arahael: oftentime you learn useful debug/config options and clues even if issues don't directly address your problem
[06:52] <arahael> TJ-: Indeed.  Curious how it's *assumed* you have a .xsession in the user home.
[06:53] <arahael> 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] <arahael> The default ubuntu desktop is *very* confusing!
[06:57] <daysun> why wouldn't you want autoremove on by default? (configuring unattended updates)
[06:57] <daysun> to roll back?
[06:58] <arahael> daysun: If it were a long-standing server, it might be appropriate.
[06:59] <daysun> 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] <arahael> 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] <TJ-> arahael: hmmm, that does seen strange because if xrdp needs something else it should declare a Depends on the package
[07:01] <daysun> I rather have an unattended-updating server reboot at night.. is that a bad decision security-wise? (I understand the hypocrisy)
[07:02] <TJ-> daysun: who's 'night' though?
[07:02] <daysun> arahael: I think it's pointless unless your goal is to keep them backed up for safe keeping for the community
[07:02] <daysun> TJ-: night time
[07:03] <arahael> daysun: It makes it easier to troubleshoot package problem, eg, you could dpkg -i an old package manually.
[07:03] <daysun> makes sense for devs
[07:03] <arahael> daysun: There's a few good reasons for keepign them, especially when you don't have 100% reliable and super-fast internet.
[07:04] <arahael> 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] <arahael> daysun: Also, when's night, indeed?
[07:05] <arahael> daysun: This unattended upgrade happened very recently, and it's defniitely not night time. :D
[07:06] <arahael> daysun: Also, unattended upgrades breaks when you have a good blue-green deployment system going.
[07:07] <daysun> arahael: There's a config option  Unattended-Upgrade::Automatic-Reboot-Time "02:00"
[07:07] <arahael> daysun: Hmm, is that GMT?
[07:07] <TJ-> reboots are only required for kernels or systemd, and not for kernels if using livepatch/kpatch services
[07:07] <daysun> arahael: I think that notation is supported by all time zones
[07:07] <TJ-> arahael: local time
[07:08] <daysun> it'll be interpreted as local time
[07:08] <arahael> Hmm, I guess local time is probably US-east.
[07:09] <daysun> 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] <daysun> 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] <daysun> arahael: blue-green deployment is above my pay grade :P
[07:11] <arahael> TJ-: How do I change the DE to xfce?
[07:12] <arahael> daysun: With blue-green deployment, you do the update, then switch.  The downtime is minimal, or completely eliminated, if done right.
[07:14] <daysun> Yeah, I mean, they don't pay me for that.
[07:14] <arahael> daysun: Fair. :)
[07:14] <dust> Invalid data - SHA1 hash mismatch for file... even after a reboot a manual backup fails... what to do to solve this?
[07:15] <TJ-> arahael: you'd have to change the default session, which I would assume is a system-wide greeter option
[07:16] <TJ-> dust: error: insufficent information :) what file, what commands
[07:16] <arahael> 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] <TJ-> arahael: xubuntu would use ligthdm so I wonder if xrdp is tied to gdm
[07:17] <TJ-> arahael: any directory /etc/gdm{,3}/ with settings in?
[07:17] <dust> TJ-,  the standard backup program from ubuntu desktop... set at daily updates... today it failed even after a reboot
[07:18] <arahael> TJ-: It's not xubuntu, I just installed the 'xubuntu-desktop in ubuntu server.
[07:19] <arahael> TJ-: And yes, /etc/gdm3 is there.
[07:19] <arahael> SO is /etc/lightdm
[07:21] <arahael> Hmm, just got xfce going - I ran sudo dpkg-reconfigure lightdm
[07:22] <arahael> 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] <TJ-> arahael: I haven't touched Gnome in over 10 years due to the way it headed
[07:25] <arahael> TJ-: Yeah.  Honestly, I haven't done xorg either for almost a decade!
[07:25] <arahael> I don't like this trend of "hide it all".  Makes for poor discoverability.
[07:25] <dust> TJ-, seems it dosnt like all states of firefox... after a restart of firefox the backup worked again
[07:25] <arahael> But before I had to setup my home office for working from home, I did run E17 on nixos.
[07:31] <arahael> Incidentially, xfce4 looks pretty decent.
[07:32] <nasiralamreeki> Yes xfce4 looks great
[08:03] <evilscrew> https://uploads.kiwiirc.com/files/6d34452330c5125c91ea013d23163322/20210118_131933.jpg hrm. puzzling.
[08:10] <cbreak_> a CD? :O
[08:54] <daysun> https://packages.ubuntu.com/groovy/nodejs   I installed the latest ubuntu server, but why do I have node 10?
[08:54] <daysun> I have a fully updated system.
[08:57] <ducasse> !info nodejs groovy
[08:57] <EriC^^> daysun: try 'sudo add-apt-repository universe && sudo apt upate'
[08:58] <daysun> will that also be updated by the unattended updater?
[08:58] <ducasse> you need to edit the config for that
[08:58] <EriC^^> all packages will be updated unless you pin a version
[08:59] <EriC^^> what ducasse said
[08:59] <ducasse> not true, unattended-upgrades only applies from security and updates iirc
[09:00] <ducasse> daysun: see /etc/apt/apt.conf.d/50unattended-upgrades
[09:00] <daysun> indeed
[09:01] <ducasse> you need to add universe to that list at the beginning
[09:02] <daysun> I already had universe enabled for all sources apparently. Yet node is v10.
[09:02] <ducasse> 'apt policy nodejs'
[09:04] <daysun> 500 http:/...ubuntu.com/ubuntu focal/universe amd64 Packages
[09:04] <daysun> 100 /var/lib/dpkg/status
[09:05] <daysun> strange
[09:05] <ducasse> that's focal, not groovy, are you on 20.04?
[09:05] <daysun> yes, I suppose
[09:05] <ducasse> !info nodejs focal
[09:06] <daysun> !info groovy
[09:06] <ducasse> then you're getting the right version
[09:06] <daysun> what's groovy?
[09:06] <ducasse> groovy is 20.10
[09:07] <ducasse> if you want nodejs 12 you need to upgrade
[09:08] <arahael> Or use 'n'
[09:09] <arahael> (You can install it using npm)
[09:09] <daysun> I thought I got the latest ubuntu version? :P is Groovy some kind of test thing.. or something?
[09:09] <daysun> all I find is that it's a release,  I get that.
[09:10] <ducasse> focal is the latest lts, groovy is a regular release
[09:10] <daysun> just went to the website and downloaded the latest server version.
[09:10] <ducasse> !lts
[09:10] <daysun> thank you for all the support
[09:10] <ducasse> yw
[09:12] <bobdobbs> 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] <bobdobbs> This is the contents of apt.log https://pastebin.ubuntu.com/p/qw72sbrt8y/
[09:12] <bobdobbs> And this is contents of main.log: https://pastebin.ubuntu.com/p/4nsnGpsn3f/
[09:13] <bobdobbs> I'm not really sure what I'm looking for
[09:13] <ducasse> that error tells you what to do, use ppa-purge to remove packages from ppa's
[09:15] <bobdobbs> how do I figure out which packages should I remove?
[09:16] <daysun> what happens after the 9 months that groovy is supported?
[09:17] <ducasse> bobdobbs: look under /etc/apt/sources.list.d
[09:17] <ducasse> daysun: it goes eol
[09:17] <ducasse> !eol
[09:18] <daysun> thanks
[09:21] <ducasse> daysun: you could check if there is a ppa or third-party repo so you can run lts
[09:22] <bobdobbs> ducasse: well, there's a ton of files there. I guess they list sources. How do I know which ones to remove?
[09:22] <EriC^^> bobdobbs: ideally you'd remove them all
[09:22] <ducasse> bobdobbs: ideally all the ones ending in .list
[09:23] <bobdobbs> do I just do 'rm *.list' ?
[09:23] <EriC^^> you, use ppa-purge
[09:23] <bobdobbs> so 'ppa-purge *.list'?
[09:24] <ducasse> no
[09:24] <EriC^^> bobdobbs: no, if you want you can use this, it makes it easier https://github.com/ericj112/ppa-tool
[09:24] <ducasse> get the ppa names from the lists
[09:30] <bobdobbs> 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] <Delorian> just test -- no hel need thx
[09:32] <bobdobbs> Huh. None of the .list files seem to be being used anyway. Every line in every one of them is commented out.
[09:34] <ducasse> the packages might still be present
[09:35] <daysun> will ubuntu just update to a new nodejs version when 10 is unsupported? nodejs stops supporting it in 3 months
[09:35] <ducasse> no
[09:35] <ducasse> packages do not receive major updates during the life of a release
[09:35] <aplainzetakind> 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] <bobdobbs> 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] <ducasse> !mint | aplainzetakind
[09:38] <bobdobbs> so what should my next step be?
[09:39] <ducasse> you can use synaptic to list the origin of packages, might be easier
[09:49] <EriC^^> bobdobbs: you have to enable all the ppas in order to purge them
[09:50] <EriC^^> uncomment them, then purge
[09:50] <EriC^^> bobdobbs: uncomment the ppas, then run sudo apt update, then run the ppa-tool to purge
[09:51] <bobdobbs> EriC^^:  it's coming up to 11pm here. I'm gonna take a break and maybe try again tomorrow :)
[09:51] <bobdobbs> thanks for the help
[09:52] <EriC^^> bobdobbs: alright, no problem
[09:52] <FreeBDSM> hi, is there a way to have a personal (per-user) hosts file?
[09:53] <FreeBDSM> 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] <daysun> ducasse: how's it LTS then?
[09:58] <daysun> ducasse: if it's providing packages that lacks LTS that wont' get any security updates upstream
[10:09] <nichlas> daysun: core packages will be updated with security updates.
[10:10] <nichlas> 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] <daysun> yep
[10:12] <daysun> harder to automate though. unattended updates does a lot for you.
[10:14] <Lynx_> 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] <daysun> Lynx_: nope. Unless there's nothing you need on the other disk to mount it, such as encryption keys.
[10:30] <daysun> Keep in mind that symlinks may be messed up if you got any on your /home.
[10:36] <ace_me> I was able to install in wine sketchup, but have no ideea how to start it
[10:47] <ishaqm> 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] <toffo> 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] <daysun> 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] <ace_me> ishaqm: I use mozilla thunderbird, it has mail and chat
[10:52] <toffo> 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] <toffo> 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] <toffo> My GPU is NVidia Quadro P4000 and I'm using the cutting edge MESA/Vulkan PPA's. Nvidia driver version 460.x
[10:53] <toffo> :(
[10:54] <toffo> 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] <toffo> 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] <toffo> 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] <toffo> neither gave any errors or warnings.
[10:56] <toffo> been trying to revert back and forth with drivers, etc. etc.
[10:56] <toffo> removing apt packages, reinstalling them ...
[10:56] <toffo> 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] <toffo> It's like an texture overlay bug or whatever
[10:58] <ishaqm> ace_me, thanks
[11:23] <daysun> I am in a strange situation now where I have a ppa "installed" for a package that I suppose is installed already.
[11:23] <daysun> just out of curiosity now..  the old package form the debian repo is installed. The ppa got a newer version.
[11:23] <daysun> Will there ever be conflicts here?
[11:31] <lotuspsychje> daysun: we dont support external ppa's here, its adviced to !ppapurge your system back to the original ubuntu !sources
[11:32] <lotuspsychje> daysun: and yes, external ppa's often conflict and result into dependency issues
[11:35] <daysun> well shoot. how else are you supposed to get a non-outdated version of node on ubuntu
[11:36] <daysun> 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] <lotuspsychje> daysun: could try higher ubuntu version or !backports or snaps
[11:40] <daysun> how's snap any better?
[11:40] <lotuspsychje> daysun: snaps often provide higher/latest versions where apt remain with the versions meant for the specific ubuntu release
[11:41] <daysun> 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] <daysun> !ppapurge
[11:43] <lotuspsychje> daysun: i didnt say safe, a bit the same as external ppa's you also need to trust the snap maintainer
[11:43] <Lynx_> daysun: Thanks!
[11:48] <daysun> lotuspsychje: seems like the ppa is for focal specifically, so I'm assuming it's safe
[11:49] <daysun> heh.. not safe. I mean.. intended to be compatible.
[11:50] <lotuspsychje> daysun: we cant advice on external ppa's, best to contact the maintainer itself
[12:07] <daysun> 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] <daysun> changing focal to main doesn't solve it.   unattended-upgrade --dry-run doesn't find anything, but should.  Any ideas?
[12:21] <daysun> ok, it fails sanity check.
[12:21] <promille> 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] <kre10> 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] <kre10> Here's the sys log file
[12:21] <daysun> kre10: can you find it in lsblk?
[12:22] <daysun> kre10: is it via usb?
[12:22] <kre10> via usb, yes
[12:22] <kre10> Jan 18 14:16:58 docker multipath: sda: can't store path info
[12:22] <kre10> Jan 18 14:16:58 docker multipathd[1532]: uevent trigger error
[12:22] <daysun> promille: try iwd, and be close to the AP because 5GHz signals are easily blocked.
[12:22] <kre10> https://pastebin.com/NK3GMKEb
[12:24] <kre10> it's weird - I can find it in LibreELEC
[12:24] <promille> Thanks daysun, trying now. Should be sufficient coverage (10 meters) with two "light walls". Works fine with cellphone and Win10 with full download speed
[12:25] <nbusrone> 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] <kre10> daysun any idea?
[12:28] <kre10> sda           8:0    0 223.6G  0 disk
[12:28] <kre10> └─sda1        8:1    0 223.6G  0 part
[12:28] <kre10> is there - when I type lsblk
[12:29] <daysun> 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] <daysun> kre10: can you mount it?
[12:29] <daysun> manually
[12:29] <kre10> no, i don't know how :(
[12:30] <daysun> kre10: try mount /dev/sda1 /mnt/  as root
[12:30] <kre10> thanks
[12:30] <daysun> and then see if you can cd into /mnt/
[12:30] <kre10> got it
[12:30] <daysun> so it's available to you?
[12:30] <daysun> eworks?
[12:30] <daysun> works*?
[12:31] <kre10> dev/sda1             223G   61M  223G   1% /mnt
[12:31] <waveform> kre10, ubuntu server doesn't auto-mount USB attached storage (the desktop does, but not server)
[12:31] <daysun> there we go. hehe.
[12:31] <kre10> ooh, so sorry, I didn't know that
[12:31] <kre10> So, I have to mount it manually everytime after reboot, perhaps?
[12:32] <daysun> no, you can set it up in fstab
[12:32] <ogra> kre10, https://www.freedesktop.org/software/systemd/man/systemd.mount.html
[12:32] <daysun> sda1 is unusual for a usb device though
[12:32] <waveform> not on a pi :)
[12:32] <pizzaiolo> daysun have you tried installing node using nvm?
[12:33] <waveform> 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] <kre10> So, I have to unmount the device first, right?
[12:35] <kre10> umount: /mnt: target is busy.
[12:35] <ogra> 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] <kre10> I can't though
[12:35] <ogra> s/ot/or
[12:35] <kre10> I think I can't handle it myself
[12:37] <waveform> 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] <kre10> ls: reading directory '/mnt/': Input/output error
[12:38] <kre10> I have disconnected the storage
[12:38] <ogra> did you unplug it without unmounting it first ?
[12:38] <kre10> Yes
[12:38] <waveform> well, that'll happen :)
[12:38] <ogra> ah, thats not so good ...
[12:38] <kre10> :(
[12:39] <kre10> So, should I plug it in again?
[12:39] <ogra> (if it writes while you unplug it you lose data)
[12:39] <kre10> if writes where?
[12:39] <ogra> to the USB disk
[12:39] <kre10> I have just mounted the device
[12:39] <ogra> it -> your OS
[12:40] <kre10> So, should I put it back?
[12:40] <ogra> 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] <kre10> 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] <kre10> Now, I'm getting this errors
[12:41] <ogra> that was your ls attempt from above
[12:41] <kre10> Oh, right
[12:41] <kre10> So, I will put it back
[12:41] <ogra> the OS thught it was still attached and barked at you 😉
[12:42] <kre10> Should I attach it to the same USB port?
[12:43] <ogra> why do you want to attch it again ?
[12:44] <ogra> (there is no need to unless you want to actually use it)
[12:44] <kre10> https://pastebin.com/nzYsZhd9
[12:44] <kre10> is it bad?
[12:44] <kre10> I want to use it for nextcloud, so I want to use it all the time
[12:45] <ogra> right, so make an fstab entry or create a systemd mount unit
[12:45] <kre10> I will try with systemd mount
[12:45] <kre10> can you please tell me if the log file is too bad?
[12:47] <ogra> well, is that while it is plugged in ?
[12:47] <kre10> Yes
[12:47] <kre10> but it's unmounted
[12:48] <kre10> mount: /mnt: special device /dev/sda1 does not exist.
[12:48] <ogra> and if you mount it again ?
[12:48] <kre10> this is weird
[12:48] <kre10> no, I can't
[12:48] <ogra> check the end of "dmesg" probably it showed up under a new name
[12:50] <Lynx_> 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] <kre10> tail -f /var/log/dmesg | grep USB
[12:50] <kre10> right?
[12:50] <ogra> nah ...
[12:50] <ogra> i'D do: dmesg | tail -50
[12:50] <ogra> to see the last 50 lines
[12:51] <kre10> Oh, okay
[12:51] <ogra> /var/log/dmesg is not a live log
[12:51] <ogra> (it is a copy of the dmesg output right after boot and will not updated after booting)
[12:51] <ogra> *not be
[12:51] <kre10> I understand, thank you
[12:51] <kre10> Uploaded file: https://uploads.kiwiirc.com/files/2adbbdecdd8b7ce71cdeaf9a407fc593/pasted.txt
[12:51] <kre10> https://pastebin.com/gqQzGPKa
[12:52] <kre10> here's the log file of dmesg | tail -50
[12:52] <ogra> right, it is nos sdb1
[12:52] <ogra> *now
[12:53] <ogra> as i said above, it isnt safe to rely on device names ...
[12:53] <kre10> Yes, but how to remove these errors from before -
[12:53] <kre10> Uploaded file: https://uploads.kiwiirc.com/files/b188d1193701f7f8b04e81c10feb3175/pasted.txt
[12:54] <ogra> sudo umount -l /dev/sda1
[12:55] <ogra> to tell your kernel that sda1 is gone
[12:55] <kre10> umount: /dev/sda1: no mount point specified.
[12:55] <ogra> did you use the -l switch like i did above ?
[12:55] <kre10> I tried with sudo umount -l /dev/sda1 /mnt
[12:55] <kre10> Yes
[12:55] <ogra> hm, that should have worked
[12:56] <ogra> worst case just rebot to get back to a clean state
[12:56] <ogra> *reboot
[12:57] <kre10> I just rebooted
[12:58] <ogra> so now ... plug in the disk  and do: sudo blkid -o export /dev/sda1
[12:58] <ogra> (you want the UUID= line)
[12:58] <ogra> then add a line like:
[12:59] <ogra> UUID="b56fdac9-4c6a-4306-b5d5-1d635c0905b6" /mnt ext4 defaults 0 0
[12:59] <ogra> to the /etc/fstab file
[12:59] <ogra> (indeed replacing the UUID with yours from the blkid command)
[12:59] <ogra> then reboot and you should find the disk auto-mounted in /mnt
[12:59] <waveform> (assuming it's ext4 - better check what it's formatted as :)
[13:01] <kre10> So, sudo blkid -o export /dev/sda1 UUID="1001" /media/SSD ext4 defaults 0 0
[13:01] <ogra> the log errors indicated it is ext4
[13:01] <kre10> waveform I have formated like ext4
[13:01] <ogra> UUID=1001 ?????
[13:01] <kre10> 1001 - my username
[13:02] <ogra> thats a weird UUID
[13:02] <ogra> $ sudo blkid -o export /dev/nvme0n1p3 | grep ^UUID
[13:02] <ogra> UUID=5cb98ba3-8583-42fb-90c0-e7d251ab7815
[13:02] <ogra> this is what an ext4 UUID should look like
[13:03] <kre10> So, I have to sudo blkid -o export /dev/sda1 | grep UUID , to see the ext4 UUID?
[13:03] <ogra> yep
[13:03] <ogra> ten you take the UUID and create a line in /etc/fstab
[13:04] <kre10> I think it's not /dev/sda1 anymore ;(
[13:04] <ogra> check dmesg
[13:04] <kre10> OK
[13:05] <ogra> (or simply do "ls /dev/sd*" )
[13:05] <kre10> Actually, it is
[13:05] <ogra> (on a pi there should be no other sdX devices anyway beyond the USB ones, like waveform said above ... only mmcblk ... )
[13:05] <kre10> .Actually, it is
[13:06] <kre10> yes, mmcblk for the sd cards, right?
[13:06] <ogra> right
[13:06] <kre10> So, sudo blkid -o export /dev/sda1 | grep UUID
[13:06] <ogra> yeah
[13:06] <kre10> UUID=f117b1a8-c188-4319-8761-61407a3c37e1
[13:06] <kre10> PARTUUID=4e7d59ec-01
[13:06] <ogra> perfect
[13:07] <kre10> sudo blkid -o export /dev/sda1 UUID="f117b1a8-c188-4319-8761-61407a3c37e1" /media/SSD ext4 defaults 0 0
[13:07] <kre10> Is it fine?
[13:07] <ogra> UUID="=f117b1a8-c188-4319-8761-61407a3c37e1" /mnt ext4 defaults 0 0
[13:07] <ogra> add this line to the end of the /etc/fstab file ... exactly like i wrote it
[13:08] <kre10> ОК
[13:08] <ogra> save and reboot and your USB disk should be mounted on boot under /mnt
[13:08] <kre10> there are some lines
[13:08] <kre10> LABEL=writable  /        ext4   defaults        0 0
[13:08] <kre10> LABEL=system-boot       /boot/firmware  vfat    defaults        0       1
[13:08] <ogra> just add oe to the end
[13:08] <kre10> OK
[13:08] <ogra> oh
[13:08] <ogra> you are on ubuntu core !!
[13:08] <kre10> Yes
[13:08] <ogra> you should have said that from the start 🙂
[13:09] <kre10> Sorry
[13:09] <kre10> I said ubuntu(focal) I tought it's enough
[13:09] <ogra> on ubuntu core /etc/fstab is readonly, you can not edit it
[13:09] <ogra> core is different (not using .deb packages and such)
[13:10] <kre10> So, is there anyway to mount this storage automatically?
[13:10] <kwami> Hi everybody...
[13:10] <ogra> yes, but only through a systemd unit
[13:10] <ogra> this is a bit more complex
[13:11] <kre10> I have this to mount network storage deivce:
[13:11] <ogra> core is completely built from snap packages (including kernel and rootfs)
[13:12] <ogra> it is designed for embedded, IoT, appliances and such ... for greater security
[13:13]  * ogra points to https😕/ubuntu.com/core
[13:13] <kre10> Uploaded file: https://uploads.kiwiirc.com/files/ffdfa578360e03f1e72f9cc92a054947/pasted.txt
[13:13] <kre10> |Here's the systemd
[13:13] <ogra> thats a file to mount a remote samba share
[13:14] <kre10> Yes
[13:14] <kre10> is it the same for the external storage?
[13:15] <ogra> kre10, https://paste.ubuntu.com/p/63TVqWkZRS/
[13:16] <ogra> it *needs* to be named mnt-usbdisk.mount and should live in /etc/systemd/system
[13:17] <kre10> I'm trying now
[13:17] <ogra> after you put it there you needs to run "sudo systemctl enable mnt-usbdisk.mount"
[13:17] <ogra> *need
[13:17] <ogra> then it shoudl be automounted on boot
[13:18] <kre10>  Active: active (mounted) since Mon 2021-01-18 15:18:44 EET; 5s ago
[13:18] <kre10>       Where: /mnt/ssd
[13:18] <kre10>        What: /dev/sda1
[13:19] <kre10> So, I have to enable it to make it automounted on boot
[13:19] <ogra> yes
[13:19] <ogra> systemctl will put a link for it into /etc/systemd/system/multi-user.target.wants/
[13:20] <ogra> systemd processes everything in that dir on boot
[13:20] <kre10> I don't know how to thank you, Oliver! You were very patience and kindness.
[13:20] <ogra> no prob 🙂 enjoy ubuntu 😉
[13:21] <kre10> Created symlink /etc/systemd/system/multi-user.target.wants/mnt-ssd.mount → /etc/systemd/system/mnt-ssd.mount.
[13:21] <kre10> perfect!
[13:21] <ogra> now reboot and lets see
[13:22] <kre10> 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] <kre10> What is the solution for this? I think we just mounted as root, right?
[13:23] <ogra> yes, you did
[13:23] <ogra> systemd runs as root and mounts as root
[13:24] <ogra> 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] <ogra> (likely somewhere under /var/snap/nextcloud or so)
[13:25] <kre10> nope, I'm using the docker image, with my user
[13:25] <kre10> I will try to point the new storage
[13:25] <ogra> ah, well, not a docker user either (i use lxd for containers) so i cant help with that
[13:27] <kre10> the weird thing is that the other containers don't have this problem
[13:40] <kre10> ogra thank you so much for everything!
[13:42] <ogra> kre10, as i said, no problem 🙂
[13:42] <BluesKaj> Hi folks
[13:42] <kre10> :)
[13:42] <nbusrone> How do I check network eth0 speed ? from an old PC Ethernet port.
[13:43] <nbusrone>  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] <lotuspsychje> ogra: tested zoom-client snap this weekend for a customer, looks great! nice work mate
[13:46] <ogra> thanks ... you are among 165000 other users with it 😉
[13:46] <lotuspsychje> snap users that is?
[13:46] <ogra> yep
[13:46] <lotuspsychje> wow
[13:46]  * ogra loves that snaps can give you exact statistics
[13:47] <lotuspsychje> ogra: can you join in #ubuntu-discuss plz
[13:53] <Indrek> Hello
[13:53] <lotuspsychje> welcome Indrek
[13:53] <Indrek> why are locales needed in webserver
[13:53] <Indrek> lets say that im running simple wordpress site
[13:53] <Indrek> not in english
[13:54] <Indrek> do i even need different locales ?
[13:54] <Indrek> or is it only used when i log into terminal or use GUI?
[14:01] <daysun> 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] <nbusrone> 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 ?
[14:24] <pavlos> nbusrone: you can set speed to 1000 ... sudo ethtool –s eth0 speed 1000 duplex full autoneg on
[14:25] <daysun> I'm surprised that the latest ubuntu server isn't using nftables. iptables feels so outdated
[14:25] <daysun> even for debian-based distros
[14:28] <TJ-> I'm surprised its not using eBPF
[14:46] <utman> 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] <nbusrone> pavlos : to be confirm,  motherboard LAN support 1000mbps or 1 gbits ? what are the difference between 1000baseT vs TX ?
[14:49] <coconut> jeremy31, you are awake?
[14:50] <coconut> jeremy31, here is my paste for hwe status http://p.ip.fi/ES0F
[14:56] <pavlos> 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] <pavlos> nbusrone: I usually test with iperf3 ... on server iperf3 -s   on client iperf3 -c server ...
[15:17] <barnex> 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] <barnex> (OS is ubuntu 20.04.1)
[15:19] <cart_man> 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] <cart_man> Also I had an enteresting error when trying to reset. -> mit-magic-cookie-1 : Can't open display
[15:21] <cart_man> In the ~/.config/monitor.xml  the eDP-1 was under "<Disabled>" and even if I removed that and replaced it with <monitor> it was till the same issue
[15:53] <TJ-> cart_man: does "xrandr -q" show the output and its EDID modes/rates info?
[15:54] <TJ-> cart_man: also, are you using an SSH session, local console text TTY, or a GUI terminal shell
[16:01] <goddard_> 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?
[16:07] <elwisp> i installed xorg on ubuntu server and now i got like a DE installed, how do i purge it?
[16:08] <elwisp> Xvfb broke because of it :/
[16:37] <nbusrone> 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] <GrandPa-G> 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] <GrandPa-G> ACTION=="add", KERNEL=="sd?", SUBSYSTEM=="block", ENV{ID_BUS}=="usb", TAG+="systemd", ENV{SYSTEMD_WANTS}+="autorunUSB.service"
[16:45] <DJones> phc
[16:49] <Mr_Singh> Hello everyone , How can I access my one ubuntu system from another ubuntu system at same network
[16:49] <Mr_Singh> I want complete access I mean GUI
[16:50] <Mr_Singh> Is there any ubuntu app available like Remmina
[16:50] <Mr_Singh> anyone please
[16:50] <Maik> !patience | Mr_Singh
[16:51] <Maik> if you run default Ubuntu Remmina should be installed by default iirc
[16:54] <legreffier> Mr_Singh: in Settings / sharing / screen sharing , should work, it's just off by default.
[16:56] <legreffier> remmina is available on ubuntu too, try Boxes too, it should come with ubuntu.
[16:59] <Mr_Singh> legreffier : Thank you , I have Remmina on my one pc , Should I install it to my second pc for access , Right
[17:02] <legreffier> no.
[17:06] <Mr_Singh> 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] <Mr_Singh> right ?
[17:52] <regedit> hello
[17:55] <regedit> 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
[18:07] <tete_> 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] <tete_> also i dont know what exactly happened - is there some GUI where i can see whats going on?
[18:08] <Maik> the onlyè way to get rid of the message is to disable apport
[18:09] <pavlos> nbusrone: cat5 supports 100, cat5e supports 1000
[18:11] <k4rt0ff3lch33t4h> 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] <tete_> ok there were 4 files and i deleted them
[18:22] <tete_> lets see what happens ;)
[18:22] <tete_> thanks
[18:27] <projectui> 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] <ioria> projectui, are you using the snap version of network-manager ?
[18:37] <projectui> 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] <ioria> projectui, i suggest you use the default (.deb) version
[18:38] <projectui> ioria: will it really mess things up if I took that crap snap stuff oof?
[18:38] <projectui> off*
[18:39] <frad> 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] <knmae> ffmpeg?
[18:45] <frad> is ffmpeg cli?
[18:48] <EriC^> yes frad
[18:49] <BlastuR> 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] <BlastuR> 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] <BlastuR> 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] <frad> EriC^, will ffmpeg create a bigger file, if I crop an original one?
[18:54] <EriC^> frad: i think it should be smaller
[18:55] <frad> 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] <frad> all right!! we're in business!!
[19:04] <frad> EriC^, is it normal that ffmpeg runs so slow?
[19:04] <EriC^> yeah frad , it takes some time
[19:05] <frad> EriC^, do youperchance know how many pixels equal 1.5 inches?
[19:06] <EriC^> frad: 144px (courtesy of https://www.unitconverters.net/typography/inch-to-pixel-x.htm )
[19:06] <frad> much obliged
[19:13] <discovered> is there anyway to fix the wireless mouse lagging?
[19:14] <discovered> Battery is fine. It works in windows too
[19:28] <tuxakadjseb> Is it a bluetoooth mouse ?
[19:28] <discovered> tuxakadjseb, no... wireless
[19:29] <tuxakadjseb> Okay
[19:36] <wappyn> hello, is there any app that may allow me to block specific apps in specific period of time?
[19:37] <oerheks> likely an other radio source bugging your mouse, speakers, phone, other wifi device
[19:37] <oerheks> wappyn, there used to be netnanny,
[19:39] <wappyn> oerheks: ooh, it's not even freeware...
[19:40] <discovered> oerheks, my router wifi is enabled. Can it be an issue too?
[19:40] <wappyn> 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] <wappyn> from monday to friday from 5:30 PM to 9 PM
[19:41] <wappyn> to don't waste whole time after work on wothless and addicting places
[19:41] <wappyn> 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] <wappyn> maybe I would uinstall telegram app, and switch to browser one
[19:43] <gravitos> so, back to bluetooth sticks. my laptop does not connect to anything via bluetooth
[19:43] <gravitos> it shows device busy error every time i try to
[19:43] <gravitos> any ideas?
[19:46] <gravitos> uh, this time bluetoothd is dead. how to start it?
[19:47] <matsaman> gravitos: 'sudo service bluetooth start' I'd guess
[19:48] <gravitos> hm
[19:48] <gravitos> bluetoothctl still waits for bluetoothd to respond
[19:49] <gravitos> so, `sudo service bluetooth start` did nothing
[19:50] <matsaman> service --status-all | grep -i blue
[19:51] <gravitos> [ - ] bluetooth
[19:52] <discovered> Look like mouse is lagging as there is WIFI enabled in my router. What is the solution here?
[19:52] <gravitos> discovered: is this a bluetooth mouse?
[19:53] <discovered> gravitos, no.
[19:54] <discovered> The mouse keyboard is connected USB dongle
[19:54] <gravitos> hm, i see no reasons for it to lag... other than 'pc is too old'
[19:54] <matsaman> gravitos: - is for disabled, yeah?
[19:55] <gravitos> idk, but bluemon shows [ + ]
[19:56] <gravitos> service bluetooth status shows this https://www.irccloud.com/pastebin/06qAWLwH/Terminal
[19:57] <gravitos> so its probably more dead than disabled, I guess
[19:57] <gravitos> bt stick is plugged in if that matters
[19:58] <discovered> gravitos, Not sure if Intel(R) Core(TM) i7-6800K CPU @ 3.40GHz should be considered as too old
[19:58] <matsaman> too old for what
[19:58] <gravitos> i guessed that his mouse lags because of too old pc
[19:58] <gravitos> cuz i have a very old phone that lags af when it is connected to wifi
[19:59] <discovered> disabling router wifi seems improve it.
[19:59] <ice9> why ubuntu installer doesn't fully encrypt the disk including the /boot partition?
[19:59] <matsaman> for a wireless mouse with a dedicated USB wifi dongle?
[19:59] <gravitos> ice9: cause it cant boot if /boot is encrypted
[19:59] <matsaman> only great physical interference or dead/dying batteries should matter to that
[20:00] <discovered> matsaman, yes. Mouse and Keyboard using one dedicated USB wifi dongle
[20:00] <ice9> gravitos, negative! grub can unlock encrypted partitions with luks
[20:00] <gravitos> but grub is on /boot
[20:00] <gravitos> and if there is no grub to unlock /boot, how do grub even start?
[20:01] <ice9> gravitos, if you will boot with EFI then there is EFI loader in the EFI partition which is unencrypted
[20:02] <gravitos> but can it unlock partitions?
[20:02] <ice9> yes it can
[20:02] <gravitos> anyway, my laptop is too old for all this efi things
[20:02] <gravitos> probably that's why
[20:03] <gravitos> 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] <Mr_Singh> Hi anyone guide me how I can access my ubuntu desktop from my ubuntu laptop machine
[20:05] <Mr_Singh> I have remmina on my desktop computer and on my laptop as well
[20:05] <gravitos> Mr_Singh: you want to use your laptop as a remote to desktop?
[20:06] <gravitos> like, see desktop screen on laptop and control it from laptop
[20:06] <Mr_Singh> yes
[20:07] <gravitos> on desktop, `sudo apt install x11vnc`
[20:07] <Mr_Singh> I want to control my destop from my laptop
[20:09] <gravitos> Mr_Singh: done?
[20:09] <Mr_Singh> not yet
[20:09] <Mr_Singh> I have remmina on desktop side
[20:09] <Mr_Singh> is that help ?
[20:10] <gravitos> not really
[20:10] <gravitos> install remmina on laptop
[20:10] <Mr_Singh> yes I have remmina on laptop as well
[20:11] <gravitos> on laptop, check if you installed remmina-plugin-vnc. if not, install it
[20:12] <Mr_Singh> remmina have vnc support in drop down I have checked
[20:12] <Mr_Singh> it have support ssh, vnc, rdp
[20:12] <gravitos> run x11vnc on desktop (you may want to add it into autorun for it to start itself on your user login)
[20:13] <Mr_Singh> ok
[20:14] <gravitos> did you run it in terminal or from icon?
[20:14] <Mr_Singh> which one you suggest
[20:14] <gravitos> icon shows additional dialog to select port
[20:14] <gravitos> terminal just runs
[20:15] <Mr_Singh> done
[20:15] <Mr_Singh> what is next
[20:16] <gravitos> now use remmina on laptop to connect to your desktop
[20:16] <Mr_Singh> ok
[20:16] <gravitos> check your desktop ip address: ifconfig
[20:16] <gravitos> address what we are looking for is starting with 192.168
[20:16] <Mr_Singh> it is asking me server , repeater, user name , user password
[20:17] <gravitos> get your desktop's ip address
[20:19] <gravitos> Mr_Singh: done?
[20:20] <Mr_Singh> Actually I was setting the password
[20:20] <gravitos> terminal: `ifconfig | grep 192.168` and look for that address what is after inet
[20:21] <gravitos> like, it gives you this:
[20:21] <gravitos> `inet 192.168.1.105  netmask 255.255.255.0  broadcast 192.168.1.255`
[20:21] <gravitos> so address we need is 192.168.1.105
[20:21] <gravitos> in my case
[20:21] <Mr_Singh> yep
[20:21] <Mr_Singh> gotcha
[20:21] <Mr_Singh> so I need to put that address in remmina
[20:22] <gravitos> now input this address in remmina, and after it add `:5900` (with no quotes)
[20:22] <gravitos> like, 192.168.1.105:5900
[20:22] <Mr_Singh> why 5900
[20:22] <Mr_Singh> any specific reason
[20:23] <gravitos> because it is bound to x desktop :0, which is your desktop screen
[20:23] <gravitos> if you for some bizarre reasons got two or more x desktops on one user, ports will change
[20:23] <gravitos> but you probably didn't, so it defaults to 5900
[20:24] <Mr_Singh> ok
[20:24] <Mr_Singh> thanks I am able to access my desktop
[20:25] <Mr_Singh> it's little slow and I am not able to access menu bar
[20:26] <gravitos> not sure why you cant access menu bar, works perfect for me
[20:26] <gravitos> slowness is how vnc works
[20:26] <Mr_Singh> hmm
[20:26] <Mr_Singh> 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] <TJ-> Mr_Singh: if you're using the Terminal application remotely, why not just SSH in?
[20:28] <gravitos> maybe resting mouse at anything before clicking it will help
[20:28] <Mr_Singh> TJ : I need to access other apps as well
[20:29] <gravitos> 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] <Mr_Singh> gravitos : I will fix it
[20:29] <TJ-> 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] <gravitos> actually, with x11vnc you can control your desktop even with android phone which has any vnc client installed
[20:31] <Mr_Singh> Actually I think there is resolution issue
[20:31] <Mr_Singh> My desktop resolution is large as compare to laptop ,
[20:31] <Mr_Singh> Do you know how I can fix it
[20:31] <gravitos> that is where all the slowness coming from btw
[20:32] <gravitos> open display settings on desktop and lower the resolution
[20:32] <Mr_Singh> hmm
[20:32] <Mr_Singh> Thank you
[20:35] <Mr_Singh> gravitos : I have stopped the x11vnc
[20:35] <gravitos> and?
[20:35] <Mr_Singh> and I am still able to access my desktop
[20:35] <Mr_Singh> how ?
[20:35] <gravitos> good question
[20:36] <TJ-> because it didn't stop, or it auto-restarts, or there was another VNC instance already operating
[20:36] <Mr_Singh> let me find out
[20:36] <gravitos> actually, I have no answers for it
[20:36] <Mr_Singh> I will back after few mins
[21:01] <Mr_Singh> gravitos : because I have enabled screen sharing before running x11vnc , when I stopped it then my vnc connection was closed
[21:12] <shinobi> 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.
[21:42] <GrandPa-G> anyone have good understanding of udev. I can't get my rule to work.
[21:43] <MIF> https://dontasktoask.com/
[21:43] <TJ-> GrandPa-G: is it on strike?
[21:44] <GrandPa-G> TJ-, is that a joke?
[21:44] <TJ-> GrandPa-G: as MIF pointed out, don't ask to ask, just tell us the exact problem/ show the problem
[21:45] <GrandPa-G> TJ-, I got that, know that, and asked earlier and got nowhere.
[21:46] <TJ-> GrandPa-G: experts aren't always around due to timezones etc.
[21:46] <GrandPa-G> 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] <GrandPa-G> I want to know when usb flashdrive was inserted.
[21:47] <GrandPa-G> service is a oneshot
[21:48] <TJ-> GrandPa-G: where's the specific problem? the rule not triggering or the systemd service not being triggered?
[21:49] <GrandPa-G> 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] <GrandPa-G> the service has very simple ExecStart=/usr/bin/echo 'device has been attached'
[21:55] <oerheks> maybe something like:  ACTION=="add", DRIVERS=="usb-storage", DRIVER=="sd", RUN+="/usr/bin/echo 'device has been attached'"
[21:55] <oerheks> https://askubuntu.com/questions/625243/how-to-execute-c-program-whenever-a-usb-flash-drive-is-inserted
[21:55] <TJ-> 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] <TJ-> GrandPa-G: you're unplugging and re-inserting the USB device ?
[21:56] <GrandPa-G> 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] <GrandPa-G> TJ-, yes that is what I am using to try to detect.
[21:56] <oerheks> and after adding; sudo udevadm control --reload-rules
[21:57] <TJ-> 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] <GrandPa-G> oerheks, that is from 2015, a bit outdated.
[21:58] <TJ-> GrandPa-G: udev hasn't changed that much in a long time
[22:16] <GrandPa-G> TJ-, one small step for man... the rule runs, not to change to service. Thanks both
[22:16] <bobdobbs> 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] <bobdobbs> Please use the tool 'ppa-purge' from the ppa-purge..." How can I identify which pages to purge?
[22:17] <TJ-> GrandPa-G: so the issue is systemd not triggering the service?
[22:18] <GrandPa-G> TJ-, maybe. I am just buiding back to service. I am just sure what options need to be in the rule.
[22:22] <TJ-> GrandPa-G: silly question, but the unit is installed and enabled according to 'systemctl status' ?
[22:23] <GrandPa-G> TJ-, not silly at all, but yes, installed and enabled.
[22:24] <TJ-> GrandPa-G: can you show us what "systemctl cat autorunSUB.service" reports?
[22:24] <TJ-> oops!
[22:24] <TJ-> GrandPa-G: can you show us what "systemctl cat autorunUSB.service" reports?
[22:24]  * TJ- broked it :)
[22:27] <GrandPa-G> https://pastebin.pl/view/014c6575
[22:29] <TJ-> GrandPa-G: I'll test the udev rule and your unit here
[22:29] <GrandPa-G> TJ-, very kind of  you
[22:42] <InZane84> 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] <InZane84> it crashed at the very end of the installation while downloading updates...
[22:43] <InZane84> i've booted into the newly installed system. i'm on it now
[22:44] <InZane84> why is no one talking? this channel use to be 'alive' with chatter....is IRC dead?
[22:45] <TJ-> GrandPa-G: with your udev rule I cannot get it to trigger and create the tell-tale
[22:45] <GrandPa-G> TJ-, did you do just the PROGRAM or try the service?
[22:47] <TJ-> GrandPa-G: I've fixed it though; both are now working
[22:48] <GrandPa-G> TJ-, what do I need to pay for the secret?
[22:48] <TJ-> 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] <GrandPa-G> TJ-, I am hoping it is not a simple thing
[22:48] <InZane84> 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] <TJ-> 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] <TJ-> InZane84: I don't recall but thought it was /var/log/install/ or similar
[22:51] <TJ-> GrandPa-G: "systemctl status autorunUSB" shows "autorunUSB[1447328]: device has been attached"
[22:51] <InZane84> TJ- I have nothing such as that....
[22:51] <TJ-> InZane84: hmm, does "ls -latr /var/log/" help (that lists entries with most-recently-changed last)
[22:52] <GrandPa-G> 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] <TJ-> GrandPa-G: won't necessarily be in syslog but would show with "systemctl status autorunUSB" and "journalctl -u autorunUSB"
[22:53] <InZane84> 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] <GrandPa-G> TJ-, I don't get same status either, just normal service activted status
[22:55] <TJ-> GrandPa-G: I've just restested, monitoring with "journalctl -fu autorunUSB" and it reports the device being inserted
[22:58] <GrandPa-G> TJ-, this is the last journalctl results. https://pastebin.pl/view/29c0972b I am running on Raspberry, maybe some differences.
[22:59] <GrandPa-G> TJ-, you just created the service file in systemd/system, then systemctl enable - correct? anything else?
[22:59] <TJ-> it ran according to that, 13:37:02 . What does this report "systemctl status autorunUSB"
[23:00] <TJ-> GrandPa-G: "sudo systemctl daemon-reload"
[23:00] <GrandPa-G> TJ-, of course after any change
[23:01] <TJ-> GrandPa-G: my config/results: https://paste.ubuntu.com/p/zs4jFDRMBG/
[23:05] <GrandPa-G> TJ-, I am starting from scratch, new files, removed old.
[23:06] <TJ-> GrandPa-G: good plan :)
[23:06] <GrandPa-G> TJ-, and a reboot
[23:06] <TJ-> reboot should never be needed on Linux!
[23:06] <geosmile> is there a way to build one's own livepatch service? instead of registering with Canonical?
[23:07] <TJ-> geosmile: yes, but its difficult to do since that hard part is preparing the patches
[23:22] <GrandPa-G> TJ-, one small gotcha (for me) echo is in /bin/echo
[23:26] <GrandPa-G> TJ-, Success. How can I thank you?
[23:27] <TJ-> GrandPa-G: ahhh, /bin/ should be a sym-link to /usr/bin/ nowadays
[23:28] <GrandPa-G> 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] <shinobi> anyone know how to setup jack?
[23:51] <sixie6e> https://www.imgpaste.net/image/jXQ5a
[23:53] <sixie6e> installed almost 6 months ago, no internet change
[23:54] <sixie6e> 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