/srv/irclogs.ubuntu.com/2020/01/25/#ubuntu.txt

giacowhen I plug an usb stick, it mounts itself. When I click on unmount in gui, it umounts. If then I try to remount it again via shell, it says cannot open /dev/sdb: No medium found00:13
giacois the umount via gui such a powerful umount that not even root can detect it anymore?00:14
giacoif I were the kernel I'd scared by that button00:14
opgogyou using 19.10?00:19
giacoopgog: no, 18.0400:20
giacoif I umount it with sudo umount, I can remount it again. Using the gui, I have to unplug and replug the usb stick00:21
opgoghmmmmm not sure what's happening there.00:23
opgog=\00:23
giacoit's ubuntuing, that's it00:24
leftyfbgiaco: that button is "eject", not umount00:27
leftyfbI know the tooltip for it says "Unmount", but that's wrong00:28
opgogjesus. that's right.00:28
giacoI hope this bug is not present on jet fighters00:28
sarnoldgiaco: it's even worse than you think :) https://www.itwire.com/business-technology/new-f-35-fighter-jet-will-fly-by-firewire.html00:33
giacosarnold: wow! Why not using dbus?00:34
DarkTrickHello, I changed owner and group of /etc/passwd, /etc/shadow, and the passwd program00:52
DarkTricklogging in is no problem, but when I try to change my password I get a "Authentication token manipulation error"00:53
DarkTrickcan someone tell me, what I forgot the change?00:53
rfmDarkTrick, chown'ing password lost the setuid bit; you can turn it back on with "sudo chmod u+s /usr/bin/passwd", but I can't guarantee something else won't break with such a crazy scheme01:05
DarkTrickrfm, sorry, forgot to mention01:08
DarkTrickthe setuid bit is set01:08
DarkTrickis there any other file, that is getting touched during the password-changing process?01:09
leftyfbDarkTrick: why are you doing any of this?01:13
DarkTrickleftyfb, I thought it's a good idea to give a process only as many rights, as it needs. A password change does not require the god-power for the whole system in my opinion01:15
sarnoldDarkTrick: you may prefer this instead https://www.openwall.com/tcb/01:17
sarnoldI haven't got a clue if it needs updating or anything01:17
sarnoldbut it's surely a better idea than just flipping bits :)01:18
DarkTricksarnold, I check it out01:21
p0wderi formatted an external hd as ext4 no journal to use for music/movies, and the filesystem reserved 100GB01:28
rfmDarkTrick, I suspect passwd does the trick of writing out under a temporary name and then renaming, to make the change safe and atomic.  Which means you'd have to give passwd write access to /etc, which is pretty much complete control of the system01:28
p0wderis it ok to lower the amount of reserved space? or do i need that much for defrag?01:28
ryuop0wder: that's not what the reserved space is used for.01:29
ryuop0wder: it's reserved for the root user. set it to 0 if you don't feel you need to do that.01:29
p0wderreally? yeah- i dont need it for root user01:31
p0wderi just want to be able to backup stuff, and maybe use it for timeshift backups01:31
p0wderman tune2fs:01:34
p0wder    Reserving some number of filesystem blocks for use by privileged processes is done to avoid filesystem fragmentation01:34
leftyfbryuo: reserved disk space while partitioning has nothing to do with the root user01:34
leftyfbIt's so you can still recover your filesystem if it runs out of disk space01:35
ryuoleftyfb: ... the -m argument of mkfs.ext4 disagrees.01:35
ryuofrom the manpage01:35
ryuoSpecify the percentage of the filesystem blocks reserved for the super-user.  This avoids fragmentation, and allows root-owned daemons, such01:35
ryuo              as syslogd(8), to continue to function correctly after non-privileged processes are prevented from writing to the filesystem.   The  default01:35
ryuo              percentage is 5%.01:36
ryuosuper-user, AKA root01:36
p0wderi made it like this- mkfs.ext4 -O ^has_journal /dev/sdb101:36
ryuohow does this have nothing to do with the root user?01:36
jouleshi, any advice on what the command is to enable sddm from systemctl? I needed to revert back from "systemctl disable sddm" however the reverse (enable) won't apply (gives errors).01:37
p0wderso basically i do need some for fragmentation purposes?01:37
leftyfbryuo: It means, only the root user and it's processes have access to that reserved space so they can be used to recover from running out of disk space.01:37
leftyfbjoules: pastebin those errors01:38
ryuoleftyfb: yes. i know. you're saying it has nothing to do with the root user. i was telling p0wder that it's safe to disable it for their use case.01:38
ryuosince it's not a system drive.01:39
ryuoor partition even01:39
p0wderyeah i thought 100gb was too much for non os drive01:39
joulesI'm trying to re-enable sddm but not sure what the command process is for it. https://paste.ubuntu.com/p/tQ7pJCTgrJ/01:40
p0wderbut then i also thought if i do timeshift backups, creating and deleting over time will fragment a little01:40
p0wderstoring my music/movies should be fine w/o it tho01:41
joulesoh well, not sure why systemctl will allow a "disable" but not "enable", seems like someone forgot setting up proper units for that. I'll just --reinstall01:44
woenxHi. I have a video file that I captured from a VHS tape. However, the audio and the video are out of sync by a second or so. What tool could I use to correct that?01:45
woenxI tried kdenlive, but it's nighmarish to use01:45
DarkTrickrfm, hm... sounds reasonable to me... setting rights for /etc does not01:46
DarkTrickrfm, thank you01:46
jouleswoenx: kdenlive is great? Guess recommending ffmpeg commands is out of the question then. Also might just be a case of incorrect fps, depends on how it was converted.01:47
woenxno idea, realy01:47
woenxI tried kdenlive, since it is what I have installed01:47
joulesyou might have to demux the streams.01:47
woenxbut moving the video track separately from the audio track, seemed to move the other one at a random place01:47
woenxit is very confusing01:47
woenxi will try openshot now01:47
leftyfbwoenx: try #ubuntu-offtopic for non-support questions01:47
woenxok01:47
woenxohhh, openshot is so much better!01:52
joulesdamn still -q in #systemd from 5 years ago,01:59
joulesanyhow looking in the deb, lot of setup fudgery could be just a case of missing hook scripts for "systemd enable sddm"02:00
sarnoldjoules: http://paste.ubuntu.com/p/NyR6z8k6Ff/02:06
jouleshow does that help?02:07
sarnoldjoules: I think this means you need to put the path to sddm in /etc/X11/default-display-manager02:08
sarnoldI wonder if there's a better way of doing this. hm.02:08
sarnoldit feels like there has to be..02:08
joulesyeh i figured that, but don't support "systemctl enable sddm" if the opposite doesn't apply.02:09
joulesI shouldn't have to open up the .deb like I have time to care about the internals of everything.02:09
sarnoldjoules: try sudo dpkg --reconfigure sddm02:09
sarnoldsugh02:09
joulesyep did all that.02:09
sarnoldjoules: try sudo dpkg-reconfigure sddm02:09
joulesyou either go full systemd or not XD02:10
joulesthis is 18.04 so it's entirely possible ubuntu has..02:11
sarnolddefinitely 18.04 is all systemd all the time02:11
kaleidosystemd 4 LyFe02:11
* kaleido chuckles02:12
joulesyeah well installed a new GPU, was loading wrong xorg.conf booted into recovery to disable sddm..that worked. nothings changed on linux, still time wasting for the end user.02:12
sarnoldjoules: how about this? ls -ld /etc/systemd/system/display-manager.service02:13
joulesI'm not doing that02:14
sarnoldmine points to my display manager's service file:02:14
sarnoldlrwxrwxrwx 1 root root 31 Jan 24 04:25 display-manager.service -> /lib/systemd/system/xdm.service02:14
sarnoldwhich is why the service file doesn't have an [Install] section02:14
joulesrather than fudge around I'll just type "apt install sddm --reinstall" and forget it.02:14
sarnoldhah, if that works that'll be way faster than figuring out which order ln -s takes its arguments :)02:15
sarnoldI have to read the --help output every. single. time.02:15
joulesbeen using linux since 98, I'm busy, when noobs ask what distro to recommend I just tell them what I use and what distros to avoid if they don't want their time and life drained.02:15
joulesI already opened up the .deb to see how it configures it.02:16
joulesBecause I'm curious02:16
joulesCan't believe we are still using X02:19
=== zbenjamin is now known as Guest16309
=== zbenjamin_ is now known as zbenjamin
=== kostkon_ is now known as kostkon
joulesok "rm" the display-manager.service with "systemcl disable sddm"? SMH02:31
joulesok so, "systemctl mask sddm" is a better alternative however.."This is a stronger version of disable, since it prohibits all kinds of activation of the unit," - however "disable" is behaving far stronger than even mask. Just bad package management here for at least sddm.02:38
sarnoldall the display managers should work identically -- the /etc/systemd/system/display-manager.service symlink should control which display manager is started02:40
joules"systemctl disable" shouldn't behave this way IMO if the reverse requires a dpkg-reconfigure, I mean you can ask in #systemd as see what they say.02:42
joulesthere are examples of services in /etc/systemd/system that symlink to /dev/null, not sure why removing "display-manager.service" is the best approach.02:44
sarnoldI haven't got a clue what you're trying to do any more but you can certainly symlink your services to /dev/null if you want to prevent systemctl from ever doing anything with them..02:46
joulesi'm not the package manager for sddm or any X display manager services.02:47
joulesblkmgr.service -> /opt/psyrium/blockmanager/bin/blkmgr.service <- that's my own custom service. Runs fine, what are the chances me working on this broken aspect of x display manager configuration with ubuntu/debian getting anywhere upstream?02:48
joulesnah just going to use "mask/unmask" instead if this issue arises, looks like when I search this issue, everyone else is clueless.02:50
joulesall the way to #debian perhaps.02:53
sarnoldjoules: but the thing is, none of us even know what the issue *is* :)02:53
sarnoldjoules: your service is easier, because there's presumably only one of them02:54
joulesI explained it. Well, I'm done then LOL02:54
sarnoldjoules: but there's dozens of display managers, and you *really* only want one of them enabled at once02:54
joulesI'm sure I could do better. Just pro-claiming that ;)02:54
sarnoldjoules: that's why the systemd unit files for display managers have this added complexity of not having an [Install] section and instead symlink them as desired02:55
joulesbut the inner sanctum of debian is a cult I'm not a member of.02:55
sarnoldthis isn't specific to debian -- note that fedora's unit files are the same way, eg https://www.systutorials.com/241506/how-to-change-the-display-manager-on-fedora-linux/02:56
joulesyeah and that's why linux market on the desktop is tiny.02:57
joulesLike I said I don't recommend linux to any unless they want to tinker on the command line and learn unix/linux commands and master the OS, learn to code etc.02:59
joulesalso not going to run a copy of fedora to see or not if they use the same service unitse etc.03:00
jouleshere's what I did, moved the GPU to another pci slot. booted, couldn't even get a console so had to disable the display script and redo xorg.conf manually. Expect a low percentage of new users to bother with that.03:02
gregfhow do i get to grub when booting up in 18.04lts? It seems to just boot and I never see a grub menu03:04
joulesgregf: need to install grub on the boot device.03:04
gregfneed to be able to add myself to the sudo group again accidentally got removed03:04
gregfjoules grub is installed its just going by so quickly i think on this vm i don't haev time to access it03:04
gregfi'm in xen03:04
gregfreally should be a longer timeout by default03:05
sarnoldgregf: iirc hold down left shift03:05
joulesgregf: just append yourself to the group again (man usermod)03:05
gregfjoules i know how to do that but i hae to be root first so i need to get into resuce mode if you don't know what your talking about please just don't speak03:06
gregfsarnoldty03:06
joulesgregf: fine03:06
sarnoldgregf: I believe these are the bits I've used in my /etc/default/grub to force the menu to show for five seconds03:07
sarnoldGRUB_TIMEOUT=503:07
sarnoldGRUB_RECORDFAIL_TIMEOUT=503:07
sarnoldI haven't used xen in ages, I can't recall if "left shift" even makes sense there..03:08
gregfyep just didn't realize how low the defaults were till this problem started03:08
gregfi guess I just learned the hard way why i should always be testing my ansible playbooks03:08
sarnoldthat's usually the way it goes :( you only realize it when you're in trouble..03:08
joulesmaybe spam the arrow keys on boot.03:08
sarnoldgregf: can you mount the filesystem via another instance? or the .. dom0?03:08
gregfmy backup plan is to try to mount them with xm tool and fix the groups that way but i was thinking it would be a lot easier to just boot rescue mode from grub03:09
gregfi might be wrong about that though :)03:09
sarnoldhehe03:10
wedrAlright, wish me luck again for the umpteenth time reinstalling Ubuntu.03:34
sarnoldgood luck have fun :)03:34
wedrI could never get our office printer to work with Ubuntu anymore. New hire took a Windows machine, and got the printer working instantly after a driver install03:34
wedrI give up on that.03:35
wedrSo, yeah, thanks for the good luck03:35
AlexMaxGreetings folks I am staring at a purple screen of death03:37
AlexMaxJust installed Ubuntu... Whatever the latest one is03:37
AlexMaxAnd I cannot get to a03:38
AlexMaxGraphical login screen03:38
AlexMaxI can control alt f2 to a text mode login03:38
AlexMaxAnd in fact I updated all my packages with apt and rebooted.  Still nothing03:38
scubasteveAre you using an nvidia card?03:39
AlexMaxNope, ATI03:39
AlexMaxI mean AMD.  Sorry, I'm old03:39
AlexMaxI'm using a 5700 XT03:39
scubasteveah03:39
scubastevenot sure drivers for that card are in the ubuntu kernel03:40
scubastevewhich version of ubuntu?03:40
AlexMaxWhatever the latest one is.  1910 I think03:40
wedrOh, a quick question before I actually start reinstalling Ubuntu...03:40
wedrYou know how we would create a live Ubuntu USB drive via the Ubuntu installation ISO, right?03:41
tieinvAlexMax lsb_release -a will tell you what version03:41
AlexMaxThe funny part is that I was able to use it off the USB drive just fine03:41
wedrNow, lately, the minimum capacity of the cheapest USB you can buy is 16GB03:41
wedr8GB is long gone from retail store shelves03:41
scubastevehm that driver should be in the kernel then03:42
wedrI wanted to know, can you use the live USB as a storage media, like file transferring from Windows to Windows, etc.?03:42
AlexMaxYep, 19.1003:42
wedrI don't wanted to waste 13.3GB of free space on the 16GB USB, when it's all just Ubuntu ISO03:42
AlexMaxAnd again, when I ran it off the USB drive I had graphics just fine.03:43
AlexMaxThough I don't know if they were hardware-accelerated or if it was defaulted to some VESA thing03:43
AlexMaxSo where do I even begin.  It has been eons since I've had trouble with graphics in Linux.03:44
scubasteveThis card in particular seems to be giving people a lot of trouble03:44
scubastevesince it's latest gen03:44
Bashing-om!info linux-image-generic eoan03:44
ubottulinux-image-generic (source: linux-meta): Generic Linux kernel image. In component main, is optional. Version 5.3.0.26.30 (eoan), package size 2 kB, installed size 16 kB03:45
scubastevehttps://www.reddit.com/r/linux/comments/dyoalh/ubuntu_1910_rx_5700_xt_installation_instructions/03:45
scubastevehttps://www.phoronix.com/scan.php?page=news_item&px=Ubuntu-19.10-Radeon-RX-570003:45
scubastevethe phoronix article has a set of commands you can run to enable additional firmware support03:46
scubastevegive those a try03:46
wedrSo... may I ask if I can use a 16GB Ubuntu live USB as a simple storage USB device?03:50
wedrI have 13.3GB of free space, and it would be a waste to not use the free space for backing up data and stuffs.03:51
scubasteveYou should be able to create a partition in the free space without affecting the ubuntu live portion03:51
scubasteveI would use gnome disks03:51
wedrCan I repartition the live usb? Currently, the live USB takes up all of the USB drive's capacity03:53
AlexMaxscubasteve:03:54
AlexMaxThanks for the tip, but yeesh, kind of stinks that I have to do this03:54
scubasteveAgreed, should be fixed in 20.0403:54
scubastevealready fixed in any rolling distro03:55
AlexMaxalso, gotta be honest, copying the output of some git clone into an operating-system directory like `/lib/` gives me lemon booty03:56
scubastevehaha I agree completely03:56
scubasteveat least it's directly from the kernel and not some random guy03:56
AlexMaxyeah I might try a rolling release distro instead.  Gonna have to figure out how to get rid of Ubuntu's EFI entry and stuff, that'll be fun03:58
AlexMaxback in my day, we replaced our master boot record both ways in the snow, and we were THANKFUL03:58
tomreynvery easy, just remove the directory off the esp, and use efibootmgr to remove the boot option03:58
wedrSince the currently known answer is to repartition the live USB, which I am unfamiliar with the steps to do so, I'm just going to create a new directory in the Live USB's root directory, and store my data on that 1 partition.03:59
wedrTHen reinstall Ubuntu03:59
wedrAnd then grab my data from the live USB03:59
wedrIt's just a directory. What harm would it do, right?04:00
wedroh.........  UBuntu live USB partition is a read-only partition...04:01
wedrdarn, repartitioning is the way to go...04:03
tomreynyes, this way it also works on write-once media, and prevents unintended modifications. i'm not sure whether you can safely change the partition size, maybe using gparted when you booted off something else.04:03
tomreynusing flash storage for backup is maybe not the best way to go about backup, though04:03
scubasteveAlexMax: lol04:08
C0nundrumAnyone a good cli tool for burning isos ?04:11
tomreynwodim IIRC04:12
AlexMaxokay so finally the EFI entry went away when i booted into ubuntu, found the `EFI/ubuntu` directory, and torched it.04:17
AlexMaxman Windows seriously does not want you meddling with EFI stuff.04:17
wedrtomreyn, well, considering I had hosed my other laptop with Irish Cream liqueur...04:17
wedrI'm left with a measly 16GB USB04:18
tomreynuuh sorry to hear about the liquor mishap.04:18
wedrYeah, the messed up laptop is in a box. It will be delivered to FedEx tomorrow moring04:19
wedrmorning*04:19
AlexMaxthanks for yalls help04:19
wedrThe box is sitting behind me04:19
AlexMaxAnd I do intend to come back soon, hopefully.04:19
AlexMaxBut for now, time to see what fresh hell awaits inside this Manjaro ISO04:20
tomreynAlexMax: i didn't follow the whole story, if you need more ubuntu help, just ask04:20
AlexMaxWill do.04:20
tomreyn(and anything that's not directly ubuntu support related should rather go to #ubuntu-offtopic, please)04:21
AlexMaxI getcha.  Was just on my way out and thanking people for what help they were able to provide.04:22
tomreynwedr: FWIW, i just created, from a running ubuntu 19.10 desktoip installation, a 19.10 desktop installer on a 6 GB usb stick, using usb-creator-gtk ("startup disk creator"). what it did is it created a 2.5 GB ISO9660 partition, a 4,1 MB FAT partition (for booting, i guess), and left 4 GB space untouched, available for further partitioning.04:33
wedrtomreyn, I also did that04:33
tomreynactually the usb stick is 6,4 GB, so it does match up.04:33
wedrI got 2GB, and 14GB unpartitioned04:33
tomreyngood :)04:34
wedrSo what's next? Ubuntu on my laptop has a /dev/lock on the apt-get update04:34
wedrso I can't get gparted04:34
tomreynthat's the drunk laptop, or another?04:34
wedranother04:35
wedrI have 2, the drunk one is in the box04:35
tomreynand the one with broken apt, have you tried to fix this?04:35
wedrnope, hence the reinstallation plan04:35
wedrfor the umpteenth time04:35
tomreynhmm, do you want to diagnose this or just reinstall?04:36
wedrI went from 19.04 to 18.04LTS to 16.04LTS, and I'm crippled with using Metacity fallback. I can't use the Ubuntu 16.04 Unity04:36
wedrI'm sick of life04:36
wedrreinstall04:36
wedrOk, so I need to figure out how to set up a persistent partition for the remaining 14GB on this USB04:37
tomreynso you have an usb installation stick, can you just install from there now or do you need to 'backup' data from the previous installation to the usb stick first?04:37
tomreynokay then you should have "gdisk" already installed?04:38
tomreynaka "Disks"04:38
wedrneed to backup data from the laptop to this live USB drive, before I reinstall the Ubuntu on this laptop to a fresh new state04:39
wedrah, Disks04:39
wedrI'm just going to use 4GB of the 13GB free partition. Maybe this USB can be used on Windows machine in the future, when my work place is slowly transitioning to a Windows environment04:40
tomreynok. i suggest you format the new partition as type "internal disk for use with Linux systems only (Ext4)" and optionally "password protect volume (LUKS)"04:42
tomreynhmm it fails to create this partiton here :-/04:43
wedrtomreyn, ugh, 16.04 has this bug:  It is setting improper block-size during the creation of bootable media.04:43
wedr2048 in USB, 512bytes in Linux04:44
wedrUgh, it's a bug in 16.04 and it seems to be fixed in 17.04...  https://bugs.launchpad.net/ubuntu/+source/usb-creator/+bug/170888104:47
ubottuLaunchpad bug 1589028 in parted (Ubuntu) "duplicate for #1708881 Improper blocksize set by usb-creator, leads to problems during formatting" [High,Confirmed]04:47
wedrI'm getting out of 16.04, but I need my data...04:48
tomreyni still see this issue on 19.04, though04:48
wedroh....04:48
tomreynsee comment 21 at bug 158902804:49
ubottubug 1589028 in parted (Ubuntu) "Improper blocksize set by usb-creator, leads to problems during formatting" [High,Confirmed] https://launchpad.net/bugs/158902804:49
wedr yeah. that's back to square 104:50
wedrthe /dev/lock is on apt update04:50
tomreynso you're working on an ubuntu 16.04 and are trying to create an additional partition on this usb storage?04:51
tomreynif so, is the new installation meant to boot in uefi or bios mode?04:52
wedrI'm assuming uefi. This laptop is a work laptop, so I have no idea what it was configured to before04:52
wedrthe new installation is not meant for booting04:53
wedrwait, new installation of Ubuntu on laptop is to be booting into UEFI04:53
tomreynok, that makes more sense ;)04:53
wedrI'm creating an additional partition on the usb storage, to make it as if it's a simple storage USB device04:54
wedrThe USB storage is just a drive stick04:54
wedrIt is meant to be a recovery / emergency use only drive stick04:54
tomreynokay, i got so much05:01
tomreyni'm looking for a way to creater this extra partition without breaking the hybrid boot05:01
tomreynwedr: you don't have another storage you can write the backup, to, right? since i guess that'd be easier05:02
wedrThat got hosed with the Irish Cream too05:02
tomreynor less error prone05:03
tomreyni see05:03
wedrBasically, I broke the Irish Cream glass bottle, the liquid went into my USB 1TB, the laptop, cables, lots of USBs, mouse, keyboard on the desk, and the wall05:04
wedrUSB 1TB WD Elemetns05:04
tomreynlooks like you're a very thorough person. ;-)05:04
blackest_mambayou got Kaluha?05:07
blackest_mambajust go for the full mudlside05:08
tomreynwedr: okay, fdisk can do it, at least on this 19.10 system i have05:10
wedrtomreyn, Also playing with fdisk05:11
wedrI felt like you and I are the same person05:11
wedrbut more unfortunate05:11
tomreyn:)05:11
wedrand out $500 bucks05:11
tomreynso i did    sudo fdisk /dev/sdb     (the usb stick is sdb here, substitute the proper drive as needed, "sudo fdisk -l" to identify it), then did "n" and went with defaults for all the prompts, and finally did "w"05:13
tomreynthen mkfs.ext4 /dev/XXX   (was sdb3 here)05:13
wedryeah, the partition type though...05:16
wedrI was thinking of making it a storage USB, so I'm thinking if I should use NTFS.05:17
tomreynprimary worked for me, which was default05:17
wedrNo, the partition type05:17
wedrIn fdisk, if you use "t"05:17
tomreynit suggested ext2, i said ext4, so i guess i got "Linux"05:17
tomreynyes i did05:17
tomreynyou can always repartition this thing later, right?05:18
wedrext4 is linux, yes, but I wanted to make it compatible with both work laptop and the new Window workstation I will be getting at this year's Q305:18
wedrI'm not sure if repartitioning the type is a thing05:19
wedryou mean, wiping out the partition and repartition a new one?05:19
tomreynyes, you do it now, why couldn#t you do it again later?05:19
wedrWouldn't that degrade the USB's lifespan?05:19
tomreynevery write does. to any storage media.05:20
wedrok then, it's set to the default, which I think the default is ext405:20
tomreynwill it die because you update the partition table? no.05:20
wedrI got Linux05:20
tomreynso "w" on fdisk to write and quit, then make a file system on the new partition.05:21
tomreynsupply a file system --label when you do05:21
wedrI'm trying to cancel a command05:22
wedrHow do I jump out of the fdisk command05:22
tomreynq05:22
wedrI see05:22
wedrIs your Linux partition type ID 8305:23
wedr?05:23
wedrJust wanted to make sure05:23
tomreyncan't say right now, i'm just trying to boot off it05:24
wedrLet me know if you can boot off of it05:28
tomreyni did uefi boot off it fine05:29
SirNapkin1334hi, i'm on WSL and whenever I run apt-get to try to install something, it doesn't work and then prints this twice at the end: `E: Could not read response to hello message from hook [ ! -f /usr/bin/snap ] || /usr/bin/snap advise-snap --from-apt 2>/dev/null || true: Success`05:29
tomreyn!wsl | SirNapkin133405:29
ubottuSirNapkin1334: Windows 10 has a feature called Windows Subsystem for Linux, which allows it to run Ubuntu (and other Linux distro) userspace programs without porting/recompliation. For discussion and support, see #ubuntu-on-windows or ##windows. For installation instructions, see https://msdn.microsoft.com/en-us/commandline/wsl/install_guide05:29
SirNapkin1334hmm, don't know if that was supposed to format, but it didn't include the backticks05:29
SirNapkin1334okay, thanks05:29
tomreynwedr: how do i print the partition id using fdisk? can't seem to find it.05:31
wedrfdisk p05:31
wedrinside fdisk, type the command, p05:31
tomreynit doesn't show the ID there, just "Linux"05:32
tomreynah "i" does it05:33
tomreynand yes it's 8305:33
wedrok05:34
wedrnow I need to use mkfs ext405:34
wedrI think ext2 is fine, right?05:34
wedrugh, I still need to read up what's the difference between ext2, ext3, and ext4...05:34
tomreynbasically, the higher the number the better05:36
tomreynext2 lacks journalling, it's almost as simple as fat3205:37
tomreynext3/4 aren't as complicated as ntfs, but have similar features.05:38
wedrdarn, I'm still hit with the partprobe saying the sector is 2048 but it's 512 bytes error05:44
tomreynwedr: fwiw, bios booting works, too, off the usb stick.05:44
wedrCan't use mkfs05:44
tomreynwhy not?05:45
wedrThe file /dev/sdb3 does not exist and no size was specified.05:45
wedrThat's the error message I got when running mkfs05:45
wedrsdb3 is my new partition05:45
tomreynso after creating the partition in fdisk, partprobe failed?05:45
wedryes05:45
tomreynmaybe reboot then05:46
wedrok then, see you in a bit.05:46
tomreynwedr: so does    ls -l /dev/sdb3 exist now?05:50
tomreyni actually need to wrap it up here for now, it's very early where i am.05:51
wedrnope05:51
wedryeah, it's fine...05:52
tomreynbut     sudo fdisk -l /dev/sdb     lists the partition you created?05:52
tomreynwdr: ...and doesn't print a warning about the sector size mismatch?05:53
tomreyn* wedr05:53
wedrreally, no05:53
wedroh, it does print about a warning05:53
wedri/o all 512 bytes05:54
tomreynfidk prints a warning? okay then your fdisk is just too old, basically what you found earlier.05:54
tomreynconsider backing up to a smartphone instead, or to cloud storage.05:55
tomreynfidk -> fdisk05:55
wedrok...05:55
wedror recreate the live usb...05:55
tomreyni don'T see how this would enable you to create the partition then.05:56
tomreynthough you could try booting off the live usb and use its more current fdisk to create the third partition05:57
tomreynanyways, good luck.05:57
wedrthanks06:21
algidanyone have any suggestions on getting bluetooth to work again07:59
qswzSome of you use MyPaint? for the life of me I'm incapable to merge 2 existing images (trying to copy paste the second into the first whose canvas size were increased)09:11
qswzyou can resize the canvas with the rectanglish icon09:12
MrokiiHello. Is there a way to have individual command-history- and log-files for parallel running bash-windows? Possibly so that each one can have an individual name that is somehow carried over to the logfile and be re-opened later? Or are there other tools for this?09:19
ducasseMrokii: there is a variable to set the name of the history file, iirc. should be in the manual09:20
ducasseah, HISTFILE09:20
Mrokiiducasse: Thanks, I'll take a look.09:20
qswzwhat do you guys use for basic image editing?09:21
qswzI don't often have to, need somethign simple09:22
milkshakepxlr09:22
milkshakepixlr09:22
milkshakeonline is the future09:22
qswzoh, interesting09:22
qswzI know abot Krita too, a good local software09:23
qswzthx will try pixlr09:23
algidanyone have any suggestions on getting bluetooth to work again09:23
MrokiiDepends on what you mean with "basic", I guess. For very simple things like cropping and resizing I use Gwenview, as I'm on Kubuntu.09:24
ducasseqswz: got to admit, i'd reach straight for the gimp09:24
qswzyea gimp is the comon alternative09:24
qswzfeels bit too complex to me :)09:25
qswz"You'll need Flash Player to run Pixlr Editor." what..09:30
qswzoh, fortunately there's a beta without flash09:30
Mrokiilol09:31
JohnDoe_71Rusdoes ubuntu stop build i386 kernel since 5.3.6? Can we waite fix? https://kernel.ubuntu.com/~kernel-ppa/mainline/10:11
ducasse!i386 | JohnDoe_71Rus10:13
ubottuJohnDoe_71Rus: For information about the future of support for i386 packages in Ubuntu 19.10 Eoan Ermine and onward, please read the following official statement: https://ubuntu.com/blog/statement-on-32-bit-i386-packages-for-ubuntu-19-10-and-20-04-lts . Note this applies only to i386 (Intel/AMD) builds, not other 32-bit architectures like arm.10:13
=== Lantizia_ is now known as Lantizia
Lantiziamaybe I'm going insane here (as I can't find any evidence of this when searching online)... but in gedit (or Pluma if you're a MATE user) when the document you've got open has "changed on disk" and you get a banner asking you if you want to "Reload" or "Cancel"... I swear at some point I've seen a third option that loads Meld and compares the "on disk" version to the text you have open in gedit/Pluma10:36
Lantiziadoes anyone else remember seeing this or have I dreamt it?10:36
JohnDoe_71Rusducasse: ok. This message was in June 2019, kernel v5.3.7 with i386 build error was in october. This time they build i386 kernel till error10:37
IaMnEwHeReHi gang, I have a quick question, regarding linux-tooling somewhat, more on the network-site of things, how can I detect the country of an ip based on their latency? all I find is PubG stuff and game-related banter,10:47
IniGitI tried to install ubuntu on my dell insperion 15 5000 and it crashes everytime10:50
IniGitI click add at the menu where I configure my root partition etc and it freezes10:51
IaMnEwHeReIniGit, some systems are not LinuxCompatible, had the same problem with a HP Pavillion10:51
IniGitBut debian works so far except that I cannot get wifi drivers working10:51
IniGittrisquel as well10:51
IniGitjust ubuntu is crashing10:51
JohnDoe_71RusIniGit: how much system/cpu temp?10:51
IaMnEwHeRewhat you might be able to try out is, go into the bios, and change the protocol for the harddrive10:52
IniGitJohnDoe_71Rus: Idk, but the notebook is not warm at all10:52
JohnDoe_71RusTry console/alternete installer10:52
IniGitliveCd works10:52
IniGitinstall doesen't10:52
IaMnEwHeReIniGit, as I said try changing the protocol for the harddrives, that might help otherwise you are outta luck I am afraid10:53
IniGitok, I try. Thx10:55
IaMnEwHeReBUT10:55
IaMnEwHeReif you have windows running on that laptop, it will cause it to stop working10:56
JohnDoe_71Rustry alternate install to10:56
IniGitMaybe I should pick the other option at rufus, not the iso one10:59
tatertotsIaMnEwHeRe: try different version / edition of ubuntu10:59
IaMnEwHeRetatertots, I am not the one with that problem10:59
IaMnEwHeReI am here for a country-detection-problem of servers :D11:00
tatertotsIniGit:  try different version / edition of ubuntu11:00
IniGitI'll try :(11:00
IaMnEwHeReIniGit, your best bet will be to cange the protocol for the harddrives in the bios, it is quite easy just toggle it ;)11:01
IaMnEwHeRehad a similar problem with my current laptop,11:02
IaMnEwHeRemind you I am not running Ubuntu11:02
IaMnEwHeRebut the problem is so basic(read low level) that I am convinced it applies to other linuxes as well11:02
IniGitIaMnEwHeRe: WHat are examples for those protocols? I'm not sure where I can find that option in my bios11:05
IaMnEwHeReIniGit, let me check, such a long time ago :) btw. humor me, do you have /dev/nvme* files ?11:09
IniGitIaMnEwHeRe: where?11:10
IaMnEwHeRethe dev-folder in your root-partition should/might contain files matching this pattern nvme*11:11
IaMnEwHeRejust pop a shell and execute $>ls /dev/nvme*11:12
IaMnEwHeReis it printing files?11:12
=== bpsecret- is now known as bpsecret
IniGitIaMnEwHeRe: What you mean, I cannot install it11:16
IaMnEwHeReIniGit, cannot find the protocol but the menu point will be concerned with harddrives and you will be presented with a dropdown, that is all you need  just remember to set it back if it does not work, you cannot break s.th. there it because you can reset it any time11:16
IaMnEwHeReyour live-disc should have the same folders, but from your sounds,you are new to linux, so my advice stick to windows, or get a system fro system76, tuxedo or dell or some other vendor that supports linux out of the box11:17
IaMnEwHeReotherwise you will end up a helpless supportcase11:17
IaMnEwHeRenow a push for my own agenda again: any advice on how to best go about locating servers from their latency in a network( only needs to be accurate to a country level)11:18
__raven__hi11:19
__raven__update to 19.10 disabled multi monitor mode using two monitors on nvidia and additional two on internal intel915 onboard.c how to expand nvidia view to internal graphics again?11:20
tommy``hey best/cool ubuntu mp3/flac player?11:24
tommy``i found this 4: lollypop, clementinie, deadbeef, audacious11:24
IniGitI cannot even boot anymore into livecd11:27
IniGittotally broken that thing. I'll send it back. They told me that it is not problem to install ubuntu on that thing11:27
IniGitalso there is a ton of garbage dell ware on that pc even some partitions are full of dell spyware11:27
IaMnEwHeReIniGit, easy... all you need to do is switch the settings in bios back and you can start out on square one again11:28
IniGitIaMnEwHeRe: doesen't work. I have the settings like before when botting in the livecd worked11:33
IniGitAnyway it's their fault. They shouldn't tell me that Ubuntu worked in the first place. SO they can proof their support or they will take it back...11:35
john_ramboHi, does KeePassXC require mono ?11:56
IaMnEwHeRejohn_rambo, dunno, but some KeePass-implementations do, anyhow, if you do not require interoperability with other OSs I recommend pass11:57
=== KaptenRodSkagg1 is now known as KaptenRodSkagg
=== TheSilentLink_ is now known as TheSilentLink
badsekturdoes port 631 listen by default for you too?13:40
oerheksbadsektur in my session it does, cups13:42
AnnigoHello! I used Ubuntu 19.10 and chromium to make kiosk application. Systemd service ensures they browser is always running, just in case it crashes or whatever. Several setting tweaks (such as disabled GNOME3 hand-gestures) are in place to ensure nobody gets out of the browser, but it still happens from time to time.I came here to ask for advices:1)13:54
AnnigoWhich Ubuntu distribution would be recommended for such usage - it seems that minimalistic DE like XFCE (Xubuntu) would perhaps do it well.2) What else can I do to better protect the system? Something like password prompt on majority of actions.I have of course done a lot of research, but unfortunately plenty information is outdated.13:54
IniGitIaMnEwHeRe: Maybe it's IDE vs AHCI13:54
IniGitIaMnEwHeRe: I'll try that13:55
IniGitI read that windows installed from Dell does use this IDE mode13:55
specterAnnigo: you are using one application and nothing else for users?13:56
Annigo@specter Users are supposed to use only this specific browser in kiosk mode (which is enhanced fullscreen with no right-click menu popup etc).13:57
algidanyone have any suggestions on getting bluetooth to work again13:57
specterAnnigo: some ideas, you can use xfce or any other that you can remove the window decorations from. join #xfce for help with this or just google. The other idea is a window manager such as i3, which doesn't have them by default so they can't use a button to close, minimize, etc13:59
Annigospecter: Chromium or Firefox in --kiosk mode don't have any windows decorations, so it's not a problem. Only touchscreen is exposed to users. Even though the extension to disable gnome3 gestures is installed, occasionally people "get out" from the browser, and I suppose changing DE will help. Nonetheless, I'd like to have extra security for the14:13
Annigocase when it fails for some reason.14:13
FingerlessGlovesAnnigo, I used to use i3 DE. On a kiosk I put together14:15
AnnigoFor an example, few times I saw update or crash popup on top of the browser. I took care of them the hard way, but that "extra security" would be helpful here. In speak of update and crash popups - how to effectively disable them, without disabling or breaking the features beneath? If I remember correctly, in the end I had to remove repo links to14:15
Annigoprevent updates from doing anything, because the UI settings to "never" show up didn't entirely work.14:15
FingerlessGlovesThen you can remove all the keyboard bindings you don't need.14:15
specterYep it sounds like i3 would be your best bet.14:16
FingerlessGlovesInstall Ubuntu without DE (server), install i3 on top. Then unbind all shortcuts you don't need. Create a bash file that will start chrome in kiosh mode if it gets closed :-)14:16
FingerlessGlovesThen ssh in now and then to do updates :-)14:17
=== IronSnout is now known as dd
=== dd is now known as ddddwwwwwwwww
specterFingerlessGloves: super smart, i like it14:18
=== ddddwwwwwwwww is now known as IronSnout
FingerlessGlovesIf you install i3 with --no-install-recommends, that should only install whats needed and no extra crap your not gonna need.14:18
specteri3 is xml config isn't it? been a long time since I used it14:19
FingerlessGlovesnot XML14:19
FingerlessGlovesCan't remember what its called now.14:19
FingerlessGloveshttps://wiki.archlinux.org/index.php/I314:19
specteroh, easy config, just a plain text file14:21
FingerlessGloveskinda yea :-)14:22
AnnigoSounds like a solution. I've never installed DE/WM myself - how difficult is that? Im more of a "install ubuntu, add some ppas and apt install this and that" user, as in every day work I use IDE to make websites14:24
FingerlessGlovesInstall ubuntu server, its really simple. i3 is in the repos without needing ppas14:24
AnnigoWould VNC server still work on it? We're monitoring the kiosks remotely14:25
FingerlessGlovesyea :-)14:25
BluesKajHiyas all14:27
FreeBDSMhey, does anyone use citrix receiver on ubuntu?14:27
FreeBDSMcan't make it connect :(14:27
oerheksAnnigo, what guide did you follow?14:30
Annigo@FingerlessGloves Installing Ubuntu Server on virtual machine for first look...14:30
FingerlessGlovesgood idea14:30
Annigo@oerheks I've looked up what I thought I needed. There were some guides on the way though14:31
oerhekshttps://tutorials.ubuntu.com/tutorial/secure-ubuntu-kiosk#0 and https://obrienlabs.net/setup-kiosk-ubuntu-chromium/are mostly used, i guess14:31
ryddewhat could be the reason that <alt-gr> key sends <enter> instead of being the modify key it used to?14:31
oerheksnow chromium is a snap, that confinement is also interesting14:32
FingerlessGlovesrydde, what kind of keyboard you using?14:33
Annigo@oerheks Second link shows 40414:34
FingerlessGlovesAnnigo, remove are at the end14:34
oerheksoops, typo14:34
oerheks-are14:34
ryddeFingerlessGloves: I have two different at the moment. This happens on the remove computer (both client and server are ubuntu 18.04) using nomachine. It has worked flawlessly up till now...14:35
FingerlessGlovescould it be a update to nomachine?14:36
FingerlessGlovesmessing with the keymapings.14:36
ryddeFingerlessGloves: hmm interesting idea...will check if i have same problem with other remove machine...14:37
rydde*remote14:37
FingerlessGlovessounds good14:37
Annigooerheks: Thanks, I'll look into these. On brief look I think I've seen the second link.14:38
ryddeyep confirmed, same problem with other machine..so problem should be on the nomachine client on my local desktop14:39
AnnigoFingerlessGloves: I need to free some space before trying your idea out. I'll reach you out later :)14:40
FingerlessGlovesok14:40
ryddeso its weird cause the I can type | (pipe) without any problems on local machine and this is achieved by alt-gr + <  (key left of left shift key) but seems nomachine client is messing it up when connecting to other remote desktops14:49
FingerlessGlovesMake sure both ends have the same keyboard layouts set14:56
AnnigoFingerlessGloves : How exactly do I install this i3? I tried sudo apt install i3 (or i3-wm) and getting E: Unable to locate package, unless it's caused by no connection (despite VMWare was supposed to connect me automatically)15:01
ryddeswitched to gnome desktop and now it works. Was in plasma...so something with that...15:10
quadrathoch2Annigo, well the package is called i3-wm for sure, so it has to be on your end? maybe do a apt update?15:12
ducassemake sure the universe repo is active 'sudo apt-add-repository universe' and apt update15:15
f8e3hello, i installed snapd, pgrep -f snapd returns id, seems up, snap install code, now how to launch?: bash: code: command not found16:08
f8e3● snapd.service - Snappy daemon is up, but how to start the installed snap?16:13
f8e3name:      code, so $code in terminal, but not found?16:14
f8e3please can you help me?16:22
quadrathoch2did you try snap run code?16:23
van777f8e3: here is how i've installed Pycharm with snap, https://snapcraft.io/install/pycharm-community/ubuntu16:23
van777it's just in the list of installed apps now16:23
f8e3https://snapcraft.io/docs/installing-snap-on-debian says just type 'code' the name, quadrathoch2 works fine, but nowhere docd, arr16:23
quadrathoch2f8e3, sorry, as I don't use snap, I had just to google it myself :/16:24
quadrathoch2so no idea how to do snap stuff16:25
quadrathoch2but i think it's more appropriate to ask in the debian channel16:25
quadrathoch2if you run on debian16:25
f8e3quadrathoch2 sir, your solution is good i mean16:25
quadrathoch2great :)16:25
AnnigoFingerlessGloves: I am back. Ubuntu Server 19.10 installed on VM, network configured (static IP), installed xinit and i3 with sudo apt. Now when I try "xinit i3" - it fails. There seems to be permission issue, and when I do it via sudo - it fails as well, but later, with whole different stuff. What do I do from here?17:01
InteloIt seems logrotate rotates my log if I do manual command but does not do it automatically everyday. What might be the reason? https://pastebin.pl/view/171a454617:05
ioriaAnnigo, better not using sudo with wm/de/etc etc .  check if you have root owned files in your home17:06
Annigoioria First time installing wm/de on my own, don't really have an idea what to do17:07
compdocyes, see if .Xresources is owned by root17:07
ioriaAnnigo,  ls -al /home/$USER | grep root17:07
AnnigoThere's no .Xresources; Only ".." belongs to root17:09
ioriaAnnigo,  ok... have you installed xorg and xserver-xorg ?17:09
FingerlessGlovesAnnigo, do startx17:10
InteloHi, It seems logrotate rotates my log if I do manual command but does not do it automatically everyday. What might be the reason? https://pastebin.pl/view/171a454617:10
Annigo@ioria No, I followed article from ArchWiki as linked here before. @FingerlessGloves It worked17:11
FingerlessGlovesOh nice!17:11
ioriaAnnigo,  sy, dpkg -l | grep xorg17:11
ioriait cannot work without xorg afaik17:12
Annigo@FingerlessGloves What do I do from here? In popup I have chosen to generate config file and Alt as modifier, then it disappeared. I see some information on bottom (about connection, battery, some sizes in GiB and MiB, and lastly current date time)17:15
FingerlessGlovesYour in the desktop environment now17:17
FingerlessGlovesIf you do Alt+Enter17:18
FingerlessGlovesa command prompt will open17:18
buttros_Hey everyone! Does anybody know any mail notifier I can use with ubuntu? Secure preferably.17:18
FingerlessGlovesAnnigo,  https://i.aes.pm/29385bee65c6accc/image.png17:18
AnnigoPretty much can't do anything without keyboard - I like it! Installed chromium and it seems to work17:20
InteloCrontab to run every hour  `0 1 * * * sudo logrotate --debug /etc/logrotate.d/mongo/mongod.conf` <- is this command correct?17:21
AnnigoIntelo I think that would work daily, at 1:00 in the night17:25
AnnigoMaybe this will help: https://crontab-generator.org/ ; but as far I know logrotate can have it's own config files, where you specify how often it's supposed to trigger instead of using cron17:27
oerhekscronjob that does a dryrun ? interesting17:29
oerheks --debug = dryrun17:29
AnnigoFingerlessGloves Ok, how would I go about auto-logging into the system and this DE now? Does it automatically set resolution to display's? Cannot test the latter in VM17:31
FingerlessGlovesI used to install arandr, GUI to mangement resolutions.17:33
FingerlessGlovesAutologin, I can't remember now, was few years back. This might work https://www.reddit.com/r/i3wm/comments/75k90o/autologin/17:34
starcurvewith different DE specific distros I haven't done a ton with X.org in a loooooong time17:36
lotuspsychjekeep the offtopic for the offtopic channel guys17:38
InteloAnnigo, how can I do it for every hour?17:42
InteloAnnigo,  I am already there but cannot understand17:43
InteloAnnigo,  which lograotate file?17:43
AnnigoIntelo Replace "1" with "*". Try using this generator, or perhaps you need logrotate config file instead of cron. These files go into /etc/logrotate.d/ - look up what's their content17:45
AnnigoI am not expert to provide you details, sorry. I needed it once, found out how to do it and "it just works" :)17:46
InteloAnnigo, line 1 is already in /etc/logrotate.d https://pastebin.pl/view/6486ee7b17:47
AnnigoRight, I forgot. The file contains "daily" (line 2?) - what if you could put "hourly" there? Unless you meant doing something else than logrotating hourly, then apologies17:51
InteloAnnigo,  yes but that logrotate config is not run automatically. Who is responsible to run it. Thats the whole question at top. Its not running auto17:53
AnnigoDon't remember details, but I think it mostly worked out of box for me Intelo. Sorry, but I am unable to help you with that. Perhaps someone else18:01
ioriaIntelo, probably you need to set logrotate hourly 'cause is set daily by default18:02
starcurvelogrotate is designed for daily or longer runs18:03
ioriayep18:03
Inteloioria, its not working daily18:03
ioriaIntelo, https://askubuntu.com/questions/554403/what-schedules-logrotate18:03
InteloIt seems logrotate rotates my log if I do manual command but does not do it automatically everyday. What might be the reason? https://pastebin.pl/view/171a454618:03
* Intelo repastes18:04
starcurvefrom the manpage ```It will not modify a log more than once in one day unless the criterion for that log is based on the log's size and logrotate is being run more than once each day, or unless the -f or --force option is used.```18:04
Intelostarcurve, criteria met; still not rotate18:04
Intelos/rotate /run18:04
oerheks --debug = dryrun .. so log.11.gz was never created18:06
oerheksso, not created by the 'rename'part, nothing to remove18:09
starcurveIntelo: what does your /var/log/syslog file have for cron.daily?18:10
nikolamWriting to USB is so buggy, I can't unmount USB (ntfs) because it is still "writing data to the device", forever18:11
nikolamit is some Kingston with slow writing speed of 10MB/s but it showed as finished writing in the file manager (Thunar)18:12
nikolamand can't unmount, so I am not sure wither I copied a movie and my girfriend is waiting for me.18:12
nikolambad nuggy softwarte causes real life problems18:13
nikolambuggy18:13
AnnigoFingerlessGloves : I changed VM screen resolution using cvt and xrandr - whether that's required on actual device is yet to be seen. I managed to run both VNC server and Chromium, so that's a success! Trying that autologin now, but I am stuck in blank screen with blinking underscore18:23
FingerlessGlovesYou can use ctrl+alt+f1-7 to swap between TTYs18:24
FingerlessGlovesthen you can get back to a console18:24
ioriaFingerlessGloves, probably you posted him  instructions with the  '/usr/bin/agetty ' cmd; it does not exist on ubuntu where it is /sbin/agetty18:33
FingerlessGlovesioria Annigo, that might do it xD18:56
FingerlessGlovesWas just a quick google18:56
ioriayeah18:57
mycrapgraphics card question Ubuntu 18.0418:59
tomreynwhere?19:00
Annigoioria & FingerlessGloves : I managed to do it meanwhile, and yes - one of the reasons was path to agetty. Question: What does the "-" do in "ExecStart=-/usr/bin/agetty (...)" ?19:02
FingerlessGlovesgood question19:02
ioriaAnnigo, https://unix.stackexchange.com/questions/404199/documentation-of-equals-minus-in-systemd-unit-files19:03
FingerlessGlovesioria, learn something to dayt xD19:03
ioriaheheheh19:03
ioriaAnnigo, '-' which indicates that if the file does not exist, it will not be read and no error or warning message is logged19:04
AnnigoGood to know :)  The experiment seems successful on VM so far - time will show if that will be the same for the actual device and touchscreen19:11
AnnigoThank You for helping out!19:11
FingerlessGlovesno problem19:20
FingerlessGlovesOne done you can clone the HDD to each machine. What I did19:20
AnnigoYeah. I do also write steps down to have installation script, just in case "system image" doesn't work.19:22
AnnigoIt appears I have to update my services, since they have "WantedBy=graphical-session.target" (worked on Ubuntu's gnome3)19:23
AnnigoFingerlessGlove : Sorry for bother, but how do your scripts know when i3 has started? My services (such as starting and upkeeping the browser) was doing this so far: WantedBy=graphical-session.target , but I'd guess other service exists for this de/wm, if any19:50
AnnigoIf one doesn't exist, I have an idea to create a custom one that will be started in .bash_profile and let others depend on that.19:52
monkeyboyhi!19:53
ioriaAnnigo, not very clear what you're asking ... can you elaborate ?20:02
=== specter_ is now known as specter
AnnigoOf course, ioria ! Unsure if you've been following from the beginning, so here's background: I used Ubuntu Desktop 19.10 to create a kiosk station - it uses internet browser (chromium) in kiosk mode, so the users are supposed to stay within the browser and not do anything else. It does work as it, but problems were coming out along the way - such20:16
Annigoas popups (update, crash), gnome3 gestures (allowing to minimalise the browser, skip virtual desktop etc.) and so on. Originally I asked for advices on securing the system (such as password prompt on everything the user isn't supposed to run) and which distribution to use - after initial research, I had Xubuntu in my interest. During the discussion20:16
AnnigoI was suggested to install Ubuntu Server and i3 de/wm, so I did. You know rest of the story... most basic things I wanted to do with it do work.20:16
AnnigoSo, the "kiosk app" has few services that ensure things are running. One of them is autostarting browser and restarting it anytime it gets closed/crashed/whatever. The service file contains "PartOf=graphical-session.target" (under [Unit]) and "WantedBy=graphical-session.target" (under [Install]) to ensure the service gets started after graphical20:17
Annigoenvinronment / user interface does. For Ubuntu Desktop (so with gnome3) it worked as expected. Now on i3 the service stays inactive/dead, until started manually. I suppose this means it doesn't know when to get trigerred and needs to be adjusted.20:17
AnnigoHere's the service file: https://pastebin.com/cAGXfa0N20:19
kxslwhere can i safely get ubuntu server for arm? iso here is downloaded insecurely, and there is no hash, sig, or torrent https://ubuntu.com/download/server/arm20:19
ioriaAnnigo, yes, sounds complicated. Well, that target (graphical-session.target), as far as i know, is not system wide , but per USER, so you need something in /home/User/systemd or similar20:20
Annigoioria Yes, this service is in user's scope. They are to be located in ~/.config/systemd/user and ran by systemctl --user command service20:21
ioriaok20:21
AnnigoNo problem with that. Just need to tell them when they are supposed to trigger. The graphical-session.target worked so far, but guess something else comes in play with i320:22
AnnigoSo the question in short would be probably like: which unit is required to ensure that the custom unit (browser in my case) is started when DE is already there20:24
AnnigoI am afraid to use more specific terms, as my definition on them may be incorrect, therefore misleading20:25
ioriaAnnigo, have you tried (instead of a service unit) an autostart instruction specific for i3wm ?20:26
ioriaAnnigo, like this : https://i3wm.org/docs/userguide.html#_automatically_starting_applications_on_i3_startup20:27
AnnigoI did not, although Ive seen something related to autostart on i3wm while searching for other issue. I have reasons to use systemd units - as said, this browser specific ensures the browser is always running, not just autostarting (so when closed/crashed it returns), and other services have logic like "wait X since boot, then repeat every Y"20:29
Annigo(something like advanced cron).20:29
ioriai see20:29
AnnigoThanks for letting me know though20:29
tomreynkxsl: http://cdimage.ubuntu.com/releases/18.04/release/SHA256SUMS cdimage.ubuntu.com/releases/18.04/release/SHA256SUMS.gpg20:30
tomreynkxsl: this is for ubuntu 18.04 LTS, but the approach is similar for 19.1020:31
ioriaAnnigo, change graphical-session-blah with  'WantedBy=wm.target'20:31
kxsltomreyn, thanks20:32
Annigoioria Doesn't seem work. Ensured the service is enabled and rebooted few times - browser is nowhere to be found (neither on screen or in process list), and the status is "inactive (dead)" everytime. When I start it manually, it works though.20:42
ioriaAnnigo, ok, so maybe time to check some logs : journalctl --user20:43
ioriaAnnigo, or    journalctl --user-unit myunit.service20:43
AnnigoCan I clear it somehow? So I'd reboot and see exactly what happened, rather than have mixed logs with manual run20:45
ioriaAnnigo, wait...  can you start firefox instead of chromium ?  (maybe a snap issue)20:46
AnnigoI can try, would need it install it first. Doubt though, as manual run of the service or directly the browser just works20:47
ioriaok, nvm then20:48
ioriaAnnigo, sy, have to leave . good luck20:50
AnnigoSure thing, thanks20:51
TheSonOfPeterHappy Saturday everyone!20:53
Sven_vBthanks, same!21:14
Towserhow do I restore grub? windows repair kinda nuked it and I need to get the menu showing the os selection back21:29
oerheks!grub21:29
ubottuGRUB2 is the default Ubuntu boot manager. Lost GRUB after installing Windows? See https://help.ubuntu.com/community/RestoreGrub - For more information and troubleshooting for GRUB2 please refer to https://help.ubuntu.com/community/Grub221:29
Towseroerheks, thanks21:35
tangarora__is there no reasonable current guide on how to integrate firmware driver in to mini.iso?21:45
tangarora__i find none...21:45
TowserI just ran the repair tool, on reboot, no menu appeared21:46
oerhekstangarora__, no, one can make a 18.04 live iso and a persistence part, to store such firmware.21:49
oerheksmkusb https://www.linuxuprising.com/2019/03/create-persistent-storage-live-usb-with.html21:49
starcurvehad to do that for a distro other than ubuntu for my wireless card driver21:51
oerhekscubic does not do mini iso https://askubuntu.com/questions/741753/how-to-use-cubic-to-create-a-custom-ubuntu-live-cd-image21:52
tangarora__oerheks: My goal is to completely automate the install. So i am using preseed and it works now for debian but the ubuntu mini.iso does not have the frimware that I can add...21:56
tomreyntangarora__: how did you do it for debian then, since it's basically the same installer?21:57
tomreynwell the foundation is the same, debian-installer.21:58
Towserso grub won't restore21:58
starcurvedebian has a guide on how to include specific drivers21:58
tomreyn!details | Towser22:00
ubottuTowser: Please elaborate; your question or issue may not seem clear or detailed enough for people to help you. Please give more detailed information; for example, we might need errors, steps, relevant configuration files, Ubuntu version, and hardware information. Use a !pastebin to avoid flooding the channel.22:00
starcurvetangarora__: this might help https://wiki.debian.org/Firmware. it has the different spots where firmware can be placed on an ISO image22:06
Towserok so I did a windows repair, it kinda nuked grub, so I ran the repair tool via usb, rebooted and the grub menu didn't appear22:08
tomreyn"the repair tool"?22:09
oerheksmaybe bootrepair? also we need more info, is this legacy mbr or uefi install?22:16
Towseryes bootrapair didn't fix it and it's uefi22:28
oerhekswith uefi, i wonder what windows would mess up, it should not touch the uefi entry in the efi partition22:29
quadrathoch2oerheks, windows sets itself up as the first boot entry, always, so you need to into boot menu to boot into grub22:30
quadrathoch2you can then disable the windows boot entry. windows won't complain22:31
quadrathoch2Towser, did you try to go into the boot menu?22:32
quadrathoch2(as in uefi)22:32
jeremy31I think windows might remove the ubuntu entry from uefi firmware boot menu22:32
quadrathoch2it wont remove it, just doesnt let it be numero 122:33
oerhekswhat is the output of that bootrepair ?22:33
Towserquadrathoch2, that I didn't check22:33
oerheksone could run it again22:33
oerheksclick the "Recommended repair" button. When repair is finished, note the URL (paste.ubuntu.com/XXXXX)  https://help.ubuntu.com/community/Boot-Repair22:35
Towseroerheks, I did and it didn't fix it22:58
oerheksthat url log could give us a clue23:06
oerheksbut oke, it did not fix it.23:06
magic_ninjaare there known issues with the ubuntu installer efi at the moment?23:19
magic_ninjaI can't seem to boot. I don't even get grub. Just a black screen with a cursor.23:20
jeremy31magic_ninja: better off to install wiithout internet connection with UEFI23:20
starcurvethe installer is pretty good about detecting UEFI23:20
magic_ninjait is failing.23:20
magic_ninjaIt is putting the files in the efi partition, and my firmware can see the efi entry23:21
magic_ninjabut I get a *very* quick flash of the kubuntu screen then a black screen with a cursor and nothing.23:21
jeremy31magic_ninja: something about grub-amd64-efi-signed cannot be installed to /target23:21
magic_ninjano error message or feedback of any kind during the install either.23:22
magic_ninjaor during boot23:22
magic_ninjaI'll be back. Lets see if this works right fast.23:23
tangarora__tomreyn: debian had instructions and a zip with all the firmware debs. All I had to do was add them to a dir called firmware in the root of the cd, and add a line in the preseed.23:51
tangarora__I have done the same steps with the ubuntu mini.iso with failed results.23:52
tangarora__no firmware is detected or loaded.23:52

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