[00:41] I've two machines behind firewalls. One creates a html report that I need to get on the other machine. Any ideas? [00:42] pycurious: if port 22 is open on either end you could probably scp it from one to the other? Very unsophisticated but would do in a pinch. [00:52] Kel: the only thing these machines have is access to the internet. no public ips or things like that. [00:53] pycurious: oh, poopsie... hmm. [00:55] tons of public paste sites, if you limit yourself by not opening a port for safe transfer, you would have no other option. === stoned is now known as Hash [01:31] is there any way i can keep the number of monitors, displays on my system static? without allowing any changes in connectedness or powered on status affect my desktop layout? all the black blinking whenever i power one on or off is super annoying [01:32] pycurious, scp is one of your best options for securly transfering files. you can open a listen server on a port that is not 22 and avoid having those machines exposed to the myriad of botnets that try to penetrate the SSH port every day. you can also limit what's available on that listen server. i recommend using RSA or similar keys to give access to the sending machine, allowing passwordless unattended results. [01:33] oerheks: sneakernet! :P [01:53] aarch64 on ubuntu has lacking ports [01:54] I wonder when that arch will take off. [01:54] Ampere amd arm cpus [01:56] step one: have a website with a "buy button" on a computer that can have more than 4gigs of memory [01:58] https://thepihut.com/products/raspberry-pi-4-model-b?variant=31994565689406 [01:59] finally, they can take over the world! look out supermicro and dell and lenovo! === M4he is now known as mahe === genii is now known as genii-core === bloodninja123 is now known as bloodninja [02:25] i changed my bios setting from ahci to ide and then booted linux by mistake. Does that cause problems? If I change it back to ahci will linux mess up? [02:25] if you're using uuids no. at worst linux just don't boot [02:28] i did a default install and there's only one ssd, so if that uses uuids then i am using uuids === Bebef9 is now known as Bebef [02:30] is there anything I could check from a live usb before attempting to boot the real one with ahci again? [02:47] Guest68: cat /etc/fstab [02:48] Guest68: That will show how the system's mounting devices. [02:58] We love our ghosts. [02:59] oh, yeah fstab shows it using uuid [04:21] o/ [04:22] i wanna move all files with hidden with dot folder1 to folder2 [04:22] what is the correct way for to do this in ubuntu [04:22] i am using ubuntu 20 LTS [04:23] ctrl + h shows them [04:23] Rockwood: show the hidden files, and then drag and drop them [04:23] then select them all, cvoila [04:23] cvoila?? [04:23] is it any command? [04:24] mv ~/var/www/api.rockwood.test/s-cart/* ~/var/www/api.rockwood.test < i have done like this [04:24] nope, it's mis-spelled "voila", not to be confused with viola [04:25] mv: cannot stat '/home/rockwood/var/www/api.rockwood.test/s-cart/*': No such file or directory [04:25] i am getting this [04:25] by above mention command [04:26] mv source_path/* destination_path/ i used this way [04:26] Rockwood: does /home/rockwood/var/www/api.rockwood.test/s-cart/* exist? [04:26] no [04:26] only /var/www/ [04:26] well don't use that path then :P [04:27] what should be there? [04:27] drop the tildes from `mv ~/var/www/api.rockwood.test/s-cart/* ~/var/www/api.rockwood.test` [04:27] means? [04:27] (~ is expanded to /home/rockwood by your shell) [04:28] so i should be start directly with /var/www/ [04:28] yep [04:28] the tilde is a shorthand for "start in my hope directory" [04:29] so ~/Video would, to the computer, look like /home/leaftype/Video [04:29] and be careful with using `mv` and glob expansion. I think your current command will ignore any hidden files [04:30] don't want to miss any toplevel .htaccess files [04:31] i don't want to miss any kind of file [04:32] i am getting rockwood@cyberia:/var/www/api.rockwood.test/s-cart$ drop the tildes from `mv ~/var/www/api.rockwood.test/s-cart/* ~/var/www/api.rockwood.test [04:32] > [04:32] um [04:33] you'll want to run something like: [04:33] mv /var/www/api.rockwood.test/s-cart/* /var/www/api.rockwood.test [04:37] cp -r /bla.bla/{.,}* /target ## includes all files and directories (also starting with a dot) [04:37] oops [04:38] now i am getting 500 error [04:38] files are moved there [04:39] amazing [04:39] drwxrwxr-x 3 rockwood rockwood 4096 Nov 5 04:34 s-cart i think still something there [04:39] run `ls -a /var/www/api.rockwood.test/s-cart/` [04:40] its behaving like rockwood@cyberia:/var/www/api.rockwood.test$ run `ls -a /var/www/api.rockwood.test/s-cart/ [04:40] > [04:40] don't literally paste in the whole chat message :P [04:40] the command is what I put in `backtickts` [04:41] oh okay [04:41] Command 'run' not found, did you mean: [04:43] try to understand what commands you're running before pasting them in [04:43] I suggested using the `ls` command to check if any files were missed [04:43] you'll need the `-a` argument too, to show hidden files [04:44] run `ls -a /var/www/api.rockwood.test/s-cart/` isn't correct? [04:44] run `ls` `-a` /var/www/api.rockwood.test/s-cart/ should be like this? [04:44] no no no [04:44] no [04:44] then [04:45] Rockwood: please, refer to this beautiful tutorial: https://ubuntu.com/tutorials/command-line-for-beginners#1-overview [04:45] To get familiar with the command line. [04:46] Rockwood it will take 20 minutes at most. [04:46] https://kopy.io/sDb87 [04:46] sorry for blindly paste :( [04:46] you said run this comman d [04:46] command and i pasted that is too :D [04:47] anyway still few files remain ther e [04:47] i wanna copy that those too [04:47] Rockwood don't just paste commands into shell. Read and understand them first. [04:48] sure i will keep it in my mind this too [04:48] ok cool, so you can repeat your `mv` command, but like this: [04:48] mv /var/www/api.rockwood.test/s-cart/.* /var/www/api.rockwood.test [04:48] note the period before the * to glob the dotfiles [04:49] Rockwood some commands may ruin your whole system and render it completely unusable. Especially the ones starting with `sudo`. [04:49] mv: cannot move '/var/www/api.rockwood.test/s-cart/.' to '/var/www/api.rockwood.test/.': Device or resource busy [04:49] ok [04:49] sudo need here i think now [04:49] oooh no wait [04:49] ok [04:50] what command did you run? [04:51] mv /var/www/api.rockwood.test/s-cart/.* /var/www/api.rockwood.test [04:51] this one [04:52] huh it should work. Maybe avoid the globbing and move each file individually [04:52] okay [04:52] one would be member of the www-data group, to do so [04:52] mv /var/www/api.rockwood.test/s-cart/.env /var/www/api.rockwood.test/ [04:52] etc. [04:53] that's true, it could be file permissions, rather than missing files that's causing the 500 errors [04:53] still error [04:53] mv: cannot stat '/var/www/api.rockwood.test/s-cart/.env': No such file or directory [04:53] if you could copy before, then something else is going on. maybe files are in use [04:53] ok they've been moved then [04:53] you can `ls -a` the /var/www/api.rockwood.test/ directory to check [04:54] swalladge, https://kopy.io/2CFh4 [04:55] https://kopy.io/p4JfT [04:56] I highly recommend going through the tutorial that KBar linked to. I'm not sure you're understanding what's going on in the terminal, and I'm worried that you'll accidentally nuke the server by pasting something unexpected [04:56] +1 [04:56] but yep that second screenshot looks good. I reckon your files are now where they should be [04:56] but i am facing still HTTP ERROR 500 [04:56] i need to see the log [04:57] Rockwood 1) https://ubuntu.com/tutorials/command-line-for-beginners#1-overview 2) http://linuxcommand.org/tlcl.php [04:57] KBar, thanks [05:01] oops nothing like error log there [05:01] in /var/log/ [05:06] HTTP ERROR 500 means something has changed, you moved files he cannot find anymore? [05:06] why [05:07] from where i can chk the logs now [05:07] err, why did you want to move those files as a start? [05:07] and tell us what gives that error 500 exactly? [05:07] from where i can see the logs [05:07] ? [05:08] i wanna download this project https://github.com/s-cart/s-cart [05:09] in my currently working folder [05:09] just that is [05:12] I made a python program and a cpp program that are supposed to be different versions of the same program. I want to make unit tests that check for identical outputs given identical inputs. What's the technical name for such a test? [05:15] oerheks, thanks [05:15] problem solved [05:15] permission was the cuase for that [05:15] cause === Guest7783 is now known as Znevna [06:15] How does one use a file such as: filename.deb.blob ?? [06:18] Firefishe: that's not a common file extension. maybe run "file" against it to get an idea what this might be. ortell us where you got it from, and what it's supposed to do. [06:19] .deb would be a debian package (also used by ubuntu) [06:25] thanks tomreyn, checking something [06:26] I know what .deb files are. I may have been looking in the wrong file hierarchy. [06:26] it's for linux-surface [06:27] I'm also in that room. My question here was more generic. [06:29] Firefishe, what do you mean "use"? [06:29] Firefishe, a .deb file is essentially an ar archive. [06:31] You can try viewing it with `ar tv /path/to/deb-file` and extracting it with `ar x /path/to/deb-file` [06:33] hello [06:34] Ubuntu taught me about IRC. I've been freaked out bc i couldn't get on Freenode for like a year. Glad there is still IRC. Hoping Libra is similar to what Freenode was. [06:37] KBar: Thanks for that information. A new way to view something for me. [06:37] leptone, it's Libera. Welcome! [06:37] hello [06:37] can anyone see my messages?? [06:38] I'm trying to build a .deb package from source. Using the command: "dpkg -b" what would I place after the "-b" ?? [06:38] leptone38: we can read you [06:38] leptone38: I can see you just fine. [06:38] test [06:38] thx [06:38] leptone38: yw [06:38] leptone: for testing your irc client, please /join #tests [06:40] tomreyn: Will do. Thx. How about a channel for discussing / learning what happened to Freenode? [06:40] !alis | leptone [06:40] leptone: Alis is an IRC service to help you find channels. For help on using it, see «/msg Alis help list» or ask in #libera - Example usage: «/msg Alis list http» [06:41] lately i get prompts from apt/dpkg asking whether i want to restart services [06:41] what's the current way to suppress that? [06:42] can't get X11 forwarding to work on a 20.04.2 install [06:42] ssh -Y -v shows "Requesting X11 forwarding with authentication spoofing." [06:42] xauth list shows entries [06:43] DISPLAY is set to :0.0 [06:43] but every attempt to run any x app results in "Error: Can't open display: :0.0" [06:49] slingamn: same as during the past 20 (?) years ;-) DEBIAN_FRONTEND=noninteractive [06:50] neat [06:51] i saw some chatter on stackexchange about that not working anymore and `debconf-set-selections` being needed instead [06:54] in this noninteractive case, how do i control whether services are restarted or not? [07:04] slingamn: "non-interactive" suppresses the prompts and forces debconf to go with the default setting. i assume the default will be not to restart services most of the time, but it really depends on their defaults. [07:04] it's a per-library default? [07:06] i'm currently using 20.04 for all my servers, and i like the current behavior where nginx only restarts on nginx upgrades --- i wouldn't want it to restart unannounced for anything else [07:07] but i'm not clear on how to control that [07:23] slingamn: i don't see why else nginx would restart if not for package upgrades (of nginx itself of libraries it depends on) [07:23] right, that's what i mean, i want it to restart on upgrades of the nginx package, but not for upgrades of any of the library dependencies [07:24] it pulls in a lot of weird stuff like libtiff [07:27] i don't expect that you can handle those cases seperately. [07:27] also, either would likely put it at risk if these are security updates, and restarts are fast, so personally i'd just do it. [07:32] Hi there [07:34] Im looking for an advice regarding a HP laptop (HP ProBook 440 G7 - https://ubuntu.com/certified/202005-27901) [07:34] looks like /etc/profile.d/var-env.sh is clobbering DISPLAY [07:35] well, one of the reasons i want that behavior is that it's at parity with the behavior of 20.04 with unattended-upgrades [07:36] i'm using nginx to proxy long-running TCP connections that can be fairly disruptive to tear down [07:36] b247_eu: what kind of advice specifically? [07:37] slingamn: i see. how long runningis this? like minutes, hours, days? [07:38] It looks that is "certified ... with a custom Ubuntu image" but "standard ubuntu images may not work well ..."; Is there a way where or how to download this "custom Ubuntu image", my problem is that with standard Ubuntu20.04LTS there is no driver for the fingerprint [07:39] it's IRC actually, it can be weeks [07:39] ezakimak: https://packages.ubuntu.com is not aware of this file location. [07:40] i'm not planning on upgrading until 22.04.1 so that's almost a year out...just wanted to get a handle on my options [07:40] b247_eu: if there is, then it'll be available from HP [07:43] slingamn: i guess what i'd do in this scenario is load balancing and then slowly moving connections off of one server, and finally install the updates there, and put it back into the pool. [07:43] tomreyn, I've looked on the HP site, they have a lot of "recovery options" but only Windows images, nothing about Ubuntu; shall I contact (via email/other official ways) HP or Ubuntu for that? [07:44] hmm [07:44] i can deal with killing everything at once, i'd just like to have control over the scheduling, the way i do now [07:46] to be honest, only the fingerprint driver is missing (from any kernel out-there) and thought that "a certified Ubuntu custom image and software" may have this driver [07:49] check your FP device against https://fprint.freedesktop.org/supported-devices.html [07:50] b247_eu: HP most likely provides a recovery iso. or you could try installing the "oem" kernel variant on the ubuntu release HP supports for this model. [07:52] slingamn: unless those are snap packages, you should already have full control on when you run unattended-upgrades. [07:53] as in, i can set specific hours? [07:53] yes, or change the schedule on when it runs [07:54] thank you tomreyn, will try to contact HP then for the recovery iso; already tried standard oem and there is no fingerprint driver for the hp fingerprint; thank you all, wish you well [07:55] good luck [08:03] b247_eu: https://support.hp.com/emea_middle_east-en/document/buh07143 might be of relevance === denningsrogue0 is now known as denningsrogue === pah is now known as pa === david_ is now known as Guest1776 === SmokenatorZ62 is now known as SmokenatorZ6 [08:57] hello, is there a way to verify the operating system integrity in Ubuntu 16.04? I'm looking after something similar to rpm -Va , from rpm-world. [09:03] (install it if you don't have it) [09:03] Check: sudo debsums -s [09:06] thank you alkisg [09:06] check is in progress [09:20] alkisg, no output from debsums [09:20] this means there's no problem, righ? [09:20] ok [09:20] i need --all too [09:20] Right [09:26] thank you. Some config files were changed, but none looks like the reason for our error: fetch-pack: unexpected disconnect while reading sideband packet fatal: protocol error: bad pack header [09:26] i gues i have to reach the network guys, maybe soething is wrong in some equipment port === pah_ is now known as pa [09:58] hello again [09:58] how can i downgrade git in my ubuntu system? [10:29] french serveur please === denningsrogue2 is now known as denningsrogue [10:30] i need help for my wifi [10:38] Is this a security issue or not? I have a Ubuntu host in which I run LXD containers. I opened a shell in one of those containers with 'lxc exec foobar bash' and ran tmux there. Now for some reason I got "Error: websocket: close 1006 (abnormal closure): unexpected EOF" whichafter I was thrown out of the lxc container. But the strange thing is, that i'm still inside the same tmux window. Which was launched inside the container. Normally I can't do this, [10:38] because running just simply exit to exit the lxd, it actually just exists the tmux. Might not be anything, but this seems so strange so I decided to ask here just in case. [10:51] tosaraja: "websocket" infers you were using some network client from within the LXD/tmux session [10:53] I was running on "onedb purge" command that purges old data from our database within that container. Even if that command catastrophically fails, I still don't get why it threw me out of the container [11:02] tosaraja: is the tmux process still running then? check with "ps -efly | grep tmux" for example [11:03] well i do see the borders of tmux in my putty view [11:03] hah..but THAT was a visual bug [11:03] it isn't actually running. Rescaling the putty window took the borders away and also the tmux shortcuts don't work === pah is now known as pa [11:18] I have a Ubuntu installation running xmonad. For some strange reason Ubuntu keeps changing my keyboard layout. I have manually set it with setxkbdmap, but the settings are not staying during the whole session. What is wrong? [11:19] tosaraja: aha! === pah is now known as pa [12:12] engblom, join #xmonad. [12:13] KBar: I am 100% sure xmonad is not chaning my keymap. It is a Ubuntu problem. I have been using xmonad for more than a decade in different distros and never had this problem [12:13] KBar: It is something in Ubuntu overriding my own settings (which are set by setxkbmap) [12:18] https://github.com/netpipe/PulseAudioEQ [12:18] new equalizer in qt [12:19] netpipe: wrong channel [12:20] needs to go into the repos somehow [12:20] after a quick fix [12:20] still, wrong channel netpipe [12:21] this channel is for support with Ubuntu [12:22] put it with pulseaudio already [12:22] not sure if it goes into their repo yet though [12:24] netpipe: if you don't have a ubuntu support question please take it to #ubuntu-discuss or offtopic [12:46] Hi all [13:14] fixed [13:51] quick question, what's a good straight forward pdf editing tool available on ubuntu [13:51] mekhami: a lot of users like inkscape to edit pdf's [13:51] pdftotext the.pdf | $EDITOR [13:56] on 20.04 with gnome, how can I switch to my ttys when I have a multimonitor setup (laptop+external monitor)? pressing ctrl-alt-{f1,f3,f4,f5,f6} brings me to my my latop showing a blank black but switched on screen, and my external display is off. ctrl-alt-f2 brings me back to my x11-session, ctrl-alt-f7 shows me a gdm-login screen. [13:57] Hey ! [13:57] Do you know how to make Ubuntu recognise my screen as a valid charging source (thunderbolt) ? Got the image. But not the charge [13:57] !tty | zenof [13:57] zenof: To get to the TTY terminals 3-6, use the keystroke Ctrl + Alt + F3-F6 respectively. Ctrl-Alt-F2 or Ctrl-Alt-F1 will get you back to your graphical login (Ctrl-Alt-F7 on 16.04). To change TTY resolution, see https://help.ubuntu.com/community/ChangeTTYResolution [13:59] ubottu: so, it might be due to a resolution set to unmatching values? [14:01] I mean, when I for example gnome press ctrl-alt-f3, my external display becomes dark black (as if switched off) and my laptop an illuminated black, but without any content. [14:10] and, no, https://help.ubuntu.com/community/ChangeTTYResolution doesn't help, as in grub I have already set up my proper resolution (1280x800 on a thinkpad), and on while booting the first tty works as expected. [14:20] also, my /etc/systemd/logind.conf is vanilla, but I simply can't access the ttys [14:41] Good morning! Netplan question for any networking experts out there...using Ubuntu 20.04, and netplan apply returns "/lib/netplan/generate: symbol lookup error: /lib/netplan/generate: undefined symbol: get_global_network" and fails to apply the settings. Where am I going wrong here? Thanks in advance for your help :) [14:42] Renevant: pastebin your yaml [14:42] if i'm running openvpn server, do i need to allow via iptables (ufw is not active) [14:44] BinarySavior: if you have iptables rules blocking all non-allowed traffic, then yes [14:44] BinarySavior: also port forwarding if you're doing any sort of NAT on your network [14:45] leftyb thanks [14:46] for some reason even after allowing udp on 1194 in iptables and also on my router forwarding 1194 to the openvpn I still am getting connection refused when trying to connect [14:46] leftyfb: https://pastebin.com/y3HqXXR0 [14:52] weird, must have been my router, after disabling port forwarding, then re-enabling, now it's working [15:03] hello, i installed ubuntu server onto a new disc and after the restart i got the error "connot find required map" any idea what went wrong? - it also shows "ubuntu" in the boot menu of the bios [15:04] hey [15:05] question how do i set a metric on interfaces with systemd-networkd? If i try the manual says that it can be under multiple labels but any i try it says unknown key [15:26] Daulity: http://manpages.ubuntu.com/manpages/focal/man5/systemd.network.5.html says that the "Metric=" value is only defined in the "[ROUTE]" section (i assume that's what you refer to by "labels") [15:28] (there is also "RouteMetric=" in the "DHCPv4" section (for when the DHCP client receives route metrics from the DHCP server)) [15:30] RiFo: "Cannot find required map" is not a message I've ever heard of - could this be a firmware issued error message? [15:30] a web searc suggests this is an efi shell error message === genii-core is now known as genii [15:36] its comming from the bios probably, it can't seam to find the os [15:36] "Map: cannot find required map name." would be the very error message then, indicating that the UEFI firmware was unable to access some configured storage media path. which probably means it could not resolve a Boot record found in the NVRAM (as reported by efibootmgr -v) [15:37] i tried booting again from the dvd and it keept cycling my monitor on and off somehow [15:37] is this hardware generally reliable? [15:38] it worked since this week when the old hdd kept showing errors (after years of running) [15:40] RiFo: so you're saying the computer worked fine for years, but it had a broken HDD, which you replaced by some new storage a week ago, and it has been running fine from this new storage for a week now? but you reinstalled (?) today, and now it does not seem to boot off this new storage? [15:41] it had been running fine until the hdd broke, i ordered a new one which arrived today, i installed ubuntu server without problems, but it didn't boot after the installtion [15:42] is this server hardware? [15:42] yes [15:42] with just a single disk? [15:43] which ubuntu release did you install today, whihc one were you running previously? [15:43] is secure boot enabled? [15:44] is this a different type of storage media than you used to have (HDD) now (such as an NVME)? is the bios up to date? [15:44] i don't think the server has secure boot, and i installed ubuntu-21.10-live-server-amd64 [15:45] i see, most people would probably stick to LTS releases for servers. [15:46] (but that doesn't mean it's wrong to use 21.10, just unusual) [15:46] some people must enjoy upgrading their production servers every 9 months with non-LTS :) [15:47] RiFo, have you tried to change the sata port ? or reset bios to defaults ? [15:47] ill try changing the port === LabMunkeh is now known as Mechanismus [15:54] resetting bios seams kind of radical ^^' ill try to avoid that [16:08] i changed some configs in the bios then it showed up in the efi console [16:08] i then could manuelly boat the kernel [16:12] Good morning! Netplan question for any networking experts out there...using Ubuntu 20.04, and netplan apply returns "/lib/netplan/generate: symbol lookup error: /lib/netplan/generate: undefined symbol: get_global_network" and fails to apply the settings. Where am I going wrong here? Thanks in advance for your help :) [YAML file here: [16:12] https://pastebin.com/y3HqXXR0] [16:12] ((server boards takes ages to reboot xD)) [16:20] Renevant: why are you specifying NM as your renderer? Are you using NM? [16:23] @leftyb Yes sir. Every primer I've read has directed me to specify NetworkManager or networkd as my renderer, and I've probably upgraded/deployed 4 dozen servers and this is the first time I've encountered this error. I suppose I could change the renderer; I don't think I tried that yet [16:24] Renevant: does this "server" run a GUI desktop? [16:24] @leftyb: It does. ubuntu-desktop on ubuntu 20.04 server [16:26] Renevant: then don't edit/create netplan files. Use network manager to edit your network settings [16:27] Renevant: looks like a possible problem with the netplan package. Does this report that symbol: " strings /lib/x86_64-linux-gnu/libnetplan.so.0.0 | grep get_global_network " [16:27] @leftyb - Herein lies the problem - I don't have direct access to the machine. I use Microsoft Azure, so I don't have access to the GUI, just a CLI [16:27] Renevant: then why is there a desktop installed and running? [16:27] @leftyb I will check that now; thank you [16:28] @leftyb During initial setup and QA, gui is installed. Does it need to be? That could be argued for and against.... [16:28] got it working btw, thanks for the ideas [16:28] Renevant: if it's not used, then don't install it [16:29] pointy-clicky == larger attack surface for malicious code [16:29] NOted, thank you [16:30] Renevant: did you check for that symbol? [16:30] @TJ- I will do so as soon as possible and report back [16:31] Renevant: if it does, then next do "ldd /lib/netplan/generate" and make sure all libraries have been resolved correctly [16:31] Renevant: helps to compare outputs of those commands against a known-good system [16:32] Thank you both. Apologies if the question is juvenile; still getting familiar... === Kamilion|ZNC is now known as Kamilion === pah is now known as pa [17:33] how can i modify what appears on the side-bar of the file browser? Ubuntu 21.10 [17:48] Gallomimia: Load a different page. [17:49] Gallomimia: Which browser? What does your "side bar" look like? Does it persist across pages? === pah is now known as pa [17:52] there's no pages. it's a view of my home directory [17:53] and yes it persists. and i can't change it. i also can't set any button to view root dir === kai61 is now known as kai [17:58] Gallomimia: you drag folders from the main pane on the right over to the side bar on the left, you sould see "new bookmark" appear. Drop it onto that [17:59] ..... i tried that [17:59] Gallomimia: and what happened exactly? [17:59] nothing [18:00] i can't drag root onto it, and i can't drag stuff i don't want off of it [18:01] Gallomimia: you can modify the favorites you add by right-clicking them [18:01] the option to remove is greyed out [18:01] Gallomimia: can you take a screenshot? [18:02] urg, i have to cut off the other two monitors [18:04] brain fart.. where do i post an image to share? [18:04] !paste [18:04] For posting multi-line texts into the channel, please use https://paste.ubuntu.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. [18:04] https://imgur.com/a/xz7eKkF [18:05] thx [18:05] ok, what I said still stands [18:05] and what i said still stands [18:05] [14:01:05] Gallomimia: you can modify the favorites you add by right-clicking them [18:05] none of the things you said to do are working. and i tried them already.. it's rather intuitive [18:06] Gallomimia: you can't modify the defaults the same way. I said the ones you "you add" [18:06] well then how do i modify the defaults [18:07] here's a hacky way to do it, let me see if there's a cleaner way https://ubuntuforums.org/showthread.php?t=2375449&s=3a14daae2d4aca4c6c2b0a3821fbee97&p=13718365#post13718365 [18:08] that's not a hacky way, that's an elbows deep way [18:08] in ~/.config/user-dirs.dirs [18:08] there is no way in the default GUI options built into the Gnome desktop [18:09] no this is perfect [18:09] i guess you can't change the first three, starred, recent, home. that's ok tho [18:10] uh, how does it load? [18:10] you might want to set enabled=False in /etc/xdg/user-dirs.conf. Otherwise you might get those bookmarks back when you login again [18:11] i have as yet not had the changes take effect [18:11] they won't until you log out and back in [18:12] ok [18:12] and that true/false switch you mentioned.... rewrites the config in my home dir each login? [18:12] Gallomimia: you might also look at ~/.config/gtk-3.0/bookmarks [18:12] Gallomimia: try them all, see which one works for your needs [18:15] hmmmmm i edited the files in both xdg [18:16] it had an effect. but the ones i deleted are now.... favorites? or. they're in a separate pane, and show a directory icon instead of their old one [18:16] and i tried to add ROOT to the pane. which was unsuccessful [18:18] Gallomimia: can I ask, why do you need / as a favorite on the left? You really shouldn't(and can't by default) be doing anything in the root directory from the file manager [18:18] i do it all the time [18:18] do what ecacty? [18:18] look for things in my root dir [18:18] like? [18:18] things in my root dir [18:19] i prefer to mount several partitions there [18:19] ok, then bookmark the mounts [18:19] still a work in progress on this particular install [18:20] Gallomimia: you're saying you need root because you need to find directories in root. Add the directories you're looking for, not root [18:20] there'll be more than a few when i'm done. so, no. [18:20] Gallomimia: ok, then add all the mounts in /mnt/ and bookmark that [18:22] hey where do ubuntu stores qt5-qmake [18:22] and undesirable solution to just one of the examples i gave. i dig in my root dir lots of times per day. at least one reason for every file there [18:22] ? [18:22] I am on ubuntu 21.04 [18:23] Gallomimia: there should be no reason for you to ever store files in the root directory [18:23] not files, but there's a swap file there if you must know. each dir [18:23] Gallomimia: what on earth are you doing mesing with a swap file? [18:24] ...... messing with a swap file. examining its size? who knows [18:24] qt version not available in qtcreator [18:24] look. you use your computer how you want to use it, and i'll use mine in the way i want to use it. you've been very helpful thus far. i want a way to pick my root directory. i used it 40 times per day on my previous install of ubuntu. [18:25] i really can't answer your inquiries about why i want it besides to say "because i want it." [18:25] Ronalds_Mazitis_: sudo apt install qt5-qmake. qt5-qmake-bin if you need the binary [18:26] I have those [18:26] they don't appear in project settings when choosing kit [18:26] Ronalds_Mazitis_, can you be more specific about what file you're looking for? you can find the binary by typing which [18:27] it shows none in qt versions [18:27] when I open qtcreator [18:27] i'm chomping at the bit here to go to the gym. going to have to continue this modification later... got a good start thanks leftyfb [18:28] ok added qmake from /bin [18:28] added? [18:29] btw my idea is to create widget like video editor [18:29] oh into your project [18:29] Ronalds_Mazitis_: you might try #qt [18:29] cool [18:29] it will use c++ to collect files from one folder and then render using ffmpeg by sort I choosed [18:29] let me know how it goes [18:30] kinda used c++ in my job and that feature of file systems is way too cool nowadays [18:30] I mean, past already [18:30] but I hate video editors nowadays [18:30] mine will just trim and leave raw sequence :> [18:36] I added a grub menuentry in /etc/grub.d/40_custom and ran update-grub, rebooted.. and I don't get a grub menu. how do I get the grub menu? [18:37] try holding left shift while booting [18:38] no luck [18:40] # GRUB_TIMEOUT_STYLE=hidden [18:41] yeah there's a few options to determine if the menu shows, for how long, and what to do if the timer reaches zero === kostkon_ is now known as kostkon [18:47] For GRUB you need to tap Esc key repeatedly (UEFI cannot report state of modifier keys) [18:48] GRUB_TIMEOUT_STYLE=menu is a better choice than 'hidden' along with giving a decent timeout so you have chance to actually respond before it starts the default boot entry [18:49] #ing the 2 lines out worked too [18:49] pretty sure that just makes it read the option in question from a different file. defaults or something [18:52] the deeper i get into manuals and documentation for xdg-user-dir the more confused and frustrated i become. that stuff is developed by the freedesktop.org project? where should i go for more support on that? [18:59] * alkisg prefers the windows approach for user dirs, where the dirs themselves are not translated, and the file managers are responsible for showing their localized names... [19:00] i can somewhat agree with that. i come from the world of mac and feel the same. and in mac, a link to the root directory was not only possible, it was selectable as the default for new windows [19:01] i can also understand what leftyfb was saying in that i should probably keep my fingers out of that cookie jar. but i've got several years of terminal use under my belt, dabbled with many config files, and if i'm smart enough to figure out how to get it to show up in this difficult config, then i'm smart enough to either refrain from doing something stupid or assume responsibility if i do. [19:02] Gallomimia: kinda going against yourself there. If that is all true, then you should be doing most things regarding the root directory from the CLI, not a file manager :) [19:02] there seems to be a lot of effort put in to prevent me from doing this. that's a shame really. effort that could be spent fixing actual real bugs. [19:03] i mix'n'match. depends what i'm doing, if i want to GUI view a config file, or whatever [19:03] Gallomimia: can you sum-up what you're trying to do? I don't see it in the recent backlog... [19:03] on mac there was a handy command to make the GUI show you the current working directory. i find it difficult on ubuntu [19:04] alkisg, all i want, is for one of the quick dirs on the left of each file viewer window to be root. [19:04] i already took some of the superfluous ones out thanks to some hints from leftyfb [19:04] Ah, you mean gtk bookmarks? [19:04] That's a different thing [19:04] not bookmarks. the user dirs would be better [19:05] i can't get it to show up in either [19:05] find: ‘libMagic.so’: No such file or directory [19:05] ubuntu [19:05] To set e.g. that your documents are in / instead of in ~/documents? And you modified the config and it won't accept it? [19:05] i'd like it to say... recent, starred, root, home, desktop.... and maybe documents and downloads [19:06] Gallomimia: the CWD is always at the top of the file manager. You can hit CTRL+L to see it typed out or even edit it [19:06] i think you misunderstood what i was trying to say. i meant if i'm hacking around on the command line and want to open the dir in GUI [19:06] hi [19:06] im using pdftk to aes128 encrypt a pdf [19:06] file [19:06] Gallomimia: type: nautilus [19:06] Ah, that's about customizing the gnome file manager, it's not related to xdg-user-dirs then [19:07] Gallomimia: or: nautilus . [19:07] I tried pdftk estrangement.pdf output 1.128.pdf user_pw alice [19:07] but I get [19:07] !enter [19:07] Please try and keep as much of your info as possible on ONE line - easier to follow for everyone. [19:08] Warning: Using a password on the command line interface can be insecure. Use the keyword PROMPT to supply a password via standard input instead. Except that I don't know how to do that> I have written at the end of the command, but it is identified as an unexpected token. So, how do I do this right? [19:08] nautlius . works ok. it's a bit unweildy compared to open . [19:09] Gallomimia: huh? [19:09] is guud [19:09] not great, but guud [19:09] Gallomimia: why is it not sufficient? [19:10] i'll get used to it [19:10] i'm just used to using open. nautilus... well i always type naulitus :P [19:10] how to symlink libmagic.so.1 to libmagic.so [19:10] ? [19:11] ln -s source dest [19:11] more info read man ln [19:17] Ronalds_Mazitis_: I really think you need to be asking these questions in #qt. It sounds like you are going to make a mess of things trying to shoehorn your system into acting the way you think it should act when in fact it's working fine, but there's some missing pieces you do not yet have a full understanding of [19:22] Ronalds_Mazitis_ i agree but i think you should go to a support channel for whatever program you're using to create this project. is qt just one of the things you're including in the project? [19:22] at this point I got to point where I did that [19:22] as my error really leads to nowhere [19:23] :-1: error: [Makefile:105: install] Error 1 [19:23] yeah i should have said something earlier. making symlinks in your libraries folder is probably a bad plan [19:23] to explain this error, you should read the makefile at line 105 [19:24] so how do I dislink [19:24] remove the symlink by deleting it [19:24] carefully! [19:25] ln -s libmagic.so.1 libmagic.so [19:25] so which I delete [19:25] the second one. but first, do a ls -l and you can see which one is the link [19:25] lrwxrwxrwx 1 ronalds ronalds 13 nov 5 21:14 libmagic.so -> libmagic.so.1 [19:26] right [19:26] what I do now [19:26] so file libmagic.so is pointing at libmagic.so.1 [19:26] the .1 is the real file, leave that alone [19:26] the other is the link. nuke it [19:26] libmagic.so.1 [19:26] NO [19:27] where is it stored even [19:27] the one with no one [19:27] i should ask you [19:27] where is it stored? [19:27] idnk [19:27] I did [19:27] where did you go to find it? where did you go to link it [19:27] ln -s libmagic.so.1 libmagic.so [19:27] that's it [19:27] just... in your home directory? [19:27] no wonder it didn't do anything [19:27] ok so [19:28] yeah i'm gonna suggest you take your hands off your keyboard and read a bit about the command line before you use it again. [19:28] i'm getting root filesystem close to full warnings. i run `du -xsh * | sort -rh` and it shows 27gb in /home, but /home is pointing at a different filesystem: `/dev/mapper/ubuntu--vg-home--lv on /home type btrfs (rw,relatime,ssd,space_cache,subvolid=5,subvol=/)` [19:28] is there something i'm missing here? [19:28] like why is `du -x` showing somethign that should be on a different filesystem? [19:29] Gallomimia sorry, I'm just multitasking [19:29] I deleted symlink [19:29] tstirrat: use ncdu [19:29] that's also more than i've allocated in total for the root VG [19:29] what's ncdu? [19:30] Ronalds_Mazitis_, that symlink didn't point at anything. your home directory is not the place where library files are found [19:30] tstirrat: sudo ncdu / # this will show you what's taking up space and where. It's a nice ncurses interface for du basically [19:30] ah kk [19:30] yeah, I get that my error is makelists file right now [19:30] it looks like it stays within the filesystem by default [19:30] and it looks like there's 6gb of syslog [19:30] Ronalds_Mazitis_: ok, I would suggest asking for further help with your qt project and the IDE in #qt [19:31] is that something that i can safely delete if i'm not currently using it for debugging? [19:31] Ronalds_Mazitis_, i also suggest you put your project on hold and spend an hour or two learning about the files you're trying to muck with unsuccessfully [19:31] tstirrat: how big is your drive? 6G isn't a lot of space [19:31] it's not, but i've got things set up with LVM [19:32] so i've got 20gb allocated for root and more for other things (docker, home, etc) [19:32] it's a partition. if using LVM 15 gigs is plenty for an install [19:32] but yeah. you got syslogs swollen up. sounds like you need to configure how much is kept, or put them in a new location [19:34] yeah this is related to some weird hibernate instabilities that have been happening since i upgraded to the most recent distro [19:34] i'll figure it out eventualy [19:34] but it looks like i can just truncate/empty syslog in the meantime [19:36] xfce the theme is weirdly dark even though its a light theme [19:36] theres white on white and black on black [19:37] VMGuy23: pick a different theme that best suits you [19:37] leftyfb: this is the theme i want, it works fine on another account === caverton8 is now known as caverton === diskin is now known as Guest6856 === diskin_ is now known as diskin [20:20] is there a linux command to zoom/shrink a pdf file? I have a pdf file with a single 55x55mm page. I'd like to scale it down to 45x45mm with the contents scaled/zoomed/shrinked accordingly as well [20:20] hey [20:21] why #qt seems to not responde [20:21] at all [20:21] Ronalds_Mazitis_: people might be away [20:21] qtcreator does not provide working CMakeLists.txt after installation [20:22] there project is broken in basic [20:22] I've never seen this issue yet [20:22] sudo apt install qt5-default [20:22] sudo apt-get -y install qtcreator [20:22] sudo apt install qt5-qmake [20:22] after that [20:22] created project [20:22] Ronalds_Mazitis_: try https://forum.qt.io/ [20:22] Ronalds_Mazitis_: your issues are around qt development, not ubuntu [20:23] yall waste people time [20:24] I've been programming like 6 years and these people like to fuck people time like it is a bussiness [20:24] expecially on startup [20:24] Ronalds_Mazitis_: please stop [20:24] maybe more [20:24] sorry [20:24] I can't get why computers can't work in future [20:25] because those jerks in the future that invented time travel haven't come back to us to share how it's done. so we're stuck with computers that only work in the present :( [20:26] no it's all done but the working basics You build up everything still are delivered by jerks [20:26] learn to respect humanity [20:26] Ronalds_Mazitis_: good luck with your project [21:17] something weird just happened, i restarted my computer, then it asked me for smartcard pin upon login [21:18] the only way i could log in was crtl+alt+f2, log in at terminal, then do startx [21:18] but x is different, what's the desktop environment native to ubuntu 21.04? [21:18] gnome [21:19] Possibly Wayland? [21:19] startx .. that is old [21:19] BinarySavior: What did you do BEFORE you restarted? [21:19] jhutchins, nothing that I can recall [21:20] would starting ssh server change it? [21:20] Hm. Automatic/unattended upgrade? [21:20] BinarySavior: Shouldn't. [21:21] alright i have a question about this issue.. what in the heck is a "smartcard pin" [21:21] Whobuntu [21:22] Gallomimia: pin sounds like the credentials and smartcard sounds like the physical? [21:22] or w/e the term is [21:22] Gallomimia, one could use a smartcard, but i am sure he knows how he set that up [21:22] yea it's asking for pin [21:22] and smartcard [21:22] so smartcard+pin [21:22] i dont know my pin or smartcard [21:22] yes i understand english but... where is it from? what does it do? i've never heard of it for computers or anything that ubuntu can run on [21:23] what even is a smartcard? [21:23] oh, i did set up a domain [21:23] before restarting [21:23] on my LAN [21:23] the only thing i know about a smart card is that thing that opens the door to work, or a hotel room. [21:23] spam 0's and scream until someone worries [21:23] and they don't have pin's [21:24] so how can i pass this screen without crtl+alt+f2 [21:26] would establishing a domain on my LAN trigger ubuntu to start asking for smart cards? === masta_ is now known as masta`` === invisiblek_ is now known as invisiblek [21:27] On ubuntu 20.04 I'm experienceing a problem like what is seen in this thread: https://askubuntu.com/questions/1191035/pcie-bus-error-type-transaction-layer-severity-uncorrected-on-shutdown-on-acer-s I see that the person found a soln to their problem involving change the driver to use in Additional Drivers, however, I am unsure which of the options (among several) I should switch to. What I see in my [21:27] BinarySavior, yes, i think such event can trigger that smartcard issue. other machines on that lan should have the same issue [21:27] Additional Drivers window gives multiple options. How can I discover which one I should switch to in attempt to solve my problem? === cryocaustik76 is now known as cryocaustik7 [21:28] https://pasteboard.co/r4LUF0WfKUVP.png === GLaDER5 is now known as GLaDER === manuels1 is now known as manuels === tofran0 is now known as tofran === dongcarl3 is now known as dongcarl [21:28] blahboybaz, choose the highest, 470 ? [21:29] they are all closed source, 'proprietary' === oerheks_ is now known as oerheks === gabes8 is now known as gabes === tomaw_ is now known as tomaw [21:31] oerheks: ok, now, considering that this is the only computer I have (and only way to get on this channel to chat) what is a basic strategy to use if the shtf and I lose display or some wierd thing like that? [21:32] Is there some command I can use and boot into recovery mode or something to switch back so I could get back here? [21:32] blahboybaz, yes, hold shift or esc on boot [21:32] !recovery [21:32] If your system fails to boot normally, it may be useful to boot it into recovery mode. For instructions, see https://wiki.ubuntu.com/RecoveryMode [21:32] ok [21:32] :-) [21:33] Isn't recovery mode command line only? [21:34] oerheks, i also have a yubikey plugged into my computer [21:34] i dont know if that would have caused it [21:35] uh, i think it is, but even so there's ways to view a webpage or visit an IRC channel === mcint1 is now known as mcint [21:36] yes, recovery is comandline, one could fix an update/reverse package, sudo ubuntu-drivers list / sudo ubuntu-drivers install nvidia450 as example [21:37] BinarySavior, that could be, there is a yubikey wiki, but i wonder how this is related to your added domain? [21:37] oerheks, i dont know probbly unrelated [21:37] i can still access the internet / login with crtl+alt+f2, and i've had the yubikey for along time [21:37] i've rebooted many times with the yubikey in my computer and never saw smart card / pin [21:38] but this it the first time rebooting since establishing domain on the lan [21:38] oerheks: ok, so how can I find the specific command to enter to set it back to the driver option I currently have? I would like to be armed with the correct command before making a change since I may not have the ability to find it if things go wrong after the change [21:39] see https://linuxconfig.org/how-to-install-the-nvidia-drivers-on-ubuntu-18-04-bionic-beaver-linux [21:39] if you're fixing stuff in your system, i advise you use a notepad and write down what you do. generally removing the stuff you added can get you back to a bootable point [21:40] cool thanks [21:40] but i don't think you would get issues on forehand [21:40] i'm glad you would take the precautions. it's less than ideal to be seeking support using the device you're fixing when the issue involves reboots [21:41] perhaps... print the page on recovery mode? [21:41] how do I force a certain version of pkg to be installed from ppa, looking at the apt-cache policy x for example, I can see that it has default version number of 0.8.10~develop-2021-10-12-5911fdf6-0ubuntu1~focal and then when I try to install x with apt install "x=0.8.10~develop-2021-10-12-5911fdf6-0ubuntu1~focal" I get "version not found" [21:41] BinarySavior, oke you found out these 2 are related, the yubikey, in use or not before, now is acting as a OTP token. [21:43] aha it should be *"1:0.8.10-blablablabla", whatever that [21:43] ztane, apt-cache would give available versions, apt-get install package=version -V # would be the right syntax [21:49] Hi. I just created an account on https://login.launchpad.net/ to report a CVE in 20.04, but I can't verify my email address because the page keeps telling me: "Bad bot, go away!" Not exactly friendly. Anyone have an idea what might be wrong? [21:49] rloehning: Do you get to an Ubuntu One sign on page? [21:50] jeremy31: Hi. Yes, I do. [21:50] rloehning: Does is automatically fill in the info [21:53] when can kernel 5.13.0.20 be expected in 21.10? [21:53] jeremy31: I might not have been precise: I'm logged in already with email and password. When I click on the link in the verification mail, I get directly to the "verify ...@..." page where I click on "Yes I'm sure". [21:54] jeremy31: I check "I'm not a robot" which gets accepted immediately without showing me a captcha first. [21:54] because of https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1906476 [21:55] Launchpad bug 1906476 in ubuntu-release-upgrader (Ubuntu Impish) "PANIC at zfs_znode.c:335:zfs_znode_sa_init() // VERIFY(0 == sa_handle_get_from_db(zfsvfs->z_os, db, zp, SA_HDL_SHARED, &zp->z_sa_hdl)) failed" [Undecided, Confirmed] [21:55] the yubikey is not working for smart card [21:56] jeremy31: After clicking "Yes I'm sure" (or however the button is labelled in English), the page tells me to go away. [21:57] rloehning: It might be caused by a Firefox update [21:57] Ok, so I have a 4k screen on this thing. When I enter into recovery mode (even from the time the menu to enter that mode comes up) the font is pinpoint small so that I have to use a magnifying glass to try and read what is there. Additinoally, I see information on switching from the xorg nouveau drivers to the proprietary driver but that is not what I need a command for. What I need a command for is to [21:57] switch TO the nouveau driver (as in switching back from the proprietary driver if it effs up on me when I try it) [21:57] jeremy31: Running FF 94.0 from Ubuntu 20.04's repos. [21:57] rloehning: https://bugs.launchpad.net/canonical-identity-provider/+bug/1949766 [21:57] Launchpad bug 1949766 in Canonical SSO provider "Unable to login using the new Firefox version 94.0[SOLVED]" [Undecided, Fix Released] [21:58] I googled to find the command but still I'm seeing the wrong answers [21:59] I'm currently using the xorg nouveau driver, want to try the proprietary driver, but need a way back if something goes sideways. Currently: https://pasteboard.co/r4LUF0WfKUVP.png [22:00] jeremy31: Looks similar indeed, but that is about logging in, isn't it? I think I am logged in, can browse my "Personal Data", "Account Activity" etc. in the account. [22:01] rloehning: try going to https://bugs.launchpad.net/ubuntu/?orderby=-id&start=0 and see if it shows you are logged in on the top right hand corner of the page [22:01] jeremy31: Just the email verification doesn't work. And that doesn't seem "solved" as is the report's status. [22:01] I may have just found the info. Sorry for the disturbance [22:01] jeremy31: Negative. Top right reads "Log in / Register" [22:02] So I'm _not_ logged in. :-/ [22:02] jeremy31: Anything I can do? [22:03] rloehning: you will likely have to contact the team running the Ubuntu One SSO [22:04] jeremy31: You know who that is or how I can reach'em? [22:05] rloehning: I do not [22:06] I thought this: https://askubuntu.com/questions/1032357/how-to-switch-from-nvidia-to-nouveau-drivers-on-ubuntu-18-04 was telling how to set the nouveau driver from the command line but after looking at it I think it may be addressing a different situation. In that thread it seems to be having you install the driver but I'm currently using it (so it must already be installed right?). Then if I switch [22:06] to the proprietary driver; but, for some reason find I need to switch back, do I then have to install the nouveau driver again or just configure it to be used? [22:07] jeremy31: https://wiki.ubuntu.com/SecurityTeam/FAQ#Contact ? Maybe a direct mail is less hassle [22:08] rloehning: try #canonical-sysadmin - that's more likely to be correct than the security team [22:09] blahboybaz: https://askubuntu.com/questions/1032357/how-to-switch-from-nvidia-to-nouveau-drivers-on-ubuntu-18-04 looks like exactly what you want. It seems you can use ubuntu-drivers to list devices / drivers, and then apt to install them [22:14] cbreak: Ok, that is the same article I was referencing when asking my question.. specifically, they are saying to use the command $ sudo apt install but is "install" the right command for my situation when I'm using that driver as I speak? Does the driver somehow become uninstalled when I switch away from it to the proprietary driver? Or is "install" meaning something different [22:14] than installing the driver as if it were not on the system? [22:14] I don't think it gets removed [22:15] jeremy31: tomreyn: OK, I'll ask there. Thank you for your help! [22:15] hope this works [22:16] the possibility of losing the display device on your only computer (and way onto irc) is pretty scary === Voeid8 is now known as Voeid [22:19] blahboybaz: well. You can install irssi or similar [22:20] let's see if irssi still works [22:20] on what? [22:20] this is my only computer [22:20] on that computer [22:20] without a display? [22:20] it's a shell IRC client [22:20] seems it works :) [22:20] suppose the damn display is black [22:21] it just needs a TTY [22:21] then can I install and use irssi? [22:21] no, I can't in that sitch [22:21] even without X you should still be able to get a tty [22:22] (those you get to with ctrl-alt-F4 and similar) [22:22] chances are that the resolution will be bad there, too, though [22:22] but it's worth a try. [22:22] maybe it isn't worth trying to fix [22:22] (if you try out that combo, you can go back with ctrl-alt-f1 I think... is that ubuntu's primary tty? it is here on kubuntu) [22:22] the damn thing is putting me through too much shit I don't know. Now it's asking to enter a password for secure boot [22:23] I'm not into doing shit I don't understand when it comes to my computer [22:23] eff it [22:23] i'd use a smartphone or tab or any other computer to communicate here while i am trying to solve a problem on some computer which has a potential of breaking screen output or keyboard / mouse input. [22:24] !language | blahboybaz [22:24] blahboybaz: Please avoid any language that may be considered offensive, including acronyms and obfuscation of such - also see https://wiki.ubuntu.com/IRC/Guidelines || The main channels are English only, for other languages, see https://wiki.ubuntu.com/IRC/ChannelList [22:25] I have multiple boot environments [22:25] I'm just trying to get back to where I was at this point. You have to understand I'm not into this depth of dealing with shit on the computer. I get overwhelmed easy and i just don't want the stress of all the unknown. It isn't fun anymore. Maybe it never was [22:25] if I break something, I can roll back to an earlier ZFS snapshot [22:25] if I screw up something major, I have to zfs send a backup of the boot pool from my mac [22:26] blahboybaz: there are a lot of unknown things in the depths of modern operating systems. And linux doesn't hide them as well as MacOS or even windows [22:28] sssss [22:28] Just want it to be over with at this piont [22:28] point [22:29] can't get it to go back to the nouveau driver now [22:29] why do you not like the nvidia drivers? [22:30] I explained it all earlier but hang on I'll type it up again [22:32] I've never made any good experience with nouveau [22:32] at work I always install the nvidia cuda packages, which bundle their own drivers from nvidia [22:32] at home here I have the ubuntu nvidia driver package [22:38] I'm getting this error: https://askubuntu.com/questions/1191035/pcie-bus-error-type-transaction-layer-severity-uncorrected-on-shutdown-on-acer-s the guy in that thread solved his problem by switching to the proprietary driver. I am aware that when changing drivers it is possible for sever problems to occur (such as losing the display entirely). If that should happen I wanted to be prepared (armed) [22:38] with the correct sequence of events (and commands) to return to the xorg driver - even if that meant entering recovery mode to do so. Additionally, while chatting just now, I attempted to switch to the proprietary driver throught the Additional Drivers window (graphically). I was presented with a window to enter a password to be used for secure boot. I am not comfortable doing such a thing because (1) [22:38] I don't know what result that will cause and I don't want to have to enter an additional password when I boot OR I do not want to have to remember a password to make change in bios in the future if I have to. AND (2) I though secure boot was disable in my bios settings anyway. Finally, I tried to return to the xorg driver at that point (without entering a secure boot password nor completing the [22:39] process). It won't let me swtich back to the xorg driver now because it says something about a lock and unable to access something something. I just want to go back to the xorg driver and put an end to this nightmare so I can enjoy my computer again. I don't care anymore if it screws up when I resume from hibernation sometimes. I just want to be stop having to deal with this but I have to at least put [22:39] things back the way they were [22:40] I have considered simply rebooting the system but the nightmare I face, the thing that simply can-not happen, is that I either lose my display after the reboot or the letter become too pinpoint small to read anything again. I don't want to find things out the hard way - it's too painful [22:51] That's kinda the reason I ask help on these channnels. Is cause I'm not interested in geeking out on this stuff that deeply - I just want to use it and enjoy it. I know problems happen (that is inevitable); but, when they do, I come ask for help with it. I don't try to solve it on my own because it was NEVER about that for me. I use linux cause I know it is more secure - overall just plain better. Not [22:51] cause I want to dig down into all kind of problem solving skills and knowledge. Heh, I just wanna watch videos and play (that's what makes me happy). I usually just ignore little issues that come up figuring someone will fix it and it'll get pulled in with an upgrade sooner or later. I only even address a problem (like the one I had when I can here today) when it interferes with normal operation to the [22:51] point I have to or really should (for convenience sake) do something about it [22:51] Oh well, time to face the bease I guess [22:51] $ sudo shutdonw now === coetzeer_ is now known as coetzeer === ghostcube_ is now known as ghostcube === rfm_ is now known as rfm [23:26] Hey everyone. I am facing a very odd issue with chroot. I prepare Ubuntu Raspberry Pi images (arm64) on my Ubuntu 21.04 amd64 host via chroot and qemu. It has always worked great, but since I updated my host to 21.10, inside the chroot, I can't invoke any command with arguments. For example, trying to mv goes like this: [23:26] root@ubuntu:/# mv etc/resolv.conf etc/resolv.conf.bak [23:26] mv: missing destination file operand after 'etc/resolv.conf.bak' [23:26] Try 'mv --help' for more information. [23:26] Trying to nano resolv.conf just opens a blank editor. [23:26] This issue exists for absolutely every command arguments. Does anybody have any idea? Thanks [23:27] wow that's crazy [23:27] It's literally the most bizarre issue I've ever seen [23:27] hello [23:28] five623468263: the usual convention when execution programs on unix is for the argv array to include the command name as the very first argument; so when you exec mv, it looks like: execve(mv, [mv, foo, bar, 0]); [23:28] five623468263: so it feels a lot like whatever shell you're executing has forgotten this convention entirely :) [23:28] my host shell is bash, and so is my chroot [23:28] five623468263: resolve.conf is in /etc [23:28] the exact same chroot works wonders with Ubuntu 20.04 and before on the host... just not since 21.10 [23:29] I am in / when I execute that command [23:29] five623468263: Hm, no, that's not it if you're in /. [23:30] The issue is that the shell fails to parse my commands, and I have never seen that happen before [23:30] Could it be something to do with locales? [23:30] probably not [23:30] five623468263, the only thing I can think of that causes that is getting $IFS set to something odd [23:31] I suggest trying dash or tcsh or zsh or ksh or something and see if it's common to all the shells or if it's specific to the one shell [23:32] Another strange issue is that whenever I run `chroot /mnt/chroot`, nothing happens until I Ctrl+C, then the chroot shell starts working [23:32] I don't know if this means anything [23:33] I just tried with plain old `/bin/sh` and the same behavior exists there [23:33] five623468263, that also sounds like there's something odd in the chroot profiles (like /etc/profile, or one of the per-user ones) [23:34] Also, the craziest part, I can "work around the bug by doing this: [23:34] cp SOME_UNUSED_WORD resolv.conf resolv.conf.bak [23:34] cp cp resolv.conf resolv.conf.bak would be much more reliable [23:35] Yeah, I was just visualizing the idea... but this is either way not a solution [23:35] maybe it's less common these days but once upon a time it was commong for one executable to be used for multiple 'programs' and it would decide what to do by looking at argv[0] [23:35] rfm: /etc/profile is standard for Ubuntu 21.10 [23:36] I should have probably mentioned, this is a completely unmodified Raspberry Pi Ubuntu 21.10 official image that I am mounting and chrooting into [23:36] And yeah, it worked just fine on Ubuntu 21.04 and before on the host... The only thing that changed is the host Linux, so I don't think the problem is inside the chroot [23:38] Annoying issue with my laptop since upgrading to 21.10, after standby/resume the screen will blank after 30 seconds (not lock, just blank) (same issue across multiple thinkpads, intel and amd). This is causing me all sorts of grief... Can somebody tell be why this happens and how to fix it? [23:41] five623468263: Have you mounted /dev, /proc, and /sys? [23:42] Yup! [23:42] five623468263, try running "\cp foo bar", the backslash will stop any function or alias substitution (which could cause this) [23:42] five623468263: Possibly $PATH? [23:42] oh interesting idea [23:43] Wouldn't that be /bin/cp? [23:43] root@ubuntu:/# \mv /etc/resolv.conf /etc/resolv.conf.bak [23:43] mv: missing destination file operand after '/etc/resolv.conf.bak' [23:43] Try 'mv --help' for more information. [23:43] jhutchins: root@ubuntu:/# echo $PATH [23:43] /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/snap/bin [23:44] so, nothing there. what does "type mv" say? [23:44] root@ubuntu:/# type mv [23:44] mv is hashed (/usr/bin/mv) [23:45] that looks normal. definitely running out of ideas here [23:45] I spent a solid 3-4 hours Googling this... not a single related issue [23:45] Definitely out of ideas myself ^^ [23:46] * jhutchins wonders what effect snap might have had on the environment... [23:47] is it just mv? what does "echo a b c" say? (also maybe "/bin/echo a b c" in case the builtin is different) [23:48] Nope, it's everything. The first argument is always swollowed [23:48] root@ubuntu:/# /bin/echo a b c [23:48] b c === coetzeer_ is now known as coetzeer [23:58] I also just tried a few other Ubuntu 21.10 distros to make sure the issue is not there.. Same with both xubuntu and lubuntu [23:59] my guess; your image is read only..