/srv/irclogs.ubuntu.com/2021/07/12/#ubuntu.txt

Guest6907I am using ubuntu server, when I type a quotation mark into the TTY I need to type another charecter before the quotation mark will show up. Does anyone know why this is happening, or how to fix it?00:43
quadratGuest6907 which keyboard layout are you using?00:48
Thetedoes anyone know how to disable ctrl-alt-t from opening a terminal window?01:09
quadratThete delete the keyboard shortcut in settings01:11
Theteahh, thank you01:12
donofriois there an ubuntu-ppc on this libre.chat?01:17
shibbolethyou could ask in here01:21
shibbolethalso, in general: kinda odd to still support ppc and not x86/non-amd64?01:21
shibbolethwhat, playstation 3?01:22
donofrioshibboleth, PowerBook G4/iMac G4/MacPro G502:07
TheRedRipperi cant connect to my wifi with ubuntu. it just keeps endlessly asking for the password, that i know im entering right. help please02:54
t3nj1nanything else you can tell us?02:55
TheRedRipperi removed the files in etc/NetworkManager/system-connections and that didnt do anything02:56
TheRedRippertried "sudo tee /etc/modprobe.d/iwlwifi-opt.conf <<< "options iwlwifi 11n_disable=1" " as per a forum post i found, that changed nothing too02:57
TheRedRipperthats about it it just keeps asking for the password, then a little bit of time passes, then it asks again no change02:58
t3nj1nso you're experiencing a driver issue>03:00
toddcTheRedRipper: wifi password or Keyring password?03:00
TheRedRippertoddc: wifi03:00
t3nj1nhave you updated your driver?03:00
TheRedRippercant do system updates i dont have wifi :<03:00
t3nj1ni mean, manually03:01
t3nj1nhave you rebooted?03:01
TheRedRipperno03:01
TheRedRipperwhy did i not try rebooting03:01
t3nj1ni looked up the ubuntuforum post in question and it said settings would apply after reboot.03:02
TheRedRipper*facepalm*03:02
TheRedRippermaybe i am an idiot03:02
t3nj1ntry it out and let us know if there is any change03:03
t3nj1n::thumbsup::03:03
TheRedRipperfycuk03:05
TheRedRipperdidnt work03:05
t3nj1nwhats the output of "lscpi -knn | grep Net -A2"03:06
TheRedRipperuh let me try03:06
TheRedRipper"commend  'lscpi' not found03:06
t3nj1nwhoop03:07
t3nj1n"lspci"03:07
TheRedRipperohh03:07
TheRedRipperoutputs a bunch of info03:07
t3nj1nwhats the network controller03:08
t3nj1nand the kernel driver that's being used03:08
TheRedRipperIntel Corporation Advanced-N 6205 [Taylor Peak] [8086:0085] (rev 34)03:09
TheRedRipperSubsystem: Intel corp centrino advanced-n 6205 (802.11a/b/g/n) [8086:1311]03:09
TheRedRipperkernel driver in use: iwlwifi03:09
t3nj1nhmmm03:11
t3nj1nhave you tried all the weird things like rebooting your router03:12
TheRedRipperno but theres like 5 people on the wifi and i dont think restarting it would go over well03:13
t3nj1nokie dokie03:14
t3nj1nlook at this and try this: https://bit.ly/3wtjKPO03:14
t3nj1nfollow the top answer and let me know if it helps03:16
TheRedRippert3nj1n: didnt work fuck03:21
t3nj1nu rebooted too?03:22
TheRedRipperyeap03:23
t3nj1nif u have any access to the router why don't you connect to ethernet and update the driver that way03:24
TheRedRipperhey wait what03:24
TheRedRipperit works03:24
t3nj1ngreat03:24
t3nj1ni'm glad i could help03:24
TheRedRipperoh some dumbass kicked the router xD03:24
t3nj1nT_T03:25
TheRedRipperthank you for the help though i appreciate it03:25
t3nj1nyeah np03:25
swayi upgraded an ubuntu 18.LTS to 20.LTS and... ssh is no longer running on that box..04:10
swaynow i need to physically goto the location and see wtf happened. any idea why sshd decided a dist upgrade should mean it goes away?04:11
CodeLyokosway: when you where upgrading, it might have asked to if you wanted to replace the local config with a new package maintainer one. Did you have any edits to your sshd.conf that would cause it not to work if it was reverted04:16
swayi made sure to use the maintainer version since i had no changes i cared about if any04:16
QuacklesI need to install a LTS version of Ubuntu over my rather outdated installation of Disco.04:17
QuacklesHowever, my setup creates a small problem: I’m on a dual boot setup, and I want to perform the installation without touching the bootloader. At all.04:17
QuacklesAny advice?04:17
CodeLyokosway: do you run a firewall?04:18
swayyes but its not the issue04:19
swayssh worked thru the firewall via rules04:19
swayim able to ping and nmap the box. 22 is NOT OPEN period04:19
CodeLyokoI would assume then that sshd for some reason has failed to start, until you look at your box its going to be hard to tell why04:19
rud0lfmaybe you didn't knock politely04:19
swayor the upgrade broke a previously functioning service04:22
CodeLyokoQuackles: I'm not sure you can update from disco to focal at all in the official way04:23
QuacklesCodeLyoko: I don’t need to *update* exactly so much as *replace*, to be honest. I can back up my data, etc. But the bootloader has to remain untouched.04:33
CodeLyokoI actually don't know if you can do that, I know on some distros you can pick none when it askes about bootloaders, but from what im seeing Ubuntu does not have that04:38
CodeLyokoIt's not something I run into alot, so I'm a bit unsure on it04:39
=== nkshirsa is now known as nikhil
=== nikhil is now known as nkshirsa
alkisgQuackles: if you're on UEFI/GPT, that's possible. On BIOS/MBR, it's not. Upload the output of `sudo parted l`.04:55
QuacklesOne moment.04:56
QuacklesThat’s a vertical bar, right?04:56
The-Flyfor modern versions of Ubuntu (20 and up), is modifying 70-persistent-net.rules still the prefered way of defining which ethernet device is eth0 ?04:57
alkisgsudo parted -l04:57
alkisgminus lowercase L04:57
QuacklesThe dual boot is actually booted into the windows half right now, but I can confirm it’s UEFI.04:57
alkisgThe-Fly: no, persistent interface names mean you get something like enp2s0 (pci bus place)04:57
alkisgSo that udev rules file isn't used anymore04:57
QuacklesTo be clear, a bootloader is already installed: GRUB.04:57
QuacklesHowever, I had to configure it to handle the dual boot properly (with the windows bootloader subordinate to it) and I don’t particularly want to do that again.04:58
alkisgQuackles: the efi bootloader goes into the efi partition. That part doesn't need to be touched,04:58
QuacklesSo basically what I’d like to do is just plop a new install of Ubuntu into the existing partition.04:58
QuacklesIndeed. Now how do I prevent the Ubuntu installer from altering the EFI partition?04:59
The-FlyI'm doing the grub "hack" to force my ethernet devices to be eth0, eth1, etc , GRUB_CMDLINE_LINUX="net.ifnames=0 biosdevname=0"04:59
alkisgwhile the /boot/grub/grub.cfg goes into the ubuntu partition, and will be updated for the new kernel etc04:59
Quackles....04:59
Quacklesit wasn’t going to be that easy, was it.04:59
QuacklesI’m worried that if grub.cfg is altered, it’ll break the current setup.04:59
QuacklesHow will the installer alter the file?04:59
alkisgQuackles: which part do you want to keep, the efi bootloader, or the grub configuration, and ...why?!04:59
QuacklesBasically, I have it set up so that the following occurs:05:00
The-Flywhat is the "best" practices method of defining which ethernet device is which ?05:00
alkisgThe grub.cfg file contains the kernel version, that part gets updated in every kernel update05:00
alkisgSo it's usually not a big deal to have it updated05:00
Quackles[1] When I start up my computer, GRUB launches and presents me with the choice between Linux and Ubuntu.05:00
Quackles*Windows and Ubuntu.05:00
Quackles[2] If I select Windows, control is transferred to the Windows bootloader, and Windows boots.05:00
Quackles[3] If I select Ubuntu, Ubuntu boots.05:00
alkisgThe-Fly: that disables predictable interface names; if you do want that (why?) then sure the persistent-net is the way to go05:00
QuacklesI want to keep this configuration intact because when I was setting this up...05:01
Quacklesthe windows bootloader became the ‘primary’ and GRUB became the ‘secondary’ somehow.05:01
alkisgQuackles: so far, that's the "default ubuntu grub setup", no configuration is necessary for this05:01
QuacklesI had to do a good number of terminal commands to bail it out of that situation.05:01
QuacklesSo I want to avoid a repeat of that.05:01
alkisgQuackles: nah, that was done by windows updates or by the uefi firmware when uuids change05:02
alkisgQuackles: it's not done by grub nor linux05:02
QuacklesI might have installed Windows after Linux...05:02
alkisgThat would do it, yes05:02
alkisgSo you can just install linux with the default options, you don't need to worry about that happening again  from the linux side05:02
alkisgNow a future windows update might decide to do it once more, but you can't prevent that :D05:03
alkisgQuackles: BUT note that you can press f12 and select linux, while it boots05:03
QuacklesThe computer’s air gapped, so I’m not worried about windows updates.05:04
alkisgOr go into the uefi/bios settings and choose "ubuntu first"05:04
alkisgYou don't need to run any terminal commands to change it05:04
alkisgThe terminal commands are required for BIOS, not for UEFI05:04
QuacklesYeah, the UEFI settings have, in this order: [Ubuntu-GRUB] => [Ubuntu] => [windows boot manager]05:04
alkisgBut when windows gets installed, it changes that order05:04
alkisgSo you need to go to the firmware and put it back05:04
QuacklesGot it.05:05
QuacklesThanks.05:05
alkisgnp05:05
alkisgYou could also revive your linux installation from within windows, but that's more advanced :D05:06
Quacklesalkisg: say what now05:06
alkisgHehe, you can either mount the ext4 partition under windows and examine what goes wrong, or better yet, install virtualbox, boot the linux partition as a vm under linux, fix it, then reboot to it05:07
alkisgBut it's advanced; it would be a lot easier with a live cd05:07
QuacklesThere’s nothing wrong with the disco installation afaik05:07
alkisg*as a vm under windows05:07
QuacklesI just can’t do software updates from it XD05:07
alkisgI thought ssh wasn't starting, ok05:07
QuacklesI think someone else had the ssh problems.05:07
alkisgSorry, I misread. Well, that's also fixable05:08
QuacklesYeah, the no software updates being because it’s Disco05:08
QuacklesI just need to install a LTS version over it and hey presto05:08
alkisgYou want to update to eoan, then focal, or just install something into the existing disco?05:08
QuacklesI want to update to latest LTS.05:08
alkisgOK, go for it then :)05:08
QuacklesAnd you’ve already allayed my concerns.05:08
alkisg👍️05:09
=== Hobbyboy|BNC is now known as Hobbyboy
=== teward is now known as Guest466
=== vquicksilver is now known as Guest5599
arhHello people. My region was on a country in Middle East and I changed the format to U.S. Now in top bar everything is correct but in lock screen it's still (format) on my region in Middle East.05:24
=== wode is now known as wodes
Ascavasaion"E: Unable to correct problems, you have held broken packages." Can someone please help me. I have tried apt-get clean, apt-get update, apt-get upgrade, apt-get purch, apt-get cleanup, and they all run perfectly, but do not correct the error. It also says that I have dependencies that are unmet. I have tried installing them individually and same errors for them as well. I suspect it is because I am running it on an old06:56
AscavasaionRaspberry Pi with armhf architecture... could someone pelase advise. ps. There is no reply when I ask Qs in #taspberrypi :-)06:56
Ascavasaion#raspberry pi comment was because I aske don Freenode and is re the Raspberry Pi channel on Freenode.06:57
alkisgAscavasaion: which distribution and version are you running? Also, put the whole output of `sudo apt full-upgrade` in pastebin07:03
Ascavasaionalkisg, https://pastebin.com/M9EfwgCW07:08
alkisgAscavasaion: do the command that shows the problem, and put the whole terminal output to pastebin07:09
Ascavasaionalkisg, I ran the original command and then ran a version I came acorss onine and it seemed to show that armhf is the issue, but I may be wrong... they are both here... https://pastebin.com/C9eHVUG707:14
alkisgAscavasaion: can you upload the output of `apt policy cups` to pastebin?07:15
Ascavasaionalkisg, https://pastebin.com/Lp6Y34bi <= apt policy cups07:16
alkisgAscavasaion: that's raspbian, it can't be supported here, you need to ask in the #raspberrypi channel07:17
Ascavasaionalkisg, I know... nobody answers in there, so I came here to find out if it was a Linux issue.07:17
Ascavasaionalkisg, Thanks anyway... appreciate your looking into it for me07:18
alkisgNo it's a raspbian issue with the packages either in the repositories or in your installation07:18
Ascavasaionalkisg, Aaaah, okay... thansk you very much.07:19
Ascavasaionthank I mean hhe07:19
alkisgAscavasaion: if you're using "matrix", there's also a raspberry pi channel there07:20
alkisgThere's a web page for chatting on matrix available somewhere...07:21
Ascavasaionalkisg, Much appreciated, thank you07:22
ducasseAscavasaion: you can try 'sudo apt install -f' to see if that fixes your issue, but read the output before you let it proceed07:24
=== EriC^ is now known as EriC^^
=== bob is now known as bob2
bob2is it possible to connect to windows shares with ubuntu?08:18
Ascavasaionbob2, Definitely... try #samba maybe? It works really nicely.08:20
bob2it does not support this kind of notation? \\PC-2-HOME\C$08:22
bob2backslash is forward slash?08:22
bob2looks like i have to prefix it with smb as well08:23
toddcbob2: yes08:24
kylind08:28
bob2great! i'm copying some files now08:29
bob2is there a way to make this connected share a permanent resident on my ubuntu desktop or something like that?08:29
bob2like a mapped hard drive08:29
toddcI belive it is easy but I have not done that I would need to google auto mount network share should lead you to good results08:31
bob2never mind, i found the "add bookmark" option in file manager, this will do, perhaps it's even better08:32
Ascavasaionducasse, This line fixed it. I deleted the existing repository entry and added this... deb http://mirrordirector.raspbian.org/raspbian/ jessie main contrib non-free rpi08:38
Ascavasaionalkisg, See above. You were correct... something wrong with the repository I was using. Maybe it never had armhf sources?  I honestly do not know, but CUPS is installed. thank you for your help... your telling me that the fault was with the repositories got me to look there. thank you.08:39
alkisgAscavasaion: eeeeh, do note that you put jessie while you have stretch08:40
alkisgThis isn't an appropriate solution, it's like telling windows 7 to use the windows xp updates :D08:40
Ascavasaionalkisg, EEK! Yes, sorry...I did change it... I cut this from the site where I got the line. Well spotted.08:40
alkisgCome to the matrix rasbperry pi channel if you need more help with this, I'm there08:40
alkisgAh ok08:40
alkisgNice, well done!08:40
Ascavasaionalkisg, I thought I have buster?08:41
AscavasaionOops... now I am indeed confused HAHA08:41
alkisgHaha08:41
alkisgLet me re-read your paste08:41
alkisg        500 http://mirror.aarnet.edu.au/pub/raspbian/raspbian stretch/main armhf Packages08:42
alkisgYup, that's "stretch/main"08:42
AscavasaionOkies, let me change that.08:42
alkisgIt's the older distribution; buster is the current one08:42
alkisgYou can't just change the sources :D It'll break things!08:42
alkisgPaste this:08:42
alkisgcat /etc/os-release08:42
AscavasaionOh08:42
alkisg(or just read it)08:42
alkisgIf it says stretch, you're supposed to keep using stretch until you properly upgrade08:43
Ascavasaionalkisg, Says buster... PRETTY_NAME="Raspbian GNU/Linux 10 (buster)"08:43
alkisgAnd the output of `uname -a` ?08:44
Ascavasaionalkisg, Linux mirkwood 5.10.17+ #1421 Thu May 27 13:58:02 BST 2021 armv6l GNU/Linux08:44
alkisgOK. So I guess the initial problem was that you had a bad stretch entry in your sources list08:45
alkisgSo when you replaced it with buster, everything was fixed08:45
Ascavasaionalkisg, It looks like it... whoop08:45
alkisgWhich rpi is that? E.g. rpi2, 3, 4?08:45
Ascavasaionalkisg, Its an ancient thing... I want to try and use it on a USB-only printer, to make it a "netowkr" printer.08:46
alkisgAh ok, sure, nice idea08:46
alkisgUpload this if you want: (free; cat /proc/cpuinfo) | nc termbin.com 999908:47
alkisgIt'll tell us your ram and cpu08:47
Ascavasaionalkisg, If I was to guess from a quick look at baord pictures online... Raspbery Pi B08:47
alkisg512 RAM?08:47
bob2i can't play a TS video file in ubuntu. video player says mpeg-2 video decoder, teletext decoder are required to play the file, but not installed. i found it in ubuntu software catalog and installed gstreamer "bad" but it's still not playing08:48
bob2ok it plays the audio but not video08:49
Ascavasaionalkisg, https://termbin.com/etoc08:50
bob2i click the file and i get the same error about mpeg-2 video decoder, then i click cancel, and then press play and it plays anyway but only audio. rebooting did not help. how do i get it to play everything?08:50
alkisgAscavasaion: indeed, rpib with 512 RAM, armv6l is the best you can do, you have the "correct" distribution/version08:51
Ascavasaionalkisg, I have a RPi4 with 8Gb here as well... but for priner I think theold one should suffice08:51
Ascavasaionprinter I mean.08:51
alkisgSure08:51
Ascavasaionalkisg, Thank you once again... really appreciate you help.08:53
alkisg👍️08:54
bob2ubuntu software app has no capacity to let me know that installation is in progress for snap packages?08:55
bob2i tried to click to install again because nothing was happening, and it gave me an error and some message about status change or whatever08:56
bob2it turns out it was in progress of installing and now it's installed. i was installing vlc08:57
bob2ok vlc can play my TS file, but the experience is horrible, in fullscreen i can't touch the trackpad without having the picture flicker, blackout and come back again, and play controls move up and down09:03
bob2in windowed mode my mouse cursor is maybe 5 pixels wide, and as i hover over the vlc window it shrinks to 1 pixel sized cursor. maybe it's a resolution problem? scaling? dpi? nvidia?09:05
toddcbob2: check for addl drivers ubuntu only uses open source you have a better video driver that can be added from the addl drivers menu09:05
bob2i have nvidia (experimental?) drivers enabled09:06
toddcmay have09:06
toddcI use tested/recommended09:06
pasizbob2: what display adapter you are using09:07
bob2gpu? nvidia geforce 940m09:11
pasizso maxwell it is. Is your driver version 455.50.1909:12
bob2someone on this channel helped me enable proprietary nvidia drivers using some command line (there was a link to some blog post) because i was seeing a 10% to 20% cpu use in idle mode and the pc was crap at playing youtube videos09:12
bob2i could not enable fractional scaling like 125%09:13
pasizthen those are not compatible with your card09:13
pasizand falling back09:13
bob2how to check current driver version?09:14
bob2460.84-0ubuntu0.20.04.109:15
bob2is this experimental then?09:16
bob2i used this command: sudo add-apt-repository ppa:graphics-drivers/ppa09:17
bob2under software & updates, additional drivers, i have "nvidia driver metapackage from nvidia-driver-460 (proprietary)" selected.09:21
bob2other options include 390 and 465. should i change something here so i can play my TS video?09:21
pasiz460.84 should contain matrix 1 gen devices like 940M09:29
pasizyou could check your gpu-manager log on "/var/log/gpu-manager.log"09:31
pasizand see what gpu-manager sees09:31
bob2what's the lowest version i can use that's compatible with 940m?09:39
pasizdid you see the log09:39
bob2i see the log, but what am i looking for?09:41
bob2log exists and contains a lot of info.09:42
bob2"Device name: GeForce 940M" for example09:42
bob2"Has intel? yes" "Has nvidia? yes"09:43
pasizit is matrix gen 109:45
pasizthat we know, but what mode your card is running09:45
bob2is that something i can grep onto?09:49
bob2there is no mention of "matrix"09:50
pasizmatrix is codename for nvidia series09:50
pasizbut is your driver running on nvidia or intel mode09:51
bob2ok so i will not find "matrix" in the log09:53
bob2how to determine then what mode it's in from this log?09:53
bob2"Intel IGP detected"09:53
bob2"NVIDIA hybrid system"09:54
bob2is that of any interest?09:54
bob2Found "/dev/dri/card0", driven by "i915"09:55
pasizso you are in intel mode09:56
pasizbob2: open nvidia-settings and set prime profile to nvidia09:57
=== war is now known as Guest2332
pasizor "sudo prime-select nvidia"09:57
bob2do you mean "NVIDIA X Server Settings" gui?09:59
bob2and the "PRIME Profiles" ?09:59
pasizyes09:59
pasizthere you select nvidia09:59
pasizdoes it change mode?09:59
bob2it's already set to "NVIDIA (Performance Mode)"09:59
pasizso you should then be running in nvidia mode10:00
bob2ok i think the blog post on fractional scaling said there is a bug in ubuntu and that i have to use this mode specifically, in spite of more power consumption, so i set it to "performance mode"10:01
bob2othewise "NVIDIA On-Demand" is to prefer i think10:01
bob2but then fractional scaling doesn't work...10:01
pasizyes10:02
pasizor it works with intel too, but if you need performance, then nvidia10:02
bob2so... what mode am i in then? intel (what the log says)? or nvidia (what the nvidia x server setting gui says)?10:03
bob2system should ideally switch automatically between intel and nvidia, and fractional scaling should just work10:04
pasizit doesn't work very well on all graphics cards10:05
bob2the whole reason i enabled nvidia proprietary driver is because the system was idling at 10% cpu use, and watching youtube in chrome caused 90% cpu use10:05
pasizbut with "prime-select query" you see what is your settings10:06
bob2ok10:06
pasizit's software rendering that causes that10:06
bob2prime-select query says nvidia10:07
bob2so the log is wrong then?10:08
bob2"Found "/dev/dri/card0", driven by "i915""10:08
bob2log said i915 which is intel?10:09
bob2hm... why did i look at the log if "prime-select query" can tell me what i need to know?10:09
pasizit tells you only choice, not used driver10:10
bob2i give up on this. sorry. i could have seen the first 4 minute of interest of this 18 minute video clip 21 times in 1 hour and 24 minutes that i have been beating ubuntu to play it for me, or the entire 18 minutes length 4 times over10:15
pasizwhat ubuntu version you are using?10:16
bob2ubuntu 20.0410:21
pasizdo you see nouveau on your gpu manager log?10:24
bob2i have uninstalled vlc. it can play my video file (mpeg-2 from a dvd) but it's not well suited for my setup10:26
bob2i did see a mention like that yes10:26
pasizso now the nouveau is working in nvidia driver10:27
pasizyou need to blacklist that or change to intel to get smooth video playback10:27
bob2"Is nouveau loaded? no"10:27
bob2"Is nouveau blacklisted? yes"10:28
bob2this is what log says10:28
pasizah, then it should be correct10:28
bob2why is gstreamer not helpful in playing my video file? i have installed it, but it can't help me play in default video player.10:29
bob2it only managed to play the audio from the video file, and only after i click "cancel" when it displays the error about mpeg-2 decoder, and after installing gstreamer and pressing space to play10:30
bob2why is gstreamer not listed under "Installed" tab in ubuntu software app? i have installed it alright... using ubuntu software app. i would like to remove it now.10:34
bob2if i do a search for "gstreamer" in ubuntu software app i can find the ""bad" set" in the results, so i can click it and then remove. plus i see a number of other gstreamer items in the list that i did not install.10:35
bob2they all have a green puzzle piece icon. they are addons? and for that reason they don't show in "Installed" tab?10:36
=== Guest3692 is now known as Ganberox
GanberoxHello10:38
GanberoxI'm stuck with a blank screen on the ubuntu 20.04 welcome screen, I'm trying to reboot blindly10:39
pasizhello10:39
bob2heh... i installed the "ugly set" now and now i can play my video file... with picture... but now no audio... go figure!10:39
GanberoxI don't know the GUI pattern to shut/reboot, perhaps someone knows the way to do it with shell?10:40
TomyWorkshutdown -h now10:40
GanberoxI hit Ctrl+alt+del once, not sure what it did10:40
bob2i'm done banging my head against the wall for this day10:40
TomyWorkbut you'd need sudo for that10:40
GanberoxWouldn't shutdown -h be  written into the password field unless I do something first?10:40
TomyWorkoh you're not logged in10:41
GanberoxYup10:41
TomyWorkwell you could try sysrq10:41
GanberoxI do have that enabled fully yes, but I was hoping to get it done the usual way if possible10:41
TomyWorkREIBUS is the magic word :)10:42
TomyWorksorry, REISUB10:42
GanberoxHappens sometimes if monitor's not connected/swapped, not sure why it's just the way outputs from mobo work sometimes they don't re-feed the signal if they don't detect anything10:42
TomyWorkbenq monitor?10:42
GanberoxAsus10:42
TomyWorkhmm10:42
GanberoxI'm not sure if it's the monitor or the PC, but it can happen with any PC I've have10:43
TomyWorkwell my benq (and i hear that's a common benq problem) sometimes doesn't work until i cut power to it, flush the capacitors and restore power10:43
TomyWorkso, try that, maybe?10:43
GanberoxUsually I have BIOS set up to "Continue POST until press ESC" for such an other cases, I do dual boots (technically I do boot device swapping now only) and I really don't like it when bios boots straight into automatically selected boot  device, so this option has been an absolute blessing10:45
GanberoxThat computer that has Ubuntu, is an older one without this BIOS option10:45
GanberoxOtherwise I'd just hit the power  button and there be no issue (but I think the storage disks would still log the SMART "unexpected power failure" event, even tho it most is zero chance of any data corruption, I hope)10:46
TomyWorksounds like something you could solve using grub10:46
TomyWorkor whatever boot manager you're using10:46
GanberoxI think it's the default one, I made no changes there.10:47
TomyWorkyeah just remove the default option or set the timeout ridiculously high10:47
GanberoxOh, I didn't even had the idea of looking into that, that's a great advice, thanks, I haven't explored linux so much yet as I'm only getting serious with it for the past 1-2 years (way late than I was planning)10:47
TomyWorkI have a question of my own, btw: I'm on kubuntu 18.04, and I think NetworkManager calls the shots with regards to DNS on my system and I think it gets the DNS server from the DHCP server on my VPN. Is it possible to have all name lookups go through either that DNS server (if it matches a certain domains) or my LAN interface's DNS server (both DNS servers have fixed IPs that I could hardcode if need be)10:47
TomyWorki know it's possible if i install extra software, like dnsmasq, but i was wondering if it is possible without any extra software10:48
GanberoxNot sure if this fits the bill, but you coud look at https://diversion.ch10:54
GanberoxBut you need specific hardware for that.10:55
pasizwhy not dns blocking10:56
TomyWorkwhat is dns blocking10:57
pasizlike blacklists published that removes ads and malware10:58
pasizor use some ad blocking public dns10:58
TomyWorkthat's not my aim10:58
TomyWorkand no, i dont want to use some fishy dns10:58
TomyWorklike, hell no10:59
holgerssonTomyWork: You can use dnsmasq with Networkmanager (maybe it's even the default for query caching).10:59
holgerssonTomyWork: dnsmasq in turn can configure DNS resolvers per domain, about the interface I'm not sure though.10:59
TomyWorkholgersson, right now the nm-generated resolv.conf sends queries directly to the vpn dns11:00
TomyWorki.e. there is no dnsmasq11:01
holgerssonTomyWork: OK, then you need to enable it yourself like in this example: https://www.jujens.eu/posts/en/2018/Sep/08/NetworkManager-dnsmasq/11:02
holgerssonsure, it's only for static ad blocking, ignore that ;-)11:02
pasizholgersson: oh, ok. i answered to your post without noticing TomyWork guestion11:03
holgerssonpasiz: unlikely :D11:03
pasizTomyWork: you could add search <domain1.tld> <domain2.tld> etc after nameserver on /etc/systemd/resolved.conf11:05
pasizso you specify your vpn nameserver first. after that your lan server and under that you put search domain you want to use the other dns11:06
pasizsee man resolved.conf11:06
pasizi think that is what you are looking for11:08
thyriaenGenerally, advice coming from people on IRC should be treated like it's coming from a madman screaming at people on the street as they pass him by.11:11
pasizyes, you could grab something, never believe blindly11:13
thyriaenor grep it11:13
pasizhard to grep screaming....11:14
pasizwish i could11:14
pasizactive and selective noise cancellation with speech recognition isn't built in on my ears...11:15
thyriaenwell now you know what to which for from your next gene therapy11:15
holgerssonthat's right11:16
pasizi think my second cloning i add some better features11:17
holgerssonTomyWork: Basically you will need 'server=/localnet/192.168.0.1'.11:18
holgerssonTomyWork: I uploaded you parts of my config: https://paste.xinu.at/m-jaoiob/11:18
=== MINT_ is now known as mintuser_1
holgerssonTomyWork: I recommend to read man dnsmasq.conf and/or the default configs of dnsmasq in /etc/dnsmasq.conf. IMHO they have pretty good explanations.11:20
holgerssonTomyWork: Last hint: /etc/dnsmasq.conf is *not* read when NetworkManager starts dnsmasq, so don't change things there, but in /etc/Networkmanager/.11:20
praveenhi11:37
napalmHello! I have some problems on 5.4.0-77-generic with my Dell XPS 15. after messing with bumblebee and video drivers I've broke the system suspending and hibernation. On systemctl suspens/hibernate the screen goes black for 15 seconds, and then it shows new login screen. After logging in it seemingly starts new session and on power off it kills this session, and shows login screen again. I've retraced all steps I did since last time hibernation/suspending11:53
napalmworked, and tried to change it back, but it didn't help. Can anyone try to help me please?11:54
mhaabyHi11:54
mhaabynapalm isn't there a backup that you can access?11:55
mhaabyor maybe you didn't backup11:55
napalmNope =( I didn't expect that installation of bumblebee can mess it up this heavily and apt purge won't help11:56
mhaabywell.. unfortunately that's all I can think of as I'm a Linux rookie11:57
mhaabySaw this chat and thought i'd try it out. I'm surprised how many people use it!11:58
sixwheel-napalm: 5.4 is the kernal version not ubuntu version11:58
sixwheel-!yy.mm11:58
ubottuUbuntu version numbers are: YY.MM (YY=release year,MM=release month). Each year sees two releases, so just specifying YY is imprecise. See also https://www.ubuntu.com/about/release-cycle11:58
napalmI'm using Ubuntu 20.0411:58
sixwheel-!nomodeset11:58
ubottuSystems with certain graphics chipsets may not boot properly out of the box. "Temporarily Add a Kernel Boot Parameter for Testing" as discussed at https://wiki.ubuntu.com/Kernel/KernelBootParameters to add the "nomodeset" parameter there.11:58
sixwheel-may help11:58
napalmIn general it works okay, but I'm seeing this strange change of behavior only when trying to suspend or hibernate the system12:00
mhaabyI'm gonna get shuteye.. got a problem to resolve and I'll hit this up another time. Have a good night folks12:00
mhaabyer morning12:00
sibang???12:03
sibang???/12:03
sibang没人??12:03
=== ybaumy3 is now known as ybaumy
BluesKajHi all12:22
mintuser_1quir12:31
mintuser_1quit12:31
BinarySaviorhi i'm trying to use xdotool to type "test" into a gedit window without activating the window, here is my command: https://paste.ubuntu.com/p/G324Tw55DX/12:36
BinarySaviorbut for some reason it's typing into my terminal instead of gedit12:37
rapid16Anyone know the default MariaDB root password when installed via WSL?12:41
rapid16Or just the default MariaDB root password12:42
rbasak_rapid16: I suspect it just uses Unix domain socket authentication by default. I'm not sure though.12:48
rbasak_(so no password, just be root when you try to connect)12:48
=== rbasak_ is now known as rbasak
rapid16Oh yeah. I asked this same question several days ago. Thanks12:52
rapid16Sorry, memory troubles12:53
rapid16I'm trying to setup Ubuntu WSL so I don't have to use dual-boot12:53
rapid16I want to target Microsoft technologies as well as PHP/mySQL12:53
rapid16I'm bored with PHP, but it is still the one I know best12:54
rapid16I don't know it all that well, but I need something new12:54
webchat59hi13:00
webchat59can anyone help me13:00
webchat59because I want to install from snap but it says "(snap "chromium" assumes unsupported features: snapd2.43 (try to update snapd and refresh the core snap))13:01
webchat59"13:01
webchat59and "sudo snap refresh snapd13:01
webchat59snap "snapd" has no updates available13:01
webchat59"13:01
webchat59so idk13:01
webchat59what to do13:01
webchat59anyone here?13:02
webchat59ok this is fake13:03
oerhekswebchat59, just run proper updates ; sudo apt update && sudo apt dist-upgrade # and maybe a reboot is nessassary13:04
oerheks..13:04
rapid16join #csharp13:04
shoobieI am trying to install ubuntu, from usb, onto an SSD partitioned at sde that I'll dedicate entirely to ubuntu.  Currently, I have debian installed on my sde partition.  I didn't want to overwrite or format the debian partition because I want to gradually migrate necessary files and format/re-use that space later.  I also would like to be able to dual boot between ubuntu and debian until I uninstall debian.  With this given, I don't know what needs to be13:07
shoobiedone with respects to MBRs and with respects to custom partitioning during ubuntu installation.13:07
oerheksshoobie, ubuntu uses standard 1 partition now, with a swapFILE instead of partition, pretty straight forward13:08
shoobieI'm going to screw something up and not be able to boot to any operating system if I do this installation wrong, so I'm looking for concrete instruction.  I want to be able to dual boot ubuntu and debian.  What's the setup to do that?  As for partitioning, it seems like I can just set up a single partition for ubuntu and be done with it?13:10
oerheksi guess any install damaged can be repaired with a live iso..13:13
oerheksjust make a backup of your precious data, and have fun!13:13
=== yano1 is now known as yano
alkisgshoobie: as long as you don't select "wipe my disk and install ubuntu", it'll be ok :D13:30
alkisgIt should autodetect debian and offer you to install ubuntu side-by-side13:30
alkisgIs it UEFI/GPT or BIOS/MBR?13:30
flingWhere to get the list of patches applied to zfs 0.8.3?13:59
pasizfling: do you mean openzfs14:00
flingpasiz: yes14:01
oerhekshttps://launchpad.net/ubuntu/+source/zfs-linux/+changelog14:01
pasizhttps://github.com/openzfs/zfs14:01
pasizeasier to see patches on version control than changelog14:01
oerheksindeed, https://github.com/openzfs/zfs/releases/tag/zfs-0.8.314:03
flingI know what is in the release, I'm only interested in whatever ubuntu patches on top of it.14:06
BluesKajhey oerheks, what's the advantage of turning the compositor off with a nvidia970 gpu or any decent gpu? Personally I don't get it, why bother if your pc/laptop has decent enough specs to run with the compositor turned on14:07
BluesKaj?14:07
oerheksBluesKaj, me neither..14:07
BluesKajright ;-)14:08
pasizfling: could you elaborate, what you are searching?14:09
flingzfs --version says14:12
flingzfs-0.8.3-1ubuntu12.914:12
flingzfs-kmod-0.8.3-1ubuntu12.114:12
flingpasiz: searching for the patches ubuntu applying on top of 0.8.3 release :>14:13
flingthere should be atleast 5.8 compat14:14
flingand a bunch of other stuff atleast for the module14:14
=== stwalker1ter is now known as stw
oerhekshttps://launchpadlibrarian.net/543195076/zfs-linux_0.8.3-1ubuntu12.9_0.8.3-1ubuntu12.10.diff.gz14:16
oerheksif you can read the patches, sure you can find this data..14:17
pasizor changelog: http://changelogs.ubuntu.com/changelogs/pool/main/z/zfs-linux/zfs-linux_0.8.3-1ubuntu12.9/changelog14:17
=== genii-core is now known as genii
TJ-or the code itself: https://git.launchpad.net/ubuntu/+source/zfs-linux/tree/debian/patches/series?h=ubuntu/focal-security&id=a38d562ac03e226a5226d155145c6ebbf8d8900714:19
Daulityhey all14:21
DaulityI am having issues with the way text is displayed on a youtube webpage i inspected the element it says it choose Roboto for the rendering but the spacing is way off at places14:22
oerheks:-)14:22
Daulityhere is an example image https://imgur.com/a/wkDbq0L14:22
Daulitylike in the word "as" for example14:22
Daulityrunning KDE Plasma on Kubuntu14:22
oerheksDaulity, and which browser?14:23
Daulityfirefox14:23
composite_higgsI'm running "Ubuntu 20.04.2 LTS" and I can't make my touchpad behave w/ X11. If I start Gnome under Wayland all the settings are respected.14:25
composite_higgsBut starting under X11 the touchpad works but all the configuration I do to lower its sensitivity or enable palm detection (or even disable the touchpad while typing) seems to have no effect.14:26
composite_higgsIt makes it almost unusable in X11 but I Wayland has some issues which prevent me from using it. In particular, I can't record my screen with ffmpeg14:26
nuala( TIL: gedit right click's menu has a nifty insert emoji option 😲️❕️ )14:29
flingoerheks: is there a respository with this?14:33
flingI see too many patches14:34
TomyWorkcomposite_higgs, can you record your screen with OBS?14:44
TomyWorkon wayland, i mean14:44
composite_higgs@TomyWork I don't think I can.14:48
composite_higgsHow useful would it be to find out?14:48
pasizfling: what you are trying to achieve14:52
TomyWorkcomposite_higgs, maybe if you can record your screen with obs, you won't need to record your screen with ffmpeg?14:53
TomyWorkif you've never used obs, don't ask me for super advanced shit, but i can help you through the basics15:00
composite_higgs@TomyWork - I've got a bit automated workflow thing going on with ffmpeg15:10
composite_higgsHow easy is obs to operate from the command line15:10
composite_higgsI investigated obs a bit at first but it seemed like it was not going to be easy to automate stuff with it.15:10
TomyWorkI've never tried automating it, so i dont know15:18
TomyWorkhavent had a use case for recording my screen automatically :)15:18
flingpasiz: like immediately? Want to get the list of patches ;D15:18
flingpasiz: probably going to try figuring out which one of them might be causing an issue15:19
TomyWorkhttps://obsproject.com/wiki/Launch-Parameters it does have some command line parameters15:19
Guest49Hello All!15:19
flinghopefully without a bisect15:19
flingpasiz: also want to know which compat patches are getting merged from upstream15:19
Guest49Can you please review a patch for the 5.8 lts kernel ? https://github.com/torvalds/linux/commit/f5dc93b7875bcb8be77baa792cc9432aaf65365b#diff-7b3b27af128e730c0b4fa4cc2d7413f04a314406b79de0593238681528b88ff4  Maybe it could be added to the current kernel ? It fixes a very frustrating bug15:20
ubottuCommit f5dc93b in torvalds/linux "HID: sony: Workaround for DS4 dongle hotplug kernel crash."15:20
oerheks<fling> I see too many patches .. really?15:20
flingYes, I would like to see git log instead15:21
TomyWorkGuest49, this is #ubuntu. the correct place to submit kernel patches is the linux kernel mailing list15:21
oerheksfling, i think you already have that answer, TJ gave you ?15:21
Guest49TomyWork It's already merged to the mainline kernel from version 5.11. But  for Ubuntu LTS kernels is not available15:22
lotuspsychjeGuest49: or #ubuntu-kernel15:22
Guest49Okay, thanks15:22
TomyWorkyeah in this case #ubuntu-kernel15:22
flingoh I missed it, sorry15:22
flingTJ-: thanks15:22
TomyWorki thought you meant "review the patch" as in "review the patch"15:22
TomyWorknot as in "review your decision not to include this patch"15:23
donofriowhat does ubuntu use to signify a reboot (what file  is created?)15:23
TomyWorkdonofrio, why would a file be created?15:23
oerheksdonofrio, /var/run/reboot-required ?15:24
TomyWork /proc's mtime should be at boot, if that is what you wanna know.15:25
donofrioI dunno, I'm trying to upgrade from 18.04 to 20.04 using do-release-upgrade and it keeps saying "you have not rebooted after an update..." in my usermode install15:25
TomyWorkah, should have lead with that15:25
oerheksdonofrio,  this file /var/run/reboot-required .. so, reboot15:25
TomyWorkyeah /var/run should be on a tmpfs, i.e. it's toast after rebooting15:26
donofrioI mv'ed the file but it still says a reboot is needed15:27
TomyWorkreboot, then15:27
TomyWorkdonofrio, if a reboot doesn't fix it, check if that file is indeed on a tmpfs15:27
Mat1010Hello. What program can I use to scan documents for malicious programs?15:28
TomyWorkalso not sure what you mean by usermode install. I assume it still kills tmpfs on reboot15:28
oerheksdonofrio, so you don't want to reboot?15:28
oerhekswhy?15:28
donofrioI have no reboot when I try sudo reboot I just get "System has not been botted with systemd as init system (PID 1) Can't operate. Failed to talk to init deamon15:28
TomyWorkMat1010, there is no such thing. that is mathematically impossible due to the halting problem. everyone who claims to do so is lying to you.15:28
oerheksso, you have an ancient linux ..15:29
oerhekslolz15:29
TomyWorkMat1010, all you can do is scan for known signatures of known malicious software15:29
=== javi404_ is now known as javi404
=== Guest466 is now known as teward
donofriooerheks, no I have Ubuntu 18.0415:29
Mat1010What are the steps for the file system check?15:31
TomyWorkMat1010, did you take in what I said?15:32
oerhekshttps://help.ubuntu.com/community/FilesystemTroubleshooting15:33
TomyWorkcause it seems like someone told you "you need antivirus" and you just took that at face value15:33
Mat1010Yes, for the documents yes. And then it shifts the focus to the file system of the operating system. Maybe I was not clear.15:33
oerheks!antivirus15:33
ubottuAn "antivirus" is primarily a concept from the Windows ecosystem and usually a program like that is not needed on Linux because the threat model is different. Malware on Linux does exist, however. Google up "rkhunter" and "linux intrusion detection systems". Also look up !clamav15:33
TomyWorkMat1010, what do you want to check the file system for?15:34
Mat1010Practice checking forms and see if there is modification15:35
TomyWorkwhat15:35
oerheksTomyWork, let him use the urls i spawned..15:36
Mat1010Static file checksum15:36
Mat1010It seems like a simple practice15:37
TomyWorkext4 does not have block- or file-level checksumming15:37
Mat1010I would like to know how to do it15:37
TomyWorkso if you're using that, you'd need a more advanced file system15:37
TomyWorkMat1010, which file system are you using?15:37
Mat1010ext4 creo15:38
TomyWorkcreo?15:39
Apachezanyone else who noticed that with 21.04 who defaults to wayland the colors for red and blue are oversatured even if you use an icc profile along with setting the monitor to sRGB mode? The same profile and sRGB mode is NOT oversaturated when using xorg in 21.04... any hints how to fix this (other than getting incorrect settings in the monitor to compensate for the incorrect color output of wayland)?15:39
Mat1010When I installed ubuntu let the program do it, but I don't remember which system formatted the disk. Now I'm going to install and see what it does15:40
TomyWorkMat1010, anyway, what you need to know about ext4 is, while files and blocks aren't checksummed (meaning there is no way to tell if they have been corrupted), the structures of the file system itself are journaled, meaning if your system doesn't shut down properly, the system will scan the disk and be able to correct errors to some degree. most distros are also set up to automatically scan every now and then.15:41
TomyWorkMat1010, just run df. it'll show you the file system of each partition15:42
donofrioTomyWork, so do I clear out the whole /var/run directory?15:42
TomyWorkdonofrio, what why15:42
cbreakMat1010: if you don't want modification, just set your files to be read only15:42
cbreakor mount your filesystem to be read only, if you can make that determination15:42
Mat1010It's a good idea15:43
donofrioTomyWork, to simulate a reboot15:43
TomyWorkdonofrio, why would you simulate a reboot? just reboot15:43
cbreakif you want to identify maliciousness, then good luck, this is an unsolved problem generally15:43
TomyWorkcbreak, on ext4 anyway15:43
cbreakif you want to be able to detect modifications reliably for any reason, zfs can diff things easily15:44
cbreakbut this will not judge whether a modification is malicious or benign15:44
Mat1010How to differentiate between static files?15:44
donofrioTomyWork, in usermode there seems to be no reboot15:44
cbreakdiff can differentiate15:44
TomyWorkdonofrio, then use a VM15:44
donofriothis is in userland on my note8 (phone)15:45
TomyWorkdonofrio, i havent seen anyone use usermode linux in the last 10 years or so15:45
TomyWorkoh, good luck15:45
oerheksdonofrio, your support question makes no sense...15:45
donofriooerheks, I canoot reboot it seems, exit is not a restart (or at least whatever files reboot removes are still existing)15:46
cbreakrebooting on its own doesn't remove files15:46
TomyWorkMat1010, I'm going to have to tell you that this is frustrating communicating with you. you're using terms that make no sense in that context and you're not familiar with your system, nor seemingly curious enough to do self-directed learning to remedy that.15:47
Mat1010(Maybe it's mutual)15:48
Mat1010:]15:48
TomyWorkthe difference is, I can just shrug and walk away15:48
Mat1010(y)15:48
Mat1010What I say also helps me to keep looking15:49
donofriomy inxi returns - http://paste.ubuntu.com/p/pw7XJnx5zP15:50
donofriothis is what my system looks like - https://paste.opensuse.org/829495115:51
TomyWorkand that's on your phone right now?15:53
donofrioyep15:53
TomyWorkwhy is there an elasticsearch on your phone15:53
donofriothat is an ssh session15:53
TomyWorkoh15:54
TomyWorksays "...alhost: ~"15:54
donofriothis is my phone right now - paste.opensuse.org/1457956815:55
TomyWorki suppose your terminal doesn't detect remote sessions like kde konsole does :)15:56
donofrioI'm using xfce4 fwiw15:57
TomyWorki can only tell it'd not KDE :D15:58
TomyWorkit's*15:58
donofrioyah kde too big overhead to run15:58
TomyWorkit's fine on a desktop. not on a phone i guess :)15:59
donofrioon older desktop it's not an option for me fwiw15:59
TomyWorkwell older desktop = phone16:00
oerheks18.04 xfce .. that is EOL as of April 29, 202116:00
TomyWorkreally?16:00
oerheksso, reboot and do a release upgrade16:00
donofriohence why I'm trying to update to 20.0416:00
oerhekshttps://xubuntu.org/release/18-04/16:01
TomyWorkoerheks, i think they did a release upgrade and restarted the usermode thingy16:01
donofriohow do you reboot usermode?16:03
donofriono systemd/init running16:03
oerheksi am sure systemd is on that system..16:04
TJ-donofrio: UML has "halt" and "reboot" commands that instantly kill the process without clean-up, but that requires the 'mconsole' management console16:04
donofrioTJ-, halt return same output as the paste screenshot shows16:06
TJ-donofrio: from the mconsole?16:06
TomyWorkoerheks, have you ever used the usermode thingy donofrio is using?16:07
jpmhI use ssh to connect to other servers on my LAN.  It seems that others used a reverse shell and netcat.  What is the advantage of the netcat approach other than that I guess I don't need an ssh daemon?  Seems to me that the disadvantage is that I am running with NO security - what am I missing?16:08
oerheksTomyWork, no, he should just reboot the box, or walk over there16:08
TomyWorki don't think they mentioned what they're using, precisely. so I don't think you have a reason to be sure that their system has a systemd running.16:08
oerheksTomyWork, i am sure it does.16:09
TomyWorkoerheks, there is no box. it is linux running in a usermode process16:09
oerhekselse, he is not running ubuntu at all..16:09
donofriono systemd running16:09
donofrioI am running ubuntu see inxi output from paste16:09
TJ-donofrio: check if you've got mconsole with "dmesg | grep mconsole"16:10
TJ-donofrio: if you have, look at the path to the communications socket ("mconsole initialized on some/path/to/socket")16:11
TJ-donofrio: then you can do "uml_mconsole some/path/to/socket" and have access to the management console where you can do 'reboot'16:11
donofriodmesg: read kernel buffer failed: Function not implimented16:11
TJ-ok, so the UML kernel has a limited configuration16:12
TomyWorkoerheks, let's draw a comparison with something I am more familiar with (and hopefully so are you): https://hub.docker.com/_/ubuntu there's this docker image. Suppose you're running a docker container based on that. Are you running ubuntu?16:12
TJ-then the only way is to kill the UMK kernel process on the host (where it is a regular process)16:13
Sven_vBhi! I have a huge file (6 GB) and its first half is obsolete, I'd like to free its disk space. it's on a slow device though. rather than copying the 2nd half, is there a way with Ubuntu focal on ext3 fs to move the start of file position to 3GB and discard the preceeding blocks?16:15
Sven_vBwould I have more luck if I had chosen another (which?) fs?16:17
TomyWorkSven_vB, https://unix.stackexchange.com/questions/198004/how-do-i-punch-a-hole-falloc-fl-punch-hole-in-a-file-from-command-line16:17
TomyWorkthis sounds like it'd work16:17
Sven_vBTomyWork, thanks!16:18
TomyWorki literally googled for "punch holes in a file linux" and it turns out that's exactly what they called this feature :D16:19
Sven_vByeah, it's a clever way to phrase the problem. I wouldn't have come up with that soon.16:20
donofriofwiw - in my "RAW UserLAnd" notes I show that I have to start services manually so what service needs to be running to make reboot work? http://www.tinyurl.com/donofriodexnote816:20
donofriostep #28 shows my manual starting of services16:21
TomyWorkdonofrio, what's your pid 1?16:21
TomyWorkif not systemd16:21
donofriono pid 116:21
TomyWorkso you're telling me that in your UML there is no pid 1?16:21
TomyWorkcan you show me the output of "ps -p 1" to prove that?16:22
TomyWorkI know I sound like oerheks now, but not having a pid 1 is literally impossible16:22
donofriohttp://paste.ubuntu.com/kgz5WqGxDp is when I do ps alone16:23
TomyWork The Paste you are looking for does not currently exist.16:24
donofriohttp://paste.ubuntu.com/p/VdKKJcdXPG16:25
donofriohttp://paste.ubuntu.com/p/kgz5WqGxDp is when I do ps alone16:26
TomyWorkyeah ps alone limits it to your current session16:26
TomyWorkps aux shows all of them16:26
TomyWorksome people prefer ps -ef16:26
donofriohttp://paste.ubuntu.com/p/YN7TwYc5Nx16:27
donofriooutput of ps -efwww16:27
TomyWorksee there is at least a process with ppid 1, meaning its parent has pid 116:27
TomyWorkidk, do you have htop?16:27
TomyWorkit has a nice tree view16:28
donofrioinstalling now16:28
alkisgPut init=/bin/bash, run `opevt bash -l`, then exit the first bash (=pid 1). You'll see:16:29
alkisgkernel panic - not synching: attempted to kill init!16:29
alkisgSo it's really not possible in linux16:29
alkisg*openvt16:29
donofriohttps://paste.opensuse.org/9644469616:32
TomyWorknot very much to see :D16:33
TomyWorkthe tree starts further right16:33
alkisgThat seems like a sandboxed environment, what is it?16:33
TomyWorkyeah that would explain it16:34
TomyWorkthat would mean it's not UML after all16:34
donofrioalkisg, UserLAnd16:34
TomyWorkhttps://userland.tech/ i.e. this16:35
alkisgdonofrio: android apps are sandboxed, yeah16:35
alkisgSo you don't even have access to android's pid 116:35
donofriopstree -p shows http://paste.ubuntu.com/p/Pcg94bvGg916:37
TomyWork?(1)16:38
TomyWorkgood to know pstree is as confused as i am :D16:38
donofriolol16:38
TomyWorkdonofrio, so to conclude: I have no idea what partition layout userland uses, so I have no idea whether even rebooting your phone would help16:43
TomyWorkdoesn't hurt to try16:43
donofriook I'll punt and try that....don't see the connection to host restarting in regards to UML but I'll try it...16:44
TomyWorkdonofrio, it's not UML16:46
TomyWorkUML has its own kernel, UserLAnd does not16:47
donofrioagreed16:47
donofriono joy16:49
TomyWorkreboot didn't help?16:50
alkisgWhat's the problem?16:50
donofriorestarting the note 8 didn't change the fact that the UserLAnd ubuntu session still cannot do-release-upgrade because it thinks I've not rebooted yet16:51
alkisgAnd if you type reboot -f inside it, what happens?16:52
TomyWorknot much, considering there is no system manager16:53
alkisgreboot -f doesn't use the init system16:53
TomyWork+probably16:53
donofriothought that would work but nope16:53
alkisgWhat was the output?16:54
donofrioi mean I was able to run sudo reboot -f here is screenshot - https://paste.opensuse.org/4360552816:55
oerheksso, this 'userland' is bugging you?16:55
alkisgAlso try `sudo poweroff -f`16:56
alkisgAnd if that fails, go to android process settings, and stop userland :)16:56
donofriodid all that with TomyWork16:57
jpmhstill - any ideas of disabling the wifi/bueooth to save energy16:57
jpmh?16:57
TomyWorkjpmh, got a hardware kill switch?16:58
jpmhTomyWork: meaning?16:58
TomyWorkjpmh, do you have a hardware kill switch for your wifi/bueooth?16:58
jpmhTomyWork: - no - and wouldn't that require cutting a trace on the PiZeroW board ?16:59
jpmhTomyWork: anyway, I do NOT want the user to have to  flip a switch16:59
alkisgsudo rfkill list17:00
alkisgIt's similar, but in software17:00
oerheks rfkill list # gives a list # sudo rfkill block <number>17:00
alkisgAh nevermind, an easier way: just unload the whole wifi module :D17:01
alkisgThen you can re-load it on demand17:01
TomyWorkjpmh, first time you mention a user that is not yourself17:02
TomyWorkyeah i was gonna suggest rfkill next17:02
jpmhTomyWork: even if the user was me - I don't want to be toggling switches - as I said at the start, I need to enable and disable - in the case of the HDMI I can live with plugging and unpluggging the cable since it will be VERY rare that I need that.  In the case of the wifi, not the case, sadly17:03
TomyWorkalkisg, rfkill is probably the preferred way of doing this, though. some software might try to be nice and load the module for you17:03
jpmhTomyWork: either way - is the kill that you are suggesing possible without cutting a trace?17:04
TomyWorkjpmh, a switch on the side of my laptop is a very convenient way of disabling wifi. you never mentioned that it's a pi tucked in some cabinet or something, or anything that would make operating a switch inconvenient.17:04
TomyWorkrfkill is what you want17:05
TomyWorkrfkill - tool for enabling and disabling wireless devices17:05
jpmhTomyWork: YEP - TY - rfkill does look like EXACTLY what I need there - but will it actuually stop the powre consumption or just disable access?17:06
TomyWorki think that depends on your hardware17:07
alkisghttps://raspberrypi.stackexchange.com/questions/43720/disable-wifi-wlan0-on-pi-317:08
alkisgThere are 3 options, completely disable the hardware (requires reboot), or rfkill, or module loading/unloading17:08
alkisgrfkill keeps the device around, the others not17:08
TomyWorkmodule unloading powers down the device?17:09
alkisgWith the same options you can also disable blujetooth17:09
alkisgThe device doesn't show up at all in lsusb or ip a anymore. I don't know which ones of them are better for power management17:10
jpmhTomyWork: HW is a pizerW.  And, I just tried: rfkill block Bluetooth and it tells me rfkill: invalid identifier: hci0 - while list does show it as hci0.  I also tried Bluetooth, and received the same error.  What am I not understanding about rfkill - the man page seems to say that is what I should be doing?17:11
TomyWorkjpmh, it wants an id or type17:13
TomyWorkrfkill -J shows you which of the identifiers is the id and type17:13
jpmhTomyWork: and when I do a list  it does show as hci0 Bluetooth - so, what am I missing here, what does it mean by Id or Device them - the man page shows block Bluetooth17:14
TomyWorkrfkill block bluetooth17:14
TomyWorkthat's what it says17:14
TomyWorkI assume it's case sensitive. you don't? :)17:15
jpmhTomyWork: TY - I made the mistake of copying and pasting the output from the list, so did Bluetooth - yep - thelowercase seems to work - TY so much for your help  and your patience17:15
jpmhNow I will attache a meter and see if I really save much17:15
TomyWorkwifi is wlan btw17:15
TomyWork(wifi is kind of the marketing termin tbh. wlan is what the actual technology is called)17:17
TomyWork(german, of course, uses the actual technical term :D)17:18
TomyWork(we have to counterbalance our mess-up with the word for "mobile phone". don't look that up.)17:19
Guest42I know interrupts inevitably come with variant latency in Linux, but is there a way to know how long it took to service an interrupt within the process that was awoken?  For example, if it took >2ms I may want to give up and wait for another one.17:23
TomyWorkGuest42, there are real-time kernels17:23
TomyWorkhttps://wiki.ubuntu.com/RealTime17:24
TomyWorkscratch that, they have been discontinued :/17:24
TomyWorkoh nm, only a specific variant has17:25
TomyWork-rt is dead, long live -realtime and -lowlatency17:25
Guest42I'm happy "giving up" if it's "too late" on a particular interrupt (it will be poll-ing in a loop)  Just didn't know if there was a way to know if it's been too long since the original interrupt event occurred17:26
webchat42Help about ununtu 20.04.  I am new in ubuntu.  I installed 20.04 in virtual box 6.1.18.  At first everything worked fine.  After reboot there is no brightness slidebar.  Screen Brightness is low and I cant adjust it. Anyone?17:28
MrMobiusanyone know how I can install dosemu? all the documentation shows just apt get but it's not finding it17:31
alkisgdonofrio: thanks for the userland idea, I just tested it. To reboot, I went to the the session management (inside the android userland app) and stopped the session, then restarted it17:31
MrMobiuserr apt install17:31
webchat42Help about ununtu 20.04.  I am new in ubuntu.  I installed 20.04 in virtual box 6.1.18.  At first everything worked fine.  After reboot there is no brightness slidebar.  Screen Brightness is low and I cant adjust it. Anyone?17:31
donofrioalkisg, but can you do updates then do-release-upgrade?17:33
alkisgMrMobius: dosemu has been abandoned upstream, you can only install it on ubuntu 18.04 https://tracker.debian.org/pkg/dosemu17:33
lotuspsychjepatience webchat42 when volunteers know the answer they will surely help you17:34
alkisgdonofrio: I did updates, I don't have do-release-upgrade, lete me see...17:34
MrMobiusalkisg, thanks. so basically just out of luck in that case?17:36
=== IRCMonkey is now known as DeepComa
alkisgMrMobius: well if you're really up to it, maybe the 18.04 packages still work on 20.0417:37
alkisgIt will be a bit hard to install them though if you're not experienced user, as I imagine17:37
MrMobiusya not experienced17:37
alkisghttps://packages.ubuntu.com/bionic/dosemu17:38
alkisgdonofrio: I'm at "extracting focal.tar.gz"17:38
alkisgSeems to work17:38
donofriooh yah my guide, yep share with anyone that needs it ;)17:40
donofrioI put that together three years ago17:40
alkisgMrMobius: run these commands:17:40
alkisgcd /tmp; wget http://gr.archive.ubuntu.com/ubuntu/pool/multiverse/d/dosemu/dosemu_1.4.0.7+20130105+b028d3f-2build1_amd64.deb; sudo apt install ./dosemu.*.deb17:41
alkisgThey'll install the 18.04 dosbox in your 20.0417:41
ioriaMrMobius, you know there is a ppa available, right ?17:41
MrMobiusioria, hmm no. Im fairly new so I dont know what a ppa is17:41
ioriaMrMobius, https://launchpad.net/~dosemu2/+archive/ubuntu/ppa17:42
MrMobiusthanks17:43
TomyWorkalkisg, wait, dosemu isn't dosbox17:51
alkisgYeah typo there in my last line17:51
alkisgWhile the commands are correct for dosemu17:51
TomyWorkMrMobius, dosbox is still actively maintained. are you sure it's not a better fit for your use case than dosemu?17:52
TomyWorkdosemu is a bit of a museum piece17:52
=== bongfrog_ is now known as bongfrog
=== Mathisen_ is now known as Mathisen
goddardthe software store said i needed to update & restart for an update to Neovim18:29
goddardhaha18:29
goddardis it for real?18:29
MrMobiusalkisg, thanks a lot. got it installed and it appears to work so far18:31
alkisg👍️18:31
MrMobiusTomyWork, connecting over a terminal and dosbox doesnt have a text mode. dosemu does18:31
=== war is now known as Guest9564
hggdhgoddard: look at /run/reboot-required.pkgs -- this file will tell you which packages require a reboot18:36
baldpopeI'm attempting to update perl from 5.26 to 5.32, but there doesn't seem to be a package listed - is there a diff repo I should have added to be able to upgrade perl ?18:37
goddardhggdh: cool to know that exists18:37
goddardhggdh: but it doesn't exist on my system at least currently18:37
goddardso i guess that GUI is wrong18:37
sarnoldbaldpope: you may be better suited to just compile it from source and install it to /opt/perl/ or something similar18:39
hggdhgoddard: there are two files /run/reboot-required*, one is just a flag, the .pkgs one would have the list of packages forcing a reboot. I have never seen a situation where we have /run/reboot-required, but /run-reboot-required.pkgs is missing/empty18:40
hggdhit *could* happen, after all this is software18:41
baldpopethanks sarnold - wasn't sure if that was too heavy handed, but will do18:41
sarnoldbaldpope: yeah, trying to replace the system perl wouldn't go great.. given the perl team's history, it probably would work better than eg replacing the system python, which always ends in tears, but still it'd be brittle compared to supplying your own perl for whatever it is that is requiring the newer version18:42
baldpopeapparently pgbadger has an intermittent issue with an older version of perl, appears to be fixed in 5.28, but 5.26 is distro release18:45
=== maguenterber is now known as guenti
oerhekshggdh, maybe an outdated snapd?18:52
=== maguenterber is now known as guenti
ilmais1nhello19:02
ilmais1nis authbind somehow broken in 20.0419:03
goddardhggdh: cool yeah a look reveals no of those files19:04
goddardhggdh: i think it was lying to me :D19:05
goddardhaha19:05
hggdhoerheks: cannot say, IDK what happens in the innards of snapd...19:05
hggdhgoddard: yeah, weird19:05
ilmais1ni am trying to use authbind for port 587 but it fails. for other ports it is fine. could there be some apparmor stupidity causing that?19:11
ilmais1nwhat could be so special with port 587 so that authbind cannot access it19:35
sarnoldilmais1n: not much beyond the usual low ports requires a capability to bind to it19:37
sarnoldilmais1n: what error message are you getting?19:37
rbasakWhat are the other port numbers? Just checking that you've set authbind setuid root? IIRC that's not default.19:38
ilmais1nsarnold: the error message is "Operation not permitted"19:40
ilmais1nrbasak: i am trying with port 80 and it works fine19:40
rbasakMaybe it's more to do with the service you're starting, or how that's set up?19:41
ilmais1nrbasak: no, it is not, because i am now testing it with netcat19:42
sarnoldilmais1n: oh, curious; operation not permitted makes me think of seccomp filtering first..19:44
ilmais1ni have never ever heard of seccomp before19:45
ilmais1nthese things have become way too complicated19:46
ilmais1nsarnold: is there anything i could do19:47
sarnoldilmais1n: seccomp is a sandboxing tool, it can be configured through systemd service files, or snapd sandboxing, probably many other sandboxing tools use it too19:57
ilmais1ni take it as "no", since i have no time to go through all of those things manually19:57
ilmais1ni'll file a bug report and forget about it19:58
ilmais1nhttps://bugs.launchpad.net/ubuntu/+source/authbind/+bug/34721120:02
ubottuLaunchpad bug 347211 in authbind (Ubuntu) "authbind unreasonably fails to address ports 512 through 1023" [Undecided, Fix Released]20:02
ilmais1nah, it is this20:02
ilmais1nit has been modified to work once, but apparently it has been revertd20:03
sarnoldaha, that explains the strange error return20:08
guzzlefryWhat's a good, simple image editor for basically marking up an image?20:19
leftyfbguzzlefry: you can use the search in "Ubuntu Software" app, or use "apt cache search" or try #ubuntu-offtopic for software recommendations20:20
sarnoldgimp isn't simple and I'm not sure it's 'good' any more, but it works okay20:21
oerhekshttps://snapcraft.io/search?category=photo-and-video20:22
guzzlefryI found Krita. Seems nice.21:00
sarnoldnice21:01
=== beaver is now known as pong
b0nnI'm trying to get docker runnable as an ordinary user, I added my user to the docker group, but still cannot run docker - I looked at /etc/group and my user is appended to docker:x:769698:me, but, curiously, /etc/group- does not have the same information, it's just docker:x:876985:21:17
b0nnSo, if I hand edit /etc/group- am I breaking something21:18
sarnoldb0nn: that's just the backup of the file from before you added to it21:20
LordChaosb0nn: group- is supposed to be a backup copy21:20
LordChaosb0nn: so no, you're not breaking anything although you're also not solving anything I guess21:21
b0nnOK21:21
b0nnoops21:21
b0nnI changed it, and id still isn't showing my user to be in the group21:21
sarnoldhave you logged in again?21:21
b0nnyes - although there may be a confounding variable - tmux (but I restarted tmux' server too)21:22
b0nn`newgrp docker` rectified the situation (not sure how persistent it will be though)21:27
sarnoldb0nn: be careful with that, that sets your primary group in that process and descendant processes to 'docker'21:28
sarnoldb0nn: that may cause files and directories that you create to have incorrect ownership21:28
b0nnyeah, it's done precisely that21:29
b0nnhmm I killed the shell, and tmux-killserver restarted terminal and - still - id says I am not part of the docker group21:32
sarnoldb0nn: did any of those steps go through a new login eg through sshd or the console or your xdm or whatever?21:36
b0nnrestarting the terminal doesn't ask for a login if that's what you are asking21:36
b0nnrestarting the machine has fixed it though21:37
b0nnid is now showing docker in the list21:37
sarnoldyeah, you've got to go through a PAM service somewhere to get new supplementary groups21:38
Davidian1024i wonder if anyone can give me some pointers on how to get ipv6 dhcp working in ubuntu 20.04.  i have an isc-dhcp-server running that seems to be providing an ipv6 ip address to my windows laptop.  but, it seems like my ubuntu 20.04 desktop doesn't seem to ever try to request (solicit?) an ipv6 ip address.21:39
sneakyimpwill this audio card with with Ubuntu 20.04? https://www.newegg.com/p/23H-00G8-00004?Item=9SIAREGECD180721:41
oerheksDavidian1024, what guide did you follow?21:41
Davidian1024on the ubuntu desktop i didn't really do anything.  it looked like ipv6 was already enabled.21:41
Davidian1024on the ubuntu server i setup isc-dhcp-server based on what i found in the example dhcpd6.config21:42
Davidian1024should ubuntu 20.04 try to get an ipv6 ip by default?21:43
cbreaksneakyimp: this one does: https://www.brack.ch/fiio-kopfhoererverstaerker-olympus-2-e10k-32100721:46
=== CodeLyoko is now known as XANA
=== XANA is now known as CodeLyoko
tacomaster1I was about to get this adapter and wanted to make sure it should work in ubuntu? https://www.amazon.com/EDUP-Bluetooth-Wireless-Network-Adapter/dp/B0832MR4WB/ref=sr_1_4?dchild=1&keywords=intel+pcie+wireless&qid=1626117070&sr=8-422:02
cbreaktacomaster1: https://www.intel.com/content/www/us/en/support/articles/000005511/wireless.html22:04
tacomaster1Ok awesome. I can get actual vendor drivers22:05
=== beaver is now known as pong_par_le_vide
=== pong_par_le_vide is now known as le_vide
iomari891Greetings, I have 2 kernels installed on 20.04: 5.4 and 5.8. NO matter what I do, I cant seem to get the system to run 5.4 by default. I've configured etc/default/grub and ran update-grub with no error but the system still boot with 5.8. If I try to uninstall 5.8 I get a warning that this action may crash the system. What can I do.22:45
=== le_vide is now known as hommes_de_mes_de
=== genii is now known as genii-core
=== hommes_de_mes_de is now known as hommes_de_mes_ce
sixwheeledbeastusing GRUB_DEFAULT should work fine I can only assume you have a typo22:53
=== hommes_de_mes_ce is now known as hommes_de_mes_bi
jeremy31iomari891: use the grub menu, advanced options at boot to boot into 5.4 and then remove the 5.8 kernels and the linux-generic-20.04-hwe22:53
=== hommes_de_mes_bi is now known as hommes_mes_biip
sixwheeledbeastYou could also set GRUB_SAVEDEFAULT on and then manually select a version on the next boot, it will then remember it.22:55
sixwheeledbeastis there a reason you want to remove hwe?22:56
sneakyimpcbreak: that doesn't answer my question -- and that other unit is expensive!22:57
sixwheeledbeastsneakyimp: https://manpages.ubuntu.com/manpages/focal/man7/oss_cmpci.7.html23:06
sixwheeledbeasti dont have one but I expect so from the man page23:07
sneakyimpsixwheeledbeast: thank you! +++23:08

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