/srv/irclogs.ubuntu.com/2022/06/19/#kubuntu.txt

=== thopiekar is now known as Guest9873
=== thopiekar_ is now known as thopiekar
mklange1959New install Kubuntu on older Compaq machine with HP monitor - display is screwed up and not showing any intelligible information after user logging in.  Are there recommendations for what I need to do to get display settings correct?03:07
arraybolt3[m]mklange1959: Intel, nVidia, or AMD graphics?03:08
mklange1959Intel VGA graphics03:08
arraybolt3[m]Also, Kubuntu version would be helpful.03:08
arraybolt3[m]mklange1959: And what make and model is the system? Dell Inspiron 7000, or something like that.03:08
mklange1959Sorry, Kubuntu 22.04 LTS03:09
arraybolt3[m]mklange1959: My immediate suspicion is a kernel issue - I've faced Intel graphics problems on one version of Ubuntu that vanished on another version. You might try using Kubuntu 20.04 and see how that works, though if I know exactly what system you're using, I may be able to find a different solution.03:10
arraybolt3[m]mklange1959: If this is custom-built or something, the CPU version would be helpful (like "i5-12600K")03:11
mklange1959Compaq SR5710F and it looks like it has Nvidea Graphics card.  It's re-booting; I'll have to hunt for the CPU version.  It is an AMD processor.  During the install process, an d reboot process, the display has been very flaky03:15
arraybolt3[m]Aha. OK, once you get it booted back up, see if you can switch to a TTY (press Ctrl+Alt+F3). If so, type your username and password to log in, and you should be able to install the nVidia drivers from there.03:17
mklange1959Thanks for your help arraybolt3.   I'll give that a shot.03:17
arraybolt3[m]Once you're into the terminal, can you type "lspci | nc termbin.com 9999" and then send the URL that it spits out? That will tell me all the devices in your system, including your nVidia card, allowing me to find the right driver for it.03:17
oerheksGeForce 6150SE integrated? not much we can do as it uses nouveau, and not capable of running youtube properly03:21
oerhekshttps://support.hp.com/nz-en/document/c0161620203:21
mklange1959I'll do that.  On boot, I'm getting an error, pointing to the GPU directory saying an exponent value of -1 is encountered.   It is sending termbin.com/h9ft03:23
arraybolt3[m]mklange1959: Crud. That system is so old that the official nvidia driver for it is no longer supported...03:24
oerheksrunning a lightweight flavor of ubuntu might give a little bit better picture, but not really03:24
arraybolt3[m]oerheks: Do USB video cards work with Ubuntu?03:25
mklange1959Well, there we are then.  Thanks for the help.  This is not a full catastrophe; I was doing this as an experiment to set up a linux PC running my CAD program and then access via remote terminal from an iMac.  This PC was available to test the concept; apparently I'm out of luck from that standpoint.  I'm glad I asked people who know what they03:26
mklange1959are doing rather than fooling around with this with no clear path to a solution.03:26
oerhekssure, if it gives usb203:26
mklange1959Would a USB video card be a low-cost option to continue experimentation?03:27
oerheksdownside is the 10 mbit networking.. else it could be a server03:27
oerheksoh, up to 100 too...03:28
arraybolt3[m]mklange1959: That's what I'm thinking.03:30
arraybolt3[m]mklange1959: If you need to test Linux, you can test it on the hardware you intend to ultimately use it on with a second USB drive. Flash the ISO to one drive, boot from it, plug in the other drive, then install to the second USB drive. Make sure to not accidentally overwrite your internal drive, and bam, you have a full installation of Linux on a USB drive.03:31
arraybolt3[m]mklange1959: If all works well from the USB drive, then it will almost certainly work well installed onto the internal drive.03:32
mklange1959I don't have the hardware that I would use for this application yet.  I wanted to make sure the idea would work before buying a new computer.    With these USB video adapters, will that get detected on OS install or on boot?  This might be a low cost test -- looks like Amazon has a USB 2 adapter for about $50.   Apologies for all the03:35
mklange1959questions, I haven't messed with this stuff for a few years03:35
arraybolt3[m]mklange1959: Don't be sorry, the whole point of a support forum is to ask questions!03:35
mklange1959If I do try the USB video adapter, do I need to remove the Nvidia card?03:37
arraybolt3[m]mklange1959: I don't think so, but I'm seeing that the card I'm looking at says you should have a GPU already in it, which makes me think this might not work...03:37
arraybolt3[m]mklange1959: Is your iMac Intel based? If so, you might be able to install VirtualBox on it and do all your Linux fiddling in there.03:38
arraybolt3[m]mklange1959: You would just make a virtual machine (think a fake computer inside a computer), install Linux into the VM without messing up macOS, and then be able to use macOS and Linux on the same system at the same time.03:38
mklange1959My iMac is Intel based and I'm running linux under VMware.  It runs my CAD program right now - and Kubuntu works well with it.  However, the CAD vendor is stating that the next major upgrade will require direct graphics hardware acceleration which VMware does not provide.  Thus my thought on getting a dedicated machine with a graphics card and03:40
mklange1959then running it from the iMac via remote terminal03:40
arraybolt3[m]mklange1959: Even VMware's 3D acceleration capabilities aren't going to work? That's crummy.03:41
mklange1959That's the unknown unknown.  I know that they don't currently work with the existing versions of the CAD program.03:42
mklange1959... and I'm not sure that the Apple OS provides VMware with the needed access to the graphics card to run 3D acceleration properly03:43
arraybolt3[m]mklange1959: Possibly silly, but can you check with your CAD vendor and ask if Parallels Desktop's hardware acceleration works with their newer software under Linux? They seem to have 3D VM performance on macOS down to a science - even games are able to work in it, so it might be good enough for CAD.03:44
mklange1959I've spoken with the CAD developer, they don't recommend running their software in a virtual machine for that reason.   Oh, Parallels, that might be an option.  I'll have to check into that.  Thanks for the suggestion.  Appreciate that.   Thanks for your time.  Looks like I have some things I can now check.03:45
arraybolt3[m]mklange1959: Yeah, sure. Also, can you tell me the name of your CAD software? I might be able to check and see something real quick.03:46
arraybolt3[m]mklange1959: I'm thinking, if you do get a new Linux PC, go for AMD graphics, since those have a reputation for working better. If your software is compatible with AMD on Linux, that would possibly be a good option.03:46
mklange1959I'm using VariCAD.  I'll definitely keep that in mind to go with AMD graphics03:48
mklange1959VariCAD is found at varicad.com03:49
mklange1959My iMac is running a Radeon Pro 580, it's a late 2018 model03:50
arraybolt3[m]OK, nice. I'm seeing VariCAD required OpenGL, and I also see people say that AMD's OpenGL performance is lacking, so despite the fact that AMD is usually the way to go on Linux, I'm going to risk saying to try... ugh... nVidia.03:53
arraybolt3[m]Part of me thinks that, if AMD is working now, it should keep working, but if they're doing upgrades, I'd hate for something to go awry. I03:53
arraybolt3[m]I'm having good results with my nVidia 1050 Ti, FWIW.03:53
arraybolt3[m]Anyway, some more stuff to think about. I may have just complicated everything at this point, but hopefully that should help you.03:54
mklange1959Nope, this was very helpful.  I'm going to sign off for now and go ponder my options.  Thanks!03:58
arraybolt3[m]👍️03:58
user|83kde 5.25 install05:55
BluesKajHi all12:07
Guest59Im sorry for my ignorance, but I am having some issues with a fresh kubuntu install and was wondering if anyone here might be able to offer me some advice13:16
Guest59I am not experienced in linux at all.13:17
Guest59From the little bit of info I was able to gather from the internet, I think I might be looking at a bad Nvidia driver issue.13:17
Guest59After the fresh install, I either get stuck on a mobo splash screen, or stuck at {ok} finished terminate plymouth boot screen13:18
Guest59I am here now using the try kubuntu feature from the installation media and was wondering if it is possible to install a working driver on my ssd from this trial media13:19
tomreynhi Guest5913:20
Guest59hello13:20
tomreyntry booting normally, but hit escape until you see a text menu which says GRUB on top, or a "grub>" prompt13:21
tomreynif you get to the "grub>" prompt, type "normal" and press enter, which brings you to said text menu with GRUB on top13:22
tomreynfrom there, select the "failsafe graphics" option13:22
tomreynit's in the "Advanced" sumenu, i think13:22
tomreyn*submenu13:22
Guest59stand by, I need to write this down as i dont have any way of taking a screenshot at the moment13:23
tomreynGuest59: if you have another device to connect here, this will be much easier13:24
Guest59im about to plug in my work phone now to charge.  this is a bad week for tech for me.  I think the machines are rising up in revolt13:25
Guest59im going to try to log into this chat on my work phone13:29
tomreynvery well13:29
tomreyncan you confirm that you installed kubuntu 22.04 ? or was it another?13:30
Guest59Fair warning, I cant type for shite on a touchscreen. It is really bad.13:30
Guest59yes I downloaded the iso from the website a few weeks ago and just installed it last night13:30
Guest5922.0413:30
tomreynokay, i'll install a copy in a Vm here meanwhile13:31
Guest59ok thanks.  During the install I did check the box for installing third party drivers etc13:31
Guest59I was hoping that would have negated this issue13:32
tomreynit should have. if you can tell which nvidia graphics card you have, this may help, too13:32
Guest59ok thats me on my phone, guest 4513:32
tomreynhi #213:32
Guest59evga gtx 1080 hybrid13:32
Guest59im going to reboot and communicate on my phone now13:33
tomreynwait a second13:33
Guest59ok13:33
tomreynif the live system is still live, run this in a terminal (konsole):   lspci -knnv | nc termbin.com 999913:33
tomreynthis will try to post info on your PCI bus + hardware online13:34
tomreynand you can then post the link here13:34
Guest59https://termbin.com/pj9uo13:35
tomreynGuest59: also this (just one line):   journalctl -b | grep DMI:13:37
Guest59               Jun 19 12:35:26 kubuntu kernel: DMI: ASUS System Product Name/ROG CROSSHAIR VII HERO (WI-FI), BIOS 4402 06/28/202113:38
tomreynlooks like your phone lost connection13:38
Guest59yeah it timed out since you told me to stay here13:39
tomreynright, sorry. ;-)13:39
tomreynyou can reboot now, i fouy like13:39
tomreynif you like13:39
Guest59ok so do i start hitting escape on the uefi splash screen?13:39
tomreynyes13:39
Guest59ok13:40
Guest59let me log back in with the phone13:40
Guest45Yeah ok back13:40
tomreynvery well13:40
Guest45Ok I have grub>13:42
tomreynHmm, maybe the "safe graphics" option only exists on the installer13:42
tomreynbut we'll see13:42
tomreynso type "normal"13:42
Guest45Stuck on the republic of gamers (mono) splash screen13:44
Guest45Mobo13:44
tomreynhmm, see if you have a bios option which says "full screen logo show" and disable it13:45
Guest45I did that once last night I’ll reboot and do it again.13:46
Guest45When I reboot should I go to grub again13:48
Guest45It’s just hung on a black screen now13:50
tomreynGuest45: yes, if you can go to grub, do that13:51
Guest45I’m in grub now in advanced looking at 4 different Ubuntu versions to choose from13:52
tomreynit will really be just two, each with or without "(recovery)", right?13:52
Guest45Well yes13:53
tomreyndid it start up fine the first time after you installed?13:53
Guest45No I went to grub typed normal13:53
Guest45hit enter and it hung on a black screen13:53
tomreyni mean after you installed kubuntu 22.04 on this computer, you rebooted, and then, did it boot up to desktop then once, or never?13:54
Guest45After install it rebooted to either a kibbutz or Ubuntu splash screen I can’t remember which, said remove installation media and hit enter.   So I did, and it has never completed a boot since13:55
Guest45Sorry kubuntu13:56
Guest45Auto incorrect struck again13:56
tomreynalright13:56
tomreynhave you considered installing the latest bios upgrade? https://rog.asus.com/uk/motherboards/rog-crosshair/rog-crosshair-vii-hero-wi-fi-model/helpdesk_bios you are on version 4402 (06/28/2021), but there is version 4703 (2022-03-07)13:56
arraybolt3[m]Word of warning - make sure a BIOS update won't make your CPU no longer compatible.13:57
arraybolt3[m](Saw that happen to a guy in #ubuntu the other day.)13:57
Guest45It was brought to my attention last night, and I can. I just didn’t think it would matter that much seeing as I updated it last June but yes I can try that13:57
tomreynGuest45: we can try something else first13:57
Guest45Well last June I had to update so that I could upgrade from my 2700x to the 5950x13:57
Guest45So I don’t know if a new update would be an issue13:58
tomreynnot normally13:58
tomreynbut there can be exceptions, such as wehn you have an old cpu on a newer mainboard13:58
Guest45 I have since built a new rig and moved the 5950x over to that one putting the 2700x back in this one13:58
Guest45Oh no this board was build specifically for this chip13:58
tomreynso, for now, can you boot the newer kernel version, and there the "recovery" option?13:59
tomreyndoes this give you something other than a black / logo screen?13:59
Guest45The -39 as opposed to the -2513:59
Guest45Losing ramdisk, I don’t know how long this would take14:00
Guest45Loading14:00
tomreynshopuld not take longer than a second at most14:01
Guest45Then it is hung up.  I did the non recovery first14:01
tomreynokay, can you do the recovery, as i suggested14:02
arraybolt3[m]Guest45: Is it still stuck loading? If so, that's not normal. It shouldn't take more than a few seconds for the ramdisk to load.14:02
Guest45I was confused you worded as do them both14:02
Guest45I’ll reboot and do it again from the recovery14:02
tomreynsorry if i phrased it badly, still learning english14:02
Guest45No worries you are giving me your time I’m not going to complain14:04
tomreyn:)14:04
tomreynit'll be either secureboot or cpu microcode14:04
Guest45I hit escape too many times what command will get me back to the grub menu14:04
tomreyn"normal"14:05
tomreynwithout the quotes14:05
Guest45Ok it’s at the recovery console now14:06
Guest45Should I repair packages or update bootloader?14:07
tomreynGuest45: select fsck, clean, then network, then root14:08
Guest45Ok I’m in root14:09
tomreynping -c1 1.1.1.114:09
tomreyndoes this report an erro / unreachable?14:10
tomreyn*erroR14:10
Guest45No it pinged no packet loss14:10
tomreynapt update14:10
tomreyndoes this report a W:arning or an E:rror ?14:11
Guest45No it updated14:11
tomreynapt upgrade14:11
Guest45Updated again14:11
tomreyndoes it install new packages? confirm if it prompts about installing updates14:11
tomreyndid it install upgrades though?14:12
tomreynjust in case: "apt update" is not the same as "apt upgrade"14:13
Guest45Oh14:13
Guest45Haha that was my fault14:13
Guest45I’m assuming yes for do I want to continue?14:14
tomreyndoes it only want to install updates, or also remove something?14:14
Guest45Some installed some kept back and some upgraded14:15
tomreynwell, it's a fresh install, should be fine, just do it14:15
Guest45Yeah the one it is keeping back is the nvidia driver14:15
tomreynaha, that's good to know, we'll get that next14:15
tomreynso once this is done *and no error was reported*...14:16
tomreynapt full-upgrade14:16
Guest45Ok14:16
tomreynthat should also install the nvidia upgrade now14:16
tomreyndoes it?14:16
Guest45No errors going to full upgrade now14:17
Guest45Yes it wants to upgrade the nvidia one now14:18
tomreyngood14:18
Guest45Done14:19
tomreyntype "exit"14:19
Guest45Done14:19
Guest45Resume?14:20
tomreynyes14:20
tomreynyou may end up on the black screen again, but hopefully rebooting will help then14:20
Guest45Wow14:20
Guest45It didn’t even go through all the loading screen strait to login14:20
tomreynworks now? ok14:20
tomreynit be a good idea to do another reboot soon, though, just to make sure this actually still works14:21
BluesKajautologin is enabled14:21
Guest45I don’tremember setting a password in the install14:22
BluesKajuhoh14:22
tomreynhopefully the installer would force you to set one14:23
Guest45Lool well at least if I have to do another clean install I’ll now how to get the driver14:23
Guest45It has my username so it must have printed it now I just have to remember ot14:23
Guest45It14:23
Guest45This is why I shouldn’t do installs at 2 am14:23
BluesKajyup :-)14:24
Guest45Is there a max character limit14:25
tomreynyou can actually reset the password from recovery / root prompt in case you can't remember it14:25
Guest45Oh14:25
tomreynthat's if you don't have disk encryption14:25
Guest45I didn’t opt for encryption14:25
tomreynbut maybe we should have you guess for now ;)14:26
Guest45Lol14:26
arraybolt3[m]Just enter recovery mode, then do "mount -o remount,rw / && passwd <username here>", replacing the placeholder.14:26
Guest45I have a system for creating them but when I’m half asleep that only helps with parts of ot14:27
Guest45It14:27
arraybolt3[m](After you drop to a root shell, that is.)14:27
tomreynor "enable networking", then "root prompt", then "passwd <username here>"14:27
tomreynless to type, fewer mistakes14:27
Guest45Ok giving it a shot now14:28
Guest45That’s weird when it prompted me to enter new password I couldn’t type anything14:30
arraybolt3[m]It's registering your keystrokes, but not showing anything on the screen. That's a security feature.14:30
arraybolt3[m]If you think you botched it, just hit Enter until it finally gives up, then try the passwd command again.14:30
Guest45Gotcha14:31
Guest45I’m excited I might actually leave windows for good14:32
Guest45Sweet that worked I’m in14:32
tomreynso, what happened here: unfortunately, the nvidia driver that came with your kubuntu 22.04.0 installation iso is not suitable for some configurations. installing the pending upgrade for it helped.14:34
Guest45Any idea why Firefox won’t open14:34
tomreynit may just take a while for the first time14:34
arraybolt3[m]It's slow the first time.14:34
arraybolt3[m]After the first launch, subsequent launches are faster.14:34
Guest45Lol maybe I should stop clicking it14:34
arraybolt3[m]Firefox <346 windows>14:35
Guest45Haha14:35
arraybolt3[m](I've done the exact same thing.)14:35
Guest45If I get to liking Linux on this server I might convert my gaming rig too14:35
tomreynwe call computers with desktop hardware and graphical desktops "desktops" usually ;)14:36
Guest45Yes but I don’t know Linux so I wanted a more non friendly opening experience to learn from14:37
Guest45When I have a decent grasp I’ll switch to one with out kde14:37
Guest45For the server14:37
tomreynprobably a wise plan14:38
Guest45This isn’t the first time I troed14:38
tomreynwell, hopefully you can be convinced this time around ;)14:38
Guest45I tried red hat back around 2000. And another around 2015 I just get too frustrated trying to learn from scratch while working a full time job14:38
tomreynthe very most of tasks you can do on the GUI exclusively nowadays. that's different from certainly 2000 and also from 201514:40
Guest45Firefox still hasn’t opened14:40
arraybolt3[m]Guest45: Hit Ctrl+Alt+T, then run "firefox" in the terminal, and tell us the error message.14:41
Guest45Permission denoed14:41
Guest45Denied14:42
tomreynwhat did you type exactly?14:42
Guest45First I did just firefox14:42
Guest45Then Sudo firefox14:43
Guest45Typed in my password too still denied14:43
tomreyndon't run your web browser as root14:43
tomreynso you got nothing but "permission denied" when you just ran "firefox"?14:44
arraybolt3[m]Guest45: Possibly silly question, but can you try doing "lsblk | nc termbin.com 9999"? This will spit out a bunch of disk info, but it will also tell me if Snap is active or not.14:44
tomreynGuest45: by the way, it's often a good idea to wait until the first point release, so 22.04.1 now, before installing an LTS release. this will usually give you a better user experience. this also goes fro release upgrades.14:46
tomreynto add to above statement on GUI-only operation: there are still some special tasks you may have to resort to the terminal for, but those are usually repair tasks or applying special settings. this said, actually learning to work with the terminal can prove to be very useful, since you can then run some tasks faster, or with better feedback (did it really work, was there an error?).14:49
Guest45See: can’t read /home/username/.config/user-dirs.dirs: permission denied14:52
Guest45cp: cannot open ‘ /home/username/.config/user-dies.locale’ for reading: permission denied14:52
Guest45error: cannot open display:  :014:52
Guest45That took a while to tupe14:52
Guest45Tupe14:52
Guest45Type14:52
Guest45It didn’t send the whole message I typed14:53
Guest45I got disconnected and lost the whole conversation14:54
arraybolt3[m]Guest45: Plop it into Pastebin.com and send the link.14:54
arraybolt3[m]That's OK, we can still see it (or at least I can). Anything you're missing I can dig back up.14:54
Guest45there was an send: line above the cp: line14:55
Guest45Sed:14:55
tomreyn!logs | Guest4514:55
ubottuGuest45: Official channel logs can be found at https://irclogs.ubuntu.com/ . LoCo channels are now logged there too. Meetingology logs at https://ubottu.com/meetingology/logs/14:55
arraybolt3[m]Guest45: Can you select the full text, press Ctrl+Shift+C to copy (the shift is important), then paste the data into Pastebin.com and send us the URL?14:55
arraybolt3[m]Guest45: The thing Ubottu/tomreyn just showed you will allow you to dig up the old conversation stuff. Though I know from experience it can take a bit for stuff to show up there.14:56
Guest45I’m on iPhone and the error is on the computer14:56
arraybolt3[m]Guest45: Oh, and ou can't start Firefox...14:56
Guest45Right14:56
tomreynyou can install konversation for irc14:57
arraybolt3[m]tomreyn: How do you get STDERR to pipe to STDOUT? He can just do "firefox <redirecteverythingtostdout> | nc termbin.com 9999" and that will give us the error info.14:59
arraybolt3[m](I thought the magic sequence was 2&>1 but it never does work for me, just makes a file called "1" in my current directory...)14:59
tomreyncommand 2>&1 | nc termbin.com 999914:59
arraybolt3[m]Ah.14:59
Guest45Do I type the Marriott?15:00
arraybolt3[m]Guest45: Do "firefox 2>&1 | nc termbin.com 9999" and then send the URL it spits out.15:00
Guest45Karrot15:00
arraybolt3[m]tomreyn: Thanks, I never could figure that out.15:00
tomreynon bash, alternatively:   command |& nc termbin.com 999915:00
arraybolt3[m]Guest45: Yes, the angle bracket is important. Type the whole string exactly as it looks.15:01
Guest45I get a bash syntax error  near unexpected ‘|’15:04
arraybolt3[m]Guest45: You may have forgotten the space between the "2>&1" and the "|".15:04
Guest45No I’m on the command above that one15:05
Guest45Oh I missed a message15:05
Guest45Stand by15:05
Guest45HTTPS://termbin.com/ju0015:06
Guest45I think it’s a zero it has a dot in the center of it15:07
Guest45Did it work for you guys15:13
arraybolt3[m]Yeah, I can see it, but I don't have a clue what caused it. It looks like your permissions are scrambled to me, but I don't know how that happened.15:14
Guest45Well my admin pass and and user pass are the same for the time being so can I just edit permissions15:14
arraybolt3[m]Guest45: That's good. Try "sudo chmod -R 0644 ~/.config", be very careful not to make typos, the ~ is important.15:16
Guest45Made me enter password,hit enter then just started another command line15:18
arraybolt3[m]Guest45: Can you try running Firefox again?15:19
Guest45I don’t get permission denied now but I still get error: cannot open display:  :015:20
arraybolt3[m]Guest45: This might sound silly, but try rebooting. I'm remembering a similar problem I had once that was solved by a reboot.15:20
Guest45Should I do a soft reboot or a full shitdown15:21
enigma9o7[m]cannot open display happens when you try running a gui app as root or pkexec that you shouldnt....15:21
Guest45Shutdown lol15:21
arraybolt3[m]Guest45: A reboot should do it.15:21
tomreyn!xauthority15:24
ubottuIf the .Xauthority file in your home directory has the wrong permissions (usually due to misuse of sudo), you may be unable to log in. To fix, change to a virtual terminal with Ctrl-Alt-F3, log in with your normal username and password, run   rm ~/.Xauthority*   and then reboot.15:24
Guest45After reboot I get the same error15:24
Guest45is it possible I’m stuck in root somehow?15:24
enigma9o7[m]you probably used sudo for stuff you shouldnt and messed up permissions of stuf fin your user folder15:25
Guest45I wouldn’t be surprised if I did15:25
enigma9o7[m]but resetting xauthority like tom triggered the bot for is good idea.  worst case you can just create another user and login as them, as their folder will be clean.15:26
arraybolt3[m]Guest45: Try the thing Ubottu said. I know that you're not having login issues, but it might still be relevant.15:26
tomreynfind ~ -not -uid $(id -u) -or -not -gid $(id -g) |& nc termbin.com 999915:27
Guest45Rebooting15:28
tomreynthis command should list files or directories which you either cannot access (giving an error message), or which you do not own, within your home directory15:29
tomreynregarding the firefox snap, i'm not sure why it failed to run, but i'd just snap remove and snap install it.15:30
tomreynGuest45 is probabky more interested in making things just work for them, not so much to get to the bottom of it15:31
Guest45HTTPS//termbin.com/yi8615:31
Guest45No15:31
Guest45It’s 8515:31
Guest45Typoed15:32
tomreynapparently you did not run this (but you should): "sudo chmod -R 0644 ~/.config"15:32
Guest45I did15:32
Guest45But I can run it again15:33
Guest45Ran it again15:34
Guest45HTTPS//termbin.com/8u6015:42
tomreynGuest45: sorry, had a phone call incoming here15:43
Guest45No worries I’m just happy for the assistance15:43
tomreynGuest45: do you keep runnign graphical things as root / with sudo for some reason?15:43
Guest45Heck if I know.  I did it one time several reboots ago and the only thing I typed audio for them was Firefox.   That’s why I asked if there is some way my konsole could be stuck in sudo15:44
arraybolt3[m]Guest45: Is there a "#" symbol at the end of your Bash command line?15:45
tomreyncan we see    sudo stat /home/oran/.local/share/konsole |& nc termbin.com 999915:45
Guest45Sire15:45
Guest45Sure15:45
enigma9o7[m]Yes, there are ways to get your console "stuck" as root..... `sudo -i` or `sudo su` for example.  But as array mentioned, you'd have # prompt instead of $ prompt if you did that.15:46
Guest45No I’m $15:47
tomreynif you logged in to the graphical desktop as user 'oran' (or got logged in automatically as this user), then started konsole, you should be in your  (oran) home directory (/home/oran, as proven by command "pwd") and should be working as this restricted user.15:47
Guest45I entered the sudo stat command and entered my password but it didn’t give a termbin15:48
tomreynalso, command "whoami" should report 'oran'15:48
Guest45Yeah oran15:48
Guest45Got the termbin15:49
Guest45HTTPS://termbin.com/oq7q15:49
tomreynare you still chatting on the phone there?15:49
Guest45Yes15:50
Guest45Sadly15:50
tomreyneither you fixed the permissions since, or my find command was wrong (which, i guess, can be so)15:50
Guest45I am not a fan of iPhone I hate this thing but my personal android is broken15:50
tomreynso just install an irc client on your kubuntu15:51
tomreynand join us with that?15:51
Guest45How do I do that without forefox15:51
arraybolt3[m]Guest45: Launch Quassel, set it to Libera, then join #kubuntu .15:51
enigma9o7[m]`sudo apt install irssi`15:51
enigma9o7[m]:)15:51
tomreynis that preinstalled?15:51
tomreynquassel?15:52
arraybolt3[m]tomreyn: Pretty sure Quassel is preinstalled, it might be Konversation though.15:52
tomreyni guess GUI is better here15:52
Guest45I’m in konversation15:52
tomreynoh both have a GUI, i never used quassel :)15:52
tomreynconnect to network Libera, channel #kubuntu15:53
tomreynoh you did15:53
arraybolt3[m]Guest45: OK, then use that. (Man, I thought it was Quassel... my brain must be a bit confused from having done a few hundred thousand Ubuntu installs for QA tests.)15:53
oransweet15:53
oranthis is so much better than iphone15:53
oran what would you like me to try next15:55
orangeez thats allot of installs15:57
tomreynoran: what do you mean by 'a lot of installs'?15:58
oranyou having done a few hundred thousand ubuntu installs15:59
arraybolt3[m]OK, that wasn't literal on my part, but I have done a LOT of instals.15:59
arraybolt3[m]installs*15:59
tomreynfind /home/oran -not -user oran -print |& nc termbin.com 999916:00
tomreynfind /home/oran -not -group oran -print |& nc termbin.com 999916:00
tomreynlet's try these two16:00
orani launched konversation from my terminal and not i dont get a command line anymore16:00
oranthe oran@ etc is gone16:01
arraybolt3[m]oran: Open a new terminal.16:01
oranjust opened a new window16:01
arraybolt3[m]oran: Ctrl+Alt+T will do that.16:01
oranlol16:01
arraybolt3[m](A new command line will appear when the program currently being executed is finished. Since you ran Konversation from the terminal, and now are using it, it won't finish until you close it, thus why your command line vanished.)16:02
oranis that a space between | and &16:02
tomreynit will be easier to start graphical applications from the menu instead16:02
arraybolt3[m](Just opening a new terminal will let you keep doing stuff.)16:02
tomreynno space there16:02
oranhttps://termbin.com/kza216:03
tomreynyou can probably set konversation to use a different font, a so-called "monotype" font, this should make such commands better readable16:03
tomreynyou missed a blank space while typing the command16:04
tomreynyou could also just copy and paste those commands16:04
oranoh yeah16:04
tomreynit's not good practice if you don't trust those providing these commands16:04
tomreynbut i guess you trusted us so far ;)16:04
oranwell all my data is backed up to disconnected drives so theres nothing un repairable16:05
tomreyngoood practice16:05
tomreyn<tomreyn> find /home/oran -not -user oran -print |& nc termbin.com 999916:05
tomreyn<tomreyn> find /home/oran -not -group oran -print |& nc termbin.com 999916:05
tomreyncan you do those again, just correctly? ;-)16:05
oranoh both of them16:06
oranoh yeah16:06
oranthey are different16:06
oranhttps://termbin.com/r706    https://termbin.com/sjg516:07
arraybolt3[m](For the record, it would be pretty hard for anyone to post a malicious command here, since tomreyn is a channel operator - if I told you to do something that would damage your system, he'd scream 'don't do that and I'd be booted out of the channel in an instant. Same for anyone else who tried something like that.)16:07
orangood to know16:07
tomreynactually, i'm not a channel operator here16:07
arraybolt3[m]tomreyn: Well you are on #ubuntu anyway, so same trust level.16:08
oerheksand if it happens, there is a trigger16:08
oerheks!danger16:08
ubottuDO NOT RUN THAT COMMAND! That particular command is DANGEROUS and shouldn't be uttered here. REST OF YOU: DANGER, WILL ROBINSON, DANGER! Do not use the command or utter it here thank you!16:08
oerheks:-)16:08
arraybolt3[m]oerheks: Hey, that's handy! I'll remember that.16:08
tomreynoran: so i guess we need you to run the command to fix file and directory ownership once again16:09
tomreynoran: sudo chown -R oran:oran /home/oran/16:09
tomreynoran: careful not to make any typos there16:10
oranok16:10
tomreynoh there was no chown before, just chmod16:10
tomreyni must have mixed up what i read16:11
oranso what should it be16:11
tomreynanyways, thios should fix it16:11
tomreynoran: please run:   sudo chown -R oran:oran /home/oran/16:11
tomreynsorry for the confusion, i was just thinking aloud16:12
oranI did it shoudl i run the previous termbins for you16:12
tomreynoran: yes please16:12
oranhttps://termbin.com/u8s7n16:13
oranhttps://termbin.com/gy7vx16:13
tomreyni am puzzled. anyone got ideas?16:14
oranso i can maybe think of one thing16:14
enigma9o7[m]create a new user and login as them.16:14
oranwhen i did the reboot to reset the password16:14
oranthe first time i did it i messed up and didnt do the <oran>16:14
oranso I am assuming that made an overall system password16:15
oranthe second time I did enter the oran16:15
arraybolt3[m]oran: Oy. That would have enabled the root account and set a password for it. But to my mind, that shouldn't have caused this mess.16:15
enigma9o7[m]Even if you created a password for the root user, that shouldnt matter.16:15
enigma9o7[m](As long as you dont login to your desktop as username root)16:15
oranim not sure then, its a clean install16:15
oranno i login with oran16:16
tomreynit's probably a good idea to start with a new user indeed16:17
arraybolt3[m]oran: Really, at this point, something must have gotten scrambled, and figuring out what may be difficult. You may want to reinstall without the proprietary drivers, then install the drivers once you boot into the system.16:17
oranwell i have to install the drivers from grub before I can ever log in unless there is a newer iso available that has the driver already16:18
arraybolt3[m]oran: If you don't install the proprietary drivers, it should boot into the system. It just will have crud graphics until you install the good driver.16:19
oranit didnt for me thats what brought me here16:19
orani couldnt get it to boot16:19
arraybolt3[m]oran: But I thought you said you used the proprietary drivers option during install.16:19
oranI did but it didnt install them16:19
oranthats the problem16:19
oranwe had to do apt full-upgrade to get them from recovery16:20
tomreynno, not what happened16:20
orantom can probably explain better16:20
arraybolt3[m]oran: The problem would be not that it didn't install them, but that it installed the wrong ones or something went wrong. If you install without the proprietary drivers, it will use the default free drivers, which we know work because the live ISO is able to boot.16:20
oranok i can try that16:20
oranso just dont check the proprietary box16:21
arraybolt3[m]oran: Yeah, just don't check that box. Then once the installed system boots, you should be able to launch a terminal and do "sudo software-properties-kde", then go to "Additional Drivers" and install the nvidia drivers there.16:21
tomreyni'm not sure that you have to reinstall, but it may indeed be the faster approach.16:21
oranim down for the troubleshooting to learn stuff or the clean install to make this less painfull for you guys16:22
oranits really up to you16:22
arraybolt3[m]oran: Troubleshooting will help you learn a LOT about Linux, which should come in handy.16:22
arraybolt3[m]oran: We're fine with helping. However you want to do it, let's do it that way.16:22
tomreyni'm wondering whether you have a separate /home file system which is mounted read-only16:23
oranif we think we can troubleshoot lets go that way16:23
tomreynmount |& nc termbin.com 999916:23
oranhttps://termbin.com/g8ty16:24
oerhekslooks good16:24
arraybolt3[m]Same16:25
oranI do think that the drivers im currently using still arent 100% because all of my audio should be going through the gpu and i dont have any output devices listed but thats for another time16:25
tomreynyes, looks good16:25
oranI know when i tried mandrake back in 2015 there was a service built in for installing applications16:26
oranit had a list of them16:26
oranis it possible to  reinstall firefox16:26
tomreyntry creating another user account and logging out, then into that other user account16:26
oranok16:26
arraybolt3[m]oran: You can make a new user account by typing "Users" into the Application Menu search and clicking the "Users" button.16:26
tomreynthe irc client will still be there but you will need to configure it again16:26
oranok16:27
tomreynnetwork: Libera, channel: #kubuntu16:27
ggback16:29
tomreynwelcome back, oran16:29
ggshould i try the firefox icon or the terminal again16:29
arraybolt3[m]gg: You "onan"?16:29
ggyeah16:29
arraybolt3[m]gg: Icon should be fine.16:29
arraybolt3[m](Onan. Wow. I can't read... n and r are different...)16:29
gghaha16:30
ggi didnt even catch it16:30
ggim still waiting it hasnt opened yet16:30
tomreyngg: try starting firefox again, but click on the icon just once this time.16:30
tomreyngg: stop, dont16:31
enigma9o7[m]It will be kinda slow the first launch if from snap, give it a few seconds.16:31
tomreynsorry, i missed that you already started it16:31
ggits been almost a minute16:31
enigma9o7[m]Hmmm a minute sounds excessive.16:31
arraybolt3[m]gg: I guess open the terminal again and try "firefox" then? It takes 15 to 30 seconds on my system the first time.16:31
tomreynalso try    df -h .16:32
ggirefox16:32
ggsed: can't read /home/gg/.config/user-dirs.dirs: Permission denied16:32
gg/snap/firefox/1443/snap/command-chain/desktop-launch: line 261: /home/gg/.config/user-dirs.dirs: Permission denied16:32
ggcp: cannot open '/home/gg/.config/user-dirs.locale' for reading: Permission denied16:32
gg/snap/firefox/1443/snap/command-chain/desktop-launch: line 266: /home/gg/.config/user-dirs.locale: Permission denied16:32
ggit didnt copy the f but it was typed16:32
arraybolt3[m]What on planet earth?! Alright, try "sudo snap remove firefox && sudo snap forget 1 && sudo snap install firefox".16:33
ggFilesystem      Size  Used Avail Use% Mounted on16:33
ggtmpfs           3.2G  2.0M  3.2G   1% /run16:33
gg/dev/sda2       916G   12G  858G   2% /16:33
ggtmpfs            16G     0   16G   0% /dev/shm16:33
ggtmpfs           5.0M  4.0K  5.0M   1% /run/lock16:33
gg/dev/sda1       511M  5.3M  506M   2% /boot/efi16:33
tomreynplease redo this, but output to termbin (my fault)16:33
tomreyngg: you're currently muted here, we can't read what you're typing. this will last another minute16:33
tomreynso make it:    df -h . |& nc termbin.com 999916:34
tomreynyou can talk again16:34
ggok16:34
ggso note to self dont paste like that16:34
arraybolt3[m]gg: LOL usually you can access Pastebin.com for that sort of stuff, but with Firefox dead... ☹️16:35
tomreyncorrect, we don't like that here ;) and TheRedQueen enforces it16:35
ggshould i type what array said first16:35
tomreynthats fine16:36
arraybolt3[m]No, do tomreyn's first.16:36
ggok is that all one line16:36
ggoh ok16:36
gghttps://termbin.com/s5nm16:37
ggat least she didnt say "your all going to die down here"  in a british accent16:37
arraybolt3[m]gg: Sure you typed that command right? Something's fishy about the length (or absence thereof) in the termbin output.16:38
ggi coppied it from the message above16:38
ggis the period in it a mistake16:38
gg[12:34] <tomreyn> so make it:    df -h . |& nc termbin.com 999916:39
tomreynnot a mistake16:39
arraybolt3[m]Hmph. Guess that's just all it wrote.16:39
gghttps://termbin.com/7au516:40
tomreynbut gg missed the dot last time ;)16:40
ggno I did the dot16:40
tomreynthis time, yes16:40
tomreynthanks16:40
ggi may have had an extra space last time16:40
ggat the beginning16:40
tomreynwhen you posted to the channel, you didn't have the ., i think16:40
tomreyncan i also see this?   sudo tune2fs -l /dev/sda2 | grep state16:41
ggoh no I didnt16:41
ggsure16:41
arraybolt3[m]gg: And add the termbin bit at the end.16:42
arraybolt3[m]gg: So "sudo tune2fs -l /dev/sda2 | grep state |& nc termbin.com 9999"16:42
ggi cant sudo with gg16:42
tomreynahem right, though should be just one line16:42
arraybolt3[m]gg: Umm. Crud. Can you sign back into oran, and set your gg user to an admin?16:43
ggi can try brb16:43
tomreyncould "login" in a terminal and do it there16:43
tomreynbut either works16:43
enigma9o7[m]you could do that in tty16:43
arraybolt3[m]And thus was the laundry list of login methods built.16:44
oranwell we established firefox is borked on both profiles does it matter which one I am nin16:44
arraybolt3[m]oran: Probably not.16:44
tomreynoran: maybe it's time for the fresh install then16:44
oranif you guys think thats what is needed16:45
tomreynpersonally, i'm loinging for some food16:45
oranhaha i dont blame you I ate while you were on the p hone16:45
tomreyn:)16:45
oranarray gg is set to admin16:45
oranif you would like to continue trying to troubleshoot im ready to go16:46
arraybolt3[m]oran: Nice, now everything should work no matter which one you're in. Since Firefox seems to be broken deeper than at the user level, here's how to uninstall and reinstall it all in one fell swoop:16:46
arraybolt3[m]sudo snap remove firefox && sudo snap forget 1 && sudo snap install firefox16:46
orandone and attempting to l.. heeey it worked16:48
arraybolt3[m]👏16:48
oranbravo16:48
oranwell i wish i could repay you guys with more than the ammusement of gettign to see theredqueen drop the banhammer on me16:48
arraybolt3[m]Now the question is, how on planet earth did Firefox get scrambled in the first place? But hey, whatever works. I would recommend locking that root password, though.16:49
arraybolt3[m]I'll see if I can find how to do that.16:49
oranok16:49
oranim just afraid of forgetting it16:49
orani need to make sure oran and root have different passwords16:49
arraybolt3[m]oran: In Ubuntu, the root account should never have a password. It should be disabled.16:50
oranoh16:50
arraybolt3[m]oran: You then sudo to the root account using oran's password. If you ever forget oran's password, you reset it using the recovery console.16:50
oranok16:50
oranso how do I undo the root password16:50
tomreynpasswd -d root16:51
tomreyn+sudo16:51
arraybolt3[m]Looking that up right now.16:51
orantwo different commands?16:51
arraybolt3[m]sudo passwd -d root16:51
tomreynjust one: sudo passwd -d root16:51
arraybolt3[m]Who needs a search engine when you've got tomreyn?16:51
tomreyni do16:52
oranhaha16:52
arraybolt3[m]🤣16:52
orandone16:52
arraybolt3[m]tomreyn: Wait, doesn't that make the account passwordless, but entirely unlocked? Wouldn't it be "passwd -l root"?16:53
oranany tools you reccommend for straightening out all my drivers16:53
arraybolt3[m]oran: Try "sudo software-properties-kde", then click the Additional Drivers tab in the window that pops up.16:53
oranyou know what else is weird16:54
orannever mind16:54
arraybolt3[m]oran: Can you try running "su bash" in a terminal real quick?16:54
oransuper user bash does not exist or the user entry does not contain all the required fields16:55
oranwell su but super user16:55
orani remember that from mandrake16:55
arraybolt3[m]OK, good. If the command doesn't work, that's a good thing.16:55
arraybolt3[m]I was afraid maybe the root password disable command wasn't quite right, but it looks like it's working OK.16:56
oranok16:56
tomreynarraybolt3[m]: we agreed that root should not have a password, which is what ubuntu defaults to, and is what -d does. -l prevents logging into an account with or without a password set, because the password entered when prompted for (such as by /sbin/login) will always be wrong.16:56
arraybolt3[m]tomreyn: Ah, OK. I saw "make the account passwordless" and thought, "ack! Log into root with no password?!" Guess I misunderstood the man page.16:57
oranhmm doesnt give me an option for extra drivers16:58
oranand setup audio devices is blank16:58
arraybolt3[m]oran: You're using HDMI for your audio, right?16:59
orancorrect16:59
arraybolt3[m](Er, for your video and audio, I mean.)16:59
arraybolt3[m]oran: Try "pulseaudio -k".17:00
oranlol ill give you a chance to guess what it said17:01
arraybolt3[m]Error?17:01
oranpermission denied17:01
arraybolt3[m]Grr...17:01
arraybolt3[m]oran: "sudo chmod 0644 $HOME", careful to avoid typos17:02
oranhttps://termbin.com/zlsa17:02
oranis it case sensitive17:03
arraybolt3[m]Hold on, I missed one tiny part.17:03
arraybolt3[m]sudo chmod -R 0644 $HOME         (yes it is case sensitive)17:03
oranthat set off alot of warnings trying to reluanch plasma i think17:05
orantried pulseaudio -k again after an still denied17:05
arraybolt3[m]oran: Shoot, I think I mixed up something with directories.17:06
oranyeah ubuntu is not happy17:06
oranlol17:06
arraybolt3[m]oran: If you have to, press Ctrl+Alt+F3 to get to a terminal and log in. Then try "sudo chmod -R 0755 $HOME".17:06
oranok nothing happened that time17:07
oranbut i mean compared to last time i think thats a good thing17:07
arraybolt3[m]oran: Whew. Ok, that's good. Try logging out and logging back in.17:07
tomreynarraybolt3[m]: you're applying thei chmod recursively to every file system object there. those values can have different effects on files and directories17:07
oranok will do brb17:08
arraybolt3[m]tomreyn: I know. He keeps getting permission denied, I was trying to repair it. I forgot that the execute bit works different on files and directories.17:08
arraybolt3[m]tomreyn: That explains why our changes to .config never did work - we kept doing 0644 rather than 0755.17:09
tomreyncombining it with 'find' helps: https://linuxize.com/post/chmod-recursive/#using-the-find-command17:09
tomreynyes, i just realized that as well, veeeery late ;)17:09
tomreynbut then we hadve had 37°C here today17:09
arraybolt3[m]tomreyn: Will read. I never did learn how to use that coolness. (Hey, at least we both made the same mistake. But you were lucky enough to do it on .config, and I just hit a $HOME run on accident...)17:10
tomreyni think i only asked for chown -R, where oyu don#t need it17:10
tomreynbut yes, i could easily have done this, too17:11
oranthat got it17:13
oranaudio working now17:13
arraybolt3[m]oran: 😅17:15
oranyeah the system hard crashed when i tried to log out an dback in I had to reboot but its good now17:15
arraybolt3[m]oran: That first chmod command I had you do I thought was "read and write permissions for everything", but it was actually "read and write permissions for all files, and lock you out of all your folders"! chmod is a tricky thing.17:16
arraybolt3[m]The second command was "read write and execute for everything, oh and here's your folder access back."17:16
oranlmao17:17
oranlessons learned I suppose17:17
arraybolt3[m]Sorry about that, glad we got it sorted out.17:17
oranno worries at all17:17
oranomfg save me my 80lb pittbull just farted17:18
orantime out17:18
arraybolt3[m]Just remember all the reasons your thankful for your dog, that's the quickest way to defuse anger in my experience.17:19
oranit wasnt anger17:19
oranit was trying not to laugh histarically  while choking on it17:19
oranhe is a goober17:20
oranok downloaded the latest steam.deb and opened it with arch, no familiar with the file system, do i click the debian binary to install it?17:21
arraybolt3[m]Oh OK good. I was a bit worried there! Yes, double-clicking the .deb should install it.17:22
arraybolt3[m]OK, other stuff in life is happening, so I think I'm going to sign off for a bit. Glad to be able to help!17:23
oranthan you very much and have a good day17:23
tomreynarraybolt3[m]: my apologies, i did actually ask for running the chmod command you had provided.17:37
arraybolt3[m]tomreyn: No problem. I've fought with chmod so many, many times, this sort of thing has hung me up over and over. Glad to know I'm not the only one!17:43
tomreyn:)17:43
IrcsomeBot<npeippo> Huh, I read the whole conversation of ~600 messages, only because it's so nice to see so helpful people trying to get someone's system working :)18:16
farrooshi18:40
=== Lord_of_Life_ is now known as Lord_of_Life
=== mkv is now known as m4v

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