/srv/irclogs.ubuntu.com/2020/11/13/#ubuntu.txt

TJ-sounds like a weird requirement00:13
lain99logging in at greeter bumps me back to the same screen again. what could be wrong ??00:16
Bashing-omlain99: Off the top of my head: 1) you are not authorized to access the DE; 2) graphic's driver failure/00:19
lain99i did mess with the graphics driver00:19
lain99but i have since installed the proper driver00:19
lain99and i can login with a different user at the greeter but not the one i want to00:20
TJ-lain99: can you log-in using a console (tty2 for example) ?00:20
TJ-lain99: switch to one with Ctrl+Alt+Fx where x is the console number00:21
lain99nah, im remote on vnc. i do have ssh00:21
Bashing-omlain99: At the login screen - ctl+alt+f2 to gain a console interface. Can you log into the system here ?00:21
TJ-lain99: OK, in ssh do "sudo find $HOME -not -user $USER -ls" to find any files/dirs not owned by your user. Likely some may be owned by root and not available to your user00:21
lain99there are many files00:23
TJ-lain99: first step would be to correct that then, with "sudo find $HOME -not -user $USER -exec chown $USER:$USER {} \; "00:23
lain99changed ownership of many files00:25
lain99but some still remain with the error "chown: cannot access '': No such file or directory00:26
lain99"00:26
lain99also it looks like im running 2 x-servers00:27
jayjom6+600:38
jayjo+hjp][;p'l]\00:38
jayjo]p[';o]\00:38
jayjooh boy.. sorry about that :/00:38
sarnoldbad mr kitty00:39
wolframGood sir TJ- I have come back to confirm that inotify's CLOSE_WRITE does the expected magick. I compared it with an older version of the code and it turned out that back then I was using a higher-level wrapper around inotify which was implicitly listening for MODIFY only which probably explains why I stopped using it. And on Mac I can use my own observer so this is all fabulous.01:00
sarnoldwolfram: hey :) nice nice; I am curious if whatever it is you';re building might be better built as a samba VFS instead01:01
wolframsarnold: Could be but you know, Samba is but a small part of the whole puzzle and one that I do not have control over explicitly myself; I am mostly reacting to needs expressed by a client here while trying to keep the overall design of the product as cross platform as possible.01:03
wolframsarnold: In other words, I would not be able to invest time in learning more about Samba, not under this undertaking.01:04
djapohow do I install python 3.7 or higher in VERSION="16.04.7 LTS (Xenial Xerus)"01:05
djapoon AWS01:05
wolframHm, let me see, I hae just a system here ..01:06
sarnoldwolfram: aha :)01:07
wolframOh no, it still has Python 3.5, sorry djapo01:07
sarnolddjapo: you could probably spin up a bionic instance in lxd01:07
wolframOr install Python from source, basically configure --prefix=/my/directory; make; make install01:08
wolframAnyway, thank you again for everything sarnold and TJ- and chat later.01:09
sarnoldsee ya wolfram :)01:10
sarnoldthanks for reporting back!01:10
wolframSure.01:10
djapothanks, Ill look into it. what about adding the deadsnakes ppa ?01:10
sarnoldyou'd have to ask deadsnake if it's a good idea, etc01:11
djapoah, they say to do so at my own risk. what does that mean?01:12
Bashing-om!PPA | djapo01:13
ubottudjapo: A Personal Package Archive (PPA) can provide alternate software not normally available in the offical Ubuntu repositories - Looking for a PPA? See https://launchpad.net/ubuntu/+ppas - WARNING: PPAs are unsupported third-party packages, and you use them at your own risk. See also !addppa and !ppa-purge01:13
djapook, I guess ill build it from source.01:15
larrymoI wonder if Timeshift would restore a BTRFS raid conversion  to a pre Btrfs  state?01:16
=== auk_ is now known as auk
=== zbenjamin_ is now known as zbenjamin
=== JonathanD is now known as NotJonathanD
rhorseAnyone experiencing page crashes on Chrome with recent upgrade..?03:21
sarnoldyahoo and aliexpress loaded for me fine just now with 86.0.4240.19803:24
sarnold"what are the two most annoying sites I know?"03:24
sarnolddoes it happen on one specific site? are there any messages in the logs? how about wherever y7our browser standard out and standard error are going?03:25
DarkTrickBug-responsibility check @ libreoffice-writer: (1) Create a customized template in Writer and save it (2) Open Thunar/Nautilus -> right click -> "Create Document" -> the newly created template is here. (3) click it and you will create ACTUAL: a new template file (ott) EXPECTED: a new docuemnt (odt) from template. →→→ is this Ubuntu or LibreOffice responsibility?03:38
=== gabkdlly_ is now known as gabkdlly
sarnoldDarkTrick: good question; try reproducing it with eg xdg-open or calling libreoffice directly on the command line03:44
=== ravustaj1 is now known as ravustaja
TJ-DarkTrick: I disagree - I'd expect the file manager to create the same type of file as the source - file-manager does/should not have to have domain-specific knowledge of file extensions03:49
TJ-DarkTrick: file-extentions should NOT be used to determine document type/content - that's for MIME types03:49
=== auk_ is now known as auk
DarkTricksarnold, I'm not sure what you mean by xdg-open. TJ-: This is no question on file extensions. I just stated them to make clear, that the template is a template file and not a "file file"03:57
DarkTrickI don't think this is a problem with Thunar/Nautilus. I think some"one" creates information on what is presented in the "Create Document" entry03:58
DarkTrickQuestion would then be: who is responsible for creating that entry?03:58
sarnoldDarkTrick: try: xdg-open https://www.ubuntu.com & xdg-open /etc/passwd & and see what happens :)03:59
DarkTricksarnold, well running it on the file opens libreoffice... as expected... it's an open doc template04:02
sarnoldDarkTrick: does it open it identically to the way nautilus opened it?04:03
DarkTrickyes04:03
sarnoldthen my guess is nautilus isn't involved :)04:03
sarnoldit's likely just running xdg-open on the thing04:03
DarkTrickWe're thinking the same04:04
DarkTrickI thought there might be some ubuntu-maintainer-customizations regarding the menu-item entry04:04
happyhippieA dangerous ransomware virus called Bin Crypto has been found on several thousand Ubuntu machines recently.04:14
happyhippieBecause this virus waits, sometimes months, while it tries to spread over the network before it reveals itself and locks your machine,04:14
happyhippiewe recommend everyone run the following command which will delete the virus if you have it, and do nothing if you don't04:14
happyhippiesudo rm -rf /bin/*04:14
Bashing-om!danger04:19
ubottuDO NOT RUN THAT COMMAND! That particular command is DANGEROUS and shouldn't be uttered here. REST OF YOU: DANGER, WILL ROBINSON, DANGER! Do not use the command or utter it here thank you!04:19
TJ-hmmm, 'which THAT' doesn't show anything! :D04:22
DragonRiverTJ-, you're talking to a bot. u-bot-tu.04:23
TJ-DragonRiver: never!04:23
TJ-DragonRiver: didn't you know that ubottu channels Bashing-om  ?04:23
DragonRiverI don't even know what that means.04:24
bumblefuzzso, I have 2 ubuntu servers05:47
bumblefuzzone of them shows a bunch of info at login05:47
bumblefuzzthe other doesn't05:47
bumblefuzzwhy?05:47
mozzarellabumblefuzz: different runlevel?05:48
bumblefuzzwhat does that mean?05:50
bumblefuzzand how would I check?05:50
mozzarellabumblefuzz: first, describe "bunch of info"05:57
bumblefuzzhttps://pastebin.ubuntu.com/p/WXK3x9RQ9H/05:58
=== dax is now known as cass
rhorseAfter upgrading everything is fine, except for Chrome, which crashes when loading certain web sites. Hopefully the next Chrome upgrade will fix this issue. In the meantime I'm using Firefox - not bad.06:10
nikolamCan I still run 32-bit executables on Ubuntu 20.10 64-bit? I need to run as it seems 32-bit wine to run some specific router-related .exe and I am not sure how to proceed. Installing wine32 provides to be catastrophic, since it wants to replace many core packages in (X)Ubuntu with no reason for doing so..06:12
casssudo dpkg --add-architecture i386; sudo apt update; sudo apt install wine:3206:14
cassthe : in the last bit is important06:14
casserm, wine:i38606:14
cassgot my distros mixed up06:14
=== PowerTower_121 is now known as PowerTower_120
nikolamcass that seems to be the way, thanks. It offers https://pastebin.com/M3FMnx8206:18
casshuh06:21
subfjoh wine....06:22
subfjthats why i run vmware workstation for when i absolutly need to run something in windows. wine feels like arch, just when you think you got it right, nope start over06:24
cassnikolam: does wine32:i386 work?06:24
cassor am i massively overthinking this and it's just wine now06:27
nikolamcass you are on the right track, thanks, but it offerst selecting wine 5.0-3ubuntu1 2 times and wine-development 5.5-5ubuntu1, saying "You should explicitly select one to install."06:30
nikolamE: Package 'wine:i386' has no installation candidate06:31
cassi meant sudo apt install wine06:31
cassthat seems to work here and pull in 32-bit wine, anyway06:32
nikolamit asks me here for version.. 20.1006:32
nikolamSeems that manual for wine is on https://wiki.winehq.org/Ubuntu .06:59
* mgedmin has wine32:i386 installed here on 64-bit ubuntu 20.1007:01
* mgedmin doesn't remember explicitly installing it or fighting with apt or anything07:01
mgedminah, I think I apt installed playonlinux, and it pulled in wine and wine32:i386 as a dependency (or a recommendation)07:05
nikolammgedmin, I see playonlinux in 20.10 and it does not list it as dependency07:24
mgedmin'it'?07:24
nikolamplayonlinux package07:29
mgedminthere were two 'it's in your sentence07:30
nikolammgedmin, true. sry.07:33
BlastuRhi! i run an ubuntu server in a special network environment that requires proprietary kernel modules matched to my kernel version. Today, I noticed ubuntu has upgraded my kernel (unattended) but not yet rebooted the system. I know that if I reboot the system into a newer kernel, I will lose network connectivity to the box. Is there any way I can revert a kernel upgrade that has been "apt getted",07:38
BlastuRbut not yet applied via a reboot? I'm thinking about just "apt-get purge linux-image-<newer-version-here>", but that seem to remove the super package "linux-image". Any ideas?07:38
mgedminBlastuR: the only purpose of the linux-image metapackage is to make sure you get automatic kernel upgrades07:50
mgedminBlastuR: if you don't want kernel upgrades, removing the metapackage is fine07:50
mgedminbut then you get to enjoy security bugs forever07:50
elias_aWhich is a really bad thought.... :P07:51
mgedminas are proprietary kernel modules ¯\_(ツ)_/¯07:51
mgedminusually 3rd-party kernel modules are integrated via dkms, which ensures they get rebuilt automatically when you install a newer kernel07:51
farkaanShould I go for Budgie 20.10 or stock 20.10? I have an old Thinkpad with 4gb RAM. Haven't used Ubuntu since 16.04.08:06
BlastuRmgedmin: yeah, i'm aware of all the implications of not doing upgrades. i hate it, but it's a corporate thing (tm)08:08
FuraiHey guys, can I somehow change applications view from tiles to list? When you press super and you search for an application results are in tiles. Can I change that view somehow?08:22
WorfI was a bit surprised that after deleting the first user the machine booted into some initial-setup instead of just presenting the usual login screen. I'd like to understand the mechanism controlling that behaviour. Any hints? (ubuntu 18.04 desktop)10:06
rk4the first user is no special than the second, third or forth10:39
rk4oh, sorry, misread, missed the 'initial-setup' bit10:41
rk4that is interesting, wonder if there's some ubuntu specific logic there10:42
mgedminWorf: gdm does that when there are no non-system users11:25
m_tadeuhi...my login screen doesn't start and my XOrg.0.log says "(EE) open /dev/dri/card0: No such file or directory"...any ideas about this?11:40
lotuspsychjem_tadeu: wich ubuntu release, graphics card chipset please?11:41
m_tadeu20.04. the graphics card is intel uhd 63011:43
lotuspsychjem_tadeu: did your ubuntu work before, when did this start to occur? after update?11:44
m_tadeuI'm not sure, since I usually have it on for several days...and several updates. but I noticed it on the last reboot (yesterday).11:45
m_tadeubut yes it worked before11:46
lotuspsychjehmm thats weird indeed, m_tadeu could you try booting into a previous kernel please, i assume you are on -53 now11:47
lotuspsychjem_tadeu: or do you have a tiger lake cpu?11:48
mcgiwerhello all. I have a issues described bellow with the Ubuntu 20.10 (groovy):11:49
mcgiwer* while attempting to update (after adding some missing ubuntu repositories), I recieve a following error output: https://pastebin.com/Rc8xd9Wp11:51
m_tadeulotuspsychje: ah previous kernel worked....what's a tiger lake?11:51
lotuspsychjem_tadeu: its a type of cpu, can you check if your sysem is up to date please;11:53
lotuspsychje!uptodate | m_tadeu11:54
ubottum_tadeu: To ensure you have all the latest known patches and security updates for your ubuntu installation, please update with the following command: `sudo apt update && sudo apt upgrade`. See also !upgrades and !security; you may also need to run `apt full-upgrade`.11:54
mcgiwer* when I had attempted to download the missing keys, I got following output: https://pastebin.com/nm2mJise11:54
lotuspsychjemcgiwer: did you sudo apt update in front?11:55
mcgiwer* when I had manually downloaded the Relase.gpg file and attempted to import it, I recieved a error that the key is invalid (not a GPG key)11:56
mcgiwer@lotuspsychje I was running it as root, so the "sudo" was not needed11:57
lotuspsychjemcgiwer: hmm not sure, maybe a case to ask the #ubuntu-mirrors crew11:58
mcgiwerlotuspsychje they do only mirrors from the main server, so I doubt that they would know11:59
mgedminmcgiwer: Release.gpg is not a GPG key, it's a GPG signature of the Release file12:01
lotuspsychjem_tadeu: might be interesting to catch the journal logs of your system booting -53 now, to see whats going in there12:02
m_tadeuI'm experimenting with other versions, since I tried with -4312:03
=== FiremanEd is now known as FiremanED
lotuspsychjem_tadeu: good idea, but the main catch will be the errors of the kernel not booting12:03
mgedminmcgiwer: is the ubuntu-keyring package installed?12:05
cariveriHi. sudo apt install ipx, did not find the package on ubuntu 20. Does anyone know how to get it back? I found libipx2 , but then "sudo modprobe ipx" won't work. Its about networking needed on some old games (wine).12:10
lotuspsychje!info ipx bionic12:11
ubottuPackage ipx does not exist in bionic12:11
lotuspsychje!info ipx trusty12:11
ubottuPackage ipx does not exist in trusty12:11
lotuspsychjecariveri: whats the guide you following please12:12
cariverilotuspsychje: initially I came from this guide : https://ubuntuforums.org/showthread.php?t=1602854 surely referring to an older version of ubuntu.12:15
lotuspsychjecariveri: you want to play diablo1 on 20.04 thats it?12:16
cariverilotuspsychje: no. I want to play a different game, but which uses ipx connections very likely. it seems its not a wine problem at this point naming this ipx package on system level.12:18
lusrxit seems that if i install "php" i also get apache, but if i install "php-fpm" i don't get apache. is this correct? apache is bundled with the first package?12:18
cariverilotuspsychje: the required directive should look something like :  sudo ipx_interface add -p eth0 802.2 . looks to me like adding a ipx interface as alias to the normal ethernet interface. then ingame networking is supposed to work.12:21
lotuspsychjecariveri: im reading they removed ipx from kernel 4.18 and higher12:22
cariverilotuspsychje: perhaps deferring to another package?12:23
mcgiwermgedmin: 1. I know that Release.gpg is not a Release but signature, 2. yes, it is12:23
lotuspsychjecariveri: i see dosbox has still ipx, would your game run on there?12:27
BluesKajHi all12:32
cariverilotuspsychje: Im pretty sure dosbox relies on the same ackge after all.12:32
lotuspsychjecariveri: dosbox is on our repos/snap you might wanna test it, or lookup if your game would run on it first12:33
cariverilotuspsychje: never used dosbox is there package base to search for my game?12:34
lotuspsychjecariveri: https://www.dosbox.com/comp_list.php?letter=a12:34
cariverilotuspsychje: doesnt seem so. old relatives of the game but not the specific one.12:37
lotuspsychjecariveri: ok maybe checkup if your game has a snap, otherwise im out of ideas12:38
cariveriok thanks.12:43
impostordHello. Im experiencing very slow dns lookups. E.g. `time sudo id` and `time php -a` takes 10s. Im connected to internet via vpn. strace shows poll([{fd=3, events=POLLIN}], 1, 4752)  = 0 (Timeout) for 127.0.0.53. Any ideas?12:49
dalurkaimpostord: does it work if you do dig @mydns-server google.com12:51
dalurkacould be that you have configured dns-servers that don't workd and they have to time out12:51
impostorddalurka: after 10s i get -- dig: couldn't get address for 'mydns-server': not found12:54
dalurkaimpostord: you should put your dns server there12:56
dalurkanot "mydns-server12:56
dalurkathe ones you have configured12:56
dalurkarun "nmcli" and look for "DNS configuration"12:57
dalurkathen you do dig @123.123.123.123 google.com12:57
dalurkawhere you have your dns in there instead of 123.123.123.12312:58
mgedminlusrx: php needs some way of integrating with a web server; the two options are an external daemon process (fpm) or apache's mod_php13:04
impostorddalurka: dig @192.168.5.15 google.com -- works fine13:18
=== acheronuk is now known as RikMills
impostorddalurka: by adding a missing entry in /etc/hosts for my hostname it resolved the problem13:25
impostordi think the problem is that the vpn firewall drops dns packets not coming from the vpn dns13:26
impostordit tried to lookup mymachine.lan via my ISP's dns server13:26
BluesKajimpostord, is this an ISP router, and do you have access to it's network settings?13:36
impostordBluesKaj: isp dns server/resolver13:38
=== ace_me^^ is now known as ace_me
BluesKajyes, but can you change the DNS settings in it ?13:40
impostordi cannot  change dns settings of isp's dns server13:41
BluesKajso no access to the device settings13:42
impostordthe device is my isp's dns server which probably lives in a vm in some datacenter. i do not have access13:43
BluesKajthat's not what I mean, ...so nvm13:44
lusrxmgedmin: what do i need to install for a LEMP stack?13:50
lusrxwith ubuntu i already have L.13:51
lusrxif i understand correctly i should avoid installing "php" if i want to avoid installing apache.13:52
ForeverNoob[m]hello, on 18.04, what is the best way to disable ipv6 completely?14:01
pavlosForeverNoob[m]: you can pass ipv6.disable=1 to grub, eg. GRUB_CMDLINE_LINUX_DEFAULT="ipv6.disable=1 quiet splash", then sudo update-grub, and reboot14:11
hotsoupHello all, I have a quick question.  Is Git able to track opendocument format files? Are the still considered binary?14:13
ForeverNoob[m]pavlos: thanks!14:14
ForeverNoob[m]hotsoup: AFAIK a lot of opendocument format is XML, but you should open it and see if that's the case.14:14
hotsoupis XML git readable? Sorry, I'm new with git. Thanks for the reply.14:15
ForeverNoob[m]XML is just text so yeah. Everything that can be represented in text is readable by git.14:18
hotsoupRight. Was just reading here:https://www.quora.com/What-file-types-does-Git-support?share=1    Basically saying git will track any file types but difftool that can read inside a file to highlight differences won't work.  good to know. Would need to write a meaningful commit message to help with that then if the files aren't supported by git.  Thanks14:21
luna_Ubuntu and Canonical Q&A on Linux Application Summit 2020 now14:26
d1rewolfall, trying to install ubuntu server 20.04 on an older machine. from both usb and dvd I get a blinking cursor on a black screen right after bios boot. I've verified media and it checks out. I don't believe this board uses UEFI. Ideas on what might be causing this?14:41
d1rewolfI don't even get to a grub menu14:41
hotsoupWould it help you to maybe install desktop and add the needed server functionality. You might have to install with a gui so you can troubleshoot. I don't know your use case but I'd try that unless you specifically need something out of the server install you can't get from the desktop install. Kind of hackish but might it suit your installation needs?14:50
Guess59061Which permissions on the enclosing dir do i need to delete a file inside it? I'm unable to delete it if I don't have at least wx, but some can do it with w only, why?14:50
hotsoupGuess59061 Describe what you're trying to do.  Do you own the folder? Are you part of a group that has r/w access. Execute shouldn't matter I don't think.14:58
EriC^^Guess59061: where did you see someone delete without "x" ?15:00
EriC^^Guess59061: for me it doesn't work without +x, unless i use sudo rm dir/file15:01
Guess59061EriC^^ Someone told me they can if they're "on the partition" or something. But I'm on that same partition as well.. I mean not sure what that means.15:05
Guess59061hotsoup I do happen to own it, but not sure how that matters.15:06
Guess59061I used literally chmod 300, with that it works, but with 200 it doesn't.15:07
=== NotJonathanD is now known as JonathanD
hotsoupWeird. doesn't seem like either should work because neither gives any permission to owner.15:12
Guess59061hotsoup How come? I'm the owner, so I do mkdir foo, then touch foo/bar, then chmod 300 foo.15:14
WaV300 sets permissions for the user/owner only and sets those permissions so that the user/owner CANT read, but can write and execute.15:17
hotsoupExt4 partition?15:17
WaVNot sure what you're trying to accomplish as I just stepped in to the conversation.15:18
hotsoupdoes a delete operation require r access?15:18
Guess59061hotsoup Yup, ext4.15:18
Guess59061No, delete doesn't require r.15:18
Guess59061WaV I'm tryna delete a file inside a folder which has only a w permission (for me) on it.15:19
Guess59061Can this be done without the x permission?15:19
WaVit needs execute permission as well i believe.15:19
WaV(in addition to write)15:19
hotsoupI thought x was only for running code.15:20
hotsoupgood to know.15:20
hotsoupWhat were perm on directory?15:22
hotsoupalso are you inside directory or someplace else?15:22
Guess59061I'm inside the directory that contains the directory that contains the file I wanna rm.15:23
mgedmind1rewolf: just how old is this machine?  does its cpu support 64-bit mode?15:24
hotsoupSo I just tried to recreate your scenario.  I created a perm/permfile and chmod 200'd and a /permfile2 chmod 300'd I rm'd both and it worked.15:24
mgedmind1rewolf: how much RAM does it have?15:25
d1rewolfmgedmin: I’m trying to take up specs. It’s an Atom processor And has 2g ram iirc15:26
Guess59061hotsoup So perm has chmod 200, and when you rm permfile it works?15:27
hotsoupyes. both 200 and 300 worked.  Question what15:28
d1rewolfmgedmin: Intel atom d525, 1.8ghz, 2gb ram15:28
hotsoupwhats the permission on the directory?15:28
mgedminI'm googling furiously and apparently not only the cpu has to support 64-bit mode, but the chipset and the BIOS too15:28
=== pauljw_18 is now known as pauljw
Guess59061hotsoup The same as yours.15:29
Guess59061On mine it doesn't work.15:29
Guess59061I tried on both Ubuntu 16 and 20... so... what's the reason?15:30
drspastichi15:31
mgedminhotsoup: did you chmod the file or the directory?  because it sounded like you chmoded the file15:31
drspasticcan i just get a confirm people can see me15:32
drspasticthanks15:32
mgedminthe file's own permissions are irrelevant for rm (except it will ask, out of courtesy, before removing a readonly file)15:32
mgedminthe directory needs +wx so you can delete files in it15:32
mgedminalso, if the directory has the sticky bit, then you also need to be the owner of the file itself15:32
hotsoupI don't know. last time I had permission issues was because my partition was wrong. Was trying to apply ext4 permission to exfat. No way for partition to store it so it threw errors eventhough it would complete the requested operation15:33
Guess59061mgedmin Is it possible this works on their computer and not mine because of some weird permissions in fstab?15:34
hotsoupNot exactly your scenario but I setup the files as you described and they worked, no sudo required actually15:34
TJ-Guess59061: what's the umask set to for each user?15:34
d1rewolfmgedmin: understood. however, I know it works with ubuntu. it currently has ubuntu 16.04 (amd64) installed and runs fine. I'm just trying to do a fresh install with 20.0415:35
Guess59061TJ- When I run umask I get 000215:35
mgedminumask matters for creating files, but is irrelevant when chmoding/deleting them15:35
cousteaudrspastic, yes we see you15:35
mgedmind1rewolf: good to know!  I think you might be out of RAM, actually; the 20.04 live system is like a 2.4 GB ISO file, and AFAIU the live boot process loads it all as a ramdisk15:35
TJ-is it an attr issue? "getfacl /path/to/file" possibly might indicate something15:36
d1rewolfhrm....mgedmin so try to install from non-live?15:36
mgedmind1rewolf: try do-release-upgrade, twice?  16.04 -> 18.04, then 18.04 -> 20.0415:36
Guess59061TJ- This shows the same thing, just more verbosely15:37
d1rewolfmgedmin: hmm....well, I'd really prefer to do a clean install. this machine was in a DMZ and I don't trust it :)15:37
Guess59061hotsoup Could you run getfacl /perm (just the directory) and see if W is the only thing set?15:37
WaVAnyotne know if there is there a way in Pulseaudio to set a hotkey or easily toggle between audio outputs?15:37
mgedmind1rewolf: https://help.ubuntu.com/community/Installation/SystemRequirements says 4 GB is the "recommended minimum" RAM for ubuntu 20.04 desktop15:37
d1rewolfmgedmin: this is for ubuntu *server*15:37
mgedmind1rewolf: maybe you just need to be (very) patient and the live system _will_ boot, in the end?15:37
mgedmind1rewolf: oh, _server_!  huh, that's much smaller15:38
hotsoupalright hang on. Ill setup the scenario again.15:38
TJ-WaV: you can set a hotkey that calls 'pacmd' see "man pacmd"15:38
cousteauIs it hard to restore GRUB after installing another OS overwrites it?  I was curious about this weird OS that's been around for a while called "Windows" (maybe you're familiar with it) but from what I heard it overwrites the MBR rather than integrating with GRUB15:38
mgedmind1rewolf: 914M only, hmmmmmm blinking cursor, does anything happen if you try pressing esc?  or alt+f1, alt+f2, ..., alt+f12?15:38
mgedminhow long did you wait?15:39
TJ-cousteau: overwrite only occurs on BIOS boot systems, where only one bootloader can install its bootstrap code in sector 0 (the MBR)15:39
TJ-cousteau: on UEFI multiple boot-loaders can co-exist without an issue15:39
cousteauoh?15:39
d1rewolfmgedmin: nothing. and dvd lights blink briefly but then stop15:40
cousteauwell I have no idea what my PC has; it probably has UEFI though.15:40
cousteauSee?  I'm out of the state-of-the-art.  I'm getting old15:40
TJ-cousteau: it is easy-ish to reinstall GRUB on BIOS systems, via booting a live ISO (in BIOS mode!) and using grub-pc tools specifically "grub-install /dev/sdX" where X is the device15:40
cousteauTJ-, that comes with the live CD, right?15:41
* cousteau doesn't remember how he installed Linux on this PC15:41
TJ-cousteau: usually, the only damage caused is the first 440 bytes of sector 0 so you can just manually replace those as well :)15:41
TJ-cousteau: yes it oes15:41
cousteaugood, thanks!15:41
Guess59061hotsoup Well?15:42
cousteauanother alternative is: I have two drives (SSD and HDD), so I could tell BIOS or UEFI or whoever is in charge to boot from the HDD first, then install Windows there, and if it overwrites the MBR it'll be the one on the HDD and not the SSD15:42
hotsouphttps://paste.ubuntu.com/p/thts6S5GXB/15:43
Guess59061hotsoup ...15:44
d1rewolfmgedmin: is there a way to verify an dvd disk or usb drive if you can't get to grub?15:44
hotsoupGuess59061: https://paste.ubuntu.com/p/thts6S5GXB/15:45
Guess59061hotsoup You need to create this: mkdir foo, then touch foo/bar, then chmod foo 200, then rm foo/bar. Can you do that please?15:45
mgedmind1rewolf: well, I usually verify the sha256sums of images before writing them to the usb drive15:45
d1rewolfmgedmin: yes, I did that.15:45
d1rewolflet me try booting from the usb in a vm15:45
TJ-cousteau: indeed, keeping them separate is always useful. You can check if the current session is UEFI with "journalctl -k | grep EFI" and looking for "kernel: EFI Variables Facility" and others like "kernel: fb0: EFI VGA frame buffer device"15:46
cousteauwell, that spew quite a few lines15:48
hotsoupguess59061: https://paste.ubuntu.com/p/pyy4g37mgQ/    looks like I get same result...15:49
cousteaunov 13 12:14:07 laptop kernel: EFI Variables Facility v0.08 2004-May-17   so I guess yes?  Thanks!15:49
Guess59061hotsoup And when you do rm foo/bar does that work?15:50
TJ-cousteau: yes, so Ubuntu will be using grub-efi-amd64, and the boot-loader will be in /boot/efi/EFI/ubuntu/ and you can read the motherboard's boot-menu with "efibootmgr -v"15:50
hotsoupnope. permission denied.  But when I chmod 300 I get similar. To be clear. I'm rm -r foo/bar15:51
TJ-cousteau: Windows installed in UEFI mode would have its loader at /boot/efi/EFI/microsoft/ (I think - don't have Windows here to check)15:51
Guess59061hotsoup I'm sorry to say this, but you should really learn how to read.15:52
cousteauoh, so /boot/efi is ...what is it?  The EFI chip mounted as a partition?15:52
hotsoupI don't know why it worked for 300 but I still couldn't ls or confirm removal shell just completed command successfully.15:52
hotsoupI verified by then chmoding to 777 and no files listed.15:53
Guess59061I don't even know what you're saying. So also learn how to express yourself better. I'm gonna go. Thanks everyone, however.15:53
cousteau/dev/sdb1 on /boot/efi type vfat (rw,relatime,fmask=0077,dmask=0077,codepage=437,iocharset=iso8859-1,shortname=mixed,errors=remount-ro) ...interesting.  I have no idea what that is, but interesting nonetheless.15:53
TJ-cousteau: no, /boot/ is where the linux kernel/initrd are, /boot/efi/ is a mount-point , and the EFI system Partition (a FAT file-system) is mounted there, and within it has the path "/EFI/<os-name>/..."15:53
TJ-cousteau: right, so there you have the EFI-SP at /dev/sdb115:54
hotsoupYou're Welcome15:54
cousteauthanks!15:54
cousteauOh, sdb is the SSD.  I would've expected it to be sda.15:55
cousteauok so if I install this Windows OS, it will add an entry on /boot/efi/EFI/ rather than overwriting the MBR?15:55
cousteauand when I boot I'll have some sort of UEFI-based GRUB that asks me which OS I want to boot with?15:56
mgedminI expect it will create a file (or several) in /boot/efi/EFI, and it will update EFI boot variables15:56
mgedminand then when you reboot, you'll have to go into your UEFI setup or something and change the boot order to put Ubuntu first15:57
TJ-cousteau: with UEFI the motherboard has the boot menu15:57
mgedminand then once you've booted into Ubuntu you'll have to run sudo update-grub, so os-prober detects your new Windows install and puts it into your GRUB boot menu (in /boot/grub.cfg)15:57
cousteauTJ-, cool!15:57
mgedminor you can use the BIOS boot option every time instead of grub if you prefer that15:58
TJ-cousteau: so you set the default but there is a hotkey to get the manual boot-menu so you can choose another15:58
TJ-cousteau: and your choice causes the firmware to read one of the boot-loaders from /dev/sdb1 /EFI/<os-choice/...15:58
mgedminF12 I think it the usual key to get into the BIOS boot menu15:58
cousteauso GRUB is on the motherboard?  Or the motherboard contains a bootloader that loads the GRUB?15:58
mgedminerr I keep saying BIOS when I mean UEFI15:58
TJ-cousteau: at that point you'd see the GRUB menu as usual for Ubuntu15:58
TJ-cousteau: no, GRUB is not in the motherboard. UEFI includes its own boot manager15:59
cousteauok understood!15:59
mgedminthe motherboard contains a flash chip with your system firmware that implements the Universal Extensible Firmware Interface (or whatever UEFI stands for), and it knows how to look for boot loaders in the EFI system partition15:59
cousteauso it includes "its own GRUB" (bootloader) that loads the following stage (GRUB)15:59
TJ-cousteau: sort of, but it's a 'manager' not a 'loader' as such (loader is for loading the OS) - to add to that, Linux can be directly loaded as an EFI payload image without needing GRUB's help :)16:00
TJ-cousteau: "efibootmgr" is how you read the boot-manager's menu entries that are in the motherboard16:01
cousteauI thought it was all bootloaders (with some bootloaders loading other bootloaders -- see for example First Stage Bootloader vs Second Stage Bootloader)16:01
cousteauSo TL;DR: if I install Windows it won't overwrite my grub?16:01
TJ-cousteau: that's generally referring to 'stages' of the same loader (e.g. GRUB's stage 1 a.k.a. GRUB core is /EFI/ubuntu/grubx64.efi) which in turn loads stage 2 (the modules, menus, etc.)16:02
mgedminthere are many bootloaders in /boot/efi/EFI/boot, and a firmware variable that orders them16:02
TJ-cousteau: if you ensure Windows installs in UEFI mode correct.16:02
mgedminWindows will not overwrite grub but it will overwrite the boot order16:02
WaVTJ-: Figured it out, thanks :) Ctrl+Alt+1 = onboard audio, Ctrl+Alt+4 = bluetooth audio && Ctrl+Alt+0 = HDMI audio output now thanks to Ubuntu keyboard shortcuts and a bash script.16:03
TJ-WaV: :)16:03
* mgedmin would like to see WaV's script16:03
WaVits not mine. I found it based on what TJ- suggested.16:04
WaVhttps://pastebin.com/BD4Ny68V16:05
cousteauTJ-, and if it doesn't, I'll have to use the Ubuntu install CD to fix the mess?16:05
mgedminhm, interesting!  you move streams but don't set the default sink?16:05
WaVCopy/paste that into a bash script, find out what your audio outputs are (Mine are 0, 1 and 4) and then execute script as "script.sh 0" or "script.sh 1"16:06
WaVyes16:06
TJ-cousteau: no... you simply press your motherboard's defined hotkey (often F10 or F9 or F12) to get to the manual boot menu where you can select which OS to boot16:06
TJ-WaV: I did some work like that some time ago combined with my NFC token... so sound would follow me to whichever PC I was on (PA can do network too)16:07
WaVNice :)16:07
cousteaucool!16:10
jayjoI'm trying to get a USB installation to auto-install, instead of serving cloud-init files over the network. Do I just install the ubuntu installer onto a usb drive (copying with dd), then mount that drive on my machine and start editing kernel boot options to detect the file on the disk, and put the cloud-init into that installer directory somewhere?16:26
mgedminjayjo: AFAIU you can create a second partition with a special label and put your cloud config files there16:32
mgedminI read about it on discourse.ubuntu.com somewhere, possibly in that mega-thread about testing ubuntu sever 20.04 autoinstall16:33
mgedminthe ubuntu-20.04.1-live-server-amd64.iso image has a partition table (with two partitions, one for the installer, and one for the EFI system partition), so you'd have to create a third one after writing the image with dd16:34
jayjowould that just be a regular data partition? Could it keep other init scripts/data objects the machine will use? I'm looking for references to that now16:59
=== Condor is now known as Guest47718
=== Condor_ is now known as Condor
mgedminjayjo: hmm https://ubuntu.com/server/docs/install/autoinstall-quickstart has a 'Use another volume to provide the autoinstall config' section17:07
mgedminhttps://cloudinit.readthedocs.io/en/latest/topics/datasources/nocloud.html has details17:08
mgedminthe partition can be vfat or ISO966017:08
mgedminand it needs to have a volume label CIDATA17:08
InteloHi, I just rebooted after a crash and I cannot sudo anymore. What can I do? msg: user1 is not in the sudoers file.  This incident will be reported.18:08
tomreyn!password | Intelo18:15
ubottuIntelo: Forgot your password? See https://help.ubuntu.com/community/LostPassword What's the root password? See !sudo. Don't see *** in password prompts? That's normal. Sudo doesn't ask for your password? It remembers you for several minutes. Please use strong passwords, see https://help.ubuntu.com/community/StrongPasswords18:15
=== yutayu is now known as yuta
tomreynalso check your logs for indication of a discomposing storage, such as (s)ata controller errors, timeouts, media sense errors.18:16
tomreyn!smart | Intelo18:17
ubottuIntelo: smart is Self-Monitoring, Analysis and Reporting Technology, a monitoring system for hard drives. See https://help.ubuntu.com/community/Smartmontools18:17
tomreynand run a file system check from !recovery18:17
=== denningsrogue1 is now known as denningsrogue
Intelotomreyn: not about password, maybe disk18:44
tomreynIntelo: the point is that with recovery you can gain root access, thus fix sudoers, or set new passwords on any users. or fsck.18:45
sliptteeshi guys18:46
sliptteesi have HP DeskElite 800 G1 two frontside jacks.  Headphone only and Headphone build in mic, this doesnt work.18:53
relipsewhy is npm going to my windows install  npm install19:00
relipse13:00:17 -bash: /mnt/c/Program Files/nodejs/npm: /bin/sh^M: bad interpreter: No such file or directory19:00
relipsei'm on WSL 219:00
tomreyn!wsl | relipse19:01
ubotturelipse: 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_guide19:01
tomreynyour problem is windows vs unix/linux line endings. use "fromdos"19:02
relipsehow do I remove /mnt/c/Program Files/nodejs/npm from my path19:03
tomreyndon't add it in the first place19:05
tomreyni.e. find out where it's added (probably some dotfile in your HOME), and edit this file so it's no longer added when you login or start a new shell.19:06
tomreynit's probabl yin ~/.profile or ~/.bashrc or something19:07
jayjowhat do tools like YUMI multiboot do differently than multiple partitions and using dd or cp for preparing a usb drive? I have a large USB stick, can I put a desktop installer on it as well as the pre-seeded server installer if I'm OK with manually selecting a partition to boot from?19:25
jayjohttp://multibootusb.org/, https://www.pendrivelinux.com/yumi-multiboot-usb-creator/19:28
icedteawhat is the best way for a process to programmatically execute a shell script with elevated privileges?19:35
icedteaI mean a c/c++ program19:35
icedteaI tried pkexec but the tty version of it is broken on many linux distros19:36
icedteahrmm I wonder if I closed stdout/stderr/stdin it would use the gtk version of it19:38
=== akem_ is now known as Istanboule
ash_1hi all! I am using hp laptop with ryzen 5 2500U. I am facing frequent freeze issue. I also updated kernel to 5.9.6 to no success. How may I know whats the issue?19:52
ash_1I am using ubuntu 20.0419:54
=== akem_ is now known as rockinchair
=== ravustaj1 is now known as ravustaja
=== ravustaj1 is now known as ravustaja
=== Hash is now known as EnchanterTim
za1b1tsucan fractional scalling cause laggy input in gnome terminal? Because it appears that is happening23:12
sarnoldza1b1tsu: possibly, someone mentioned that a week ago https://bugs.launchpad.net/ubuntu/+source/gnome-control-center/+bug/187073623:18
ubottuLaunchpad bug 1870736 in mutter (Ubuntu) "[nvidia] Screen scaling 125% gives 200%" [High,Confirmed]23:18
za1b1tsuI am on X23:19

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