=== madmax_ is now known as madmax === ingrim4 is now known as ingrim === [[R]] is now known as rbox === remy_ is now known as Remu === Remu is now known as Trmy === Trmy is now known as Remy === shlom is now known as V1A [01:58] any ideas what I can do to fix this: https://www.imgpaste.net/image/S7SHKY (I'm trying to run ubuntu 22.04 desktop on a new MSI laptop) GE 68HX. So far I've just disabled secure boot. [02:07] pycurious: Could be a lot of different things - any hints ' loginctl session-status ' ? === Xard9 is now known as Xard [02:37] @Bashing-om It did not happen again - let me see if i can recreate it first. Thanks. [02:38] pycurious: :D === keypushe- is now known as keypusher [02:51] @Bashing-om I just shrunk my windows partition, installed ubuntu from usb with default properties. I dont see the grub menu or the entry in bios to boot from ubuntu. Any ideas what i am doing wrong? [02:52] pycurious: Shrinking the partition also changes the UUID - update /etc/fstab file with that new UUID. [02:53] pycurious: pycurious: wait !~ fresh install 0f ubuntu ? [02:54] I shrunk the c: volume, then i clicked try/install ubuntu -> install ubuntu when i booted from the flash drive [02:55] Now I'm back to step 1- I can boot to the flash drive, select install ubuntu, but then not sure where that goes into the machine, and it doesnt show up when i boot. I cant get grub to show at boot [02:56] pycurious: A thought - Windows is UEFI system - and ubuntu also must be installed in same mode (UEFI) to be seen in the boot partition. [02:57] I did not change the uefi settings in bios, just disabled secure boot. [02:57] pycurious: Make sure you boot the installer in UEFI mode. [02:57] when i try to get into install for the flash drive again, it does say you have windows boot manager and ubuntu 22.04.3 on it. Do you want me to erase ubuntu… [02:59] in bios, Boot mode select : UEFI - and its greyed out - so i cant change it [03:00] it did have uefi hard drive priorities, where i could select ubuntu - and it did boot into it :) @Bashing-om thanks [03:02] pycurious: Booted into Ubuntu now ? Be a good idea to ' update-grub ' at this point - cheap insurance. [03:02] folks, what is default Ubuntu's Clipboard? [03:17] Jakov: "clipboard" is part of the shell, for Ubuntu that'd be Gnome-Shell or Gnome Desktop. There are some apps (not installed by default) that can sometimes help you view what is stored in the clipboard. As well as other programs that extend the abilities of clipboard. [03:17] I'm looking for more native way [03:17] Jakov: You'll have to be more specific what you are trying to do [03:18] I want to get clipboard to text at least using c/c++ or terminal commnad [03:18] if 3rd party lib can do that "command fetchclipboard > text.txt" it is fine [03:20] Jakov: In a terminal window 'Ctrl' + 'Insert' will copy to the clip board, and 'Shift' + 'Insert' will paste [03:21] I need all clipboard :) [03:23] Jakov: You'll have to be more specific about what you are trying to do. "clipboard" is a term for referring to a memory space allocated by a program to temporarily store data. [03:28] Jakov, in Debian there are two relevant packages, wl-clipboard (Wayland) and the old xsel. With xsel you can control primary, secondary and clipboard selections. [03:28] can wl-clipboard manage clipboard history? [03:29] that I don't know... [03:30] Jakov: There is no "history" clipboard holds one thing at a time. There are extensions that offer the ability to store multiple things, but you need to describe what you are trying to do so I can better understand what to recommend. [03:30] pragmaticenigma, I need to manage clipboard history with command (no graphic) command > current_clipboard_history > 1.txt [03:31] Jakov: to the best of my knowledge, no such tool exists for a command line only solution. [03:32] Jakov, maybe command | xsel -b; xsel -b >1.txt [03:37] xsel is a X11 dependent feature, only works if you're already in a windowed session [04:06] p === paul is now known as Guest9289 === Guest9289 is now known as pds6502 === ppnm is now known as Borrow100 === ppnm is now known as Borrow100 [07:04] hello [07:15] Jakov: Afaik, clipboards are a GUI concept [07:16] without using x11 or wayland, you would have to rely on either a device or an application [07:17] for device, there is gpm (general purpose mouse) for application there is screen and tmux [07:21] I installed ubuntu on my asus rog flow x16, the speaker volume is very low and crackling but the speakers work fine in windows 11 [07:22] webchat75: first run alsamixer and check that pcm isn't too high, for crackling [07:22] webchat75: then check other channels for quietness [07:24] i've tried everything on alsamixer nothing seems to work [07:28] webchat75: is it intel audio? You might want to specify a/different option/configuration [07:29] the default card is pipewire in ubuntu, but in windows it is realtek [07:29] mmmm [07:30] matsaman I tried changing the alsa-base.conf added this line options snd-hda-intel model=asus-zenbook [07:30] also tried options snd-hda-intel model=gpio1 [07:31] ran all these commands [07:31] hda-verb /dev/snd/hwC1D0 0x20 0x500 0xf [07:31] hda-verb /dev/snd/hwC1D0 0x20 0x400 0x7774 [07:31] hda-verb /dev/snd/hwC1D0 0x20 0x500 0x45 [07:31] hda-verb /dev/snd/hwC1D0 0x20 0x400 0x5289 [07:31] nothing seems to work [07:32] what does lspci say the audio device is? [07:34] matsaman there are 2 audio devices:  Intel Corporation Raptor Lake-P/U/H cAVS (rev 01) and  NVIDIA Corporation Device 22bd (rev a1) [07:35] oh interesting [07:35] can you switch between those in alsamixer? It's an F# key, IIRC [07:35] the nvidia one might be just for hdmi out, though, or something like that [07:36] webchat75: what's the line from lspci -n? [07:37] matsaman what is the comman to check lspci -n (i'm new to linux [07:38] 'lspci -n', or 'sudo lspci -n' [07:38] sudo will likely run it as root, which for lspci -n is fine [07:39] 0000:00:00.0 0600: 8086:a706 [07:39] 0000:00:01.0 0604: 8086:a70d [07:39] 0000:00:02.0 0300: 8086:a7a0 (rev 04) [07:39] 0000:00:04.0 1180: 8086:a71d [07:39] 0000:00:06.0 0880: 8086:09ab [07:39] 0000:00:07.0 0604: 8086:a76e [07:41] Drone: so useful, now all the other people talking can carry on [07:41] -> /s [07:42] matsaman drone is muting me. so the command gave me a bunch of lines [07:43] yeah I know [07:43] Its muting you because you're flooding the channel, use a pastebin like the one linked in the topic for anything thats more than like 2 lines (https://dpaste.com/) [07:43] webchat75: sorry do lspci -nn (two n's), and grep for the audio device [07:44] it's muting you, for a really long time, because it's a dumb bot [07:44] matsaman 0000:00:1f.3 Audio device [0403]: Intel Corporation Raptor Lake-P/U/H cAVS [8086:51ca] (rev 01) [07:45] webchat75: thanks [07:48] matsaman what to do now? [07:48] webchat75: you might double check you have all the firmware installed [07:49] where can i check for firmwares matsaman [07:49] firmware-sof-signed, alsa-firmware-loaders, linux-firmware [07:51] i'm still unable to understand how to check firmwares (sorry for being a noob) matsaman [07:53] i think it is more of a driver issue [07:57] matsaman i found these 2 folders in root irmware-sof-signed, linux-firmware but didn't find the alsa-firmware-loaders folder [08:04] matsaman i installed the alsa-firmware-loaders [09:07] I 've tried to change Ubuntu username, then copied home to new user home, now in New user can't open browse and change any settings, pls guide me hot fix it [09:08] the home directory needs to be owned by its user [09:09] I bet you 're right [09:09] What should I do?) [09:10] chmod -R correctuser:correctusersgroup /home/correctuser [09:10] with sudo [09:12] How to get usergroup [09:13] (i'm only guessing this might be the issue, though, it should not do harm as long as you hit the right user, though) [09:13] getent passwd |grep ^correctuser [09:14] field 3 is the users' user id, field 4 is the users' primary group id [09:15] you can specify the group id instead of the named group for the chown command [09:17] tomreyn: dont you mean chown -R ? [09:18] https://ibb.co/7yVvBd9 [09:18] sheesh, yes, thanks EriC^ [09:19] sudo chown -R 1001:1001 /home/j [09:21] im I expecting any changes? [09:21] the next time j logs in, they should be able to access their files [09:23] Still can't open browser and change settings [09:24] what happens when you try? [09:24] I copied my profile to d with mv and changed smh in visual and other usr related file, second login is fine which is j [09:24] Visual is visudo [09:25] hmm i dont understand. [09:25] I see icon loading and Mozilla browser description it does nothing [09:25] i'm typing with a single hand while eating breakfast, so can't be too verbose right now [09:26] yakov: what happens if you try to launch it from the terminal using "firefox" command? [09:26] Permission denied [09:28] oh i notice now that i had only seen the upper half of the screenshot [09:29] so there are supposed to be two users, "d" and "j". i assume "d" was the original user, and "j" is the newly created user. there are actually two users' named "d" though, one with uid 1000 and another with uid 1002. you'll need to remove one of them. [09:30] or rename one of them [09:31] https://ibb.co/3CJVqsG [09:35] you moved your home directory to /home/d, but your firefox profile still points to your former home directory /home/supernova [09:35] Right [09:36] maybe it will be easier to just discuss what the final situation should be once all is fixed, can you do so? which users should exist, which ones should be removed? [09:36] I need supernova to be replaced with d [09:37] okay then you should remove the first line starting with "d:" off /etc/passwd [09:38] and also remove any duplicate groups off /etc/group, if any [09:39] and then edit the application configuration files of user 'd', such as the firefox profiles.ini file, to point to the correct (updated) home directory ( / home/d ). [09:39] Could not locate any [09:39] and i guess you can then remove user j and its files, as well as any remaining files of user supernova [09:39] got more details? [09:39] can I rollback to supernova? [09:40] May it be easier? [09:43] maybe, maybe not. you can logout of user 'd', then login as a different user and move /home/supernova (if it exists) out of the way. then sudo usermod --home /home/supernova d && sudo usermod --login supernova d && sudo mv /home/d /home/supernova [09:44] do this only AFTER you removed the duplicate user 'd' [09:47] Oh [09:48] Thanks tomreyn [09:49] you're welcome - i recommend asking here in the future, or looking it up online, before you try to move around home directories and/or rename users. it's a somewhat delicate process. [09:50] yes, it's weather issues, my bad [09:50] you should never need to edit passwd and groups and the other related files manually, there are tools for it, which ensure it is done safely. [09:52] (it can also be wise to take note of the steps you took, so it will be easier to describe / understand what the current situation is, and how to undo changes (where possible9 or which approach to take to try to fix things. [09:52] ) [09:53] Can I access to bash history? [09:53] type "history" [09:53] Just one line history [09:54] "history" is a command, which, like most commands, provide a help output when asked for it === Guest0 is now known as spionkop [10:03] yakov52: you can filter the output (pipe into) tail -n3 to see just the latest three commands [10:04] i.e. history | tail -n3 [10:05] test [10:05] It's empty [10:06] hmm only if you started a new shell or cleared the history [10:08] I happened to rollback to supernova, manually changed /etc/passwd /etc/shadow as you advised [10:09] if I just create new account and login there, all applications be common (shared) / [10:09] I've been testing the remote desktop and it seems port forward is not needed as I am running a VPN/Tunnel. [10:10] However, the phone connection attempt times out, when trying to reach this ubuntu desktop. [10:10] In this Ubuntu Desktop, I've enabled Desktop Sharing. The TailScale VPN/Tunnel says connected to this Ubuntu Desktop's virutal router. [10:11] The phone uses realVNC to connect to the IP address as per TailScale's VPN/Tunnel to this Ubuntu Desktop. [10:11] I'm not sure what's missing, perhaps the tunnel to the KVM router rather than this Ubuntu desktop? [10:19] kotgc: have you tried whether realvnc actually works with gnome desktop sharing? [10:21] tomreyn, well, realvnc and remmina were my main viewers on LinuxMint. This is my first time trying on Ubuntu. [10:22] tomreyn, also, I was able to remote view via the NoMachine software, so it seems possible. [10:22] However, after a reboot, I cannot remote view again. [10:23] different vnc implementations don't necessarily work with another, unfortunately. [10:23] the same may apply to rdp [10:24] tomreyn, yes, I'll go back to NoMachine then, which is proven to work with Ubuntu; then once the configuration is sorted out, I'll try RealVNC on the phone. [10:24] i would test this locally with the freerdp CLI first of all, to make sure handshake and authentication works. [10:25] does realvnc actually support rdp? [10:25] tomreyn, I thought rdp was for microsoft. [10:26] I have an allergic reaction to microsoft stuff. [10:26] it is an application protocol, a fork of vnc. it is not limited to ms windows. [10:27] tomreyn, how would I test locally? I only have this desktop and phone at the moment, as the laptop isn't with me. [10:27] then testing it locally will be difficult, unless the desktop you have also runs gnome-shell on ubuntu [10:27] this desktop runs Ubuntu 22.04.3. [10:28] so you could enable desktop sharing there as well and then use an rdp client to try to connect to it. [10:29] yes, I have enabled this Ubuntu desktop with desktop sharing. [10:29] i would test this locally with the freerdp CLI first of all, to make sure handshake and authentication works. [10:29] ok, so I'll put some rdp app on my phone. [10:29] you can test on the same computer. [10:29] to rule out networking as an issue [10:30] but certainly a client which only speak vnc won't be able to connect to a server which only speaks rdp [10:30] ok, should I search for: ubuntu rdp cli, or something to figure that out? [10:31] if you choose to not use freerdp, then there is one other client, i think, rdesktop [10:31] oh, it's actual software, I thought that was a generic term https://www.freerdp.com/ [10:33] this website says "FreeRDP: A Remote Desktop Protocol Implementation". an implemnetation of a network protocol such as rdp is a client or server (or both) speaking this protocol. [10:33] (could be a library, too) [10:34] Ok, I'll research FreeRDP a bit. [10:48] kotgc: i run gnome-shell on wayland (should be the default unless you use nvidia graphics, then i don't know what it uses now, either wayland or still Xorg, for which a freerdp client also exists), and installed freerdp2-wayland, and ran wlfreerdp /v:127.0.0.1:3389 [10:49] tomreyn, ok, most of that's all new to me. [10:49] this did get me connected, asked for username, domain, and password. i kept domain empty, username and password were what i had configured on the gnome settings desktop sharing GUI [10:49] ok, I'm trying to download freerdp now, something about flatpak...I think that's some new Linux thingy. [10:50] sudo apt update && sudo apt install freerdp2-wayland [10:52] I think I use nvidia as I'm not familiar with wayland. [10:53] echo $XDG_SESSION_TYPE [10:54] ...should tell you what you're using === pah is now known as pa [11:02] tomreyn, x11 [11:05] kotgc: so you'll install freerdp2-x11 [11:05] you can also try your luck with any other rdp client, or frontend using an rdp library (such as remmina) [11:06] i just like CLI clients for debugging [11:09] As per FreeRDP, I'm about to run this code: flatpak install com.freerdp.FreeRDP [11:10] you can use the flatpak, or just the apt package i pointed you to [11:10] I don't see the option you mention, freerdp2-x11 [11:10] are you not on 22.04? [11:10] ok, I'll try the flatpak thingy [11:11] https://packages.ubuntu.com/search?keywords=freerdp2-x11 [11:11] maybe you have universe disabled [11:28] tomreyn, ok, I think FreeRDP is installed?I see possibly a new app called Remote Viewer? No details when I open it though. [11:33] kotgc: /usr/bin/xfreerdp if you have freerdp2-x11 installed [11:33] i dont know which commands the flatpak provides [11:50] tomreyn, no, nothing in /usr/bin/ called xfreerdp [11:51] the flatpak thingy must have failed. [11:51] Also I checked the FreeRPD Wiki for a user manual on how to use it and the page doesn't load. [11:54] tomreyn, sorry, I can't use it? [11:57] kotgc: so when you run sudo apt update && sudo apt install freerdp2-x11 you get which error message? [12:11] tomreyn I'm back, do you have spare minute or two? [12:12] Yakov: i don't guarantee availability, but i'll likely be available here for a couple more minutes at least [12:14] the best approach you can take is to just ask your questions, though, and wait until someone answers. [12:15] tomreyn, ty, I could rollback to current user name, but there no inputrc file, bashrc and history that I used before, and all set to default included themes and all shorcuts 1) if I just create new user and copy home and other cfg files, can I expect that all installed apps on supernova would be available in newUser? [12:17] i don't see why your inputrc file, bashrc and bash history would have been lost by renaming the user and copying the files. [12:20] to (1): no. as you had seen previously, applications may store full paths in their configuration files, such as firefox soting the full path to its profiles in profiles.ini. so if you change the home directory from /home/a to /home/b and copy all configurations then these configuration files will still point to /home/a, i.e. you will need to manually edit these configuration files (where that's possible) [12:21] some applications recommend specific means for migrating configuration options between computers (and different users on the same computer), which are not just copying configuration files. for example, with firefox, you could possibly also use their cloud synchronization to carry configurations from user a to user b [12:22] (personally, though, i'd prefer just editing profiles.ini) [12:25] its not related to profiles.ini [12:25] if I understand it right profiles.ini its mozilla file [12:27] yes, i think you may have fully qualified paths in the mozilla configuration file profiles.ini, if that's the case and the home directory is moved, these profiles would no longer be found. i was assuming this may have been the issue you ran into earlier. but it was merely a guess, i did not have enough information. [12:28] even if there are no fully qualified (i.e. not just relative) paths in firefox's configuration files, this issue will still apply to other applications [12:28] when you say you copied files, did you also copy the hidden files? [12:29] I created new user, copied old user to new user, edited etc shadows/passw changed old to new, never realised there were any hidden files lol [12:29] so that's why i'm saying: don't just expect to copy the users' entire home directory and expect applications to still find their configurations. [12:29] oh, wait, and how did you copy these files? does this new user have a new UID? [12:30] in that case you might have to chown those files... [12:30] i created new user with cmd, granted rights and mv /home old new [12:30] mv? you said "copied" earlier [12:30] it was mv, sorry [12:31] looks like they renamed the old directory, but then it probably still has files owned by the old UID (user) [12:31] ? [12:31] supernova@supernova-BOHB-WAX9:/home$ source ~/.bashrc [12:31] bash: /home/supernova/.bashrc: No such file or directory how can it be? [12:31] we went through chown -R earlier [12:31] ah [12:32] how should I copy bashrc file? [12:32] copy or move? [12:32] if you moved the entire home directory then .bashrc would have been moved with it [12:32] well its not [12:32] so what did you move exactly? [12:33] and how [12:33] home with its contents [12:33] using mv [12:33] then reboot [12:33] and faced this nightmare [12:33] do you have the exact command you used? [12:35] based on what you described i would have guessed that you ran: sudo mv /home/d /home/supernova [12:35] if you used this very command, then any files would have moved [12:35] w8 [12:38] you would also have had to make sure the "supernova" user and group exists, and that that it either has the same user id (uid) and group id (gid), or that you sudo chown -R supernova:supernova /home/supernova [12:38] https://justpaste.it/98czn [12:38] because we previously changed those files to belonf to the 'd' user [12:39] ah, good, -m would have done the move and chown [12:41] is "newusername" intentionally spelled differently from "new_username" there? [12:41] tomreyn, I just ran as per FreeRDP instructions: flatpak install com.freerdp.FreeRDP. It didn't work after this download and reboot. No instructions on the gitwiki too. [12:42] tomreyn no, its sample, real values were different [12:42] kotgc: i see. i won't be able to support the flatpak. i did provide instructions how to install freerdp2-x11 using apt multiple times. [12:43] Yakov: this does not seem to answer the question i asked. [12:43] tomreyn, thanks, yes tried that but error: https://dpaste.org/SXcgs [12:44] Yakov: 4 different usernames are given in your paste. is this intentional? [12:44] I'm investigating whether rdp installed, but this anydesk won't uninstall even after I've uninstalled it. [12:44] no, real values where supernova and j [12:45] kotgc: the error you have there is that you are using a third party (anydesk) apt repository and have not installed its apt signing key so this repository cannot be trusted, and apt is currently partially broken as a result. [12:46] Hi all [12:47] kotgc: you should probably re-read the (ubuntu) apt installation instructions (hopefully) provided by anydesk, i.e. the documentation you read initially when you set up this third party apt repository and installed this package. [12:47] tomreyn, anydesk is the worst...it's so stubborn, I really try to avoid it and use Free RDP or something else. [12:48] tomreyn, yes, I ran this command to remove anydesk: Terminal -> sudo apt remove -> Enter. [12:48] Yakov: so, with this clarified, do you have a question about the paste? [12:50] tomreyn, I didn't ready any anydesk repository stuff, I just installed anydesk and it's destroyed ubuntu. [12:50] kotgc: apt installs software from so-called "apt repositories". if you look at your error message "Err:5 http://deb.anydesk.com all InRelease - The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 18DF3741CDFFDE29" then you'll see that there is an apt repository "deb.anydesk.com" which is configured for apt. your apt repository configuration is located at /etc/apt/sources.list* [12:51] there is both a sources.list file, which contains the main ubuntu apt repositories, as well as a sources.list.d/ directory, which can contain additional apt respoitory configurations. [12:52] i assume that you have something like /etc/apt/sources.list/anydesk.list which tells apt to retrieve information about this apt repository. [12:52] if you do not wish to use anydesk, then you can just delete this file and the error message should be gone the next time you run sudo apt update [12:53] tomreyn, https://dpaste.org/psJew [12:54] tomreyn, yes, I really, really don't want or like anydesk. I tried to remove it with Terminal -> sudo apt remove -> Enter. [12:55] tomreyn no yet, gonna take little break [12:56] kotgc: your paste shows the main apt repository configuration file, /etc/apt/sources.list - which contains the default ubuntu apt repositories, as explained above. but, as also explained above, i assume that the (leftover) apt repository configuration for anydesk is located somewhere in the /etc/apt/sources.list.d/ *directory* [12:56] okay Yakov [12:58] tomreyn, ah, yes, thank you. Can I just delete this anydesk bit to get rid of it forever? https://dpaste.org/XqDFd [12:58] kotgc: you may want to sudo apt purge anydesk (or whatever it was called - dpkg -l | grep -i anydesk may hint on the package name) - this would ensure any remainders (*other than* the apt repository configuration) of anydesk should be removed (that's if they packaged their software properly). [13:00] no I dont have permissions to my usb device [13:00] tomreyn, ok, purge must be stronger than remove. Just ran purge but anydesk is still there...unbelievable. [13:01] https://dpaste.org/Ys5Ex [13:01] kotgc: what 'apt purge' does is to remove leftover configuration files of a package, but *not* its apt repository configuration, you need to do this seperately: sudo rm /etc/apt/sources.list.d/anydesk-stable.list [13:03] Yakov: the files on your usb device's file system will likely be owned by the UID/GID of the user which created it. if your current user has a different UID/GID then you will also need to chown -R uid:gid the files on the usb stick (or change its mount options to allow anyone access). [13:04] kotgc: when you deleted the anydesk apt repository (using the command given above), i suggest you run apt update again, to see whether it still fails: sudo apt update [13:05] tomreyn, thanks, worked, but I don't see FreeRDP in the Ubuntu apps? https://dpaste.org/nk7qm [13:06] rebooting [13:10] kotgc: freerdp-x11 may not show in the list of installed applications on your GUI because it just provides a command line interface (CLI) application. the list of applications on the graphical user interface (GUI) usually only lists applications which tehmselves provide a GUI. freerdp2-x11 provides the executable file /usr/bin/xfreerdp [13:11] you can see which files a given package provides using dpkg -L freerdp2-x11 [13:12] those in /usr/bin or /bin are usually CLI executables [13:13] tomreyn, yes, I see /usr/bin/xfreerdp [13:14] https://dpaste.org/TqzGk [13:14] right, you have it, so run it, as indicated earlier [13:15] xfreerdp /v:127.0.0.1:3389 [13:16] this will make xfreerdp connect to the rdp server at 127.0.0.1 (the same computer) on port 3389 (the default rdp port) [13:19] tomreyn, thank you, that ran. What would the domain be please? 127.0.0.1? https://dpaste.org/W0w6N [13:20] leave it empty. this is "domain" as in (windows) 'active directory'. [13:20] or realm, as kerberos would call it [13:22] tomreyn, I think it failed? I entered my computer password for password. https://dpaste.org/d1ZAv [13:23] you need to enter the credentials you configured on the "sharing" -> "remote desktop" GUI in "Settings" [13:23] those can and should be different to those of your ubuntu user account [13:24] see these screenshots for how to configure sharing (an example): https://i.imgur.com/CattCIW.png https://i.imgur.com/xsa7DT3.png [13:25] tomreyn, wow, I think that worked, the screens went crazy. https://dpaste.org/3woFz [13:26] interesting, it does not ask for your username. in my case it prompted for the username [13:26] yes, the Ubuntu sharing is clear. I set that up in an attempt for remote viewing via the tunnel. [13:26] but yes, seem to have worked. [13:28] tomreyn, xfreerdp may have sourced my computer's username ubuntu which is the same as the Remote Desktop Share User Name. [13:28] right, one of those INFO lines points this out [13:29] ah yes, the 2nd line shows that. [13:29] so now that you've provien you can connect to THIS computer using freerdp, you should be able to do the same with the other computer [13:29] that's if the other computer has a similar sharing setup [13:29] well I only have a phone with me. The other computer is at another location, outside this LAN. [13:30] ...if that matters. The tunnel shows connected. [13:30] i thought you had this desktop and could use it to access your remote computer, too? [13:31] is this an android or iphone? [13:32] tomreyn, how would I test locally? I only have this desktop and phone at the moment, as the laptop isn't with me. [13:33] this sounded like you had two computers available for testing, one of them being an ubuntu desktop computer. [13:33] maybe you have not set it up for wireguard, though [13:33] I used to use a laptop to connect, but the laptop broke. I have an iPhone with me and a 2nd computer at another location. [13:34] I couldn't use OpenVPN and wasn't sure about WireGuard, so I setup [13:34] TailScale VPN/Tunnel. [13:34] This desktop is Ubuntu, I have an iPhone and Desktop2 is LinuxMint in another location. [13:35] Actually, I do have access to a MacMini with me now if that helps? [13:36] tailscale is a management / administration frontend for wireguard. [13:37] i guess you just need to find a configurable and standards compliant / interoperable rdp client for whichever client device (ios?) you want to use now. [13:37] ok [13:37] the freerdp project does not seem to provide ios builds, but you can probably use any other rdp client. [13:38] the microsoft client is actually decent :) [13:40] probably because they looked into how a client which complies with the protocol specification they published actually works and cared about making it work with theirs: https://github.com/microsoft/FreeRDP-mirror [13:47] Downloaded Microsoft Remote Desktop, added a PC IP address (TailScale's Tunnel address to this Ubuntu Desktop) and connection fails. [13:48] you'll need to connect to the tailscale/wireguard LAN ip address of the remote ubuntu system you are meaning to connect to [13:49] So this Ubuntu desktop is 192.168.1.120. If I enter 192.168.1.120 in the iPhone Microsoft Remote Desktop app, I don't understand how the app will find this computer? [13:51] i.e. if the ios phone's tailscale vpn ip address is 172.16.16.5 and the remote ubuntu's tailscale vpn ip address is 172.16.16.8 then you need to connect to .8 [13:52] tomreyn, yes, I entered 172.16.16.8 into the app. [13:52] these were example values [13:52] you need to have both systems added to your tailscale vpn, in case you haven't done so yet [13:52] tomreyn, yes. Maybe I need to connect the phone to the tunnel too. [13:52] umm yes, of course you need to do that [13:54] that's unless you want to make the remote desktop port available on the internet, but that's not a really good idea [14:00] Ok, working with this desktop and the phone connected to the tunnel and the viewer app connecting to this desktop's LAN 192.168.1.120 with username and share password. === jfsimon1981 is now known as jfsimon [14:03] Fails with RealVNC viewer app. I prefer VNC and Remmina, but guess I'll have to use Microsoft Remote Viewer on the phone and other LinuxMint computer. [14:03] tomreyn, thanks! [14:05] kotgc: you also wont be able to connect to a rdp service using an ftp, rdp and vnc (while sharing a common history) are just different protocols. [14:05] and realvnc, for all i know, only support vnc, not rdp [14:05] *an ftp client [14:07] it's correct that you can optionally choose to enable 'legacy vnc' support on the gnome settings / sharing / desktop sharing end, but rdp is actually the less cumbersome protocol, i would say. [14:08] kotgc: remmina does support both vnc and rdp, i think, but i assume you won't find an ios build of it. [14:09] tomreyn, ok, surprised Ubuntu supports RDP more than VNC. LinuxMint was good on VNC, but I use Ubuntu these days for more powerful networking features. [14:09] kotgc: i should also point out that we really only support ubuntu here, not any derivatives. [14:09] it's more of a Gnome choice, less one of Ubuntu [14:09] tomreyn, yes, the ubuntu support making the server worked helped. [14:09] you can configure ubuntu with either. [14:10] so you can now view and control the remote computer from your mobile phone? [14:10] ? configure ubuntu with either? rdp or vnc you mean? Yes view and control works :-) [14:11] ubuntu provides multiple rdp and vnc server implementations. the least cumbersome to use with gnome is likely what you are using now, though. [14:11] glad you worked it out today. [14:12] tomreyn, thanks for your ubuntu help, I couldn't have figured that out without you. [14:12] just the networking alone, new with a tunnel had all sorts of configuration combinations confusing my setup. [14:13] ubuntu offers a default vnc sharing though, so I'm unclear why rdp works and vnc doesn't. [14:13] oh, that's where I tick Enable Legacy VNC Protocol [14:13] you're welcome. i think you mostly needed two things: a better understanding of which protocol this remote desktop thing in gnome actually uses (it's not well documented, or explained on the GUI, sadly) and understanding of how to setup the mesh VPN between all your nodes / fully understanding the network architecture. [14:15] Yes, I can see the Ubuntu networking better, now that it's working. I might play around with VNC. [14:19] good luck. vnc will use port 5900/tcp by default. unfortunately, the vinagre vnc server the gnome 'legacy vnc protocol' setting provides and several vnc client implementations have interoperability issues (some of which can be overcome by disablng encryption on the vinagre side using gsettings). so... this can involve a lot of fiddling. [14:21] i assume that's also one of the reasons why gnome moved away from that as a default desktop sharing server. the main reason is likely that the rdp server implementation supports wayland. [14:25] tomreyn, ok, thanks, might be a bit much for me. [14:39] I'm back, pls help me to revive usb and I just reinstall OS === fling_ is now known as fling [15:06] !usb | Yakov [15:06] Yakov: For information about installing Ubuntu from USB flash drives, see https://help.ubuntu.com/community/Installation/FromUSBStick - For a persistent live USB install, see: https://wiki.ubuntu.com/LiveUsbPendrivePersistent [15:51] hi i need help with libusb-1.0.0-dev [15:51] it wont install [15:51] The following packages have unmet dependencies: [15:51] libusb-1.0-0-dev [15:53] teletubby: which ubuntu version? [15:53] 22.04 [15:53] jammy [15:53] CosmicDJ [15:54] teletubby: the only dep seems to be libusb-1.0.0 https://packages.ubuntu.com/jammy/libusb-1.0-0-dev [15:54] still getting error even when sent to ubuntu software app [15:56] the software i want is [15:56] 2:1.0.25-1ubuntu2 [15:56] CosmicDJ [15:58] i have 1ubuntu2??? [15:58] why does the software still want it [16:02] teletubby: Is this an app from a PPA or third-party repo? [16:02] from github [16:02] Is it specifically designed for Ubuntu 22.04? [16:03] It sounds like the app developer is requiring an older version of libusb than the one you have and explicitly stating in the installer that it is incompatible with the newer version you have. [16:03] If it is designed for 22.04, report the issue as a bug to the developer of the application. If not, you may need to install Ubuntu 20.04 (or whatever version your app does support) instead. [16:04] only says "linux" [16:04] no specific os [16:04] hmm. I'd report it as a bug anyway. [16:04] i give up [16:04] for ham radio using ubuntu is impossible [16:04] Probably the software is meant for Ubuntu 20.04 or Debian 11. [16:05] It needs 1.0.0? One sec... [16:05] https://github.com/AlexandreRouma/SDRPlusPlus [16:05] https://github.com/AlexandreRouma/SDRPlusPlus#debian-based-ubuntu-mint-etc [16:05] here it is but that gives me an error too [16:05] teletubby: Ubuntu 20.04 has libusb-1.0.0-dev in its repos. [16:06] so id have to go to 1.0.0?? [16:06] You may need to install the older version of Ubuntu to get it going. [16:06] jesus [16:06] And still report this to the developer of the application. [16:06] i reported it [16:06] ah. [16:06] ill wait for his response before making any changes [16:06] what about debian? is that any better? [16:06] would that work? [16:06] dunno, maybe? [16:06] risky [16:06] I can check. [16:07] okay [16:07] You would have to use Debian 11, which is not the latest version. [16:08] Debian 12 has a newer version that isn't compatible with the app you're trying to use. [16:09] i have a usb that had ubuntu flashed on it with Etcher software [16:09] is it ok if i reflash it? [16:09] with another iso? [16:09] oh wait a sec [16:09] I may be wrong, hold on... [16:10] hah, guess what, I'm wrong. [16:10] libusb-1.0.0 is in Jammy, but the -dev package and the -doc package is out of sync. [16:10] er, the -dev package and the actual library are out of sync. [16:10] not the -doc [16:10] that's an Ubuntu bug. [16:10] And that should be fixable on our end. [16:10] so, is there a solution? [16:10] is that the solutino [16:11] Yeah. Gimme a sec and I think I can make it work for you, and try to make it work for others too. [16:11] okay [16:12] This may take a bit - Debian packaging isn't very fast or easy, but it's something I'm skilled at. [16:12] oh [16:12] well id have to go back to windows? [16:12] sdr softwares are a minority in linux world [16:12] I think I can make it work if you just give me a sec. [16:13] okay [16:13] I can upload a fixed libusb-1.0 package to a PPA, then you can use that right away while I handle getting the package fixed in the Ubuntu archives. [16:13] Hello, I have a VPS which at some point hit its maximum inodes. `df -i` shows IUse% 100%. This seems to have meant at some point apt-get upgrade failed because it couldn't create new files, so any apt operation tells me to run apt --fix-broken install . [16:13] It also says I have 48 (!) linux-hwe-5.4-headers-5.4.0- packages which are eligible for autoremove. I assume that would free up many inodes. However, I cannot apt autoremove because it wants me to --fix-broken install first. And --fix-broken install fails because there is no space left on device (false, the problem is inodes…) [16:14] mcc: try to dpkg -P somepackage [16:14] So I cannot run --fix-broken install without running autoremove first and I cannot autoremove without running --fix-broken install first. How do I proceed? This is on 18.04, which is end-of-lifed, but of course I can't upgrade without this [16:14] teletubby: Actually, I have an even faster solution for you. `sudo apt install libusb-1.0.0-dev=2:1.0.25-1ubuntu2 && sudo apt-mark hold libusb-1.0.0-dev` [16:15] that will install the slightly older version and keep it from being updated. [16:15] wait, no [16:15] gah, typo [16:15] `sudo apt install libusb-1.0.0-dev=2:1.0.25-1ubuntu1 && sudo apt-mark hold libusb-1.0.0-dev` [16:15] @tomreyn This seems to be fixing it. THank you [16:15] ^ that one should work [16:15] mcc: next i'd do: sudo apt-get autoclean [16:15] E: Unable to locate package libusb-1.0.0-dev [16:15] E: Couldn't find any package by glob 'libusb-1.0.0-dev' [16:15] ri [16:15] rip [16:16] mcc: and only then i would do the autoremove --purge [16:16] eh? must have typed something wrong [16:16] oh really. well, i'd already started the autoremove but i'll do autoclean after that [16:16] u needed [16:16] sudo apt get install [16:16] Note, selecting 'libusb-1.0-0-dev' for regex 'libusb-1.0.0-dev' [16:16] 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. [16:16] libusb-1.0-0-dev set on hold. [16:16] ah, I see what I did wrong [16:16] mcc: thats fine as long as it works [16:16] i think it worked, thank you [16:16] I typed a . rather than a - [16:16] !paste | teletubby [16:16] teletubby: For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [16:17] okay [16:17] gotit [16:17] teletubby: sudo apt install libusb-1.0-0-dev=2:1.0.25-1ubuntu1 && sudo apt-mark hold libusb-1.0.0-dev [16:17] that might end up erroring out the same way though [16:17] yep it did [16:17] gah, and libusb itself seems important [16:18] libusb is a curse [16:18] sigh... what on earth [16:18] teletubby: I am able to force a downgrade to the older version on my machine, but it will undo a bugfix. [16:18] which could be, er, less than ideal. [16:18] u dont have to [16:19] I meant it might be less than ideal for you. [16:19] linux only has : gqrx for sdr supporte [16:19] apt-get upgrade on my 18.04 is saying: [16:19] The following packages have been kept back: [16:19] grub-common grub-pc grub-pc-bin grub2-common linux-image-generic-hwe-18.04 ubuntu-advantage-tools [16:19] Should I worry about this? SHould I try to do something about this before I do-release-upgrade? [16:19] even then, alot of stuff are missing from it [16:19] teletubby: sudo apt-mark unhold libusb-1.0-0-dev [16:19] (to undo the accidental version lock we did earlier) [16:20] it cancelled [16:20] trying to think, what's the best way to do this... [16:20] the hodl [16:20] hold [16:20] teletubby: I *think* I can make an updated, fixed package and put it in a PPA, with a version number that will eventually be overridden once a new libusb goes into the archive. [16:21] mcc: you should worry about 18.04, but apparently you are doing so already. and you should sudo apt update && sudo apt full-upgrade before you do the release upgrade [16:21] what is the difference between upgrade and full-upgrade? [16:21] I have to get the version number perfect for that to work, and that's a bit tricky, so lemme verify the bug, and if it's there I'll ask another dev for help. [16:22] mcc: and maybe reboot, too, if you ran out of inodes on / [16:22] oh, that's an interesting idea [16:22] so complicated [16:22] at the moment is to make sure my system is in a state which will maximize chances of a correct, healthy do-release-upgrade [16:22] mcc: the difference is that full-upgrade also installs new and removes packages if this seems to make sense. [16:22] ok [16:23] do you have third party repositories? [16:23] or packages, or package versions? [16:24] teletubby: this is weird, I actually can install libusb-1.0-0-dev over here. [16:24] what the? [16:24] what did u type [16:24] Somehow... your system is trying to grab the older version [16:24] what do i do now [16:24] sudo apt install libusb-1.0-0-dev [16:24] which I thought is what you typed [16:24] i did but it cant find the package [16:24] what if i restart my pc? [16:24] sudo apt update [16:24] maybe your package cache is out-of-date or somehow weird [16:24] mcc: those usually reduce your chances of a 'correct, healthy do-release-upgrade', often a lot. [16:25] teletubby: to be clear, you are running Ubuntu 22.04 right? [16:25] https://pastebin.com/Fd6mSUZx [16:25] yes [16:25] Real Ubuntu? Not a derivative like Pop!_OS? [16:25] no [16:25] i went to the ubuntu site [16:25] Is this message during a full-upgrade alarming? It doesn't look alarming but just checking: "dpkg: warning: unable to delete old directory '/var/cache/ubuntu-advantage-tools': Directory not empty" [16:25] hmm, that pastebin looks worrying [16:25] why [16:26] ig ill just go to windows [16:26] apt is refusing to update the software database because you have a bad repo in your list of repositories. [16:26] what other choice have i got [16:26] bad repo? [16:26] teletubby: it's a debian mirror [16:26] teletubby: ls /etc/apt/sources.list.d [16:26] azlux.list kismet.list obsproject-ubuntu-obs-studio-jammy.list [16:27] could it be qbittorent [16:27] no, it's azlux [16:27] whats azlux [16:27] A repo you added at some point. [16:27] or that someone else added for you perhaps [16:27] dont remember [16:27] so how do i get rid of it [16:27] It says "This is an extra repository providing up-to-date archives for open-source projects." [16:27] ah no, not a debian mirror, sorry [16:28] should i get rid of it [16:28] teletubby: it might help [16:28] how do i do that [16:28] one sec [16:28] I'd use ppa-purge but it needs to be called in a very particular way in order to work here. [16:29] teletubby: sudo apt install ppa-purge [16:29] done [16:29] mcc: no, i would not think that's much of an issue. [16:30] now what arraybolt3 [16:30] sigh, now that I look at it, this repo can't be easily ppa-purged after all. [16:30] wtf? [16:30] is it a virus or what [16:30] no, it's a weird URL format limitation in ppa-purge [16:30] it looks like you installed your system, followed random guides to get newer stuff, and now it's causing issues. [16:31] shit [16:31] now what ? [16:31] my bad for saying that [16:31] At this point, I'd reinstall Ubuntu from scratch since there's no telling what all has been broken or otherwise made to work incorrectly. Then only use software from the official repos unless you can't get it any other way or absolutely need a newer version of something. [16:31] Then you should be able to isntall libusb-1.0-0-dev and the SDR software you're trying to use. [16:32] And stay away from random "how to install XYZ" guides on the Internet, those are wrong all too often. [16:32] i need obs studio, hexchat and sdr software [16:32] thats enough [16:32] well ill be back [16:33] ppa-purge *really* needs support for more than just PPAs. The fact that you can hack it into working with other things, but not if it doesn't like the URL, is severely frustrating. [16:34] it also doesn't handle the situation where a signing key is missing or expired [16:35] im on phone now [16:35] or where the repository no longer exists [16:35] im reinstalling [16:35] obs studio, hexchat, sdr software [16:35] thats all i need [16:36] teletubby: if you need a log of what you and others said previously, there's https://irclogs.ubuntu.com (it can take half an hour to update) [16:36] no need i saved it here [16:36] Just 3 software [16:36] thats all I need [16:45] teletubby: Hexchat and OBS Studio are both in the Ubuntu repos. [16:45] So just `sudo apt install hexchat obs-studio` [16:46] teletubby: Then follow the directions for your SDR software and they should work now that you don't have third-party repos in the way. [16:47] okay will do [16:47] its halfway done with reinstallation for OS [17:01] it installed arraybolt3 [17:02] teletubby: i don't think it's strictly necessary to keep us posted about your installation progress - you are welcome to ask questions when you have any. [17:06] sudo apt update [17:06] E: could not get lock /var/lib/lock [17:06] what is this now [17:06] it is held by process 3069? [17:07] you often have this on a fresh installation. ps 3069 will probably show this is aptdaemon [17:08] oh [17:08] it happens because the background process which runs to check for available updates (and would later trigger the GUI update prompt to be shown) runs at the same time as your manual apt commands [17:09] it will probably be done in a minute or two [17:14] still locked by 3069 [17:14] cant install any apps [17:14] goddamn it [17:15] ill wait [17:15] teletubby: let it finish. Be patient [17:15] teletubby: sudo tail -f /var/log/dpkg.log # run this and you can watch it doing updates [17:21] 123 [17:21] testing irc on ubuntu [17:21] good [17:24] can't get on my phone now, SDR now works [17:24] arraybolt3 [17:24] teletubby2: o/ [17:24] Woot! [17:24] sdr works after OS reinstall [17:27] thanks for helping [17:27] i can now make a portable station [17:52] I wrote a cron job that looks like this: 0 3 * * * /root/startRsync > /root/rsynclogs but it is not executing ever. I meant for it to run daily at 3 AM every day . Is this syntax correct ? [17:56] devslash: journalctl -u cron |grep startRsync [17:56] devslash: also, I would recommend using a systemd service and timer as opposed to cron. You have more control and recovery options [17:58] devslash: You will want to make sure that startRsync is executable, and I think you need to run it as /root/./startRsync [17:58] it does need to be executable but specifying the latter isn't necessary [17:58] or else put the script executer in front of it such as /bin/bash /root/startRsync. Cron does not have the same environment variables set as it does in the interactive terminal [18:03] leftyb i cant do that. I have no idea how [18:04] the script is executable [18:04] does it have the #! defined at the top, pointing to the correct interpreter? [18:04] yea [18:05] #!/bin/bash [18:06] devslash: https://medium.com/@benmorel/creating-a-linux-service-with-systemd-611b5c8b91d6 [18:06] devslash: https://linuxhandbook.com/create-systemd-services/ [18:06] it's not that hard [18:07] once you get the .service file created, running and tested, then you can make it run with a timer [18:07] devslash: https://opensource.com/article/20/7/systemd-timers [18:22] Ubuntu 23.10 Gnome/Wayland session... I'm having to right-click to paste copied text to any terminal app (gnome-terminal, tilix). To clarify, if I copy text from a .txt|.md file and use CTRL+V to paste it into any other app it works. In the terminals I'm accustomed to using SHIFT+INS to paste, but the copied text doesn't paste. [18:22] It seems the terminals are maintaining a different clipboard for pasting with hotkeys. If I right-click > paste, it works fine. [18:23] derek-shnosh: I'm not sure what terminal emulator is available in 23.10, but you should be able to use 'ctrl' + 'shift' + 'v' for pasting into the terminal [18:24] Thing is the CTRL+INS works for paste, but its pasting "different?" clipboard data... like something that I may have previously copied from the terminal. [18:25] shift+ins works for me in both gnome-terminal and terminator on ubuntu 22.04. Though I wasn't even aware that that was a thing. I've always used CTRL+SHIFT+V [18:25] Yeah CTRL/SHIFT+INS is what I'm accustomed to using because most of the stuff I work with as a network engineer is unix shell based. [18:26] derek-shnosh: Do you have some sort of clipboard manager/history extension installed? [18:26] No. === pikapika is now known as miliantorc [18:36] is this output of the 'w' command correct for only 1 logged in user? and why the second line is showing 57days IDLE if this session is few minutes only? https://pastebin.mozilla.org/4idhXqPs [18:39] ice9: 1 is for your desktop, the other is for your tty session [18:44] leftyfb, right but i'm only logged into a gnome-shell session and no other terminals, even if I ran the command 'tty' in the terminal emulator, I get a name like "/dev/pts/0", not tty3 [18:45] ice9: CTRL+ALT+F3 [18:46] leftyfb, ok, so CTRL+ALT+F1 is the GDM and CTRL+ALT-F3 is the current session; thanks; but why is it showing IDLE for 57days? [18:46] and why GDM has name "seat" not tty1? [18:56] Hi all, may I ask a technical question? === seanh1 is now known as seanh [18:56] ice9: "seat" is a feature of systemd-logind, which manages the tty instances. seat puts itself where traditionall tty1 would be, and for each user that logs in, assigns to the next available tty instance. [18:59] ice9: if I understand it correctly, it's part of a virtualization technique. If you wanted you could have multi-seat setup where one machine supports multiple sets of Keyboards, Mice, and Monitors and allocates other resources accordingly. Similar to a VM [18:59] BGZT: fire away. [19:02] When updating my RPi Ubuntu 20.04 (ARM) distro, I encounter a "No space left on device error" but I think somehow that is not the real problem, since there are over 52 GB of space left on the device. [19:03] update-initramfs: Generating /boot/initrd.img-5.4.0-1047-raspi [19:03] cp: error writing '/var/tmp/mkinitramfs_sTcKuH//usr/lib/aarch64-linux-gnu/libmount.so.1.1.0': No space left on device [19:03] cp: error writing '/var/tmp/mkinitramfs_sTcKuH//usr/sbin/logsave': No space left on device [19:03] cp: error writing '/var/tmp/mkinitramfs_sTcKuH//usr/sbin/e2fsck': No space left on device [19:03] E: /usr/share/initramfs-tools/hooks/fsck failed with return 1. [19:03] update-initramfs: failed for /boot/initrd.img-5.4.0-1047-raspi with 1. [19:05] !paste | BGZT [19:05] BGZT: For posting multi-line texts into the channel, please use https://dpaste.com | To post !screenshots use https://imgur.com | !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [19:06] OK. Sorry. I didn't mean to bother anyone. I'll do so next time. My apologies... [19:06] BGZT: also, /var/tmp is a ram disk/mount. You ran out of memory. To be honest, I don't know that I've ever heard of ubuntu being upgraded in-place on a pi. Personally I just get another sd card and set it up again [19:07] Well, the disk is almost empty and working with no errors so I don't get the point on changing the card... [19:07] BGZT: because it's cheap and easy [19:08] BGZT, df -i [19:09] ioria: that ran out of memory on the /var/tmp ramdisk [19:09] that/they [19:09] Yes but if it really is not the issue, maybe with a 1 TB card might crash either [19:09] BGZT: again, it's a memory issue, nothing to do with storage [19:10] Aha. So is there any trick or something I could do? [19:10] have we checked the ram usage ? [19:10] https://dpaste.com/EGLQJ3D6F [19:11] No I didn't check the ram usage [19:11] How can I do that? [19:11] BGZT: there's probably several things you can do, but it's going to take a lot more work and a lot more time to do this in-place upgrade that will have cruft than it will to just start with a new sd card [19:12] BGZT, free -m [19:12] ioria: I'm pretty sure the installer cleans up after itself when it's done so the current usage won't reflect the issue [19:12] You mean a new ROM install? [19:12] BGZT: no, sd card [19:12] i see [19:12] The only way I've been able to do an in-place upgrade on a pi is by mounting a swapfile, at least temporarily. [19:13] BGZT: get a new sd card, flash ubuntu 22.04 onto it, put it in pi, boot and reinstall your applications and restore from your backup [19:13] https://dpaste.com/8VEMT54LH [19:13] Eickmeyer: right, putting a pretty decent strain on the sd card in the process [19:13] sd cards are cheap. [19:14] BGZT: this is more than likely a pi3, y point above is even more valid now [19:14] If necessary, connect an external drive via USB and mount a swap partition there or a swapfile there. :P [19:15] BGZT: it's not going to be worth the time and effort to do an in-place upgrade over just getting a new card card and starting over and restoring from backup. Or just wipe the card you have and start over and restore from backup [19:15] Indeed, it is a RPi 3B+ and right now I cannot access physically it because I would have to walk for a while or take my car... [19:16] pretty sure nearly all official documentation from anyone releasing a Raspberry Pi version, all say: Do not upgrade the OS version, re-flash a new image to the card [19:17] So I got a point on doing an in-place upgrade, but should it be impossible or hard, I will do as you say... [19:18] it's possible, but not worth it [19:18] and you probably won't be happy with the result [19:18] Aha... [19:18] Let's make sure we're consulting official Ubuntu documentation on this before other sources per !guidelines, if it exists. [19:18] I understand [19:19] BGZT: That wasn't necessarily directed at you. [19:20] Haha sorry, I was referring at you all in general, and thank you anyway [19:21] I am using webchat and I still don't understand very well the interface [19:25] So once I typed and went throughout this procedure, is there any way I can revert the process, or how may I now about the current situation? [19:25] https://dpaste.com/9XBRV733C [19:26] Eickmeyer: If it matters, I'm drawing the documentation from the hardware manufacturer, which in each release have advised against in place os upgrades on their hardware. So it is documented, at the hardware manufacturer level. Pardon me for not having a quick link at the ready to back up that claim. As I'm sure trying to google the word "Ubuntu" "upgrade" and "Raspberry PI" nets a large number of results to parse through on a moments [19:26] notice to satisfy your statement. [19:27] Interesting... [19:27] BGZT: hold on, it looks like you're just doing normal updates and not and upgrade to a new release [19:27] BGZT: unless you modified /etc/apt/sources.list first [19:28] I don't think I modified sources, but I must confess yesterday I did type an apt-get update and after that apt-get upgrade [19:28] And I got to this point [19:29] BGZT: reboot and run your commands again [19:29] I've already done that [19:29] And still the same [19:30] How long since your last run of package updates? (aka apt-get upgrade) [19:30] Maybe one year [19:30] Or even more [19:30] ouch [19:31] In fact I think I have never upgraded it before [19:35] BGZT: To answer your question: Is it possible to rescue this install? Yes... But it's going to take a lot of time and honestly, I'd go get the device backup what's important from it, and then I'd flash a fresh image on it and restore your configurations and data. [19:37] I understand. So from now on, what 64 bit distribution would you guys recommend for a device like a RPi 3B+ ? [19:37] it looks like the install isn't currently broken [19:37] (May you pardon for the question) [19:37] just the kernel apt update [19:38] Yeah that is what I believe [19:38] the problem is, maybe you are running too many things taking up memory that is preventing you from doing the update [19:38] BGZT: is this running a desktop? [19:38] No [19:38] I think in principle I have nothing installed [19:39] you have nothing installed? [19:39] I mean nothing that I did on purpose [19:39] BGZT: wipe it and start over [19:39] How can I do that without breaking the OS? [19:39] I mean the home folder is empty [19:39] you have nothing installed so there's nothing to worry about breaking [19:39] just start over [19:40] You mean a new disk flash [19:40] yes [19:41] all this effort over losing nothing of importance [19:41] Yes, you definitely convinced me, so my question is should I install a ubuntu distro or would you recommend something else? [19:42] BGZT: it wouldn't make a whole lot of sense or anyone in #ubuntu to recommend anything other than ubuntu [19:43] Haha yes I understand but we are talking about an embedded machine, not exactly a laptop, server or PC [19:43] But anyway, I understand your point [19:43] BGZT: I run ubuntu on bunch of pi's [19:43] should i install git? [19:43] sounds stupid but bcz of that one repository im curious [19:44] telestation: only you can answer that [19:44] https://github.com/antirez/dump1090 [19:44] i need to install this [19:44] to track airplanes [19:45] telestation: sorry, but we cannot support 3rd party applications that aren't from the official ubuntu repositories [19:46] "Since Git lacks authentication and verification measures, that makes both Git and the hosting platform GitHub unsafe" [19:46] according to google [19:46] telestation: feel free to discuss that in #security [19:47] or #git [19:49] OK, thank you all for your answers. You were very helpful and probably saved me from hours of useless effort [19:49] Bye [20:08] omg [20:08] this is painful [20:08] WHY DOESNT IT WORK ON A 1GB RAM === Guest4717 is now known as max === max is now known as Guest3185 === Guest92 is now known as pythonboy [21:21] Oh, what a fun day... I rebooted Ubuntu 22.04 while connected to a VPN (palo alto global protect client) which obviously killed the connection... but now after reboot I get no DNS. [21:21] I removed a couple lines that were specific to the VPN connection from /etc/resolve.conf and restarted systemd.resolved, but still nothing. [21:22] This is what I get when I try `dig google.com`... https://dpaste.com/3RZ8LV82L [21:23] This is what my current `resolvectl status` looks like... https://dpaste.com/GEQ6A2TCR [21:23] derek-shnosh: you shouldn't be modifying /etc/resolv.conf [21:24] leftyfb: agree, but those entries were added by the VPN client software, so I removed them in hopes that it would fix the issue. [21:24] derek-shnosh: if you have no DNS, you either have some custom configs that are causing issues or there is something wrong with your network [21:24] derek-shnosh: ls -l /etc/resolv.conf # what does this give you? [21:26] Figured it out... grabbed the default configs from /etc/resolv.conf from a cloned VM and put them back into this one. [21:27] Broken state I had `options edns0 trust-ad` only... needed two more lines defining nameserver and search domains.. `nameserver 127.0.0.53 ; search .` [21:27] derek-shnosh: ls -l /etc/resolv.conf # what does this give you? [21:27] The issue is resolved... but "-rw-r--r-- 1 root root 920 Dec 21 14:58 /etc/resolv.conf" [21:28] derek-shnosh: then that means you have customized your system and are not using the built-in network stack [21:29] Unless the VPN client customized it, I have not. This is a default Ubuntu 22.04.3 LTS install. [21:29] derek-shnosh: if I were you, I would run: sudo mv /etc/resolv.conf /etc/resolv.conf.broken && sudo ln -s /run/systemd/resolve/stub-resolv.conf /etc/resolv.conf [21:30] I will consider it... however, while not symlinked, the end result is the same, the file contents matches. [21:31] derek-shnosh: except your DNS will probably not work in some cases [21:31] put it back to the default which is a stub resolver from systemd-resolved [21:45] leftyfb: sorry, stepped away. Thank you, will do. [22:05] leftyfb: interesting, just rebuilt a 22.04.3 VM from scratch, ran updates, installed the VPN client, the whole process... this one does have the symlink. I'm unsure how these VMs ended up without it, but I'm comfortable reverting. [22:18] hi [22:18] are there any recommended tools for building ubuntu packages on non-ubuntu systems? [23:36] facing the same issue: https://askubuntu.com/questions/1448596/text-is-blurry-ubuntu-22-04 [23:37] why is ubuntu so rubbish? [23:37] it's not 2009 anymore [23:37] and it's not like their hiring process is any easy either [23:37] so how come these can't do multi monitor right [23:37] smh :|