/srv/irclogs.ubuntu.com/2024/06/21/#ubuntu.txt

=== KarenTheDorf is now known as karenthedorf
=== deepSleep is now known as Guest306
=== chris14_ is now known as chris14
theHello there01:46
=== antonio__ is now known as user125356
=== diceLibrarianOnR is now known as rootLibrarian
=== hams2 is now known as hams
Guest46hi everyone 👋. I'm on windows using WSL and i recently copied over a lot of files from one drive to another. I want to use rsync to do a checksum on all the files, and for the most part it's been working well. however, i just realized that it seems that rsync chokes on directories that have files with emojis in their filename03:16
Guest46are there any suggested workarounds? I've been looking into this issue for hours now03:16
rboxwsl1 or wsl203:17
Guest46checking03:18
Guest46output from running `wsl - l -v` in Powershell:03:20
Guest46  NAME      STATE           VERSION03:20
Guest46* Ubuntu    Running         203:20
Guest46so version 2 it seems03:20
Guest46i'm running `5.10.16.3-microsoft-standard-WSL2`03:21
rboxprobably just windows being stupid as usual03:24
Guest46😭lmao03:25
Guest46rip03:25
kutwhat would be best to use to copy settings from one machine with ubuntu to a fresh install on another?03:40
kuteven the panel settings03:40
rboxcp03:40
kutjust cp / ?03:40
rboxpanel settings are in your home directory03:41
kutwhat about changes ive made in /etc?03:42
rboxif its the same version, probably fine to c opy the files03:42
rboxwhat di dyou chnage in /etc03:42
kutat the very least, my apt sources03:43
rboxwhat did you change03:44
kuti didn't keep a list of things to change other than i know i added more sources03:44
rboxwell if you added files03:44
rboxjust copy the new files03:44
kutmaybe backintime-qt03:44
kutI asked because I don't want to manually copy files over03:45
kuteven rsync would be better than just cp03:48
kutwhat about installing the apps?03:57
kutis there a way to get a list for apt?03:57
rboxdpkg -l03:58
rboxwill tell you whats installed03:58
kutand then?03:59
rboxand then you know what is installed04:00
kutit's fun how you answer like half of my questions04:00
Bashing-omkut: Consider debfoster ' apt show debfoster '.04:02
JoeLlamaok gunna move this filesystem to a new computer.  what's the trick what do I copy?04:29
=== kai5 is now known as kai
=== diceLibrarian2 is now known as liceDibrarian
blahdeblahJoeLlama: Depends on the file system type and how large it is and what your connection between the two computers is - more context?05:26
mgedminkut: I will point you towards dconf dump / and dconf load /, for a text format settings export/import06:31
zenoBuongiorno a tutti06:38
luckylinuxIs there something "special" with Ubuntu 24.04 and/or Apparmor ? I seem to NOT be able to mount NFS shares (mount.nfs: No such device for ...), which usually points to a missing Kernel Module (lsmod does NOT show anything ... maybe built-in ?). As well as Wireguard NOT even attempting to connect to a Remote Server06:42
zenoho di nuovo fatto casini coi repository :D06:48
CosmicDJluckylinux: did you install the nfs-common package?06:51
zenoME?06:53
toddczeno: no06:53
luckylinuxCosmicDJ: yes of course06:53
luckylinuxzeno: quello è da evitare :P06:53
toddczeno:    https://status.canonical.com/06:54
toddcif my tranlation is correct06:54
luckylinuxdepends which and what mess he made06:55
luckylinuxthere should be a sources.list somewhere, shouldn't it ?06:55
luckylinuxThat he can restore from06:55
luckylinux(I know how to do it, but I mean, a publicly available file hosted somewhere in a wiki or smth like that)06:56
luckylinuxCosmicDJ, Not sure if it's related to some kernel+networking hardedning I did. My feeling is that these issues started popping up when I enabled firejail.06:57
luckylinuxzeno: questo ed è anche in italiano :). https://wiki.ubuntu-it.org/Repository/SourcesList06:57
luckylinux(io uso archive.ubuntu.com non it.archive.ubuntu.com ma comunque ...)06:58
luckylinuxand  security.ubuntu.com can also be replaced by archive.ubuntu.com06:59
=== EriC^^_ is now known as EriC^^
noobarooHi... I just installed Ubuntu and checked autologin during installation, using Intel Rocket Lake GPU, and I saw it was starting X11 by default, but I could manually log out and sign in to a Wayland session each time, but I wanted to make Wayland default so I tried to edit some files and now Wayland has disappeared as an option all together07:02
toddc24.04 seperated sources into several directorys not sure but there should be a copy07:03
enigma9o7You shoudln't need to edit stuff, if you login to wayland session, then next time it'll be default.07:03
enigma9o7in any case, if waht you were editing was your wayland session file, perhaps you broke it/synatx error or something.07:04
enigma9o7grab a new copy07:04
noobarooenigma9o7 That's weird, it was definitely going to X11 everytime07:05
noobarooWhere is the wayland session file? The file I modified is /etc/gdm3/custom.conf07:05
noobarooAlso where should I grab a new copy from?07:06
enigma9o7well the session files are in /usr/share/wayland-sessions/ and an xsession file in /usr/share/xsessions/07:08
noobarooAlso is this the recommended channel for Ubuntu help? I remember using Mint a few years back had Ubuntu and Mint help channels on a different IRC Network, SpotChat I think was the name, but I'm using libera webchat because I dont have a client installed yet07:08
enigma9o7Yes, this is official ubuntu support channel, here on libera.  Mint's official support channel is still on spotchat.07:08
enigma9o7and, your login manager (gdm3 by default) should offer you all the session options from those folders07:09
enigma9o7but as to where to get the original file if you messed wit it and don't have a copy, i would apt-file search for it07:10
enigma9o7for example "apt-file search gdm3/custom.conf" and it will tell you which package it came from07:10
enigma9o7of course you must first install apt-file07:10
noobarooOkay, thanks for the advice. GDM does not offer any selections whatsoever, just the username and password07:11
enigma9o7and then you can apt install --reinstall the package, or apt download it and find the file yoruself, etc.07:11
enigma9o7noobaroo, after you enter your username, before you enter the password, a gear icon appears bottom right07:11
noobarooHow can I make GDM start automatically again? I used systemctl disable gdm and it wont let me enable it again07:11
enigma9o7that is where you select which session to use07:11
noobarooThat gear icon used to be there but isn't anymore07:12
enigma9o7hmmmmm i dunno.  i always "sudo service gdm3 stop" and "sudo service gdm3 start" kinda thing.07:12
noobarooYeah, me too, I'm usually an Arch/KDE guy and things are more vanilla over there07:13
enigma9o7anyways the /etc/gdm3/custom.conf file is in the "gdm3" package itself07:13
noobaroogdm can't be enabled but apparently its auto handled by graphical.target and so I did "sudo systemctl set-default graphical.target" but I still boot up to a TTY and then have to manually do "systemctl start gdm"07:13
enigma9o7try gdm3 instead of gdm, i dunno07:14
noobarooI already reverted the /etc/gdm3/custom.conf file so I think the problem might be having to re-enable gdm properly after I disabled it07:14
enigma9o7wouldn't hurt to try "sudo apt install -reinstall gdm3"07:15
enigma9o7doubledash07:15
enigma9o7sudo apt install --reinstall gdm307:15
ghodawalaaman!help07:15
ubottuPlease don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience07:15
Guest33hello07:16
Guest33anyone alive?07:16
Guest33new to IRC07:16
Guest33hello07:16
Guest33alive?07:16
noobarooenigma9o7 Usually I start from TTY anyway but Im new to Ubuntu when I tried launching Gnome from TTY on Ubuntu it gives me a blank desktop with blue wallpaper and no extensions and none of my passwords are saved07:17
Guest33are you real user?07:17
ghodawalaamanGuest33: hi07:17
ghodawalaamanyou seem new to IRC07:17
Guest33yes07:17
Guest33i was just trying out fancy irc07:17
noobarooI tried following the commands from ArchWiki on starting Gnome but it doesnt seem to apply to Ubuntu07:17
enigma9o7Yeah welcome to 3 decades ago.07:17
Guest33everone seems bot here 😅😅07:18
Guest33hello danse07:18
Guest33meh leaving\07:19
enigma9o7just go away please, nobody appreciates insults, its not a way to greet.07:19
enigma9o7good07:19
Guest33sorry07:19
Guest33im just new to irc07:19
enigma9o7so you think its fine to just tell everyone they seem like a robot?07:20
enigma9o7assuming that's what you were trying to say, some letters were obviously missing.07:20
CosmicDJand he's gone07:20
thelounge2706hello07:24
TomyWork2 days ago, unattended-upgrades installed a kernel upgrade for me (6.5.0-41). Yesterday after booting, that kernel was activated and I've had issues with the HDMI port on a Lenovo dock all day yesterday and today, until I booted back into 6.5.0-3507:27
enigma9o7hello thelounge, welcome!07:27
ghodawalaamanguys07:28
ghodawalaamanis there something fun I can do with Ubuntu07:28
TomyWorkfirst of all, how do I prevent unattended-upgrades from uninstalling -35 once the next kernel is installed? and second of all, how do I make -35 the default kernel for the time being?07:28
enigma9o7apt mark hold07:29
enigma9o7and also remove the newer one so grub doesn't boot it07:30
enigma9o7or configure grub to boot -3507:30
TomyWorkenigma9o7,  which package do i set on hold? :D07:30
TomyWorkcould do everything that's -35, but that's a lot to clean up afterwards07:31
enigma9o7ghodawalaaman: Yes.07:31
=== TomTom_ is now known as TomTom
ghodawalaamanenigma9o7: like what07:32
enigma9o7the kernel package, linux-image-whateveritis-3507:32
ghodawalaamanhttps://chatgpt.com/share/4c3819be-8afb-4f6a-9265-06c2a08decc007:32
ghodawalaamanenigma9o7: i was thinking about tikering with apt database07:32
TomyWorkghodawalaaman, this is a support channel, try #ubuntu-offtopic if you just wanna chat.07:33
ghodawalaamanTomyWork: okie dokie!07:33
TomyWork"sudo apt-mark hold linux-image-6.5.0-35-generic" did the trick, hopefully :)07:35
noobarooI'm going to try running env GNOME_SHELL_SESSION_MODE=ubuntu /usr/bin/gnome-session --session=ubuntu on TTY, hopefully it works07:38
noobarooI don't really care about GDM, I just want a usable desktop07:39
noobarooI will be back probably because I have rebooted approx 5 times now to no avail07:39
TomyWorkI want to look for similar bug reports since -41 was pushed to 22.04. any idea when that was?07:41
TomyWorklike I said I got it 2 days ago, but I dont know how long unattended-upgrades has been waiting for an opportunity to install it :)07:41
TomyWorkhttps://bugs.launchpad.net/ubuntu/+bugs?advanced=1 how do I search for kernel bugs here? there's no package field or anything07:57
MikakuHi, I have a strange network problem and I hope someone here can help me. I've a Rocky 9 with an Ubuntu 22.04 as guest using KVM and network bridge. If I try to SSH from host (Rocky 9) to guest (Ubuntu) I get the message "kex_exchange_identification: read: Connection reset by peer. Connection reset by 192.168.1.5 port 22", but then if I ping to the guest (3 or 4 pings) then I can log in via SSH without any problem, but only within 10 or 15 minutes ...08:36
Mikaku.. then I get again the same message "kex_exchange_identification ..."08:36
MikakuThe problem is not only with SSH (port 22) it also happens with port 80 or 443. I've already asked in #rockylinux and someone there recommended to disable the kernel powersavings with 'sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target' but, this command had no effect08:37
Mikakuanyone experienced something similar?08:37
luckylinuxNot exactly that, but I remember reading a while ago about doing the same with tcpdump instead of ping, that basically put the interface in promiscous mode, then it would start to listen and you could ssh into it then. Maybe a different issue though08:39
luckylinuxit could also be some stateful firewall doing its job (check asymmetric routing) and make sure you have a Host * [ENTER] # This will prevent: Received disconnect from XXX.XXX.XXX.XXX port XX: Too many authentication failures [ENTER] IdentitiesOnly=yes in your ~/.ssh/.config08:40
TomyWorkhttps://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.5/+bug/2070020 I didn't find a bug report for this, so I created one08:40
-ubottu:#ubuntu- Launchpad bug 2070020 in linux-hwe-6.5 (Ubuntu) "Lenovo dock no longer working after upgrade from 6.5.0-35 to 6.5.0-41" [Undecided, New]08:41
luckylinuxdoes ssh -vvv root@... show something useful ?08:41
luckylinuxFor a Fedora VM it would take a long time in my case for GSSApi, to be disabled in /etc/ssh/sshd_config.d/50-redhat or something like that08:41
TomyWorkMikaku,  check if you have multiple IPs assigned to the hostname or multiple hosts with the same IP08:42
Mikakuluckylinux: these are the last lines after sss -vvv root@.... <https://pastesite.org/view/7f6a90fa>08:42
MikakuTomyWork: I'll check that ...08:43
luckylinuxMikaku, try to add my lines to your config, not sure if related, but at least it should NOT attempt to authenticate using the wrong ssh key08:43
Mikakuluckylinux: the issue is not only with SSH, it also happens with ports 80 and 443, so I would discard anything related specifically to SSH08:45
luckylinuxfair enough ... there is some routing issue08:45
Mikakulooks so, indeed08:45
luckylinuxor potentially an interface or member of interface is is promiscous mode when it shouldn't be08:45
luckylinux*member of bridge I meant08:46
luckylinuxcheck also that if you have networkmanager (like I do on Fedora ServeR), it's configured correctly08:47
Mikakuthe curious thing is that I installed other guests in the same host and they are working fine08:47
luckylinuxon Ubuntu Host for instance all sort of stuff can happen if you manually configure but leave the interface also managed by networkmanager08:47
Mikakuit only happens with this Ubuntu08:47
luckylinuxNetplan weirdness ? dhcpcd [lack of] configuration ? How did you configure ubuntu networking ?08:48
Mikakuwait a sec08:48
Mikakuluckylinux: <https://pastesite.org/view/be3e00f4>08:49
MikakuTomyWork: I don't see any other host using the same IP, host's arp table looks good08:52
TomyWorkMikaku, do a watch on it and see if it changes when the issue starts and stops happening08:53
TomyWorkjust to be sure :)08:53
MikakuTomyWork: will do, thanks :)08:54
luckylinuxMikaku, are you sure your netmask is correct ? No experience with Netplan though ... but 192.168.1.5/32 is single host08:54
luckylinuxalthough the to: default seems ok for the default route08:55
luckylinuxif I look at a ubuntu Host (not VM) I have a routing table with /20 on both the default and the (dhcp) link item08:55
luckylinuxdo `ip route` inside the guest08:56
luckylinuxand `ip addr` as well08:56
luckylinuxLimited use since I do NOT use Ubuntu KVM Guests, just Ubuntu as a Desktop (soon Virtualized though :D) ... but with a Proxmox VE KVM Guest on Debian, I also get /20 netmask08:57
luckylinuxfor both `ip addr` and `ip route`08:57
luckylinuxyour /32 looks weird to me, but I don't know what magic if any netplan does08:58
Mikakuluckylinux: I see this in 'ifconfig': inet 192.168.1.5  netmask 255.255.255.255  broadcast 0.0.0.008:59
luckylinuxthen it will not work08:59
luckylinuxdo `ip addr` and `ip route`, those are the new tools09:00
Mikakushould be 255.255.255.009:00
luckylinuxI know, it's hard to be used to it09:00
luckylinuxMikaku, /24 is 255.255.255.009:00
luckylinux:P09:00
Mikakuyep09:00
Mikakulet me fix that09:00
luckylinuxLook at your netplan config ... it's 3209:00
luckylinuxi mean /3209:00
MikakuI'll change to /2409:01
Mikakuluckylinux: wow!, I think you hit the nail in the head :-)09:06
Mikakuafter a reboot, I can SSH to the guest without no problems09:06
luckylinuxMikaku, I hope so :). Did you test extensively ?09:06
MikakuI'll do more tests but it looks good now09:06
luckylinuxah alright09:07
Mikakuluckylinux: I owe you a cold beer :)09:07
luckylinuxMikaku, thanks ;)09:07
Mikakuluckylinux and TomyWork, thanks for your time and assistance :)09:07
TomyWorkhttps://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.5/+bug/2070020 since this is my first bug report, is anything missing? :)09:26
-ubottu:#ubuntu- Launchpad bug 2070020 in linux-hwe-6.5 (Ubuntu) "Lenovo dock no longer working after upgrade from 6.5.0-35 to 6.5.0-41" [Undecided, New]09:26
=== saavedro5 is now known as saavedro
Mikakuluckylinux: after more testings it seems indeed the /32 was the culprit, all is working fine now10:39
Mikakuthank you again for all your assistance guys10:39
TomyWorkweird that it worked *some* of the time anyway10:48
luckylinuxAgreed it's weird that it was intermittent and sometimes was working ... another possibility for ping working but NOT TCP (ssh, http, https) was asymmetrical routing and/or stateful firewall tropping TCP Packets if the firewall was in the loop only one-way (but not the other)11:14
luckylinuxMikaku: But glad that it's working now at least ;)11:14
=== you is now known as Guest6274
=== Guest6274 is now known as you
maceHi folks. I have a bit of an odd issue I've been investigating, and it appears to be a regression caused by an ESM patch to php7.2 - any suggestions/pointers for the best way to report this?11:34
CosmicDJmace: ESM sounds like you have Ubuntu Pro support, why not contact support directly?11:36
maceCosmicDJ: Ah ok, I'll see if that's an option, cheers11:42
ice9after system upgrade and keeping currently installed version for configuration files; where do I find the vanilla conf file of that package to compare it with my current one to merge manually?11:51
mgedminice9: look for a .dpkg-new in the same directory12:28
mgedmin(this is if you answered no when dpkg asked whether you wanted to replace your modified config file with the package maintainer's version; if you answered yes, your config will be renamed .dpkg-old and the vanilla one will replace the file itself)12:30
Diagoncrypttab: "m2.luks   UUID=XXXX   /etc/luks/keyfile   luks,discard"12:37
Diagonfstab: "/dev/mapper/m2.luks   /   btrfs   defaults   0   0"12:37
Diagon`update-initramfs -vc`: "WARNING: Skipping root target m2.luks: uses a key file"12:37
DiagonHow do I get it to unlock m2.luks?12:38
DiagonGot it.  I failed to update they KEYFILE_PATTERN in /etc/cryptsetup-initramfs/conf-hook.12:55
BluesKajHi all13:07
=== VIAblet is now known as V1A
Fr0styHello, I'm doing a fresh install of Ubuntu LTS on a thinkpad T14 with 32gb ram, how big do I need the swap partition size to be for hibernation to work. I am reading it needs to be 1:1, or 2:1, or 2.5:1.14:57
delsol_laptop1:1 plus a bit is my understanding.15:07
delsol_laptopI like to have 8GB of swap even on stuff that I never expect to swap...15:07
delsol_laptopso I'd likely do 40 or 48gb15:07
Fr0stysweet thanks15:07
delsol_laptopThe other gotcha is that you can't actually truly test it unless ram is full.15:08
delsol_laptopmight be worse loading like, 7 tabs in chrome to use up 30GB of ram and then see if it still hibernates.15:09
* delsol_laptop is mostly joking. Chrome wouldn't take 30GB of ram to open 7 tabs. You'd get at least 10 tabs for your 30GB....15:10
=== deepSleep is now known as Guest1606
=== VIAblet is now known as V1A
bondkinggreets friends. having a small issue where my computer is locking twice. it locks when I issue ctrl+alt+del with my custom locking program and then (I think) when it sleeps ubuntu locks it again with something else.16:04
bondkingdoesn't seem to be screensaver because I don't have that16:04
bondkingapologies suspend not sleep. I have unchecked "Lock screen when system is going to sleep"16:05
bebopdumb question but the do-release says there is development release yet?16:08
bebopI thought it was already out and available?16:08
ioriabondking, gsettings get org.gnome.desktop.screensaver lock-enabled16:09
bondkingioria: true16:22
bondkinglet me guess gsettings set org.gnome.desktop.screensaver lock-enabled false?16:22
konradosHey, a possibly very stupid question :) I found a pendrive, and maybe I'll be able to find the owner, by looking at it. But I'm curious - is this safe to simple plugin it it? There was a time on windows systems, where one could create a file called' autorun' or something like that and it, well, autostarted. I believe Ubuntu does not have such a "feature", but just to be safe... is this safe? :)18:25
dtomatokonrados: security peeps will tell you the consensus is that it's never safe ... there is also the possibility of hardware damange, howerever limited that is18:27
oerheksautorun .. make sure you have no wine installed. not sure that even work.18:28
konradosok! thanks! plugging in...18:29
sixwheeledbeastIt's not safe, but unlikely unless intentionally created to cause damage.18:29
oerheksthere are tests, leaving an usb on the floor in front of an office.18:29
oerheksbut that mostly targetted windows18:29
konradosok, well, nothing happened :) Just just photos, thanks!18:39
=== VIAblet is now known as V1A
lmatWhat does   apt install docker; install?19:59
lmatAfter running that, there is still no docker group...20:01
oerhekssystemctl status docker20:03
oerhekssudo usermod -aG docker ${USER}20:03
oerheksetc, tons of manuals20:03
lmatsystemctl status docker;  "Unit docker.service could not be found."20:04
lmatIt looks like it installed properly... https://paste.rs/fIqnf20:05
lmatsudo usermod -aG docker $USER; returns  usermod: group 'docker' does not exist20:06
lmatWhen I try to run docker, I get https://paste.rs/mtjyo. None of the suggestions are `apt install docker`...20:23
mcphaillmat: the docker package is an old desktop dock application which likely pre-dates the docker you want. I suspect you'd be better with the docker.io package20:39
geirhaIs there a way to select which user gets the bluetooth headphones when I connect them? Currently it appears it always ends up on the first user that logged in.20:44
geirha(Ubuntu 22.04 with the default gnome DE)20:47
gordonjcplmat: forget installing Ubuntu's docker, it's ancient and broken. Install it from the docker.io PPA, and also join #docker to ask docker-specific questions20:49
geirhaIn docker's PPA the package is named docker-ce instead of docker.io, unless that's changed since last I tried it20:50
geirhaAppears to still be the case, according to https://docs.docker.com/engine/install/ubuntu/20:51
=== pikapika_lunar is now known as militantorc
=== VIAblet is now known as V1A
=== VIAblet is now known as V1A
DrManhattanDoes anyone know how to access the fingerprint sensor settings? I can't find anything in settings>system>user - on a Lenovo e580 laptop23:51
DrManhattanI know the system can see it, you can see in lsusb | grep -i finger23:53
DrManhattanBus 001 Device 004: ID 06cb:00a2 Synaptics, Inc. Metallica MOH Touch Fingerprint Reader23:53

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!