[00:01] <qwebirc70595> snowgoggles: It's uninstalled, and it upgraded my white underscore screen
[00:01] <snowgoggles> qwebirc70595: is that good or bad?
[00:02] <qwebirc70595> snowgoggles: neither, it just means that now it says dev/sda6... above the corsor
[00:02] <qwebirc70595> cursor*
[00:04] <snowgoggles> qwebirc70595: is this a dual boot system?
[00:05] <qwebirc70595> snowgoggles: There are 2 oesses on my computer, but I can't setup dual boot, I have to manually go into the bios and change the boot order to switch to win10
[00:06] <snowgoggles> you have a single hard drive?
[00:07] <qwebirc70595> snowgoggles: yup
[00:08] <snowgoggles> qwebirc70595: is your bios set to uefi or legacy bios or both?
[00:08] <qwebirc70595> snowgoggles: it's a uefi
[00:08] <snowgoggles> qwebirc70595: is there an option to have both active?
[00:09] <qwebirc70595> snowgoggles: Windows is it's own hard drive to the bios
[00:09] <snowgoggles> qwebirc70595: off topic but you shouldn't have to switch your bios settings to multi boot
[00:10] <qwebirc70595> snowgoggles: ik, let's get back on topic
[00:10] <snowgoggles> qwebirc70595: yeah i'm losing track of where we are. so 18.04 is installed and boots with nomodeset?
[00:11] <qwebirc70595> snowgoggles: nope, white underscore
[00:11] <snowgoggles> ctrl-alt-f1 or f2 doesn't go to text login screen?
[00:12] <qwebirc70595> snowgoggles: alt-f2 does
[00:12] <qwebirc70595> snowgoggles: but it keeps failing login
[00:13] <snowgoggles> qwebirc70595: fails login? how so... wrong user or password?
[00:13] <qwebirc70595> snowgoggles: i think I had the user and pass right
[00:14] <snowgoggles> qwebirc70595: your not using a ubuntu server image for install are you? do you ever get gui?
[00:14] <qwebirc70595> snowgoggles: I'm not using the server image, and I did get gui before the drivers
[00:15] <snowgoggles> qwebirc70595: ok..it be easier at this point to re-install and not install the prop amd driver just use the builtin driver.
[00:16] <qwebirc70595> snowgoggles: also I was trying to tell you about this forum post, this guy had the same problem as me, and fixed it by adding "video=SVIDEO-1:d in the config
[00:16] <snowgoggles> qwebirc70595: i believe the builtin driver for your card should be called amdgpu
[00:16] <qwebirc70595> snowgoggles: doesn't work for me though
[00:17] <snowgoggles> qwebirc70595: prob have to google troubleshooting amd rx550 amdgpu driver on ubuntu 18.04
[00:18] <qwebirc70595> snowgoggles: I think I uninstalled that instead of amdgpu instead of  amdgpu-pro...
[00:18] <snowgoggles> i would stick with 18.04 for now since there is no proprietary amd driver for 18.10 from what i see online
[00:18] <qwebirc70595> snowgoggles, I would too
[00:19] <snowgoggles> amdgpu-pro is the prop driver that isn't working for you easily.  amdgpu is the ubu 18.04 builtin driver (open source and tested)
[00:38] <snkcld> on ubuntu core (18), how can i enable login from the tty?
[00:39] <qwebirc70595> snowgoggles: I can't get anywhere, no matter what I install or uninstall. I feel like i'm just making it worse
[00:40] <snowgoggles> qwebirc70595: you get gui with nomodeset?
[00:41] <qwebirc70595> snowgoggles: nope, it just shows logs, blinks five times, then gives me the white underscore
[00:42] <snowgoggles> qwebirc70595: hmmmm not sure what else to try tonight
[00:42] <snowgoggles> qwebirc70595: you have a live usb ubu installer?
[00:43] <qwebirc70595> snowgoggles: Can you get anything from this forum? https://bbs.archlinux.org/viewtopic.php?id=182244
[00:44] <snowgoggles> qwebirc70595: that's old and a different distro
[00:44] <qwebirc70595> snowgoggles: wait arch is a distro?
[00:45] <snowgoggles> qwebirc70595: search for ubu 18.04 amd rx 550 amdgpu issues
[00:45] <snowgoggles> qwebirc70595: arch linux yes a diff distro. not for linux noobs
[00:46] <qwebirc70595> snowgoggles: I feel like asking someone else
[00:47] <snowgoggles> qwebirc70595: no one else here that's the prob
[00:48] <qwebirc70595> snowgoggles: imma try anyway
[00:48] <snowgoggles> qwebirc70595: Bashing-om was here earlier
[00:49] <qwebirc70595> snowgoggles: is he still here?
[00:49] <snowgoggles> qwebirc70595: dunno
[00:50] <qwebirc70595> snowgoggles: it actually says so
[00:50] <qwebirc70595> Bashing-om: are you here?
[00:50] <Bashing-om> qwebirc70595: I back in .. I bounce around a lot :))
[00:51] <qwebirc70595> Bashing-om: glad to know i'm not the only one
[00:51] <qwebirc70595> Bashing-om: can you help me with my amd problem?
[00:53] <qwebirc70595> Bashing-om: u there?
[00:54] <Bashing-om> qwebirc70595: I can try .., my AMD experience is very limited .. and I have grave concerns that a fully supported card has issues booting a live environment.
[00:56] <qwebirc70595> Bashing-om: ya know how nomodeset dosen't work with amdgpu drivers?
[00:57] <qwebirc70595> Black screen when booting into ubuntu 18.04, more info at https://pastebin.com/QV9CN59u
[00:59] <Bashing-om> qwebirc70595: That card rx550 - is fully supported . nomodeset should not have to be used .
[00:59] <qwebirc70595> Bashing-om not using it still gives me the black screen, even when installing
[01:01] <Bashing-om> qwebirc70595: Have you verified the integrity of the install medium " check disk for defects" ? As i say .. the card should have no issues .
[01:02] <qwebirc70595> I downloaded the iso file from ubuntu's website, and put it on a usb stick with rufus
[01:03] <Bashing-om> !md5sum | qwebirc70595
[01:04] <iosecure> qwebirc70595: Did you use the normal mode, or DD mode, in Rufus?
[01:04] <qwebirc70595> ubottu: I used normal mode
[01:05] <iosecure> qwebirc70595: That's nearly guaranteed to cause issues.
[01:05] <iosecure> qwebirc70595: Only use DD mode.
[01:05] <qwebirc70595> iosecure: thanks, imma try that
[01:05] <iosecure> Normal mode mangles the crap out of the ISO's contents.
[01:17] <qwebirc70595> iosecure: I just put it o
[01:18] <qwebirc70595> iosecure: I just put it on dd mode and I still get the black screen with the install process
[01:21] <Bashing-om> qwebirc70595: We want to *KNOW* the installer is consistent . Boot the installer and as soon as the bios splash screen clears depress the escape key -> language screen- escape key to accept - -> boot options screen -> "check disk for defects" .
[01:24] <qwebirc70595> Bashing-om: Imma try that
[01:25] <yao_ziyuan> i just wrote a shell script but i can't execute it by double-clicking it in ubuntu 18.10's Nautilus. gedit always opens it instead. how do i fix this?
[01:25] <yao_ziyuan> i always set the file to be executable in nautilus.
[01:29] <xamithan> What is the extension
[01:29] <qwebirc70595> TSC_DEADLINE disabled due to Errata, that's what the install disc outputted when you choose to install or check the disc for defects, the screen turned black after. Anyone recognise this?
[01:29] <xamithan> If its .sh it should open in a terminal,  run itself,  then close
[01:30] <Bashing-om> qwebirc70595: Then we backup and check that .iso file . md5sum should be good enough check .
[01:30] <yao_ziyuan> xamithan: i want it to run silently without opening a terminal
[01:31] <yao_ziyuan> xamithan: like a silent Windows BAT file
[01:31] <xamithan> Hmm,  I think you can make a shortcut to it with terminal=false or something like that
[01:32] <xamithan> I do it with .desktop files
[01:32] <yao_ziyuan> so i simply can't write a text file (without any file extension) and set it executable and double-click it to run from ubuntu 18.10's Nautilus?
[01:33] <qwebirc70595> Bashing-om: nvm nomodeset works for the install disk, not sure why
[01:33] <xamithan> Nope,  nautilus relies on the file extensions to tell it what type of file it is
[01:33] <qwebirc70595> Bashing-om: It said there was 1 error detected
[01:33] <xamithan> Otherwise how would it know
[01:34] <yao_ziyuan> xamithan: at the start of the file is "#!/bin/bash"
[01:34] <yao_ziyuan> xamithan: i remember previously this is now Nautilus distinguishes between a text file and a script (plus the 'executable' attribute)
[01:35] <iosecure> File extensions are not what determines file type in Linux.
[01:35] <tomreyn> it's magic!
[01:35] <yao_ziyuan> simply: how do i double-click to run a script file in ubutnu 18.10's Nautilus now?
[01:35] <Bashing-om> qwebirc70595: I say again ! that card should not require nomodeset . If it does then this is way over my skill set .. I would point to the installer as the fault .
[01:36]  * tomreyn means magic(5)
[01:36] <xamithan> Welp iosecure knows it all maybe he can tell you a way
[01:38] <iosecure> yao_ziyuan: Executing a script without spawning a terminal REQUIRES a .desktop file.
[01:39] <leftyfb> xamithan: iosecure is correct. Linux does not care about file extensions. Simply adding .sh to the end will not resolve anything.
[01:39] <yao_ziyuan> iosecure: i remember previous ubuntu versions act differently
[01:39] <xamithan> I never said it did,  The file managers like nautilus do though ?
[01:39] <iosecure> No.
[01:39] <leftyfb> xamithan: no
[01:40] <xamithan> So how does it know if a file is to be opened as a picture vs a text file
[01:40] <iosecure> xamithan: man 5 magic. See also the 'file' command.
[01:40] <iosecure> yao_ziyuan: https://paste.ubuntu.com/p/DsxCjz6kV4/
[01:40] <leftyfb> file type/MIME/interpreter
[01:40] <iosecure> yao_ziyuan: That is the general structure of a .desktop file that will do what you want.
[01:40] <yao_ziyuan> iosecure: ok i'll try
[01:40] <xamithan> Ah ok,  well either way I was still right about the .desktop file
[01:41] <leftyfb> iosecure: that would be a separate file from the script
[01:41] <xamithan> I do mostly servers so ignore me on desktop stuff
[01:41] <leftyfb> iosecure: yao_ziyuan is right that you used to be able to specify which application or "run in terminal" in nautilus
[01:42] <qwebirc68780> I just got dc'd D:
[01:42] <iosecure> leftyfb: It is quite apparent from a casual view that the .desktop file is separate from the script to be executed.
[01:43] <leftyfb> iosecure: not if you have to manually create .desktop files for each script you create and have them live some place in your filesystem
[01:43] <qwebirc68780> Bashing-om: I just got disconnected :(
[01:43] <iosecure> I'm going to assume that you didn't actually look at what I posted, where there is a line explicitly to specify the script to execute.
[01:43] <iosecure> So, yes. It is quite apparent.
[01:44] <leftyfb> yao_ziyuan: https://askubuntu.com/a/1052303
[01:45] <leftyfb> iosecure: I know all about .desktop files and how they work.
[01:45] <leftyfb> yao_ziyuan: the link I posted will accomplish exactly what you are looking for
[01:45] <qwebirc68780> Can anyone help me with my problems booting ubuntu? I've been here all day and still haven't fixed it
[01:46] <yao_ziyuan> succeeded!
[01:46] <iosecure> yao_ziyuan: What ended up working?
[01:46] <yao_ziyuan> iosecure: i made a .desktop file that executes a shell script file which in turn executes two .exe files with wine
[01:47] <yao_ziyuan> why can't i just make a shell script file and double-click to run it from Nautilus now?
[01:47] <leftyfb> yao_ziyuan: look at the link I posted
[01:47] <yao_ziyuan> i used to go that way previously
[01:49] <leftyfb> l/away
[01:52] <snowgoggles> qwebirc68780: perhaps go through this tutorial: https://tutorials.ubuntu.com/tutorial/tutorial-create-a-usb-stick-on-windows#3
[01:54] <Bashing-om> qwebirc68780: I tell you the truth. Until that installer checks as " no errors found" amd you then re-install there is nothing we can do.
[01:57] <yao_ziyuan> ok. i see. i have to configure it in dconf-editor.
[01:57] <yao_ziyuan> thank you all!
[01:58] <Mort_> Hi there, people. Complete shot in the dark, but does anyone here have any experience installing Ubuntu (or any distro at all) on an Acer Switch 3, or a similar "64-bit CPU, 32-bit UEFI" system?
[01:58] <leftyfb> yao_ziyuan: did it work?
[01:58] <leftyfb> Mort_: thats not your question
[01:58] <leftyfb> !detail | Mort_
[01:59] <Mort_> I'm sorry?
[01:59] <leftyfb> :/
[01:59] <yao_ziyuan> leftyfb: after configuring dconf-editor to allow nautilus to execute executable text files, i can double-click a shell script to run it directly from nautilus. the .desktop file is no longer needed.
[02:00] <doge-doge> do snaps have inherent advantages over deb files?
[02:00] <leftyfb> !details | Mort_
[02:02] <Mort_> Ah, I see. My apologies. I'll be back when I know what questions to ask.
[02:02] <tomreyn> Mort_: so yourself a favor and sell the hardware, buy something else instead.
[02:02] <tomreyn> *do
[02:03] <Mort_> Yeah, that thought has crossed my mind once or twice in the last 48 hours.
[02:05] <tomreyn> Mort_: you can make it work, it's just a lot of fiddling thttps://medium.com/@realzedgoat/a-sorta-beginners-guide-to-installing-ubuntu-linux-on-32-bit-uefi-machines-d39b1d1961ec
[02:06] <hihaar_> What is root password?
[02:07] <tomreyn> !root | hihaar_
[02:07] <sam_wong> I am running kde on ubuntu 18.04. I want to know what the "+" sign means when I moved the mouse cursor over a file icon. Thanks.
[02:07] <snowgoggles> Mort_: here is ubuntu related thread issues with Acer Switch 3 https://ubuntuforums.org/showthread.php?t=2403167
[02:07] <Mort_> Oh, wow. Thanks! How have I not come across that page yet..?
[02:08] <hihaar_> Thanks
[02:08] <doge-doge> ubuntu assumes by default that you're part of the sudoers group right
[02:08] <doge-doge> that would be weird if not
[02:08] <Mort_> Thanks again, people. I will break this machine and make it do my bidding. :)
[02:09] <TML> I have a machine on 18.04 and I am trying to get its syslog-ng to read from the socket at /run/systemd/journal/syslog so that systemd-journald can be set to Storage=none, but that socket doesn't appear to exist on this box. Google hasn't been much help yet, anyone have some pointers?
[02:14] <qwebirc68780> Ubuntu boots into a black screen. Can anyone help? I've reinstalled twice
[02:15] <xamithan> After reading all the stuff you did earlier,  I got no ideas on that
[02:15] <qwebirc68780> D:
[02:17] <tomreyn> TML: i've never done this, but systemd-journald.service(8) and journald.conf(5) seem to explain how to works.
[02:17] <qwebirc68780> I've looked everywhere, and the most logical solution I have is that the graphics card transfers through the wrong port
[02:21] <snowgoggles> qwebirc68780: do you have another usb stick to try as the installer?
[02:23] <qwebirc68780> snowgoggles: I might try that
[02:24] <snowgoggles> qwebirc68780: also as bashing was asking earlier did you check the md5sum of the downloaded ubuntu iso file against the download sites md5sum?
[02:26] <snowgoggles> qwebirc68780: i don't use windows so i don't know what md5sum check apps are available on windows but ubuntu recommends this http://www.md5summer.org/
[02:27] <qwebirc68780> snowgoggles: I'm trying the other usb stick
[02:29] <snowgoggles> qwebirc68780: i would check the md5sum with the util above just to eliminate issues with the iso file
[02:29] <Bashing-om> qwebirc68780: Verify the .iso /// garbage in equals garbage out.
[02:30] <snowgoggles> qwebirc68780: complete instructions and an alternate to rufus here: https://wiki.ubuntu.com/Win32DiskImager/compressed-image_2_USB-or-SD
[02:59] <qwebirc68780> snowgoggles: md5summer didn't detect any errors on the iso, but the installer detected an error in one file on the usb stick
[03:02] <qwebirc68780> Anybody here?
[03:06] <snowgoggles> qwebirc68780: md5summer should only output the md5sum. did you compare with the ubuntu website md5sum for the file? are they the same values?
[03:07] <snowgoggles> qwebirc68780: error on the second usb stick?
[03:10] <qwebirc68780> snowgoggles: error on both
[03:10] <snowgoggles> qwebirc68780: yeah that not good. this is via rufus?
[03:12] <snowgoggles> qwebirc68780: are you for sure checking the md5sum values with the ubuntu download site and the file you downloaded? the values have to be the same to ensure the iso is good
[03:14] <qwebirc68780> snowgoggles: The hashes are the same, so it seems like the problem lies in rufus
[03:15] <snowgoggles> qwebirc68780: looks like it especially after 2 usb sticks
[03:15] <snowgoggles> qwebirc68780: try the other installer i mentioned in a link above
[03:15] <qwebirc68780> snowgoggles: so are there any alternatives to rufus?
[03:16] <qwebirc68780> snowgoggles: Win32?
[03:16] <snowgoggles> qwebirc68780: here https://wiki.ubuntu.com/Win32DiskImager/compressed-image_2_USB-or-SD this is what ubu recommends
[03:16] <snowgoggles> ignore the zip section
[03:17] <snowgoggles> qwebirc68780: brb in 5
[03:24] <TechMonger> Hello
[03:24] <TechMonger> I am having trouble making a bootable windows recovery usb drive with ubuntus startup disk creator
[03:25] <TechMonger> it will not recognize the .iso files i have
[03:27] <TechMonger> I also have tried dd, ddsecure both "finished creating" the drive but my PC is not recognizing it as bootable
[03:27] <TechMonger> I also tried unetbootin but i could not get it to run
[03:28] <TechMonger>  /cry
[03:29] <snowgoggles> TechMonger: have you succeeded live usb boot on that machine before? any linux distro? you may have a uefi secured bios setting to change
[03:29] <TechMonger> i have changed the bios settings
[03:29] <TechMonger> i have used a usb boot before
[03:30] <snowgoggles> TechMonger: what were the bios options for secure boot?
[03:30] <TechMonger> i tried uefi with secure boot on
[03:30] <TechMonger> and legacy boot with it off
[03:30] <qwebirc68780> snowgoggles: The problem and the erre
[03:30] <qwebirc68780> snowgoggles: The problem and the error are still there
[03:31] <TechMonger> i have a ssd with windows that i cant get the recovery partition to work or windows to boot
[03:31] <TechMonger> i have a hdd with ubuntu on it that im on now
[03:31] <TechMonger> then i have my usb stick that i cant seem to make a win boot with
[03:32] <snowgoggles> TechMonger: why do you say win boot? you want a linux usb live boot stick not win
[03:32] <TechMonger> no
[03:33] <TechMonger> im trying to make a windows recovery bootable usb
[03:33] <snowgoggles> are you booted to the ubu system on the hard drive you mentioned?
[03:33] <TechMonger> im booted on a hdd with ubuntu installed
[03:33] <snowgoggles> TechMonger: so your problem is not ubu but usb windows boot stick?
[03:34] <TechMonger> yea
[03:34] <TechMonger> im trying to make it with ubuntu
[03:34] <tomreyn> TechMonger: try the "etcher" software, it works most of the time and is easy to use.
[03:34] <TechMonger> hmm
[03:34] <snowgoggles> TechMonger: not familiar with creating a win boot stick sorry
[03:35] <snowgoggles> TechMonger: i don't think the ubu usb creator supports win sticks
[03:35] <TechMonger> tomreyn, apt install etcher?
[03:35] <TechMonger> snowgoggles, i figured as much
[03:35] <tomreyn> TechMonger: but IIRC windows requires you run some .exe file to create a 'legitimate' boot stick nowadays. which kind of is a hen and egg problem.
[03:35] <ducasse> TechMonger: check out 'woeusb'
[03:35] <TechMonger> snowgoggles, i did try dd and ddsecure as well
[03:35] <iosecure> The ISO is freely available from Microsoft's website.
[03:36] <TechMonger> tomreyn, so i need to make it on windows?
[03:36] <ducasse> TechMonger: it's for creating windows drives
[03:37] <TechMonger> hmm
[03:37] <iosecure> TechMonger: Windows 10?
[03:37] <TechMonger> i wish i had another win pc
[03:37] <TechMonger> yea win10
[03:37] <iosecure> https://software-download.microsoft.com/pr/Win10_1809Oct_English_x64.iso?t=58ed94e2-4dda-4b2d-a897-8317be63991f&e=1545536206&h=47ceb2deb2b2fd1f5f1a7789255c54da
[03:38] <iosecure> Format the USB stick with a single FAT32 partition, and extract the contents of the ISO onto it.
[03:38] <snowgoggles> TechMonger: how about creating a windows vm and try creating from the windows vm?
[03:38] <iosecure> It should be that simple.
[03:38] <tomreyn> TechMonger: maybe, i don't know much about creating windows installer USBs. woeusb may work. maybe etcher, too. here's how to install etcher https://github.com/balena-io/etcher#debian-and-ubuntu-based-package-repository-gnulinux-x86x64
[03:38] <TechMonger> iosecure, extracting the contents of the ISO is my problem
[03:39] <tomreyn> TechMonger: maybe if you could provide insformation on what exactly you are trying to write to the usb helping you may get easier
[03:39] <iosecure> TechMonger: Mount the ISO file as a loopback device, and copy the files.
[03:40] <iosecure> mount -t iso9660 -o loop /path/to/file.iso /mnt/iso
[03:40] <ducasse> 'loop device', 'loopback' is a networking term
[03:40] <iosecure> ducasse: Who cares?
[03:44] <tomreyn> https://itsfoss.com/bootable-windows-usb-linux/ states the file system needs to be ntfs
[03:44] <TechMonger> im trying the disk image writer utility that comes with ubuntu
[03:44] <iosecure> The Windows 10 USB key in my hand right now that was made by the Windows utility is formatted FAT32.
[03:45] <tomreyn> ok, maybe it's just a limitation of woeusb then
[03:46] <TechMonger> i guess im going to try and boot from this
[03:46] <TechMonger> if im not back it worked
[03:46] <iosecure> Odds are high that we'll see him again. I don't think Ubuntu's image writer will work in this case.
[03:47] <iosecure> But I've been wrong before.
[03:55] <Svelt0n> I'm currently on Ubuntu 16.04.5, looking to upgrade to Ubuntu 18.04
[03:55] <Svelt0n> But when I do "apt-get dist-upgrade", it says everything's up to date
[03:56] <Svelt0n> Is there some special magic command I need to type to make it actually upgrade to 18?
[03:56] <slidinghorn> Svelt0n: sudo do-release-upgrade
[03:57] <Svelt0n> slidinghorn: nice, thx!
[03:57] <thgilfodrol> is there an email address for the maintainer(s) of paste.ubuntu.com?
[03:57] <thgilfodrol> I'd like to write a script to grab the contents of a large amount of specific pastes, but I'd like to double check if I'd be allowed to do so
[04:00] <ducasse> thgilfodrol: try #ubuntu-website
[04:03] <thgilfodrol> ducasse: thanks! I'll check it out
[04:27] <Guest52007> Hello
[04:28] <tomreyn> hi Guest52007
[04:29] <Guest52007> I have Ubuntu 18.04. in a SSD and Kali Linux in an HDD, the other when turning my PC on, Ubuntu would mount all HDD and USB to 'READ ONLY' mode, I have tried several examples from forums but nothing work, what could be wrong?
[04:29] <Guest52007> chmod +rxw or chmod 777 don't work
[04:30] <tomreyn> Guest52007: chmod changes file system objects, not how file systems are mounted
[04:30] <tomreyn> you may need to modify /etc/fstab
[04:30] <snowgoggles> Guest52007: why would you chmod a system drive?
[04:31] <tomreyn> Guest52007: but then, this situation is quite unusual, you should try to find out how this happened in the first place.
[04:31] <tomreyn> maybe you're munting things incorrectly?
[04:32] <tomreyn> since you already modified file system objects using chmod, you may as well reinstall now unless you're able to undo those changes. otherwise you may now be running an inherently insecure system.
[04:33] <Guest52007> tomreyn, even in a liveUSB all drives are auto mounted Read Only
[04:35] <tomreyn> Guest52007: this can make sense, your restricted user shouldn't have permission to edit them unless it was granted to this user by root.
[04:36] <snowgoggles> Guest52007: sounds like 18.04 is hosed by permissions...reinstall after copying your user files
[04:37] <snowgoggles> Guest52007: in future never chmod a sys drive
[04:43] <Guest52007> I just chmod my Data HDD where other OS can access the data, I didn't chmoded the SDD where the main system is
[04:43] <tomreyn> Guest52007: which file system is there on the data hdd?
[04:44] <snowgoggles> Guest52007: is there mount errors in dmesg?
[04:44] <Guest52007> They say (I'm forums) that Linux can't handle this problems, and need Windows, Wich is strange because at first gnime-disks said it was in an unclean state, like hibernation from Windows
[04:45] <tomreyn> can't help without details
[04:47] <Guest52007> Ok, I have 1 SDD with Ubuntu, a HDD with Kali (I already deleted it because it messed up my GRUB) and a HDD for data storage, Ubuntu (or other liveUSB distro) can only mount my Data HDD and USBs in Read only mode
[04:47] <Guest52007> why?
[04:47] <Guest52007> What do I need to check for more info?
[04:49] <snowgoggles> Guest52007: what format is your data drives in?
[04:50] <Guest52007> snowgoggles, NTFS/exFAT/HPFS (bootable)
[04:51] <snowgoggles> Guest52007: that might be part of the read only prob
[04:52] <snowgoggles> Guest52007: google read only on those formats when booting ubuntu
[04:52] <Guest52007> snowgoggles, how do I fix it?
[04:55] <snowgoggles> Guest52007: you have a windows sys partition?
[06:15] <TML> tomreyn: yeah, I read some of that - but 1) it doesn't work when I do what that suggests; and 2) systemd-journald.service(8) (at least) directly conflicts with the systemd documentation I can find on the subject, which explicitly says not to read from /dev/log
[06:15] <TML> tomreyn: But I appreciate the pointers :)
[06:48] <jtfidje> Hi I'm having this strange problem with kubuntu. While connected to wifi the connection drops during high loads. It says it's still connected, but it's not and I have to disconnect and connect again for it to actually connect again
[06:52] <lotuspsychje> jtfidje: wich kubuntu version and wifi chipset please?
[06:59] <jtfidje> lotuspsychje: 18.01.1 and Broadcom Limited BCM4352 802.11ac
[07:01] <lotuspsychje> jtfidje: you system up to date also?
[07:05] <jtfidje> lotuspsychje: yes
[07:05] <jtfidje> lotuspsychje: Well - at least from what I get running apt upgrade
[07:06] <lotuspsychje> jtfidje: kernel should be -42 when uname -a
[07:07] <lotuspsychje> jtfidje: see also wich driver loaded on sudo lshw -C network plz
[07:07] <lotuspsychje> jtfidje: -43 kernel sorry
[07:07] <lotuspsychje> recently updates
[07:07] <draget> If I want to install the kernel headers and am using the generic kernel, I install 'linux-headers-generic'. Is there some easy way to script the last part 'generic' so I can have a script to always install the right headers to my kernel?
[07:08] <lotuspsychje> !mainline | draget can this help?
[07:10] <draget> Skimmed through it, but did not find anything that helps there.
[07:11] <jtfidje> lotuspsychje: 4.18.7-041807-generic
[07:12] <draget> Maybe something like 'uname -r' and I'd just grep the string after the last - out of it. But not sure how reliable that is.
[07:12] <jtfidje> lotuspsychje: driver=wl0
[07:16] <draget> Ah, even better idea: I should find the installed kernel package name and just replace 'image' with 'headers'. This way I always install the correct headers, even if the user pinned some kernel version
[07:24] <lotuspsychje> jtfidje: thats not bionics kernel
[07:25] <jtfidje> Had a lot of trouble with GPU, so have updated kernel to mainline
[07:25] <jtfidje> That solved the GPU issues, but the wifi issues have been there all the time
[07:25] <jtfidje> It's the same on my laptop...
[07:26] <lotuspsychje> jtfidje: in your case, i would try the bonic kernel -43 see if you get more stable wifi there, see also if bcmwl-kernel-source can help
[07:27] <jtfidje> lotuspsychje: Ok thanks - I will :-)
[07:27] <lotuspsychje> jtfidje: what kind of gpu is that and what kind of troubles did you have?
[07:28] <lotuspsychje> draget: can you explain a bit more of your end goal? what are you trying to do with kernels and why
[07:29] <jtfidje> GTX1060 and GTX1050 on desktop and laptop. The issue on the laptop was that if I connected external displays the laptop screen would freeze when coming out of sleep. There were also some other issues I can't remember. On the desktop I can no longer remember what the exact issues was. Sorry
[07:30] <lotuspsychje> jtfidje: for the gtx cards, we reccomend the ubuntu graphics ppa and perhaps driver 396 or 410, see if you get a more stable experience
[07:31] <lotuspsychje> jtfidje: https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa
[07:31] <jtfidje> lotuspsychje: Aah right. Thank you again
[07:31] <sb2> Hello,
[07:31] <sb2> I have installed Ubuntu 16.04.5 LTS with kernel 4.19.10 on my machine.
[07:31] <sb2> yestarday I have installed another 32GB of RAM now in total 64GB of RAM (same vendor, same spec.), in BIOS i can see 65536MB of memory, but from OS htop only shows 62.8GB of memory, why OS is showing less than 64GB ?
[07:31] <draget> lotuspsychje: The scenario was this: I created an automated ubuntu VM and wanted to automatically install virtualbox - which needs to build it's own kernel modules and needs the headers. I know which kernel is installed in this VM and could just choose the right linux-headers-XXX package in my script. But I would like to have a more robust/generic script that will also work if the kernel version/type is updated. Using a vagrant box I also realized that
[07:31] <draget>  this box had a specific kernel version installed which did not match the latest linux-headers-generic.
[07:33] <slidinghorn> sb2: top reads in Gigibytes, rather than GigAbytes...so it will be a slight difference.
[07:33] <lotuspsychje> draget: specific kernel version, as in own compiled or something?
[07:34] <slidinghorn> sb2: a gigIbyte is 2 to the 30th power (1073741824) bytes, whereas a gigAbyte is 10 to the 9th power (1000000000) bytes
[07:36] <draget> lotuspsychje: No, just a fixed number. The box currently comes with linux-image-4.15.0-20 opposed to -43 being the current one. Not sure if you are familiar with vagrant boxes… but even if not, I'd generally just would love to have a script that is able to install the'right'  kernel headers corresponding to which 'linux-image-*' package is installed.
[07:40] <sb2> slidinghorn, thank you for answering. does command "free" provide information in gigIbyte too ?
[07:49] <sb2> slidinghorn, I am asking because  "free -g"  command provides 62GB of total memory  and "free -m" provides 64350 MB of total memory.
[07:59] <vincenzoml> Hi there. I just connected a bluetooth joypad that I have occasionally used already in 18.10 but now it's recognised as a keyboard. Do you know if that's an option in ubuntu (or maybe the joypad can be turned on in different ways, who knows)
[09:13] <Pymous> Hello there ! I have a card, similar to a RPi (NanoPi M4), and with the Ubuntu distro provided, I can only see one 5Ghz WiFi network, and even on this one, the quality is pretty bad
[09:13] <Pymous> What can I do to check what might be wrong ?
[09:20] <ducasse> Pymous: which wifi chipset is this?
[09:21] <tomreyn> you are probably supposed to attach an antenna but haven't?
[09:23] <Pymous> ducasse : How do I found out ?
[09:23] <Pymous> tomreyn : That's actually really possible
[09:23] <Pymous> Let me check the box
[09:25] <ducasse> Pymous: 'sudo lshw -c network'
[09:28] <Pymous> ducasse : Thanks for the command, but it's a bit weird : Hardware ID : 7
[09:28] <Pymous> tomreyn : Actually, there is 2 !
[09:28] <Pymous> And it work perfectly, thanks !
[09:28] <Pymous> Totally passed those two when unboxing
[09:29] <tomreyn> Pymous: hehe, the sticks are only meant for eating when it's asian *food*.
[09:30] <Pymous> :D
[09:42] <salty2011> Hi All, im looking to get some help with a graphics card issue
[09:45] <salty2011> I am getting screen tearing in ubuntu 18.04 and above with my nvidia card with the proprietary drivers. I have tried the drm.modeset=1 which worked previously
[09:45] <salty2011> any guidance would be appreciated
[09:45] <ikatamoonshots>  is /run/user/1000 the place to put files i want to store in ram?
[09:46] <ikatamoonshots> salty, how did you install them? script?
[09:47] <salty2011> i used the conacial ppa and then did apt install nvidia390
[09:47] <ikatamoonshots> maybe try to use the prop drivers from nvidia website
[09:48] <ikatamoonshots> i dont have an nvidia card here right now but used it previously successfully with 1080 cards
[09:48] <salty2011> ah ok shall try, are there differences between the two?
[09:48] <ikatamoonshots> yep, the install process is tricky
[09:48] <salty2011> cool im using 1080 as well
[09:49] <ducasse> salty2011: don't use the ones from the nvidia site, there is a ppa you should use
[09:49] <ikatamoonshots> you need to drop to init ctl + f1 and stop user env ie lightdm,
[09:49] <ikatamoonshots> then
[09:50] <ikatamoonshots> then wget the drivers and run with root
[09:50] <ducasse> salty2011: ppa:graphics-drivers/ppa i think
[09:50] <ikatamoonshots> used it for mining back then, so ppa was not an option
[09:51] <salty2011> @ducasse thats the ppa i was using to install and that worked, just getting screen tearing, tried using the drm.modeset option under modprobe.d
[09:52] <ducasse> sthe nvidia driver might have a tearfree option like the intel driver, maybe someone else knows
[09:53] <ikatamoonshots> try the drivers from the site but prepare the install carefully, worked flawlessly multiple times for me, last in july this year
[09:54] <salty2011> hmm so dropping to init, is that stil ctrl + alt +  backspace
[09:54] <ducasse> we adcise against using the drivers from the nvidia site, for proper integration you should use the ppa
[09:55] <Katnip> kubuntu 18.04.1 is 3 yrs support while ubuntu 18.04.1 is 10 yrs support ; what is the difference here?
[09:55] <salty2011> @ducasse cool, shall take that onboard (was using ppa currently). However my issue that setting "Force Full Composition Pipeline" and or using drm.modeset=1 doesnt resolve teh tearing
[10:03] <ducasse> Katnip: the kubuntu specific packages are only supported for 3 years, the core ubuntu server packages for 10
[10:04] <Katnip> seems that the core kubuntu would be 10 as well
[10:05] <ducasse> Katnip: yes, but as i said not the desktop etc
[10:05] <Katnip> such as plasma?
[10:06] <ducasse> that's the desktop, yes
[10:07] <Katnip> well, i'll update at 20.04
[10:29] <armu> grep -rRo '/^(0x)?([A-Fa-f0-9]{64})$/' test why does this regex return nothing on a ethereum tx id? (0xcfe190154ed11838b8c42b28bc67a9ce4f38db24fa573eefb031f8c8ffc11a6f) for example
[10:31] <ducasse> armu: please don't crosspost, it's rude and wastes people's time
[10:31] <armu> ok
[12:23] <debouncer> it takes 1-2 mins to boot up ubuntu from hdd, is that usual?
[12:32] <EriC^^> debouncer: usually it's like 30-40secs
[12:46] <JimBuntu> debouncer, no, I wouldn't call that normal, but it really depends on your exact set up.
[13:06] <^amra> Hi all, who had experience installing the OpenProject on linux or on the free hostings?
[13:20] <JimBuntu> amra, This channel is really intended for support specific to Ubuntu.
[13:24] <FxK> Hi everyone
[13:24] <FxK> someone can help me? I have an issue with a folder, can access in but cannot execute ls command, it shows this error: ls: cannot open directory '.': Permission denied
[13:25] <FxK> also the permissions is undefined: d?????????  ? ?    ?         ?            ? share
[13:28] <JimBuntu> FxK, sounds damaged... but, can you chown and chmod the dir?
[13:29] <JimBuntu> Oh! Also, is that directory using a filesystem that supports permissions ( just in case it's some off filesystem )
[13:30] <FxK> JimBuntu: sounds damaged to me too, but exists any way to recover it? Can't change permissions or owner (chmod - chown)
[13:31] <JimBuntu> !recover | FxK ,  it really depends
[13:32] <JimBuntu> Does that directory really exist on your local system, or is it simply a remote mount?
[13:37] <^amra> JimBuntu: I tried to install OpenProject on ubuntu and no luck
[13:38] <ioria> ^amra, i think there are alternatives in the official repos
[13:38] <JimBuntu> ^amra, then maybe I am thinking of something different... I guess this isn't the OpenProject distro
[13:38] <JimBuntu> oof, sorry, I think I was thinking of OpenLinux
[13:38] <ioria> !info redmine
[13:40] <Intelo> My battery (dell m6700's) was 100 charged 2 weeks ago. I discharged and it never went above 60%, I just discharged to 14% and its not going above that now. These are the caps it seems. The batter can go down and charge up to these caps but not any further. Not even while computer is shut down. What can be done? What might be wrong?
[13:42] <JimBuntu> Intelo, if it doesn't charge even while off, it's not really an Ubuntu issue... but it sounds to me like either the charge circuit in the laptop or in the battery pack is bad.
[13:42] <Intelo> JimBuntu, hm or the battery life is over?
[13:42] <JimBuntu> Intelo, do you have any other OS you can boot into to check charge levels or any other way, such as some batteries/systems have a button to display a simple idea via LEDs of charge level?
[13:43] <JimBuntu> Intelo, that doesn't sound like battery life issue, as you aren't getting an increase in charge at all. Battery life issues normally manifest as a slowly progressing reduction in total capacity... not something where they refuse to charge. Although, most anything is possible
[13:44] <maetthew> In Windows I had this app which with I could bind a keyboard shortcut combination to switch between audio outputs. I've found 'pactl' and 'pacmd' which seems to do what I want and I can make a bash script for that. I've found autokey-gtk which seems to be a port of AutoHotKey. I was just wondering of anyone knows of any other(or better) way to setup keyboard shortcuts.
[13:45] <Intelo> JimBuntu, no LED, in windows, it shows the same thing. The system tray always says 'charging' though
[13:45] <JimBuntu> Intelo, yup, sounds like a charge circuit issue. If you have another charger ( power supply ) try that... if you have another battery, try that.
[13:46] <Intelo> hm
[13:46] <JimBuntu> Intelo, outside of that, I think it would require you to probe the voltage and possibly the current being fed to the battery while it's being charged.
[13:46] <Intelo> JimBuntu,  if its a charger issue, shutting down laptop and charging at that point (where voltage is less needed) might help?
[13:47] <JimBuntu> Intelo, possibly, but I wouldn't expect it to given what you have posted. It really sounds to me like a fuse on the charging side has blown. Hopefully it's a resettable fuse in the battery pack... in which case, leaving it disconnected for a while may reset it.
[13:48] <Intelo> JimBuntu,  oh? leave battery disconnected?
[13:48] <JimBuntu> Intelo, if that doesn't work, then you may need to open the battery pack and look for any battery under 3.2V ( if Lithium Ion )
[13:48] <JimBuntu> Intelo, yeah
[13:48] <Intelo> 'look for any battery under 3.2v'?
[13:48] <Intelo> it is lithium ion
[13:49] <JimBuntu> The battery pack ( battery ) is actually a group of battery cells. If any of the cells have went bad, the circuit in the battery pack may forbid you to charge it.
[13:49] <Intelo> I am just pulling out battery while the laptop is running
[13:49] <Intelo> hm
[13:49] <JimBuntu> Intelo, that's often fine. Many laptops can operate without the battery installed... it's at the users discretion though as there can be odd circumstances such as reduced speed/etc
[13:50] <Intelo> k
[13:51] <Intelo> JimBuntu,  for how much time to keep the battery disconnected? (battery now in my hands. I hope I do not get disconnected due to poweroutage)
[13:52] <JimBuntu> Intelo, I would aim for 30 minute incremental increases. 30 min, retry, if not, then 1 hour, retry, repeat
[13:52] <JimBuntu> If after a 3 hour wait, it's unchanged, then time to try something else, such as opening it ( if you are willing and competent )
[13:53] <JimBuntu> Intelo, You may want to look at how much to replace the battery pack, and from somewhere with a good return policy... in case the pack isn't the issue.
[13:53] <Intelo> are individual cells replaceable?
[13:54] <JimBuntu> Intelo, they are... but depending on the set up, it's generally best to replace all of them. When cells work together in a big pack, they should be considered married or "paired"
[13:54] <Intelo> JimBuntu,  I see a part of battery bumped/ embossed
[13:54] <JimBuntu> by bumped/embossed do you mean it's bulging in an unexpected way?
[13:55] <Intelo> yes. hump
[13:55] <JimBuntu> BTW: An op is likely to end this conversation pretty soon. Before that happens, now might be a good time for you to describe the issue in #hardware
[13:56] <Intelo> JimBuntu,  I already had
[13:56] <JimBuntu> Ugh, sorry, I know conversations can take a while in many of the channels.
[13:56] <Intelo> hm
[13:57] <Sven_vB> I have an external USB speaker with volume control buttons on it. however, in Ubuntu, those control the internal soundcard, not the USB speaker. how to fix?
[13:57] <Sven_vB> on trusty
[13:57] <Intelo> JimBuntu,  thanks!
[13:57] <JimBuntu> Intelo, You're welcome!
[14:03] <Sven_vB> my stopgap non-solution would be to --float it with xinput, guess a matching PulseAudio sink from the keyboard name, then --test it to wait for XF86AudioLowerVolume and XF86AudioRaiseVolume key presses. do I have to?
[14:03] <Richard_Cavell> I'm on Ubuntu 16.04 and I'm trying to run javac.  It's available in many packages.  Which one is the usual "I want to run Java programs" package?
[14:08] <TJ-> Richard_Cavell: try "update-alternatives --display javac"
[14:10] <Richard_Cavell> TJ-, that's not what I meant.  I can see the packages, I just didn't know what to use.  default-jdk seems like the best option
[14:10] <TJ-> Richard_Cavell: default-jdk will depend on the preferred version
[14:20] <q9> Hi, i have sound trouble. It turns off after ten minutes, when the computer is idle. The system-logs show this https://bpaste.net/show/a53c1871b372
[14:26] <q9> How do i fix it
[14:31] <Exterminador> Houston, I have a problem! both my Shift keys are broken (they simply don't work). I was wondering if it's possible to map, let's say, right Ctrl to right Shift key, so I don't need to hit the Caps Lock button every time I want to write a single uppercase letter
[14:31] <Exterminador> btw, using Xubuntu 18.04 32 bits
[14:32] <Sven_vB> Exterminador, man xmodmap
[14:32] <Sven_vB> Exterminador, until that works, an on-screen keyboard might help.
[14:33] <NoImNotNineVolt> i'd say just get a new keyboard.
[14:33] <Sven_vB> Exterminador, in case you don't usually use caps lock, that might be a better choice.
[14:33] <Sven_vB> (that = the caps lock key as shift)
[14:34] <Exterminador> NoImNotNineVolt: I can't get a new keyboard. the lap is damn old. it's just to be used as a server mainly
[14:34] <Sven_vB> also eco-friendlier to just remap keys.
[14:34] <Exterminador> Sven_vB: the problem is that a French keyboard needs the shift key to type so punctuation
[14:35] <NoImNotNineVolt> oh, it's a laptop. sorry, that wasn't clar :P
[14:35] <NoImNotNineVolt> clear, even.
[14:35] <Exterminador> s/so/some
[14:35] <Exterminador> NoImNotNineVolt: yeah, I should probably have said it's a laptop :)
[14:36] <Sven_vB> Exterminador, I meant to remap the caps lock key so it becomes the shift key. :)
[14:36] <Exterminador> well, I have 2 Ctrl keys, so one can me remapped tho
[14:36] <coz_> Sven_vB, you can simply disable it, yes?
[14:36] <neminis> ubuntu 18.04, login screen freezes when trying to log in, tried plasma/i3wm as sessions, yesterday kernel was updated, any idea how to fix it please?
[14:38] <Sven_vB> coz_, unrelated to the hardware problem but it seems no. I've tried that for years and couldn't find a reliable solution, that works on the internal notebool keyboard and all USB keyboards and even after switching X session users.
[14:39] <q9> Exterminador: Many Keymap changes can be acchieved via DE. Eg. in KDE systemsettings - input devices - Keyboard - advanced
[14:40] <Sven_vB> I haven't messed with udev rules though. it might work if I re-apply the modmap each time a keabord appears.
[14:40] <q9> Gnome has probably something similar
[14:40] <Sven_vB> neminis, check the syslog and gdm log
[14:41] <neminis> okay
[14:47] <neminis> Sven_vB, bumblebeed does not find an integrated videocard
[14:48] <Sven_vB> neminis, try installing/updating all recommended drivers: sudo ubuntu-drivers autoinstall
[14:48] <neminis> okay
[14:49] <Captain_Haddock> I have an external hard drive enclosure that works fine (via USB) with my sub 2TB drives. It also detects my 3TB drive fine. However, it does not recognise partitions in it. The partitions are detected fine if I connect the drives directly.
[14:49] <Captain_Haddock> I'm on Kubuntu 18.04. The partitions are NTFS.
[14:49] <Captain_Haddock> Any idea why this might be happening/fix?
[14:50] <Sven_vB> Captain_Haddock, check the syslog
[14:50] <TJ-> Captain_Haddock: yes; a limitation of the USB<>SATA bridge chip most likely
[14:51] <TJ-> Captain_Haddock: that is a common issue; also, check which kernel driver is handling it, UAS (USB Attached Storage) should be OK, but if its MS (USb mass storage) that would tend to confirm the problem is the bridge chip
[14:52] <iosecure> A common behavior of USB enclosures is presenting everything with 4k block sizes, even if the underlying device operates on 512-byte blocks (which hard drives commonly did before advanced-format drives came along).
[14:52] <Captain_Haddock> TJ-: It is detected as USB mass storage in the KDE partition manager.
[14:52] <iosecure> Captain_Haddock: Exactly what drive is the 3TB disk?
[14:52] <iosecure> Model number and everything.
[14:53] <TJ-> Captain_Haddock: I mean at the kernel driver level, not what a GUI shows
[14:54] <Captain_Haddock> Sven_vB:  This is the syslog output when I connect it: https://paste.ubuntu.com/p/Zj5zMMf3vp/
[14:55] <iosecure> Captain_Haddock: What is the drive?
[14:55] <Captain_Haddock> iosecure: WD30EZRX Western digital
[14:55] <iosecure> That's exactly the problem.
[14:55] <iosecure> Those drives use 512-byte blocks.
[14:56] <nisa> Hi I have a problem: My USB Harddrive disconnects and connects every 5 seconds. Here is a dmesg log: https://pastebin.com/raw/aaDk26DQ
[14:56] <iosecure> Dec 22 20:21:37 Vritra kernel: [56924.331360] sd 6:0:0:0: [sdd] 732566644 4096-byte logical blocks: (3.00 TB/2.73 TiB)
[14:56] <iosecure> Captain_Haddock: But your USB enclosure is presenting the disk as 4k blocks.
[14:56] <Captain_Haddock> iosecure: So I need a better enclosure? No workarounds?
[14:57] <Captain_Haddock> iosecure: Also, do 2TB drives default to 4k blocks?
[14:57] <nisa> And here my desktop crashed: nautilus-deskto[4499]: segfault at 18 ip 00005610b63ce526 sp 00007ffe82c0c6f0 error 4 in nautilus-desktop[5610b6305000+1a8000]
[14:57] <iosecure> Captain_Haddock: I'm pretty sure -all- enclosures will present 4k blocks. The reason you're running into this with large disks and not smaller ones is because disks below the 2TB line can still use MBR/CHS addressing. Above 2TB, GPT is required, which uses logical-block addressing, and that's sensitive to block size.
[14:58] <TJ-> iosecure: no disks these days use CHS addressing! everything uses LBA
[14:59] <Captain_Haddock> iosecure: I see.
[14:59] <iosecure> TJ-: LBA and CHS get translated back and forth. Artifacts of the consequences of CHS addressing are still seen in parts of MBR partioning.
[14:59] <iosecure> TJ-: Things still get aligned to cylinder boundaries, for instance.
[15:00] <TJ-> iosecure: No, they do not, they get aligned to write-block boundaries to avoid unaligned writes
[15:00] <iosecure> TJ-: Yes, they do, and I'm not here to argue facts with you.
[15:02] <TJ-> Captain_Haddock: you can see from the log that the USB enclosure is hiding the storage device from the system, and reporting generic information. That confirms that the USB bridge chip is doing internal translation, and in many cases these chips are limited by the LBA mode they support. I suspect it is limited to LBA32, rather than LBA48.
[15:02] <iosecure> Captain_Haddock: Everything I'm finding says that the enclosure is likely doing a mistranslation because of the block size issue.
[15:03] <cnnx> my wireless headset is reconized in ubuntu no sound comming out
[15:03] <crashhacker> it also depends on what block size it was formatted with in the first place and linux limit is 64k if im not mistaken
[15:03] <cnnx> i even togglde in alsamixer
[15:03] <cnnx> with o
[15:03] <cnnx> or m
[15:03] <iosecure> crashhacker: In this case, it's the native block size of the disk, not at the filesystem level.
[15:04] <crashhacker> ah ok i missed that part
[15:04] <Captain_Haddock> TJ-: This is an el cheapo enclosure, but the box specifically states that it supports sizes up to 6TB.
[15:04] <iosecure> Because LBA assumes a certain on-disk block size, if you change that block size but don't translate the addressing, the data structures that the OS is told to look for at certain addresses on the disk don't exist.
[15:05] <iosecure> Captain_Haddock: It's probably assuming that you're using advanced-format disks with 4k blocks.
[15:05] <crashhacker> you can always do ntfsfix to rearrange blocks
[15:05] <Captain_Haddock> I see
[15:05] <crashhacker> windows also keeps fucking up the block size
[15:05] <crashhacker> of drives
[15:05] <crashhacker> and when i do ntfsfix
[15:05] <crashhacker> it solved some folders which i couldnt access before
[15:05] <iosecure> That's still at the filesystem level.
[15:05] <TJ-> Captain_Haddock: do a direct attach of the storage device, see what it reports as its logical/physical sector size ... I suspect it'll be 512/4096, whereas the USB enclosure is presenting 4096/4096
[15:06] <crashhacker> iosecure, it will still solve it wont it?
[15:06] <iosecure> No.
[15:06] <Captain_Haddock> TJ-: I actually have an identical drive connected right now. Let me check.
[15:06] <iosecure> Nothing that you do at the software level will affect the disk's native block size.
[15:06] <TJ-> Captain_Haddock: that makes it easy :)
[15:07] <crashhacker> ah
[15:07] <iosecure> I'm not certain, but you might be able to tell gdisk to act as if the disk uses 4k blocks.
[15:08] <iosecure> No, that's just sector alignment.
[15:08] <iosecure> Not sure there's a fix for this other than finding an enclosure that behaves properly.
[15:10] <Captain_Haddock> For the drive connected currently: "Vritra kernel: [    2.239073] sd 1:0:0:0: [sda] 4096-byte physical blocks"
[15:10] <Captain_Haddock> TJ-: iosecure: ^
[15:10] <iosecure> And that disk works, yes?
[15:10] <Captain_Haddock> Yes
[15:10] <iosecure> What's the disk model?
[15:10] <Captain_Haddock> It's an identical drive connected via SATA.
[15:11] <iosecure> SATA is designed to make those translations work properly.
[15:11] <Captain_Haddock> (And formatted at the same time as the other one)
[15:11] <iosecure> Whereas el cheapo USB enclosures don't do so reliably.
[15:11] <iosecure> Captain_Haddock: This has a precedent. https://askubuntu.com/questions/337017/cant-read-partition-table-of-3tb-usb-disk
[15:12] <crashhacker> does odd number of TB have anything to do with it?
[15:13] <Captain_Haddock> iosecure: Thanks.
[15:13] <TJ-> Captain_Haddock: try this: "for n in /sys/block/sd?/queue/*block_size; do [ -f $n ] && echo $n=$(cat $n); done"
[15:13] <TJ-> Captain_Haddock: report what the direct-connect and the USB-connected devices show
[15:14] <iosecure> crashhacker: Nah. Just bad translation by crappy hardware.
[15:15] <Captain_Haddock> TJ-: sda = SATA
[15:15] <Captain_Haddock> /sys/block/sda/queue/logical_block_size=512
[15:15] <Captain_Haddock> /sys/block/sda/queue/physical_block_size=4096
[15:15] <Captain_Haddock> sdd = enclosure
[15:15] <Captain_Haddock> /sys/block/sdd/queue/logical_block_size=4096
[15:15] <Captain_Haddock> /sys/block/sdd/queue/physical_block_size=4096
[15:15] <TJ-> Captain_Haddock: so 512/4096 vs 4096/4096 as I suspected
[15:16] <iosecure> And that's where the problem lies.
[15:16] <TJ-> Captain_Haddock: the kernel works with the logical block size, so if it tries to read LBA1 on /dev/sda it'll read from byte offset 512 to 511, but for /dev/sdd it'll read byte offset 4096-8191
[15:18] <Captain_Haddock> From what I can see, the partition manager actually allows me to create a new partition for the disk. What would happen then?
[15:18] <Captain_Haddock> (Besides loss of data :)
[15:19] <TJ-> Captain_Haddock: the USB bridge chip is both forcing the logical block size to 4096 (making it the same as the physical block size without regard to what the drive itself prefers to do)
[15:20] <TJ-> Captain_Haddock: if the drive in the enclosure has no data on it then it would be safe to partition it and use it, but if it contains data and that was written with the 512/4096 assumption, then it'd corrupt it terminally
[15:21] <iosecure> Well, it would work while it's connected via USB. No idea how it would work if you reconnected it to a SATA interface.
[15:21] <TJ-> Captain_Haddock: I do a lot of disk forensics; I once wrote a tool to do this kind of in-place translation when advanced format drives first arrived.
[15:21] <TJ-> iosecure: it'd break in reverse :D
[15:21] <Captain_Haddock> lol
[15:22] <TJ-> Captain_Haddock: actually, it's a rather clever way to create a hidden volume with deniablility :)
[15:23] <Captain_Haddock> :)
[15:23] <TJ-> Captain_Haddock: I had a similar problem recently with 8 and 12TB drives, but that was due to the bridge chip not handling LBA48/64 so it effectively wrapped around to the start of the storage device
[15:24] <Exterminador> stupid question: ACPI has to do with battery widget and so (Xubuntu)
[15:25] <TJ-> Exterminador: Advanced Control and Power Interface
[15:26] <Jaelae> Troubleshoot some normal livecd behavior . When booting off a usb should it hang waiting on ipv6?
[15:26] <TJ-> oops, s/Control/Configuration/
[15:26] <Jaelae> Trying to figure out when to be patient :)
[15:26] <Exterminador> how does this crappy laptop doesn't have it? lol. I know it's old, but it thrown an error related to ACPI and pnpbios(?)
[15:26] <TJ-> Jaelae: not IPv6, but it many be waiting for the network-online.service to complete
[15:27] <Exterminador> may* even :)
[15:27] <TJ-> Exterminador: oh, we often see those - mostly due to bugs in the PCs BIOS/UEFI
[15:27] <Jaelae> Yea the issue I’m mostly seeing is it hangs for a long time and never loads but that’s the last I seeZ I went ahead and disconnected the nic cause why not
[15:27] <Exterminador> should I just throw it to the garbage? :x
[15:28] <TJ-> Jaelae: can you switch to a terminal shell at that point?
[15:28] <TJ-> Exterminador: is it actually causing some problem besides the error message itself?
[15:29] <Exterminador> my laptop is a Toshiba Satellite C660D-19X (a hell of a machine lol)
[15:29] <Jaelae> TJ- So I boot up and select boot from USB bios instead of Uefi. It shows the Ubuntu 18.04 ... loading screen. Quickly shows some text then I get a blinking underscore to the top left. But I don’t think anything is really happening
[15:30] <Jaelae> It seems to be at a blank console I can type at
[15:30] <Jaelae>  It nothing responds or anything very bizarre. I never have seen this before
[15:31] <Exterminador> TJ-: I've selected acpi=off in the F6 options. it thrown the error about the pnpbios but it booted. but if I don't turn the acpi off, it doesn't boot from the live USB
[15:31] <Exterminador> I'm reinstalling Xubuntu
[15:32] <TJ-> Jaelae: hmmm, sounds like you need "nomodeset" on the kernel command line
[15:32] <TJ-> !nomodeset | Jaelae
[15:33] <Jaelae> Yea so I’m gonna pull my gpu and use onboard to reduce troubleshooting
[15:37] <Jaelae> My nas died so trying to use this to recover data off the raid
[15:40] <Jaelae> Interrupted
[15:41] <Jaelae> Interrupted the boot and set nomodeset. Ended up with a different colored cursor now :/ I’ll look up that option a bit
[15:41] <Exterminador> OS: 64 bit Windows 10 Home (Version 10.0 1803 Build 17134.472), CPU: 2 x AMD E-300 APU with Radeon(tm) HD Graphics @ 1297 MHz 1024 KB Cache, MEM: 5739 MB, 57% (3249 MB) free, DISKS: total 465 GB - 441 GB free, GFX: AMD Radeon HD 6310 Graphics 384 MB, SCREEN: Generic PnP Monitor, 1366 x 768 @ 32 bit, 60 Hz, AUDIO: High Definition Audio Device, UPTIME: 0 d, 0 h, 44 m -- this is my laptop specs gathered  from AdiIRC IRC client
[15:41] <Exterminador> for Windows
[15:41] <leftyfb> Exterminador: please don't do that
[15:42] <Exterminador> sorry
[15:42] <leftyfb> Exterminador: if you're giving that data to someone as part of troubleshooting, use pastebin
[15:42] <Exterminador> leftyfb: noted. I won't forget next time.
[15:42] <Exterminador> so, I don't understand why the errors about ACPI and the PnPBIOS tho
[15:43] <lotuspsychje> !acpi | Exterminador
[15:44] <Exterminador> I can try that. just wondering if there's a way to check if my BIOS is updated
[15:45] <Exterminador> I see I can use the dmidecode and then I need to check in the manufacturer
[15:46] <cryptodan_mobile> Exterminador: reboot enter bios and see there
[15:47] <Exterminador> hum.. it says BIOS is upgradable tho
[15:58] <fretegi> morning
[15:58] <Exterminador> weird. although dmidecode says BIOS is upgradable, the last version is already installed
[15:58] <fretegi> rather new to setting up ubuntu, how can i force an older version of nvidia driver on ubuntu 18.04
[15:59] <fretegi> nvidia 410 broke a few things, i would like to revert back if possible
[15:59] <ttd> fretegi: but the default version is 390
[16:00] <ttd> did you add extra ppa?
[16:00] <fretegi> ttd, yup, i would love to go back to that
[16:00] <fretegi> see thats the thing, i dont see a PPA for anything else in my sources.list
[16:00] <ttd> fretegi: how did you install it
[16:01] <ttd> ppa can be stored in /etc/apt/sources.list.d/*.list
[16:01] <ttd> files
[16:01] <ttd> and if you have added a ppa then you can easily remove it there
[16:01] <ttd> or just by apt command
[16:01] <fretegi> ttd, far as i know i have not changed anything, just follow upgrades
[16:03] <ttd> fretegi: you must have, cause I got 18.10 and its not even as an option in my repos
[16:04] <ttd> perhaps you have testing repo enabled or smth
[16:04] <fretegi> ttd, i think it must be tied to a driver PPA from the manufacturer of this laptop
[16:05] <ttd> fretegi: what is that laptop? And then just remove that repo
[16:06] <ttd> and the driver
[16:06] <ttd> and install again
[16:06] <Teodoro777> Hi, strange problem with the scanner on ubuntu 18.10.
[16:06] <Teodoro777> I was scanning some pages with the usual scanner, a Canon pixma mg36500, suddenly, I click on scan (after having made a dozen) and says it can not connect to the scanner. I understand immediately that it is the operating system, because if I click on the button to do the photocopy, the scanner works. So I try another PC, where just yesterday, I put Ubuntu 18.04 (the one before was 18.10) and says the same thing. So I try a
[16:06] <Teodoro777> Fedora live on USB and the same port, the same program there the scanner works. I use simplescan for the scans, but I also tried gimage and does the same thing. By the way, these apps are not that they have many options for scanners. Now I wonder, where should I play around for a scanner that worked regularly until recently?
[16:08] <Exterminador> okay, so it's just the laptop being weird. after successfully reinstalled Xubuntu, I've edited /etc/default/grub, removed the acpi=off from there and it still boots
[16:11] <fretegi> ttd, ok i purged the ppa, apt update && upgrade, still not asking me to downgrade nvidia
[16:11] <lotuspsychje> Teodoro777: i had a few glitches with simple scan like that on 18.04 before, updating system/reboot mostly fixed
[16:11] <ttd> fretegi: remove the nvidia first
[16:11] <fretegi> jsut apt remove nvidia-drivers?
[16:12] <ttd> fretegi: do sudo apt remove nvidia*
[16:12] <fretegi> got it
[16:12] <fretegi> now removed
[16:12] <ttd> and then: sudo ubuntu-drivers --autoinstall
[16:13] <ttd> or just open Driver manager ap
[16:13] <Exterminador> so, now I just need to remap Ctrl_R to Shift_R and I'm done. let's take a look and xmodmap :)
[16:13] <lotuspsychje> Exterminador: please dont use this channel to report every step you do
[16:14] <lotuspsychje> Exterminador: focus on your actual issues instead
[16:15] <fretegi> ttd, nice! back on 390, hopefully that fixed what was broken thanks
[16:15] <Exterminador> well, I was telling the issues that I have when booting from live cd with the ACPI, which seems to have no effect when we're booting to the installed OS. sorry for the rest. I just get a bit enthusiastic
[16:16] <ttd> fretegi: what was the problem
[16:17] <fretegi> ttd, well still now sure how i got the 410 driver.  i just readded that ppa from the manufacture as its driver actually does a lot of other stuff, but there is an nvidia driver in there that i managed to avoid upon install.  im wondering if it pulled in the 410 version.  ill know in a min
[16:20] <ttd> test
[16:21] <fretegi> successful
[16:23] <fretegi> ttd, yup it is that manufacturer ppa.  anyway to block a version of a package in a ppa?  im used to gentoo, pretty easily done there
[16:26] <ttd> fretegi: just remove the PPA. No idea why its even in sure
[16:26] <ttd> use
[16:26] <ttd> fretegi: if you commented/removed out the PPA out of the file, then it's never gonna show up.
[16:27] <fretegi> ttd, well i need it for function buttons on my keyboard mostly.  and unfortunately i just absolutely need to be able to kill my trackpad and that sthe only way i have managed to do it cleanly
[16:27] <Exterminador> so, although the laptop still boots with ACPI, I've found that the battery graphical "drainage" isn't shown. rather, it displays as battery full but when hovering with the mouse over it, it displays the actual percentage level of battery
[16:27] <fretegi> so if i could just mask driver version above 390 im good
[16:28] <fretegi> brb, gonna reboot and see if i just torched this install
[16:28] <ttd> fretegi: I think its done with "sudo apt hold <package name>"
[16:30] <Exterminador> I believe it's "sudo apt-mark hold <package name>"
[16:31] <ttd> Exterminador: yes, my mistake, but he left already
[16:31] <ttd> Exterminador: so I thought - not worth correcting it :D
[16:32] <ioria> if he installed 390, he 'll stay with 390, any updates don't change the base version
[16:32] <ioria> no need to pin
[16:34] <ttd> ioria, oh, yeah the package is version based, unlike some other distroes :D
[16:34] <ioria> yep
[16:46] <Xtreme> Hello, I am facing random freeze problems since I upgraded by  laptop from ubuntu 17. Same issue with all its flavors.
[16:46] <Xtreme> Futher investigation brought me to kidle_inject & sudo rmmod intel_powerclamp solves my problem.
[16:47] <Xtreme> Now, i know that sudo rmmod intel_powerclamp is a very bad idea & also airvents of myy laptops are good and clean.
[16:47] <Xtreme> Can we know what is exactly causing this problem?
[16:47] <Xtreme> I trieg upgrading kernel, etc etc.
[16:48] <Xtreme> I do not face this issue on ubuntu 17,,
[16:52] <ttd> Xtreme, did you try downgrading your kernel instead?
[16:52] <Xtreme> Yup. no luck.
[16:54] <ttd> Xtreme what kind of device you have?
[16:55] <Xtreme> ttd, HP Enzy 14.
[16:57] <Xtreme> https://paste.ubuntu.com/p/mVHQDGNG3X/
[17:00] <gordonjcp> hi
[17:01] <ttd> gordonjcp, hi :)
[17:01] <gordonjcp> in Ubuntu 18.04, how can I get rid of that "swipe up" screen when I'm taking it out of screen saver?
[17:01] <gordonjcp> disabling the screen lock doesn't stop it, that just stops it asking for a password
[17:01] <gordonjcp> ttd: evening
[17:06] <ioria> gordonjcp, check this out https://extensions.gnome.org/extension/1414/unblank/
[17:07] <Exterminador> sorry guys, but I really don't understand how to make the Ctrl_R key as Shift_R key using xmodmap
[17:07] <Exterminador> that's completely not understandable to me
[17:08] <ttd> ioria, there is a setting somewhere for it. I know for sure, but could be in gnome-tweaks
[17:08] <ioria> ttd, maybe, i don't recall it
[17:09] <ttd> but its stupidly called - something like ask for log in after monitor off or smth like that. I would check but I am on kde :/
[17:10] <talin> hello. i have ubuntu 18.04 and i'm wondering how to change the command that is run when i click an icon for starting a program. it's the default gnome window systme
[17:10] <gordonjcp> ioria: that looks like it's the wrong way round
[17:11] <gordonjcp> ioria: I want the screen to blank, I don't care if it locks or not, but I want rid of the "swipe up" screen
[17:11] <ioria> ah, sorry
[17:12] <ttd> talin, permanently?
[17:14] <gordonjcp> ioria: no worries :-)
[17:19] <Jaelae> TJ-:  i think my iso was messed up. i redownloaded, set it up on the usb again and viola
[17:19] <Jaelae> all works
[17:22] <Jaelae> ss
[17:23] <Jaelae> weird was showing my messages not sending but alas, there theyh are
[17:25] <Katnip> very odd Jaelae ; i knew a nurse in oncology once till she went to work in a hospital with your name :)
[17:29] <talin> permanently, yes
[17:30] <_SimonNL> hospital with your name ?
[17:33] <Katnip> a nurse
[17:38] <pwuertz> Hi. Has anyone else experienced a bug after upgrading to 18.10 when reactivating the screen after being blanked/locked after inactivity?
[17:39] <pwuertz> When I reactivate the desktop by moving the mouse, the sceen goes back on and I see the first screen lock (the one you have to push upwards).
[17:40] <pwuertz> But after that, I only get a solid colored screen with a dysfunctional task bar on the left.
[17:40] <lotuspsychje> pwuertz: your graphics drivers installed correctly?
[17:41] <pwuertz> lotuspsychje: yes
[17:41] <lotuspsychje> pwuertz: wich card/driver please?
[17:41] <pwuertz> lotuspsychje: NVidia, proprietary
[17:42] <Jaelae> Katnip:  that sounds pretty cool
[17:43] <lotuspsychje> pwuertz: what about chipset and driver version?
[17:44] <pwuertz> I can log in to my system again by switching to the F1 screen, login there, then it kind of switches back to my old login. This more or less works, but the Desktop/Panel sometimes doesn't get the applications and their indicators right after doing that.
[17:45] <pwuertz> lotuspsychje: nvidia-driver-396 is installed. Chipset is GeForce GTX 980
[17:46] <lotuspsychje> pwuertz: i assume your issue did not happen on 18.04?
[17:46] <MK> My laptop hit 100% RAM when I have no swap/pagefile available and has frozen. Will it eventually recover itself after a time or should I hard reset?
[17:47] <pwuertz> I don't know what the distribution display setup is nowadays. F7 used to be the desktop.. but now it seems to be F2, with F1 always being a login screen that refers me to F2?
[17:47] <pwuertz> lotuspsychje: Indeed
[17:48] <lenny_lemon> does anybody know where I can find .cfg file for counter strike in ubuntu 16.04?
[17:48] <lotuspsychje> pwuertz: your system up to date also?
[17:49] <pwuertz> lotuspsychje: sure
[17:49] <MK> nvm took about 10 minutes but the system has recovered.
[17:49] <lotuspsychje> pwuertz: an idea would be booting a liveusb 18.10 to compare?
[17:50] <MK> take care y'all
[17:50] <OerHeks> lenny_lemon, if you installed it trough wine, something like "./drive_c/Program Files/Valve/Steam/SteamApps/YOUR ACCOUNT NAME/counter-strike source/cstrike/cfg/"
[17:50] <lenny_lemon> OerHeks, no it wasn't through wine
[17:51] <lotuspsychje> pwuertz: another debug, would be tail -f /var/log/syslog in realtime and see what errors it gives you after blank/return
[17:52] <OerHeks> oh, that location is for steam, i see
[17:52] <pwuertz> lotuspsychje: Hm.. I could also try a fresh user, maybe gnome chokes on the pre-update configuration again. Wouldn't be the first time :/
[17:54] <lotuspsychje> pwuertz: yeah we see also some update scrambles storys alot here, hence why the live test
[17:55] <pwuertz> lotuspsychje: I was just wondering if someone knew about this regression.. since you can't really miss it if its there.
[17:55] <lotuspsychje> pwuertz: feel free to share syslog/dmesg to the channel, we can take a look for you?
[17:55] <Geo> Hi, I broke my brain trying to figure this one out. I have a bootable / partition on disk1, and I want to migrate it to a larger disk2. a) Do I need to boot with a live cd to do it correctly, and b) what tool is recommended to move it over to the new disk?
[17:55] <ioria> gordonjcp, https://extensions.gnome.org/extension/672/disable-screen-shield/
[17:56] <pwuertz> lotuspsychje: Yea, my strategy in the past was to copy all my home non-dot files to a new home folder whenever my desktop starts acting up after an Ubuntu upgrade ^^
[17:58] <lotuspsychje> pwuertz: also keep in mind non-LTS versions we use alot for /latest/testing/bugging out, daily drivers best go for LTS
[18:01] <pwuertz> lotuspsychje: Right, I'd love to use LTS versions, but sooner or later I'm getting struck by other bugs from outdated packages for which Ubuntu won't provide updates
[18:01] <lotuspsychje> !latest | pwuertz :p
[18:02] <lotuspsychje> pwuertz: also alot of snaps these days, that are more later versions
[18:02] <OerHeks> 'struck by other bugs from outdated packages ' .. on LTS?
[18:04] <pwuertz> OerHeks: Sure. For example, Ubuntu won't ship the bugfix release llvm 6.0.0 -> 6.0.1. So I can't compile a tool I need.
[18:06] <iosecure> Which bug are you impacted by?
[18:12] <pwuertz> iosecure: Currently, you cannot compile Numba since LLVM "forgot" to export a function in 6.0.0, which they fixed in 6.0.1 soon after the release.
[18:12] <pwuertz> lotuspsychje: Syslog https://paste.ubuntu.com/p/Nxy427VHdw/
[18:13] <iosecure> pwuertz: If it's reported, it can potentially be backported into the current package as a bugfix update.
[18:13] <iosecure> So if you can provide a reference to the issue, I can open a bug report on launchpad.
[18:13] <tomreyn> Geo: are you doing uefi or bios boot?
[18:13] <pwuertz> iosecure: I did, it got declined. Not interested.
[18:14] <iosecure> What was the issue number?
[18:14] <pwuertz> Can't find it anymore, don't care anymore.. I moved on.
[18:15] <pwuertz> Locking the screen with Meta+L exactly reproduces what I'm seeing when trying to reactivate an idle screen. The screen is mostly frozen, and I have a dysfunctional task-bar on the left.
[18:15] <iosecure> pwuertz: Well, don't you have a wonderful attitude.
[18:15] <pwuertz> It does mouse-over and mouse-click effects, but does nothing.
[18:16] <Geo> tomreyn: I don't know the difference anymore
[18:16] <Geo> they're big disks, so... uefi?
[18:16] <Geo> I thought the choices were uefi vs mbr
[18:17] <lotuspsychje> pwuertz: found something similar here: https://gitlab.gnome.org/GNOME/gnome-shell/issues/808
[18:17] <tomreyn> Geo: there is the bios boot mode: legacy bios (CSM) or UEFI, and there is the disk partitioning: msdos vs gpt.
[18:18] <tomreyn> Geo: to answer your questions: (1) yes, live booted system is needed as you cannot reliably clone a mounted filesystem. (2) I think you can do it with gparted (GUI), or just using dd.
[18:18] <pwuertz> lotuspsychje: Haha, thats the one :D
[18:18] <lotuspsychje> pwuertz: they seem to mention the dock
[18:18] <Geo> what about cloning a bootable partition to a smaller disk (but still enough to hold the contents of disk 1)
[18:19] <Geo> I think that takes dd out of the running, right?
[18:19] <lotuspsychje> pwuertz: https://bugs.launchpad.net/ubuntu/+source/gnome-shell/+bug/1796265
[18:20] <tomreyn> Geo: when you run this in a terminal, what does it report?  [ -d /sys/firmware/efi ] && echo "EFI boot on HDD" || echo "Legacy boot on HDD"
[18:21] <Geo> Legacy
[18:21] <Geo> But I'll be moving to a brand new machine as part of this, if that matters
[18:21] <tomreyn> i would recommend reinstalling then
[18:21] <lotuspsychje> pwuertz: seems like in progress: https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-ubuntu-dock/+bug/1769383
[18:22] <Geo> Why? What will that prevent?
[18:22] <pwuertz> iosecure: I can assure you, that isn't my normal attitude. Just the one for ubuntu bugs :)
[18:24] <tomreyn> Geo: several things: you won't need to move around the root partition, which would break the boot, requiring you to chroot into the / file system from the live cd and edit fstab and update grub. you get a clean installation of the latest ubuntu version you'd like.
[18:24] <tomreyn> (and you can have the proper drivers installed for the new system right from the start)
[18:25] <tomreyn> you benefit from better install defaults (in case you upgraded your system previously)
[18:27] <pwuertz> lotuspsychje: Nice. Thanks for digging that up. Two bugs at once as it seems.
[18:27] <tomreyn> Geo: most of all, it's much less complex and error prone and most likely faster, too.
[18:27] <lotuspsychje> pwuertz: found them tnx to your syslog, so tnx yourself
[18:27] <Geo> yes, but i lose my stuff :)
[18:28] <tomreyn> Geo: what do you loose?
[18:28] <Geo> everything in /....
[18:28] <lotuspsychje> pwuertz: i just wonder why it doesnt happen on 18.04, maybe you should add your story to the bug aswell?
[18:29] <tomreyn> Geo: well the new installation gets you back anything in / that should have been there before. you can write the packages you have installed to a file before you reinstall, and restore this state and the packages later.
[18:29] <pwuertz> lotuspsychje: Yea, they also might be interested that (at least for me) I can get back into my system via F1
[18:29] <Geo> ..and all the config files, etc
[18:30] <Geo> still lots of work
[18:30] <Geo> anyway
[18:30] <tomreyn> Geo: do you have customizations in / which were not made by packages?
[18:30] <Geo> configs and who knows what else
[18:31] <tomreyn> Geo: you can backup /etc (I would recommend to do that) and cherry pick / restore from it later.
[18:31] <tomreyn> but most likely you'll find its less customizations than you think
[18:32] <tomreyn> most customizations desktop users care about are usually in /home
[18:32] <tomreyn> and you'd backup + restore that
[18:36] <OerHeks> mpv is not standard, i guess that is Totem
[19:13] <Teodoro777> <freenode_lot "Teodoro777: i had a few glitches"> But I already up to date.. xsane says that scanner is busy.. why?
[19:25] <lotuspsychje> Teodoro777: system up to date?
[19:27] <lotuspsychje> Teodoro777: try launching simple scan from terminal, see if you can grab errors
[19:31] <lotuspsychje> Teodoro777: scanimage -L
[20:30] <weq> best method of getting build-essential installed on an offline machine? any takers?
[20:30] <TJ-> weq: apt-offline
[20:30] <weq> clean install of ubuntu server fyi
[20:31] <weq> is it available for wsl ? only have a windows laptop to work with.
[20:32] <TJ-> weq: apt-offline can work from any *nix type shell, including Windows, as far as I recall
[20:32] <TJ-> !info apt-offline | weq
[20:34] <maret> hi, I am trying to debug conenction to my router which broke time to time and I am not sure why. So i need some connection quality tool which tells me when wifi get disconnected and why
[20:34] <TJ-> weq: as I recall if you're not using a debian-based distro, you can use debootstrap and a chroot to create a minimal one to run apt-offline in (on the network-connected host)
[20:35] <lotuspsychje> !info wavemon | maret
[20:35] <weq> hmmm I'll try first with wsl that is currently still upgrading til 18.04 and see if I can get the needed packages there or else I'll try in a desktop 18.04 vm
[20:35] <weq> ty TJ-
[20:38] <oblongkey_> hi! I'm having trouble upgrading from ubuntu 16 to 18
[20:39] <lotuspsychje> !ltsupgrade | oblongkey_
[20:39] <oblongkey_> I set the update running and went to sleep, as it warned me it could take several hours
[20:39] <oblongkey_> now I wake up to see the login screen without any dialog boxes
[20:39] <ntd> nacc, apparently the iio issue is in fact resolved with hwe-18.04/4.18.0-13. no /sys/bus/iio on the daily driver but on the tablet it is present and the functionality is restored
[20:39] <oblongkey_> I don't know what to do
[20:40] <oblongkey_> basically, I have a screen with the buntu login screen background and nothing else
[20:40] <oblongkey_> ubuntu*
[20:40] <lotuspsychje> !nomodeset | oblongkey_ try this
[20:41] <oblongkey_> lotuspsychje: I don't know how to use that without eing able to interact with the computer
[20:42] <maret> i tried wavemon but i dont see logs with discoctions with reason
[20:44] <ioria> oblongkey_, can you open a console ? ctrl+alt+f2
[20:44] <oblongkey_> ioria: I'll try
[20:44] <oblongkey_> ioria: yes
[20:45] <ioria> oblongkey_,  sudo apt update
[20:46] <oblongkey_> ioria:  can't get a lock on /var/lib/apt/lists/lock
[20:47] <oblongkey_> ioria: Resource temporarily busy
[20:47] <ioria> oblongkey_,  ps -a | nc termbin.com 9999   and paste the urlyou got here
[20:47] <ioria> oblongkey_,  ps -A | nc termbin.com 9999   and paste the urlyou got here
[20:48] <OerHeks> oblongkey_, oh that happens when software center is open, or the software updater is receiving updates
[20:49] <OerHeks> just wait a minute, or run the software updates gui manually
[20:49] <oblongkey_> ioria:  -a: termbin.com/871o  -A: termbin.com/15m4
[20:49] <OerHeks> or your previous update attempt is still running
[20:50] <oblongkey_> OerHeks: I'm trying to update ubuntu to 18 and got a blanck login screen
[20:50] <ioria> oblongkey_,  please, try again      ps -A | nc termbin.com 9999   and paste the fullurl
[20:51] <oblongkey_> ioria: http://termbin.com/s3rl
[20:51] <OerHeks> yes, i read back, you fell asleep
[20:51] <ioria> better
[20:51] <OerHeks> but did it reboot after updates, i guess that is not automatic
[20:52] <oblongkey_> OerHeks: I don't know, I came back to this
[20:52] <ioria> oblongkey_, i think is unattended-upgrade running
[20:53] <oblongkey_> ioria: what does that mean?
[20:53] <oblongkey_> Disk usage and internet usage are both zero
[20:53] <tomreyn> several "mate" processes, so it may be ubuntu mate.
[20:53] <tomreyn> there is a "bionic" process?
[20:54] <ioria> oblongkey_,  that it's performing some tasks
[20:54] <ioria> oblongkey_, how long has been running ?
[20:54] <oblongkey_> It doesn't seem to be doing much by looking at the computer (fans, disc usage, internet usage)
[20:55] <oblongkey_> ioria: I set it up 3 hours ago now
[20:55] <ioria> oblongkey_, well, if apt update is locked there would be a reason ...
[20:56] <oblongkey_> is there no way of going back to the desktop and taking a look?
[20:56] <tomreyn> X is still running, but the system has some "nvidia" proccesses, so thisis maybe why the graphical output no longer works
[20:57] <ioria> oblongkey_,  again  , sudo apt update
[20:57] <oblongkey_> tomreyn: But I get the correct login background, it sin't a  black screen or anything
[20:57] <oblongkey_> ioria: locked
[20:57] <weq> anyone else experiencing issues with installing perl-modules.5.26 on ubuntu server 18.04? I get a decompression error
[20:58] <ioria> oblongkey_,  i'am afraid you need to wait a bit more
[20:59] <oblongkey_> ioria: what for?
[20:59] <ioria> oblongkey_,  it's still working ...
[20:59] <oblongkey_> ioria: To see if it gets unlocked?
[20:59] <tomreyn> oblongkey_: i see, it may be some lightdm issue then. the state of the release upgrade can be examined in /var/log/dist-upgrade
[20:59] <oblongkey_> ioria: I was also running the update on my laptop
[21:00] <oblongkey_> my theory is that it's waiting for input on configuration files
[21:00] <tomreyn>  /var/log/dist-upgrade/screenlog.0 specifically
[21:00] <oblongkey_> "Do you want to keep yours or use the manager's version" soirt of thing
[21:00] <oblongkey_> tomreyn: I'll take a look
[21:00] <tomreyn> oblongkey_: you dont have any dpkg processes listed, though
[21:01] <ioria> oblongkey_,  if you know how to recover from a broken (interrupted) upgrade (sudo dpkg --configure -a), you can try to reboot
[21:01] <tomreyn> "ps ef 18057" should provide details on the unattended-upgrades process
[21:01] <oblongkey_> tomreyn: I don't have screenlog
[21:01] <oblongkey_> ioria: I don't know how to recover
[21:02] <tomreyn> oblongkey_: sorry, screenlog is created by the server upgrade mechanism only, this is probably a desktop
[21:02] <ioria> oblongkey_,  ok, so wait
[21:03] <tomreyn> oblongkey_: but the files in the same directory should hint on the state of the release upgrade anyways
[21:03] <oblongkey_> tomreyn: TTY: ? STAT Ss1 Time 0:00 COMMAND: /usr/bin/python3 /usr/share/unattended-upgrades/unatt
[21:03] <oblongkey_> ioria: ok
[21:03] <ioria> good luck
[21:04] <tomreyn> oblongkey_: that's cut off, but -thinking again- it may not be too relevant aynways.
[21:04] <tomreyn> better check the logs
[21:04] <oblongkey_> tomreyn: I have 8 folders 2018122*, apt-clone_system_state.tar.gz apt.log, apt-term.log, history.log, lspci.txt, main.log
[21:04] <tomreyn> maybe "dmesg | nc termbin.com 9999" , too
[21:05] <tomreyn> main.log and apt-term.log may be of interest, as well as when these files were last touched
[21:06] <oblongkey_> tomreyn: what do I look for?
[21:06] <tomreyn> whether it seems to have finished in the end, and exited cleany
[21:07] <oblongkey_> ok, I'll take a look at the end of the file then
[21:07] <tomreyn> normally it should not have exited at all, though, i think.
[21:07] <ntd> that polkit root exploit? been well over a week....
[21:07] <oblongkey_> the last thing in main.log is  list of libraries
[21:11] <oblongkey_> apt-term.log ends with log ended: 2018-12-22 21:06:31
[21:12] <tomreyn> oblongkey_: try this: for logfile in  /var/log/dist-upgrade/*.log; do ls -l $logfile; echo '-----'; tail $logfile; echo; echo; done | nc termbin.com 9999
[21:12] <oblongkey_> tomreyn: sorry, I didn't see the "dmesg | nc termbin.com 9999": here it is: termbin.com/g965
[21:13] <oblongkey_> tomreyn: that's a bash script right? I 've never scripted with bash, could you help me a bit please?
[21:14] <tomreyn> oblongkey_: it'S a one-liner you can just copy and paste.
[21:14] <oblongkey_> tomreyn: great, on it
[21:14] <tomreyn> but yes, it's essentially a bash script, at least if you'd put this ina separate file.
[21:15] <tomreyn> [ 8023.096521] traps: mate-screensave[1115] trap int3 ip:7f4426f27e11 sp:7ffd8b0cd9c0 error:0 in libglib-2.0.so.0.5600.3[7f4426ed6000+113000]
[21:16] <tomreyn> looks like the mate screensaver is in a bad state or failed
[21:17] <oblongkey_> tomreyn: https://termbin.com/rdoy
[21:18] <tomreyn> oblongkey_: what time is it there now? run "date"
[21:18] <oblongkey_> tomreyn: 22:18
[21:20] <tomreyn> oblongkey_: so what you posted last (output from the commands i posted earlier) looks like the upgrade should have mostly finished, except for the clean up phase. and the dmesg output about the mate screensaver would explain why the graphical desktop is no longer working.
[21:23] <oblongkey_> tomreyn: does that mean we I reboot it and run the cleanup myself? How would I do that?
[21:23] <tomreyn> oblongkey_: you could try to 'kill -9 $(pidof mate-screensaver)', this *might* restore your access to the desktop
[21:23] <oblongkey_> tomreyn: I'm on it
[21:24] <tomreyn> oblongkey_: if this doesn't work, i'd do the cleanup first from a text terminal, then reboot
[21:25] <oblongkey_> tomreyn: I ran the command and returned to the gui with cntrl alt f7
[21:25] <oblongkey_> I'm back at the gui
[21:25] <tomreyn> nice
[21:25] <oblongkey_> tomreyn: thank you so much!
[21:26] <oblongkey_> the update was paused asking me  for confirmation on removing packages
[21:26] <tomreyn> the cleanup stage
[21:26] <oblongkey_> thank you so much, I had no idea what to do :)
[21:27] <TJ-> !cookie | tomreyn
[21:27] <tomreyn> so have it clean things up, then reboot. but note that you may run into more issues with nvidia
[21:27] <TJ-> have 2, its Christmas!
[21:27] <TJ-> !cookie | tomreyn
[21:27] <tomreyn> yeay!
[21:27] <TJ-> surely that should be mince pies :p
[21:28] <oblongkey_> tomreyn: can I prepare?
[21:29] <tomreyn> you could replace the graphics card by one which doesn't depends on proprietary drivers.
[21:29] <tomreyn> it looks like the driver you have worked fine the last time: nvidia-modeset: Loading NVIDIA Kernel Mode Setting Driver for UNIX platforms  410.79  Thu Nov 15 10:39:32 CST 2018
[21:29] <tomreyn> so maybe it will just keep working.
[21:30] <oblongkey_> tomreyn: I hope so
[21:30] <oblongkey_> I need the card for cuda though
[21:30] <tomreyn> if not just come back here
[21:30] <tomreyn> uh oh
[21:30] <tomreyn> good luck!
[21:30] <oblongkey_> :) thanks!
[21:45] <oblongkey_> tomreyn: After a reboot the screen resolution is 640x480 and can't be changed
[21:46] <oblongkey_> seems like nvidia problems as you said
[21:50] <oblongkey_> the nvidia driver seems to be enabled in additional drivers
[21:50] <oblongkey_> I've also tried rebooting
[21:51] <oblongkey_> and updating
[21:56] <Teodoro777> <freenode_lot "Teodoro777: try launching simple"> Nothing of this. I only added my user to scanner group and now it works fine. But why it isn't in scanner group of default?
[21:57] <TJ-> Teodoro777: probably because access to devices is considered a privileged operation, which requires a local administrator to decide to add user(s) to the group
[21:59] <oblongkey_> I fixed it :) For future reference, this solution worked: https://unix.stackexchange.com/questions/446332/after-upgrading-to-18-04-ubuntu-monitor-is-unknown
[22:00] <oblongkey_> I have to go now, but first I'd like to thank you all again for all your help :) bye!
[22:28] <algid> anyone seen 'unsafe swap space detected' when installing lubuntu from usb
[22:34] <snowgoggles> algid: did you reformat the target install partition?
[22:35] <snowgoggles> algid: what version of lubuntu?
[22:38] <snowgoggles> algid: this issue appears related -- https://ubuntuforums.org/showthread.php?t=2334294&p=13533618#post13533618
[22:59] <weq> any tools in ubuntu to show available wifi networks cli? afaik I have the correct driver installed for this netgear usb card.
[23:10] <weq> any hints on why I can't connect to wifi? netplan is configured correct with correct ssid and password. iwlist scan can see the network just fine. But networkctl still reports degraded
[23:11] <snowgoggles> weq: try nmcli perhaps
[23:11] <snowgoggles> ubu server install?
[23:12] <weq> yes
[23:14] <snowgoggles> weq: i'm not familiar with netplan sorry
[23:28] <FreeBDSM> hello, what are /etc/apt/sources.list.d/home:strycore.list and .save files? they are 0 byte long
[23:29] <guiverc> FreeBDSM, the /etc/apt/sources.list.d/ directory is empty on a clean ubuntu install, anything in that directory was added post-installation by users/admins of the system
[23:29] <FreeBDSM> probably leftovers from disabling PPA via some command or something. nvm, nuked that shit.
[23:30] <FreeBDSM> why does https://launchpad.net/~graphics-drivers/+archive/ubuntu/ppa list packages named 'nvidia-graphics-drivers-415' while in apt they are shown as 'nvidia-driver-415'?
[23:35] <tomreyn> FreeBDSM: those in the ppa have the former name pattern, those in ubuntu proper have the latter name pattern. why that is so, i would not know. one reason may be to enable them to co-exist.
[23:36] <FreeBDSM> tomreyn: I have that PPA installed
[23:36] <tomreyn> meaning?
[23:37] <FreeBDSM> tomreyn: `apt search nvidia-graphics-drivers-415` returns 0 results, but I have that PPA installed
[23:37] <FreeBDSM> but there is nvidia-drivers-415 though
[23:37] <FreeBDSM> why does the launchpad lie to me?
[23:40] <tomreyn> FreeBDSM: how did you install the ppa?
[23:40] <FreeBDSM> tomreyn: the way that page suggested
[23:40] <tomreyn> which ubuntu release is this?
[23:40] <FreeBDSM> bionic
[23:41] <tomreyn> whats the output of apt-cache policy
[23:41] <weq> anyone able to share some insight in why a ubuntu server aren't able to connect to a wifi network? I can see the wifi with iwlist and afaik the netplan configuration is correct. Networkctl just reports that it is degraded in connection status.
[23:42] <FreeBDSM> tomreyn: looks okay, it list that ppa
[23:42] <algid> anyone know how to use gnome in lubuntu?
[23:42] <tomreyn> FreeBDSM: what'S the output of: apt-cache policy nvidia-graphics-drivers-304
[23:42] <EriC^^> algid: how to install it?
[23:43] <algid> i did apt-get install gnome-shell but when i reboot there is no icon or option to select a different environment
[23:43] <FreeBDSM> tomreyn: N: Unable to locate package nvidia-graphics-drivers-304
[23:43] <tomreyn> FreeBDSM: did you actually "sudo apt update"
[23:43] <FreeBDSM> tomreyn: ofc
[23:43] <algid> i did install it but now i need to use it as my desktop env
[23:43] <FreeBDSM> I'm living with that PPA for months
[23:44] <FreeBDSM> (if not a year)
[23:45] <FreeBDSM> tomreyn: looks like launchpad shows some outdated package names
[23:45] <FreeBDSM> just wanted to alert someone about that
[23:51] <tomreyn> FreeBDSM: i just installed the ppa on an 18.04 system and cannot find any 'nvidia-graphics.*' packages. so i assume the information provided on the web interface is outdated and the PPA is actually empty. one could now try to confirm this by reviwing the release / Packages files.-
[23:55] <Thyriaen> Hi, i am trying to connect my Kindle HD to my pc ( tried both pc and laptop ) - so what i do is i plug it in via my usb cable -> my kindle registers some energy source and is charging via usb cable, however lsusb does not show anything connected
[23:56] <Rulzern> I'm having some trouble with USB connectivity on my machine, lsusb/usb-devices and dmesg do not seem to update when I plug in a new device, are there any further steps I can take to identify what the problem is?
[23:59] <tomreyn> FreeBDSM: they're source package names, that's why.
[23:59] <FreeBDSM> tomreyn: okay, that's confusing people