[00:17] ubuntu [00:24] ubuntu? [00:27] Hello. Is it possible to install both win 10 and ENCRYPTED ubuntu on different ssd? I should first install win 10 and then ubuntu? [00:28] I'm not sure which order is better but I think either direction will probably work [00:30] If you install ubuntu and then win 10, won't win 10 "forget" about ubuntu? [00:31] it's entirely possible, I don't know what window's installer is like these days [00:31] certainly that's what would have happened ~twenty years ago [00:31] it's still a monotheistic religion. [00:32] so do windows firsts? [00:32] !dualboot [00:32] Dual boot instructions: x86/AMD64: https://help.ubuntu.com/community/DualBoot/Windows - Macs: https://help.ubuntu.com/community/MacBookPro https://help.ubuntu.com/community/YabootConfigurationForMacintoshPowerPCsDualBoot [00:32] i think that's usually recommended here [00:34] ttytwister: there's also the option of running windows into a vm (and to switch hardware over to it using lookingglass, if needed) [00:35] tomreyn, run into a vm inside of ubuntu? [00:36] yes, this way you don't have windows overwrite when it feels like. [00:37] tomreyn, you mean windows could do some bad things to ubuntu? [00:38] whatever runs as the main OS can do bad things to whatever is in its reach. theoretically. practically, windows 10 feature upgrades have previously overwritten grub. [00:40] tomreyn, if it happens, is there an easy instruction how to recover? [00:40] !grub [00:40] GRUB2 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/Grub2 [00:41] superthankyou [00:42] i just found out [00:42] russia has its own linux variant [00:42] Astra Linux [00:42] free and even a paid distro [00:42] did anyone ever try that? [00:42] !ot | Rubato [00:42] Rubato: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [00:42] oops [00:43] So I am currently using mergerfs to merge two drives together. now lately for somereason one of my drives keeps getting unmounted and I can't figure out why. I recently formatted the drive to ext4. I tried running smart tools but there weren't any errors that I could see on it [00:45] no smart support on the drives not sure what test I should run next [00:46] i have 0 experience with mergerfs, but i assume it would log to the systemd journal if something bad happens? [00:46] if they are usb drives, you can probably yank them out of their enclosure and hook them up to a real sata controller and check the smart logs [00:46] if they are sas drives, I haven't got a clue what you do to check their health.. [00:47] note to sell buy a sata controller and check logs [00:47] ugg [00:48] tomreyn, can't I forbid win 10 to make any changes to ssd with ubuntu? [00:48] it is for my plex server that runs on a laptop, building something to check the smart errors is a bit overkill :( [00:48] *making [00:48] ttytwister: hmm, maybe, i'm not good at windows, people in ##windows are. don't tell them you're dual booting if you don't have to. ;-) [00:49] :) [00:51] i have plex on ubuntu server works great [00:53] yeah this one 10tb drive seems to hate me [00:55] yeah my setup either works nicely or i want to shoot it [01:00] you have the 10tb drive connected on a usb port to the laptop? [01:00] which runs plex? [01:01] the laptop [01:02] Rubato, I got 3 8tbs, and a 10tb connected to the laptop [01:08] wtf [01:08] over usb ? [01:08] how is that even possible to work at all [01:09] the usb mass storage spec is probably one of the best-tested and most common usb thingy [01:10] the downside is I think (most? all?) usb things can't do SMART passthrough [01:12] i think it works most of the time for usb mass storage if you run it with -d sat [01:13] Rubato, with some hickups [01:13] https://www.smartmontools.org/wiki/USB https://www.smartmontools.org/wiki/Supported_USB-Devices [01:13] tomreyn: ugh. that sounds familiar. why is that not probed? :) sigh [01:13] I connect every drive spin up rtorrent, use mergerfs to merge two drives into Movie and two into TV and then it is all working [01:14] sarnold: i don't really know. maybe they tried and it caused problems? [01:15] "auto" is actually the default, but i gues sonly when you specify -d [01:16] the man page section on this option is the longest i've ever seen [01:18] 'sup boys [01:18] anyone awake [01:19] hi nax_, do you have an ubuntu support question? [01:19] ye, well dualboot ubuntu / windows [01:19] Ive googled for hours [01:19] cant access windows anymore [01:20] what happened before this happened? [01:20] well I needed to restart my pc for something being done in ubuntu [01:21] at first I couldnt aacces ubuntu either [01:21] after a few tries I managed, and when I wanted to boot win, I didnt find it [01:21] tried every disc possible in the bootmenu in bios [01:22] are you booting in bios mode or uefi? did you make persistent changes to the bios configuration? is windows still listed on the grub menu? [01:24] can you post a system log from ubuntu, to (somewhat) rule out hardware problems? journalctl -b | nc termbin.com 9999 [01:27] tomreyn: sure [01:27] one sec [01:27] tomreyn: https://termbin.com/oe0am [01:28] that's an old kernel, do you not install updates? [01:28] I do [01:29] but it wants be to reboot, and rebooting is hell :p [01:30] I just wanna be able to boot win10 again [01:30] so you haven't rebooted since april? are you using kernel live patching then? [01:30] no, installed ubuntu yesterday [01:31] are you booting in bios mode or uefi? did you make persistent changes to the bios configuration? is windows still listed on the grub menu? [01:32] how do I check the grub menu [01:32] !grub [01:32] GRUB2 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/Grub2 [01:32] !dualboot [01:32] Dual boot instructions: x86/AMD64: https://help.ubuntu.com/community/DualBoot/Windows - Macs: https://help.ubuntu.com/community/MacBookPro https://help.ubuntu.com/community/YabootConfigurationForMacintoshPowerPCsDualBoot [01:34] I did boot-repair [01:36] but Ill give it a go [01:37] so you seem to have installed Ubuntu 20.04.0 desktop from april this year. [01:37] the current installer version is 20.04.1 [01:37] wow [01:38] or development edition [01:40] this error is logged for /dev/sdc (a 1 TB Seagate ST1000DM010-2EP1 CC43 HDD): ldm_parse_tocblock(): Cannot find TOCBLOCK, database may be corrupt. [01:40] I didnt check, just downloaded first one I found [01:40] oh, is it fixable? [01:40] grub-install wont continue without blocklists [01:41] don't use embedding [01:41] install to the MBR instead, to a raw drive which has a partition table [01:42] i'm not sure what LDM in "sdc: [LDM] sdc1 sdc2" stands for, it seems that linux is failing to interpret the partition table on sdc [01:43] wich one is that? :d [01:44] lrwxrwxrwx 1 root root 10 okt 21 02:53 Dos -> ../../sde1 [01:44] lrwxrwxrwx 1 root root 10 okt 21 02:53 Dunder -> ../../sdc1 [01:44] lrwxrwxrwx 1 root root 10 okt 21 02:53 Ladd -> ../../sdc2 [01:44] lrwxrwxrwx 1 root root 10 okt 21 02:53 MULTIBOOT -> ../../sdf1 [01:44] lrwxrwxrwx 1 root root 10 okt 21 02:53 PQSERVICE -> ../../sdd1 [01:44] lrwxrwxrwx 1 root root 10 okt 21 02:53 Övrigt -> ../../sdd3 [01:44] !paste | nax_ [01:44] nax_: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [01:44] while it will seemlike you posted it all to the channel now, we only saw part of it. use a pastebin instead. === zbenjamin_ is now known as zbenjamin [01:45] https://pastebin.com/9pCVjct7 [01:45] LDM seems to be what windows calls "dynamic disk" [01:45] sorry [01:46] what's the purpose of this post? [01:47] install to the MBR instead, to a raw drive which has a partition table [01:47] wich one [01:52] nax_: MBR as in a DOS/MBR partition table [01:52] you can post sudo lsblk -o NAME,MODEL,FSTYPE,SIZE,MOUNTPOINT,LABEL,PARTLABEL | nc termbin.com 9999 to share more details on your partition tables, partitions, and file systems [01:53] but i'm not sure we'll make progress here. you'll need to get ##windows help to fix windows, i think. [01:54] if doing so will overwrite grub, you can then recover that using https://help.ubuntu.com/community/RestoreGrub [01:56] tomreyn: https://termbin.com/963z [01:57] it doesnt look good [01:58] sda doesn't seem to have a partition table, is it supposed to have one? [01:59] no idea [01:59] that's the seagate ST9500325AS 500 GB storage [02:00] sdd2 is the main ubuntu file system, mounted at / [02:00] other than this you have various ntfs file systems [02:01] (windows) [02:01] oh yeah [02:02] if you want to try to recover a partition table on sda, you can try your luck using testdisk - that's a dostware you can install. you'll need to look up a how-to, though, it's guided but not super simple. [02:02] dostware -> software :) [02:03] i'm afraid i need to leave it there, i'm getting too tired. good luck, nax_ ! [02:04] ait, thanks a bunch tomreyn === gabkdlly_ is now known as gabkdlly [03:10] oh hai [03:10] I'm on a ubuntu derivative, a live system from USB. I'm not able to ssh to the machine. I've set up a new user and installed openssh. I normally do this, on other hardware, so it usually works without any problems. What are some obvious things to troubleshoot? [03:11] hostname -I says its a 192 adress, and netstat -plan shows an sshd thing on 22 [03:16] sybariten, please provide your system details (what do you mean by deivative, release details too please) [03:22] guiverc: ubuntu 18.04 according to lsbrelease, modern laptop, wLAN [03:23] what do you mean by derivative, what is it? [03:24] sybariten: what say 'systemctl status sshd.service' [03:24] guiverc: lubuntu something something [03:24] sybariten: Sounds like a firewall if you see sshd on port 22. [03:24] ledeni: i think its up, i checked it with netstat ... but let me go over there and check [03:25] ledeni: active, running [03:26] uh i wish my router would give some info about this machien but apparently its so cheap that it only shows the devices that are attached with a TP cable? Uh... weird [03:26] sybariten, fyi: Lubuntu is a flavor & on-topic here, I'm using it myself (not a Ubuntu derivative) [03:27] guiverc: gotcha [03:27] sybariten:check other system sshd.service is active [03:28] sybariten: if you're on the local terminal, ssh localhost and see if it connects that way, that may suggest a firewall issue [03:29] You can type 'ufw status' iirc, to see what is allowed and blocked, as well [03:29] Geo: good point [03:29] i cant ping it though [03:29] ledeni: hmm how do you mean [03:30] interesting, I've never used hostname -I before. neat. [03:30] it's not been around for ages i think [03:31] Geo: ssh localhost seems to work like a charm, ufw status just says "inactive" more or less [03:32] weird [03:32] netstat -ano|grep "LISTEN " [03:33] i was under the impression that all of these live distros were always quite "open" upon bootup, ive done this many times and the HW shouldnt really matter as long as the machine has a net connection.... [03:33] I can't imagine why it owuld be, but check which IP port 22 is bound to? [03:34] Geo: with that netstat thing? Or what am i looking for trhere, got 30 lines of text [03:34] Yeah, look for the line that has an x.x.x.x:22 [03:34] *should* be 0.0.0.0 , but if its not, maybe thats the issue [03:35] geo yep it is [03:35] and, just to confirm, is the machine you're trying to ssh from on the same local network? [03:36] if i grep for listen and then 22 i get two lines .... one of them is 0.0.0.0:22 [03:36] ok [03:36] and both machines you're using have 192.168.1.x IPs? [03:36] Geo: yep . I will confirm now that it can ssh to another machine in the lan, using an 192 adress [03:36] just double check that third octet [03:36] beyond that, I'm out of ideas [03:37] try ssh'ing the other way, from the live cd machine to your other one, just to test connectivity (or just ping it) [03:38] and what is the exact error you get on the other machine when trying to connect to the live cd machine [03:39] yep, so, the problematic machine is .13 and i tried sshing from that now to .5 which is also ubuntu (albeit not a live system, should be said) ... worked fine [03:39] so they can talk [03:39] when sshing again from a win machine to this .5 , i see : last succesful login was from .13 [03:39] whats the error you get [03:40] so its presenting itself as .13 , as expected ... [03:40] Geo: well i just cant reach it i guess .... lemme tryu going from windows to .5 to .13 once [03:40] i mean i can ping .5 from win but i cant ping .13 from win [03:40] it'll tell you something when it doesn't connect [03:41] when you ssh from the other machine to the live cd machine, some error will be displayed [03:41] uh wait a minute [03:41] i cant reach it from .5 it seems [03:43] Hm, OK. So this is quite interesting. It's almost as if this .13 machine doesn't like my Win machine as a sender. [03:44] I can: ssh from Win to .5 (ubuntu) . I can not ssh from Win to .13 (ubuntu) . I can however ssh from win to .5 and then from .5 to .13 , no problem [03:44] any logic to that? [03:45] doesn't make sense, and I would posit something in there isn't accurate [03:46] well, take that back [03:46] i think its like this guy! https://askubuntu.com/questions/977781/cant-ssh-from-windows-10-16-04 [03:46] still looking for the error message [03:49] sybariten: just for record you try to ssh from live cd usb that is laptop with win10 to another laptop with lubuntu [03:50] Yeah very confusing for me [03:50] ledeni: hm, how do you mean [03:50] sybariten: seriously, what's the error message :P [03:50] Geo: the error message when doing win to .13 ? Just somehting about not reachable i think... lemme see [03:51] that would imply it is a networking/routing issue from that machine [03:51] Geo: yeah i mean it does... nothing, for the longest of time. THen connection time out [03:52] times out is different from not reachable [03:52] its very very odd that it (win) can reach another machine though. With the (only) difference being that that other machine is a real HD install, different ubuntu, and cable connected [03:52] so I'm going to step away now, unless you can give the actual error message [03:54] Geo: sorry geo i dont know what else to tell you or what you're asking for. The win ssh client doesnt see the machine. It times out or if i try to ping it just loses the packets [03:59] sybariten: sorry if you could not explain properly situation you have it is difficult to help you what i know live doesn't have sshd.service by default you need to install and activate [04:07] ledeni: ah. i think you may have missed what was writing then. sshd is active and running. [04:09] sybariten:i didn't miss i assumed that is active on your lubuntu system [04:11] sybariten:what about your livedvd usb stick [04:15] ledeni: thats the one i mean [04:16] sybariten: ok did you check firewall [04:19] ledeni: i mean, good to know, first of all: i can't do A -> C . I can however do A -> B. And i can do B -> C. So i can do A -> B -> C . C is the new problematic live OS machine, A is Win, B is Ubuntu [04:24] sybariten:you complicated for youself focus on your live os mashine ssh to lubuntu and only help you can got from us in that case rest ask ##windows [04:25] ledeni: sorry but your sentences are a bit hard to comprehend, because of lack of punctuation and such. [04:26] ledeni: i dont know in what sense you think i complicated for myself. I had a machine that i couldnt reach. So i tried reaching it from another machine in the same LAN. And that worked. So that's odd. [04:32] aiiight off to the bed for me for now. Thanks for all the suggestions here!! [04:33] does anyone have a guide for mac on how to boot ubuntu from another hard drive? [04:33] I have a ssd that has ubuntu [04:33] and using refind boot loader [04:37] I am trying to figure out the best way to set up pulseaudio to work with jackaudio, I was previously using QJackCtl to run scripts on startup, but it's unreliable, I am thinking of just using default.pa to achieve what I need now, any suggestions? [04:39] I also am having trouble understanding the default config in default.pa === QuodirieAe1 is now known as QuodirieAe === MrC is now known as MrSpooky === tofran0 is now known as tofran === [1]MrMobius is now known as MrMobius [06:31] hi to all [06:33] waffl3x: maybe #ubuntustudio is a better place to ask [06:37] thanks === solitonmedic8 is now known as solitonmedic [06:39] Apt error or ubuntu software error paste: https://paste.ubuntu.com/p/8WVvwNBV6Z/ [06:40] Downloaded Calibre and not able to open application === Mibix1 is now known as Mibix [06:43] Ubuntu software does say something about /usr/share/appdata on 20.04 [06:43] WalterWhitesCook: check the existing bugs first, a lot of crash reports there, see if you can one to affect to; https://launchpad.net/ubuntu/+source/calibre/+bugs [06:43] none [06:44] hmm [06:44] I only found one thing and it didn't help online: https://askubuntu.com/questions/1246668/ubuntu-software-error-error-opening-directory-usr-share-appdata-no-such-fil === solitonmedic8 is now known as solitonmedic === Kel_ is now known as Kel [07:17] the curse of too small /boot partitions strikes again [07:18] do you need a separate /boot partition? I tend to just have / [07:19] if you encrypt your /, you need a separate unencrypted /boot [07:22] I tend to go with whatever the installer does, since I hope the people who work on the installer are smarter than me [07:25] When you tell the installer to encrypt the full system, it will create a separate /boot :) [07:25] (not sure if it does so without encryption, haven't used that in a while) [07:27] yeah, this system has FDE [07:27] it would be interesting to know how many ubuntu users do opt for encryption [07:27] my current one doesn't because the installer wouldn't allow me to enable FDE if I want to install side by side with another OS [07:28] and life's too short for manual partitioning [07:37] There's a simple solution for that: stop using that other os :D [07:41] yes, but subnautica doesn't run well enough under wine [07:44] subnautica ran perfect for me in wine [07:50] yes, well, intel video [07:51] I barely get 20fps on windows, and rendering glitches under wine make it totally unplayable [07:59] I figured out the calibre 20.04 error, it uses an older version of calibre that relies on python 2 but 20.04 doesn't support it [08:01] there's a calibre SRU in progress [08:02] the calibre version in ubuntu is 4.99 but at 5 they switched to python and 5.3 is the latest on the site [08:02] thread: https://lists.ubuntu.com/archives/ubuntu-devel/2020-October/041228.html [08:02] oops meant python 3 === akem_ is now known as akem === Kel_ is now known as Kel [10:26] I would appreciate if you could help me: https://pastebin.com/63yZsXiR === RedNifre_ is now known as RedNifre === PowerTower_121 is now known as PowerTower_120 [10:50] Hamidreza: that looks a lot like hardware failure [11:06] Hi all [11:25] hello [11:25] hello [11:25] i am facing a syslog issues on ubuntu 20.04 specially with auth.log [11:25] it's empty, and cannot get any info for fail2ban [11:26] is it there any tips for fixing it ? [11:27] ROKO__[Office]: the logs these days are watched with journalctl [11:27] so, fail2ban doesn't care about that. [11:27] don't* [11:28] i mean the old auth.log.1 have records but rotated one is empty [11:28] I dunno, I'm seeing fail2ban happily logging to /var/log/fail2ban.log on my 20.04 server [11:28] oh wait you're interested in the other side [11:29] how you've managed to get it work ? [11:29] so AFAIU ubuntu doesn't install rsyslogd by default, but if you apt install it, it'll start fetching log entries from journald and writing them to /var/log/auth.log and other files as per usual [11:29] I have rsyslog installed [11:29] mgedmin rsyslog is installed by default [11:29] and it doesn't log anything in this file [11:30] -rw-r----- 1 syslog adm 0 Oct 21 13:37 auth.log [11:30] -rw-r----- 1 syslog adm 39K Oct 10 00:15 auth.log.1 [11:31] since when it doesn't do nothing. [11:31] is it running? [11:31] systemctl status rsyslog [11:31] of course it is, most of logfiles are actual. [11:32] Active: active (running) since Wed 2020-10-21 14:23:11 EEST; 8min ago [11:32] maybe you don't get any log entries matching the criteria for auth.log? [11:32] /etc/rsyslog.d/50-default.conf is the one that configures auth.log by default [11:33] but hmm, I see plenty of recent ssh breaking attempts in my /var/log/auth.log [11:36] mgedmin but there's nothing changed, just a working system. [11:36] and regular updates [11:36] i cannot realize how it stopped working [11:38] https://termbin.com/yk5p there's the config [11:40] Hi I am trying to solve this issue https://askubuntu.com/questions/205841/how-do-i-mount-a-folder-from-another-partition by using mount --bind. So I have folder /home/user/ and i want map/ binds contents of /var/www/html/wordpress to it, so when user sftp into server he can access wordpress folder and make changes there. Problem is that when I run [11:40] sudo mount --bind /var/www/html/wordpress/ /home/user/ I get an error mount: /home/user: mount(2) system call failed: No such file or directory. [11:40] please no crossposting maret [11:56] i cannot believe if there's no one facing such issue. [11:56] i have huge problem with my ubuntu installation.. a bit heavy disk i/o makes the computer totally useless.. [11:56] the GUI freezes [11:57] i can't ssh into it to try and kill the running process that consumes all the disk i/o [11:57] and the load skyrockets [11:57] that sounds like excessive swapping when you run out of ram [11:59] mgedmin: and how can i work around that? [11:59] make sure you have a swap file or partition and try to avoiding running out of ram? [12:00] but when i read a large file.. then i have to run out of ram, no? [12:00] Hi guys, why synaptic show me that package 'secureboot-db' is obsolete? [12:00] I mean usually disk i/o doesn't make the entire system unresponsive [12:00] but disk i/o caused by paging can [12:02] https://dpaste.org/1Osi [12:02] gst568923: I dunno, what does apt-cache policy secureboot-db print? [12:02] according to https://packages.ubuntu.com/search?keywords=secureboot-db the package still exists [12:03] zamba: okay, plenty of free ram, and you still have the freezing issue? [12:03] any 'out of memory, killed process XXX' messages in dmesg/journalctl? [12:03] !info secureboot-db focal | gst568923 [12:03] any slow (say, USB) disks attached where you're doing i/o? [12:03] gst568923: secureboot-db (source: secureboot-db): Secure Boot updates for DB and DBX. In component main, is optional. Version 1.5 (focal), package size 8 kB, installed size 28 kB (Only available for any-amd64; any-i386) [12:05] sysop@2004x-c:~$ apt show secureboot-db >> Version: 1.6~20.04.1 . [12:06] mgedmin apt-cache policy secureboot-db print me: https://pastebin.com/2SrYZ2ca [12:07] that looks like a version that was pulled from the archive? maybe it was in focal-proposed? [12:07] mgedmin: i believe you're right [12:07] oh hey I have that weird version too [12:07] mgedmin: the problem is thunderbird [12:07] it's consuming a whole lot of ram [12:07] I never had focal-proposed installed [12:07] s/installed/enabled/ [12:08] is there a way to get the current terminal tab profile name (using command line) [12:08] /var/log/dpkg.log says my system upgraded secureboot-db 1.5 1.6~20.04.1 on 2020-10-08 [12:09] so there was an update released to fix https://bugs.launchpad.net/ubuntu/+source/secureboot-db/+bug/1890835 [12:09] Launchpad bug 1890835 in secureboot-db (Ubuntu Trusty) "secureboot-db 2020 update" [Undecided,New] [12:09] and it was pulled later? [12:11] yes, see comment #15 [12:11] gst568923: does this answer your question? [12:13] mgedmin in synaptic package property there is versions: 1.6 20.04.1 (now) and 1.5 (focal) Actualy I have 1.6, should I downgrade to 1.5? [12:13] no point in it [12:16] I would appreciate if you could help me: https://pastebin.com/63yZsXiR [12:17] why did it happen to my hard disk? [12:18] hardware fails [12:19] laws of physics or something [12:19] nothing lasts forever [12:19] second law of thermodynamics [12:19] mgedmin, but when I restart my server , it works correctly [12:20] until you try to access some data stored in a bad sector [12:21] mgedmin, you mean I will fall in trouble again? [12:21] should I change my disk? [12:21] yes! [12:23] mgedmin, is there any way to fix the broken sector? [12:23] no [12:24] mgedmin, OK thanks [12:24] mgedmin, try smart tools [12:24] hamidreza_^ [12:25] BluesKaj, it can fix it or just show the health of disk? [12:25] smartmontools (or the GUI for them in gnome-disks) are good for testing if a SSD/HDD is going bad, but here we have a kernel message reporting the badness, so it's a bit pointless [12:25] !smart [12:25] smart is Self-Monitoring, Analysis and Reporting Technology, a monitoring system for hard drives. See https://help.ubuntu.com/community/Smartmontools [12:25] in theory that message could be caused by a bad cable? but these days of laptops with M.2 connections and SSD disks don't even _have_ cables [12:26] smartmontools could maybe explain _why_ the SSD went bad (e.g. very large number of write cycles) [12:26] mgedmin, it's not laptop , its my server disk [12:27] I will check this tools [12:27] thanks to all === bugle is now known as bugLe [12:51] https://bpa.st/DDQQ nothing.. [12:51] give me some tips guys.. [12:52] if works for some one do not mean it works for all [12:53] https://sysadminjournal.com/how-to-install-fail2ban-on-ubuntu-20-04/ all this just not working [12:58] hi , I can create a new document on Desktop ( touch ~/Templetes/New\ Document ) [12:59] I can only create a document on window manager [13:01] well, thank you for your terrible support [13:05] I want to start urxvt from a terminal and execute the function "r" straight away. Doing ' urxvt ' and then, in the terminal window that pops up, issuing ' r ' works fine, but not ' urxvt -e r '. How can I make this work? [13:14] anyone ? ( touch ~/Templetes/New\ Document ) does not work on desktop. [13:14] "Templetes" looks like a misspelling of "Templates" [13:14] does that directory exist? [13:15] is it spelled right? [13:17] anyone ? ( touch ~/Templates/New\ Document ) does not work on desktop. [13:18] mgedmin : my typo , drectory correct , I can right click and create a document on window manager like nautilus but not on desktop [13:19] mgedmin : you can try 20.04 touch ~/Templetes/New\ Document [13:19] ah! maybe the gnome-shell extension that handles the desktop doesn't implement templates [13:19] you'll have to file a (wishlist) bug for the extension then [13:19] mgedmin : but it works on 18.04 [13:20] nautilus was responsible for drawing the desktop in 18.04, iirc [13:20] the code was moved into a gnome-shell extension in 20.04 [13:20] apparently the reimplementation dropped some features along the way [13:21] mgedmin : is it possbile to manually edit the gnome-shell to add the extension ? [13:22] I don't understand the question [13:24] mgedmin : Manually edit the features [13:25] depends on if you're skilled enough, I'd say [13:25] (and if you were skilled enough, you wouldn't need to ask this question) === Payhn is now known as savoiringfaire [13:27] @nbusrone, there is a webpage with gnome extensions === savoiringfaire is now known as Payhn_ === Payhn_ is now known as Payhn [13:28] nbusrone: what does touching a file in ~/Templates have to do with the ~/Desktop directory? [13:29] nbusrone: ah, I see. Yeah, you need to install the desktop extension. Not sure why you want to edit it at all. [13:29] Wait a minutes , compare with 18.04 with 20.04 , at Desktop it's totally useless beside launching icon [13:30] nbusrone: why is that? [13:31] @nbusrone, you need a gnome extension, can't remember the webpage [13:31] leftyfb : wait a minutes , let me screenshot [13:33] Anyone available to help troubleshoot a postfix problem on ubuntu 20.04 Server? [13:34] !ask | hungrygeneration [13:34] hungrygeneration: Please don't ask to ask a question, simply ask the question (all on ONE line and in the channel, so that others can read and follow it easily). If anyone knows the answer they will most likely reply. :-) See also !patience [13:34] Ok! First time on here :) [13:34] Mainly just wanted to make sure I was in the right place!! ;-) [13:36] So I can send emails with the mail command from command line but when I try to send emails externally with SMTP I am getting the message, "The Server refused to allow a connection on port 587." It says the same on Port 25. Do you know what could be going wrong? I am just trying to set up a server to send mail not receive it. I have set it up as [13:36] loopback and even set up opendkim. Thanks so much!! [13:38] @hungrygeneration, i don't know anyting about mail server, but i know that some ISP close the ports for e-mail [13:39] I'm on Google Fiber and they say they keep all ports open? [13:39] ok [13:40] hungrygeneration: on the server run: "sudo lsof -i :587" and "sudo lsof -i :25" to see if anything is listening on those ports. Then try using nmap from external to see if you can access those ports externally as well. [13:41] hungrygeneration: I'm pretty sure loopback isn't going to allow you to send email out to the internet. Why do you need this anyway? [13:42] in 18.04 I used systemctl add-wants to make rescue.target want ssh.service so I could still access the machine remotely after isolating to rescue.target to back up the system. After upgrading to 20.04, sshd is killed when isolating to rescue.target. Any idea why or how to figure it out? [13:43] It looks like just localhost is listening. Is that normal or does that mean I have a configuration problem? [13:43] master 30159 root 18u IPv4 205474 0t0 TCP localhost:submission (LISTEN) [13:44] I'll turn try turning off loopback too [13:47] Oh I was wrong loopback is not on. inet-interfaces is set to "all" [13:48] mgedmin ,Kvik79, leftyfb : I tested with 18.04 vs 20.04 with screeshot on right click , https://imgur.com/a/8gyFbny .At desktop I am not able to create any document , copy , cut , paste rename and etc.Which I need to manually go to desktop window to do all the action.It render Desktop screen as Useless. [13:51] Someone f'ed up big and chowned the entire directory structure of a machine to their user. It seems the best course of action is to reinstall. Is there a way of reinstalling without losing all of the data on the machine? Or would it just be best to wipe it all and start over? [13:51] kur1j: just don't format the drive when you reinstall and your personal data will still be there [13:52] nbusrone: look for an extension [13:52] psusi: what about other files/folders that are on the system? Applications? etc [13:52] hungrygeneration: again, why do you need to send email from this machine ? [13:53] hurfdurf: wipe and restore from backup [13:54] kur1j: if you want to reinstall the same packages after you can use dpkg --get-selections to save the list of packages you have installed, and dpkg --set-selections and apt-get deselect-upgrade to reinstall them [13:54] leftb: It is a web server and I am wanting to be able to send with SMTP with an email client and then also with gmail. [13:55] psusi: I would not recommend just reinstalling from a list of every package that is installed. Use the list to build your own list based on package names you recognize [13:56] leftyfb: if you want the packages on the system to be put back the same way they were before, then there's no sense doing it by hand [13:56] hungrygeneration: I think you want to setup postfix to be a relay for gmail: https://www.linode.com/docs/email/email-services/configure-postfix-to-send-mail-using-gmail-and-google-apps-on-debian-or-ubuntu/ [13:56] leftyfb : where i can find the extension ? why remove the features when it's not broken and useful ? any reason ubuntu dev ? [13:57] nbusrone: this is Gnome. Ubuntu packages it downstream. This is a question for the Gnome developers [13:58] hi everybody! I have a problem with xorg on ubuntu 20.04.1 [13:58] It does not detect correctly the external monitor (a Thinkvision P32-u10) so the possible modes are incorrect. [13:58] leftyfb: Yes! Ok I will look into that. I mean ultimately that is what I am trying to accomplish. [13:58] nbusrone: extensions.gnome.org for extensions. https://www.omgubuntu.co.uk/2018/01/gnome-desktop-icons-removed-3-28 to answer your other question [13:59] is there a way to get the current terminal tab profile name (using command line) [13:59] It is from a Thinkpad Yoga X1 with Intel hd620 graphics last generation. [13:59] hggdh ,leftyfb : reading now , finding for solution [13:59] Sorry, It is from a Thinkpad Yoga X1 with Intel hd620 graphics last but one generation. [14:00] I have google as much as possible but I cannot find a solution .... is there a way to reconfigure the xorg? [14:01] (I mean the other monitor are recognised correctly, so not reconfigure everything) [14:07] leftyfb: Actually I just read through the guide and thought through it. I don't think this will work for me. Let me know if I'm thinking correctly--but what I am wanting to accomplish is set up being able to send mail through Gmail from my domain user@mydomain.com but gmail needs to see a functioning SMTP server to set that up. If it sees itself as [14:07] the functioning server I'm thinking that would not work right? [14:21] leftyfb: https://extensions.gnome.org/local/ having problem with extension [14:21] ( Unable to locate GNOME Shell settings or version. Make sure it is installed and running.Installed Extensions GNOME Shell Extensions cannot list your installed extensions. ) [14:22] GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.gnome.Shell.Extensions” on object at path /org/gnome/Shell [14:22] nbusrone: then try another one or contact the developer of the extension. Sorry, but extensions can only be supported by their developers. Not here. [14:28] nbusrone: I have seem this under Chromium (which is a snap). I will try it now on FFox, got curious [14:29] nbusrone: seems to work on FFox. It may be the Chromium snap is too restricted, so a bug might be a good idea [14:30] hggdh: I'm pretty sure the extension they're trying isn't compatible with the version of gnome they're running. Seems to be an issue with some of those desktop extensions [14:30] leftyfb: yes, apart from that. Also, I am running Grrovy, which may also be a factor [14:33] hggdh , leftyfb : I found a solution but still not perfect. How do I remove an extension.I can't remove this extension ( Desktop Icons by rastersoft ) at firefox https://extensions.gnome.org/local/ [14:33] nbusrone: why can't you remove it? [14:34] it's a preinstalled system extension, I don't think users can remove or disable those [14:34] hggdh , leftyfb : This extension works well https://extensions.gnome.org/extension/2087/desktop-icons-ng-ding/ but with (Desktop Icons by rastersoft extension ) every file and shortcut icon added twice or double [14:35] mgedmin: "Desktop Icons by rastersoft" is not a system extension [14:35] oh oops [14:36] mgedmin : even preinstall , should be a remove since it's just an extension ? disable does not work. still showing the icon . This exension is what i wanted ( https://extensions.gnome.org/extension/2087/desktop-icons-ng-ding/ ) but it conflict with "Desktop Icons by rastersoft" [14:37] How do I remove the "Desktop Icons by rastersoft" ? [14:38] nbusrone: go to https://extensions.gnome.org/local/ and click the X next to it [14:39] leftyfb : there is no x on firefox [14:41] nbusrone: https://www.omgubuntu.co.uk/2017/01/install-gnome-shell-extensions-firefox-chrome [14:42] nbusrone: I think all you need is https://addons.mozilla.org/en-US/firefox/addon/gnome-shell-integration/ [14:45] gnome-tweak-tool shows the preinstalled extensions as disabled even when they're not [14:45] gnome-extensions-app seems to work better [14:49] the gnome-shell-integration plugin is a dead end afaiu [14:52] mgedmin leftyfb : Would you mind trying this extension https://extensions.gnome.org/extension/2087/desktop-icons-ng-ding/ .You will know what i mean by double icon [14:52] nbusrone: I'm not running 20.04 [14:52] leftyfb : which OS you are running ? [14:54] if anyone is running 20.04 and having some spare time. Can test this extension ? how do I remove the double icon with the extension running ? https://extensions.gnome.org/extension/2087/desktop-icons-ng-ding/ [14:54] Hey, so the other day I messed up my grub when I assigned unallocated memory to the virtual partition , i had windows and ubuntu dual booted , i used the `boot-repair-disk` to repair and it got the windows running, but ubuntu isn't showing up [14:56] although i can see the partitioned disk, i don't know why the dual boot screen is not showing up [14:58] how do i get ubuntu running? when i turn on the laptop it directly loads windows [14:59] code-witch: boot from USB? then reinstall grub [15:00] i have `boot-repair-disk` booted from usb, i can reinstall grub here? [15:01] you just need to be booted into the installer to repair grub [15:08] Looks like "Gnome Extensions are designed for only one desktop environment called GNOME Shell." [15:11] leftyfb , mgedmin , hggdh : Long read , replacing with different file manager , not sure will work but will try https://askubuntu.com/questions/1231413/basic-desktop-actions-are-not-available-on-ubuntu-20-04 [15:12] * mgedmin doesn't want any icons on _his_ desktop thankyouverymuch [15:12] nbusrone: if you are running Ubuntu desktop, you are running gnome shell [15:14] leftyfb : I try running Flashback Desktop https://linuxconfig.org/ubuntu-20-04-gnome-flashback-desktop-installation but it should be gnome shell , i wonder why the extension is not working. [15:14] leftyfb : but i am running xorg [15:15] nbusrone: "flashback desktop" is not gnome shell [15:17] Did you log into Flashback Desktop from GDM? [15:17] leftyfb : ? https://linuxconfig.org/ubuntu-20-04-gnome-flashback-desktop-installation link said , gnomeshell 3 [15:18] three : flashback-metacity [15:18] nbusrone: let me rephrase, it's not the gnome-shell installed by default and cannot be assumed will work properly with the rest of the system. [15:18] nbusrone: are you making this mess just to get icons on your desktop? [15:19] Try xfce before gnome flashback if you just wanna try a different desktop environment. Though I joined late idk what your issue is [15:20] or try MATE if you want that old gnome feel [15:21] leftyfb : I am trying on VM currently. Sorry for the mess of question.I was just wanted to retain or find a solution to add back the Basic Desktop environment function. [15:22] what is "the Basic Desktop environment function"? [15:22] three : trying for nemo [15:22] nbusrone: most of that should be able to be done with stock Ubuntu desktop and extensions. Not sure about the desktop icons issue. You might have to do without that. [15:22] three : https://imgur.com/a/8gyFbny [15:23] leftyfb : I am trying to replace with nemo https://bugs.launchpad.net/ubuntu/+source/gnome-shell-extension-desktop-icons/+bug/1813441/comments/14 [15:23] Launchpad bug 1813441 in gnome-shell-extension-desktop-icons (Ubuntu) "Can no longer drag and drop files between desktop and applications" [Medium,Triaged] [15:24] hmmmm intresting [15:25] so whats the issue youre running into [15:26] three : on flashback or wayland , I can't copy, paste , create a new document like all the desktop environment you did in window or old 18.04. If you are using 20.04 you'll know what i mean. [15:26] no i know what you mean [15:26] i mean what issue did you run into installing nemo [15:27] I want to launch a terminal and execute a program in that terminal - but when I exit the program, I don't want the terminal to exit as well. How? [15:28] three : i am replacing gnome shell icon to nemo icon. [15:28] three : no issue yet [15:28] isene it shouldnt close the terminal when you close the program. Do you mean you wanna close the terminal but it also closes the program? [15:28] nbusrone ah well let me know how it goes. looks interesting [15:29] three : you are using 20.04 ? [15:29] no i use arch [15:29] I have used 20.04 [15:29] isene: ' & disown '. [15:29] anyone know of a good tool to track shipments on the desktop? Something I can stick ups/fedex/usps stuff into, and get notified when there's changes? [15:30] !ot | Joel [15:30] Joel: #ubuntu is the Ubuntu support channel, for all Ubuntu-related support questions. Please register with NickServ (see /msg ubottu !register) and use #ubuntu-offtopic for other topics (though our !guidelines apply there too). Thanks! [15:31] leftyfb seems pretty on topic to me [15:32] Joel: software recommendations/opinions aren't support questions. [15:32] three: I want the program to close, but not the terminal [15:33] just do Ctrl+c in ther terminal? I'm confused normally programs dont close the terminal that ran them when you close them [15:33] Bashing-om: That just closes the terminal but leaves a job hanging... [15:34] isene, try : gnome-terminal -e "bash -c 'my_program; exec bash'" [15:34] three: Say I want to open a terminal and run a file manager ( urxvt -e rtfm ) but when I exit the file manager, I want the terminal to keep running. [15:36] oh you mean at the same time [15:37] i thought you just meant you were opening a terminal and running a program and when the program closes the terminal did [15:37] Yooohooo! Got it working with: urxvt -e zsh -c 'source ~/.rtfm.launch; r; exec zsh' [15:37] ioria: Thanks for that hint :-) [15:38] isene, ok; indeed depends on terminal and shell in use [15:39] isene: you never mentioned zsh. That certainly affects things [15:48] leftyfb , three : I am able to replace desktop enviroment nemo to gnome shell (icon is less high contrast quality ) but not on gnome flashback , will continue tomorrow , been hours setting and finding solution. [15:48] leftyfb , three : Thnaks for the hlep [15:49] nemo should be a file manager, not a de [15:53] is there a way to download the binary time zone datbase and install it? [16:02] How do I stop a service I installed with a snap? For example, nextcloud installed by snap isn't a systemd unit under that name [16:04] oh, I can just use snap stop. [16:04] I got too little sleep last night for this much abstraction [16:17] I didnt know snap had its own way of doing services [16:25] dmoerner: I think the systemd name has snap in it [16:49] dmoerner, yes, you should use "snap stop " to stop teh whole of the snap or "snap stop ." to stop a single service in a snap that ships multiple of them ... the stop command can aslo take --disable and --enable as arguments for making the setting permanent [17:09] s [17:25] how do i list the largest files inside / [17:26] codecutter, individual files, or recursively by directory? For the latter, du -d1h or ncdu [17:27] codecutter: use ncdu [17:27] ncdu ftw [17:27] my disk space is close to full so I need to find all logs files that I don't need [17:27] codecutter: sudo ncdu / [17:28] codecutter, yeah, "apt install ncdu" and "sudo ncdu -x /" [17:28] -x prevents it crossing mount points [17:28] 6.2 GiB /var [17:28] codecutter: if log files are filling up your space, then your filesystem is either inadequately small or you have something severely wrong that is growing logs that fast. [17:28] codecutter, you can navigate down through the filesystem with ncdu, and use 'd' to delete things [17:28] its a small file system [17:29] codecutter: that is not the full output of sudo ncdu / # feel free to paste to pastebin [17:29] codecutter: how small? [17:29] codecutter: and is this a desktop or server? If server, what's it's purpose? [17:29] codecutter: also, what version of ubuntu? [17:30] 3.0 GiB [##########] /journal [17:30] 3.0 GiB [##########] /ee20030321224e1c92af12771e3b6478 [17:30] codecutter: please do not paste the output here [17:30] !pastebin | codecutter [17:30] codecutter: For posting multi-line texts into the channel, please use https://paste.ubuntu.com | To post !screenshots use https://imgur.com/ !pastebinit to paste directly from command line | Make sure you give us the URL for your paste - see also the channel topic. [17:30] can I delete it? [17:31] codecutter: Please answer the questions above [17:31] codecutter: deleting your journal file is not the answer [17:31] truncate? [17:31] codecutter: Please answer the questions above [17:31] will truncate do any harm? [17:32] codecutter, yes, you should use the journalctl tools, not rm or truncate [17:32] Its a small DO Cloud Core for develpment [17:32] codecutter, journalctl --vacuum-size=100M [17:33] codecutter: CoreOS is not supported here [17:33] Is that CoreOS? I thought that's Ubuntu Core [17:33] lordcirth: Ubuntu Core (snappy) is an IoT OS, not very useful in the cloud [17:34] also, I don't think it even runs systemd(journal) [17:34] ubunhttps://pastebin.com/B785gqgD [17:34] Ok, but is a "Cloud Core" VPS on DO CoreOS? I don't know [17:34] Ubuntu running on DO [17:34] cat /etc/os-release should tell [17:35] CoreOS is more for container hosts I thought [17:35] codecutter: please run the following: nc termbin.com 9999 < <(lsb_release -ds;cat /proc/{version,cmdline};lsblk -o +type -e7 ) [17:35] codecutter: and paste the termbin URL here [17:36] told you its ubuntu [17:36] codecutter: please please the output here [17:36] please/paste/ [17:37] so, wait, /var was 6.2 GiB and now it's 3.3 GiB? what changed, did you run that journalctl --vacuum-size=100M command? [17:37] yes [17:37] I'm on Ubuntu 20.04 with nvidia driver 440.100. I'm seeing screen flickering on my main display (It's a 144hz Asus display). My two other displays are 60hz dells and don't show flickering, but I do see 'tearing' when scrolling a website on the dells. I tried setting the refresh rate back down to 59hz. Any idea what might be going on? [17:39] codecutter: so you have roughly a 10-15G filesystem with 4G swap and 5.2G in your /home and you feel cleaning logs is the solution? [17:39] codecutter: got that termbin output? [17:39] temporary solution - yes [17:40] I have enough space for now [17:40] sudo ncdu / <-- pretty kewl [17:41] yeah, it's awesome [17:41] who was it that recommended it? [17:41] let me scroll up [17:41] everyone [17:41] codecutter, several of us at once :P [17:41] But you may want -x to avoid crossing filesystems, depending on layout [17:41] leftyfb thx [17:41] isn't the journal limited to 10% of the disk by default? which would imply a 30GiB partition, and my numbers don't add up [17:42] mgedmin: we don't know since they refuse to give us any relevant information [17:48] anyone know what i'm suppose to do with this? sudo apt-get update [17:48] Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease [17:49] opening the link shows: 404. That’s an error.That’s all we know. [17:50] yes, and? it's not a link meant to be opened [17:50] ok then what do i do with it? [17:50] is it saying there is an update? or no? [17:50] why do you want to do anything with it? [17:51] ah, to determine if there's an update? [17:51] xBfrog, seems normal output, unless there's something else afterwards, but don't paste all those lines here, use a pastebin [17:51] ok, then just tell me what is it trying to say [17:51] where would you put this?: https://github.com/aaronbassett/Pass-phrase [17:51] at the bottom of 'sudo apt update' output look for a line that says something like "10 packages can be upgraded. Run 'apt list --upgradable' to see them." [17:51] ok i did [17:52] then what? [17:52] xBfrog, it's saying it hit the website to fetch a file which later is processed to see if there are updates or not [17:52] the 'Hit:' means it's a cache hit, no changes, the repository's metadata didn't need to be re-downloaded on this run [17:53] ok so nothing needs to be done? [17:53] ash_worksi: what do you mean where would you put it? [17:53] xBfrog, depends what it says after [17:53] xBfrog: can you explain what you are trying to accomplish exactly? [17:54] i dunno really, it just seemed like it wanted me to do something, it has said run apt...and see upgradable [17:55] xBfrog, who/what wanted you to do something? [17:55] xBfrog: https://linuxconfig.org/how-to-update-ubuntu-packages-on-18-04-bionic-beaver-linux [17:55] the OS usually checks for updates on it's own. [17:55] it seemed like it was alearting me apps could be upgraded [17:55] leftyfb: like, where would you clone this to use it? Just your home directory? That's where I had it and I just found it a bit irksome to leave there [17:56] ok then thanks i'll ignore it [17:57] ash_worksi: sudo snap install xkcdpass [17:57] a default installation would notify you of updates, and security related updates should be automatically installed [17:57] Well, it turns out disabling g-sync in the nvidia drivers solved my flickering issue :D [17:59] xBfrog, you can use the notification window to do the updates using the GUI, or open it yourself from your apps list. [18:00] Is Mac OS similar to Linux mean does it have the same file structure and terminal commands? [18:01] Deyaa, some of the basics are the same [18:01] But the filesystem layout is different [18:02] Deyaa: ubuntu is free and easy to try out [18:02] does it have cronjobs by default [18:02] Deyaa: ubuntu does support cron, yes [18:02] !osx | Deyaa [18:03] Deyaa: any questions about OSX need to be addressed elsewhere. Feel free to try out Ubuntu in a VM or live CD/USB [18:03] leftyfb: thats not the same thing is? [18:03] this one uses parts of speech [18:03] I'm just writing persist func [18:03] it: adj noun verb adj noun [18:03] ie* [18:04] But I never used Mac before [18:04] I'm using Linux [18:04] Deyaa: ok, please ask mac questions in a mac IRC channel [18:04] I'm sorry [18:09] ash_worksi: it looks to be the same thing to me. Though it segfaults for me [18:10] ah, there's an apt package as well [18:10] ash_worksi: sudo apt install xkcdpass # that is the same thing and it works [18:16] leftyfb: ah, I was told it does not use parts of speech [18:16] I'll try it [18:17] leftyfb: indeed it doesn't appear, at least just running the command with no arguments, to use parts of speech [18:17] ash_worksi: it might not. It says "inspired by XKCD 936" so it looks like it doesn't do the exact same thing. Though the original script hasn't been touched in 8 years and is unsupportable [18:18] I just like passwords like "colorful rain fights 6 beetles" [18:18] its more memorable when using parts of speech, imho [18:19] well don't share your passwords on IRC! [18:19] mgedmin: I made that up just now [18:20] in fact, I just finished writing scripts to update my password using password-store and expect so I don't even KNOW what my passwords are [18:20] I just run `conn server` and it copies my password to a buffer that expires [18:21] (also, I basically use this exclusively for ssh; I know, I know, keys. In addition to that, I am required to passwords [18:22] ash_worksi: anyone that requires passwords over keys doesn't have a clue about security [18:26] ¯\_(ツ)_/¯ [18:26] not my call :( [18:27] nonethe less, I threw it in /opt/Pass-phrase, does that sound like a nice place for it to live? Is that FHS-y? [18:27] s/the less/ [18:27] ugh [18:27] s/the less/theless [18:29] also, I symlinked a couple of scripts I wrote and put there to /usr/local/bin [18:30] dunno if that was a good or bad idea [18:30] mostly just a lazy one I think [18:32] ridiculous question but how do you perform basic maths in the terminal? [18:32] eg + - / * [18:35] if you don't need floating point, you can use bash's builtin echo $(( 2 * 2 + 3 )) [18:35] thank you [18:35] if you do, well, _I_ would open a python3 prompt [18:36] mindofmateo: or possibly without the dollar-sign, depending on how you're using it [18:37] I guess a better question is, what is the conventional way to inc/decrement a variable? [18:37] oh this is ubuntu, not bash, I'm sorry [18:38] heh [18:39] hi i'm in a system state where i cant reboot [18:39] systemctrl reboot does not work , neither shutdown -h now or shutdown -r now [18:40] on one console i get a lot oaf read-only filesystems errors from systemd [18:40] how to trigger restart?! [18:40] chriswitt, / is read-only? That's not good [18:41] how can this happen? perhaps my ssd is faulty... [18:41] Quite likely [18:41] check dmesg for ext4 errors [18:41] this occured before, but only after resume [18:41] dmesg gives input/output error :*( [18:41] there's always the alt+sysrq+(s, u, b) emergency reboot [18:42] what is sysrq? [18:42] I suppose the s(ync) and u(nmount) are redundant if / is already readonly [18:42] sysrq is printscreen [18:42] more precisely, alt+prinscreen is sysrq [18:42] it's used for emergency system commands in linux [18:43] you hold down alt, hold down printscreen/sysq, and then press and release s, u, b [18:43] ok print, ill try that [18:43] (and then release alt and sysrq) [18:43] if the system doesn't reboot after the b, it's wedged hard; but if you can still type 'shutdown -h' at a shell, you're not in that situation [18:44] ok alt+print+u triggered reboot thanks... [18:44] what do u suggest to test my system? smart tools on ssd? or fsck on ext4 [18:44] ? [18:44] alt+print+u would trigger unmount, not reboot [18:45] smartmontools to test, fsck to recover the file system if you don't expect it to make things worse. [18:45] i tried with s, nothing happend or i was impatient, then tried next u and after that got a reboot [18:45] mindofmateo: again, it depends on what you want to do, but you cah do something like just `var=0; ((var++))` [18:45] ...which can happen if the storage is coming apart [18:46] is it a clear indication of storage related issue or could it still be resume or an unfinished update state? [18:47] i would have to check from a live system, as far as i recall i can not check a mounted ext4 partition, or can i? [18:47] journalctl -k to view kernel messages of the current boot, journalctl -k -b -1 for those or the previous [18:47] chriswitt: not a clear indication, yet, see logs [18:49] you can't fsck a *r/w* mounted file system, you CAN fsck a *r/o* mounted file system [18:49] ok thx for the clarification [18:49] but if storage failure seems likely, fsck is not the way to go, at least not immediately [18:50] the last entry in journal of pervious boot is from around 16:20. so persumably before last hibernate. [18:51] no ext4 errors popping up... i'll check my ssd from a live system soon thx for the magic key hint! [18:51] !sysrq | if you'd like to read up more on it, chriswitt [18:51] if you'd like to read up more on it, chriswitt: In an emergency, you may be able to shutdown cleanly and reboot by holding down Alt+PrintScreen and typing slowly, in succession, S, U and B. For an explanation, see http://en.wikipedia.org/wiki/Magic_SysRq_key [18:53] don't expect to see ext4 errors in the _journal_, when the error happens on the partition where the journal is stored, and that causes a read-only remount [18:59] I'm pretty excited for 20.10 to drop tomorrow. Is there any way to get an early access to the final ISO? (I.e. maybe it's already on some servers but they're waiting for it to propagate to all mirrors?) [18:59] !ubuntu+1 [18:59] Groovy Gorilla is the codename for Ubuntu 20.10. For technical support, see #ubuntu+1. For testing and QA feedback and help, see #ubuntu-quality. [18:59] but the answer will be 'no' for the *final* iso, i'm sure [19:00] Ah. Gotta do the usual beta + update I see === greknod6 is now known as greknod [19:14] I don't see a lot of address in my /etc/apt/sources.list file but there are quite a few 3rd party ones in the GUI under other software, are there two lists or something? [19:15] Mibix: /etc/apt/sources.list.d/ [19:21] ahh ok that looks better sarnold [19:22] woot === SysGhost is now known as SysGh_st === SysGh_st is now known as SysGhost [19:58] hmm after a restart i used to be able to remote in with Ubuntu and put in the password [19:58] any idea why this isnt working anymore? [20:04] Mibix: you changed something, or something you changed (but did not persist) was overwritten by an update. [20:04] :( [20:05] if, by "remote in with Ubuntu and put in the password" refers to unlocking an encrypted block device which is required for booting, then this isn't a default confdiguration. [20:06] no its the login screen [20:06] and i used to be able to get to it from teamviewer [20:06] if it refers to logging in via ssh to a running ssh daemon then it should still work, unless the boot failed for some reason. [20:06] no this is loggin in via the gui in ubuntu [20:06] oh, teamviewer is not something that's part of ubuntu [20:09] ugh this doesnt work either https://help.ubuntu.com/stable/ubuntu-help/user-autologin.html.en [20:09] you should probably set up an ssh server on this system you need to be able to access remotely, whether or not you also have access by some graphical utility in case everything succeeds at booting. [20:10] if it's physically remote and / or not easily servicable by you or remote hands you trust, then you may also want to set up out-of-band access. === int0x6h is now known as int06 [20:33] I really only want access via gui :D [20:33] So. I was here yesterday asking about this (but now the situation has worsened :-D ) , i have a lubuntu machine thats up with a live OS. I can't ssh into it from windows, but im pretty sure everything's kosher with the server part etc. I can connect to localhost for instance. It has net acess outwards. What are some things i want to check? [20:35] oh, AND, yesterday it was even stranger. I have three machines in my LAN, they have like .2 .5 and .13 as internal IPs. Yesterday, the Win machine couldnt connect to the lubuntu one (like now). BUT. I could connect from a ubuntu to the lubuntu. AND. I could connect from Win to ubuntu. Isn't that weird? As if the lubuntu wouldnt accept ssh connections from a WIn machine , specifically [20:38] ufw status : inactive [20:47] @Bashing-om you around? [20:47] Ntemis: affirmed I be here :D [20:48] remember when you helped me fix nvidia driver? [20:48] some days ago [20:48] now i have audio issue [20:49] btYeah - mostly .. maybe some details have slipped from the mind by now. [20:49] Ntemis: Sound is not something I deal with ... No sound on this my work station :D [20:50] you gave me this sudo apt purge nvidia* ; dpkg -l | awk '/^rc/{print $2}' | xargs sudo dpkg -P [20:50] and fixed my issue [20:50] now sometime hdmi out doest work and also when monitor sleeps and comes out of [20:51] in sound preference it says [20:51] Ntemis: Well no - that command did not "fix" ... just deletes files that the package manager has marked "rc" -- when the rc means (R)emoved but (C)onfig files remain. [20:52] Ntemis: which issue are you having? [20:52] GM206 High Definition Audio controller Disabled Off [20:52] in profile i see only off [20:52] if i restart or logout then in audio returns [20:52] most of the times [20:54] this might help or not [20:54] https://dpaste.com/H69Q55ZAE [20:55] Ntemis: Might help to have a common reference for the channel - bot's tutorial on sound follows: [20:56] !sound | Ntemis [20:56] Ntemis: If you're having problems with sound, click the Volume applet, then Sound Preferences, and check your Volume, Hardware, Input, and Output settings. If that fails, see https://help.ubuntu.com/community/Sound - https://help.ubuntu.com/community/SoundTroubleshooting - https://alsa.opensrc.org/DmixPlugin - For playing audio files, see !players and !mp3. [21:52] hey all, i noticed my 10th gen intel w/ intel graphics makes for a sluggish desktop. wondering if i'm missing some hardware acceleration or something, any thoughts on how to tell? it's a pretty new CPU and 20.04 is a little old so that's also a thing [21:55] rk4: what does glxinfo | grep Accelerated say? [21:57] glxinfo is from the "mesa-utils" package === beaver is now known as laeti [22:00] Hey i have a web server running on a machine and i can reach it from another machine in my LAN. THey are both on 192 IPs and the web server is on 8080 . However i also have another kind of server running on 8088 . I can reach that one locallyu on the machine by doing http://localhost:8088 from a browser, but i cant reach it from the other machine. Do these things usually have to be opened in a consumer router [22:00] or something? [22:00] Cause i never remember opening 8080 for instance [22:01] Or is there a nifty ubuntu command to see which server ports are open on that machine [22:02] i cant find a motion detection security camera for ubuntu. Any recommendations ? "Motion" doesnt work for some reason. [22:04] sybariten: try sudo ss -ptl [22:08] sarnold: yeah i got a very strange list there... i think i see the sshd and the webserver but i donbt think i see this VS Code server.... unless its the one that says "node" [22:08] sybariten: it could be, yeah; is it running on the port you expect? [22:09] sybariten: what IP addresses is it bound to? if it's bound to 127.0.0.1, then it'll be reachable only via localhost; if it's 0.0.0.0 or one of the addresses on the NICs, then it can be reached from off the machine [22:09] sarnold: hmmm wait it probably is actually, the PID from ps matches up with the node thing from ss -plt [22:10] hi all, im having a lot of trouble with ubuntu server. Im trying to create multiple ssh users all with the same home directory. This directory is a folder on a mounted file system. However any time i ssh in or try to cd to the directory im getting permissions denied [22:10] sarnold: good question, i dont know where there are configs for that.... web servers have to be configured to be reached from only localhost or from all IPs right? This one has pretty limitied conf possibilities i think... [22:11] Batzy: what's the use case for "multiple ssh users all with the same home directory"? [22:12] tomreyn, i want to set up a directory where people can use the remote dev toolkit on vscode. It establishes an ssh connection to edit the remote files [22:12] please dont recommend ChrootDirectory, it sucks [22:13] Batzy: try namei -l ~/.ssh/authorized_keys [22:14] sarnold, im not using keys [22:14] Batzy: make sure ~/.ssh is 700, and ~/.ssh/authorized_keys 644 [22:14] it's just a pw auth right now [22:14] Batzy: hmm, i don't know how the "remote dev toolkit on vscode" works, so can't recommend a better approach. but note that this setup is quite unusual [22:16] you can have multiple separate system users accessing the same files, or you could even have a single shared system user which multiple people authenticate to, using individual ssh keys. [22:16] sarnold: i was wrong! There was in fact a startup option, as i discovered when i googled some tutorials. --bind-addr ... i set it to 0.0.0.0:8088 and now it works from other machines! thanks [22:16] sybariten: nice! [22:16] Batzy: create just one user that owns the homedir, switch to keys and add a key for each user to ~/.ssh/authorized_keys [22:18] Hey, how can I exit or kill a VIM process with an open file by another user? [22:18] so I've done a complete fresh install to 20.04 lts with a new 2nd hdd for storage. I had most everything ready except drive wasnt really "automounting". once I changed that feature in disks subsequent reboots had it automounted and files were there. during a recent reboot the drives mount location and name changed from /media/user/media/... to /mnt/f2a4c3d1-394e-4d87-87f2-1281650b9e0f messing with kodi and samba(which I have been fightin [22:18] g shares on anyway) [22:18] ducasse, wont all users be able to view all other users keys? [22:19] ducasse, right now i think the directory is owned by root...but i did a chgrp on it [22:19] only the public part [22:19] so who needs to own the directory? i am confused about this [22:19] Bill73, does it normally mount in a directory youve created? [22:20] Batzy: all users will connect as the same user-id, which owns the homedir [22:21] int0x6h: you mean the process is owned / was started by a different system user? [22:21] yes tomreyn. then exited vim incorrectly leaving the file/process running [22:21] ducasse, ah and then they verify with different keys [22:21] i see [22:22] int0x6h: either vim wasn't exited (is still running) or it did exit, then the file is no longer locked to vim (but vim may want to recover it on the next run) [22:23] upon trying to edit the file it says "File /etc/xxxx/xxxx.json is being edited by OTHERUSER (with Vim 8.1, PID 73379); open anyway?" [22:24] int0x6h: and is this pid still in use? ps u 73379 [22:24] it does not appear so tomreyn [22:25] int0x6h: can you work as OTHERUSER ? [22:25] other user is thelounge from trying to edit a user file. not sure of password [22:26] int0x6h: do you have a user which can run administrative commands, e.g. sudo? [22:26] compdoc: it did but it was not accessible via samba until i physically opened or mounted from other locations in filemanager [22:26] yes tomreyn [22:26] I just came accross a Mate 18.04.4 that didn't seem to have changeme available in any repo. I checked the Ubuntu site and it will appear that it should be there. Does anyone know why this could be?. It's not really important but my brother wanted to use it to scan his home network, he has some dodgy web cams. [22:27] int0x6h: sudo -u OTHERUSER -i [22:27] int0x6h: then: vim /etc/xxxx/xxxx.json [22:27] ^^sudo: unable to change directory to /home/thelounge: No such file or directory sudo: unable to execute /usr/sbin/nologin: No such file or directory [22:28] int0x6h: okay, then try: sudo -u OTHERUSER vim /etc/xxxx/xxxx.json [22:29] recover + save the file [22:29] great. that worked. thank you kindly [22:31] int0x6h: then sudo rm /etc/xxxx/.xxxx.json.swp [22:31] i.e. same file name but with a leading dot and .swp to the end === jStefan_ is now known as jStefan [22:31] rofl, how to close vim please [22:32] int0x6h: :wx to exit while saving [22:32] :q! to exit without saving [22:32] weird, I tried that earlier and could not get it to work, however it worked this time. thanks. rm swp now [22:33] wasn't aware :x was also an exit command, i thought it was always q [22:35] do we have any mac experts online [22:36] I am struggling hard [22:37] adam0000345, comiserations [22:37] not sure if anyone can help but basically ubuntu installs efi/grub by default [22:38] this is not working with refind and can't boot off of it [22:38] press the ALT button when you hear the sounds when you power on, you should get an option to boot to efi [22:39] I get this error [22:39] starting grubx64.efi Not found while loading grubx64.efi macbook [22:39] specifically [22:39] thank you kindly again tomreyn. many blessings [22:39] I DocMors that does not work [22:40] int0x6h: you're welcome [22:40] I get a folder with a flashing question mark [22:40] never works [22:40] how did you install ubuntu [22:40] tried that already [22:40] I have a new SSD drive [22:40] installed ubuntu on it [22:40] wiped the old hard drive that had Mac installed [22:40] because I want to mount that for extra file storage [22:40] I want to take my macbook and go full Ubuntu [22:41] no macox [22:41] what ubuntu version? [22:42] 20.04 [22:43] how did you install, did you follow all defaults? Did you chec the sio checksum? [22:43] i followed this guide "http://ubuntuhandbook.org/index.php/2020/05/boot-ubuntu-20-04-command-console/" and everything is working. im at the command line now. what is the command to start gnome desktop? im on ubuntu 20.04.1 amd64 and i dont want the desktop perm. i like the command line but sometimes i need the GUI [22:43] Did you chec the ISO checksum === InsertRandmNick is now known as max-m [22:44] no I think this might be helpful [22:44] https://heeris.id.au/2014/ubuntu-plus-mac-pure-efi-boot/ [22:45] en1gma: try systemctl start gdm and see what that does [22:45] sarnold ok gimmie a sec. rebooting again [22:46] en1gma: i think you may want "systemctl isolate graphical.target" [22:47] oh that souds better [22:47] it would terminate the previous tty, though [22:47] im not sure but it asked for my user password and took me to login screen where i selected my user and entered password again [22:47] is that the correct way? [22:48] going to reboot and try the other command and see what happens [22:48] wait [22:48] was that the first time going into gnome? [22:49] there's a first-boot tihng gnome walks users through [22:50] nope. i was already in the gui but i did do a fresh install a bit ago [22:51] both commands take me to login screen but i have to enter password first to get there and then again after i click user at login [22:51] i thought there was a command like StartX or something that took the currently logged in user (command line) and went straight into gui [22:51] but that was like 5 years ago :) [22:51] you can enable autologin in gnome settings [22:52] nah its cool. so the command you suggested would be more proper then the one sarnold gave? [22:52] tomreyn: hmm, that one says 'yes' [22:53] tomreyn: potentially this 4k monitor isn't helping, but i'd have thought 2020 hardware ought to be able to handle 2D 4k desktops fine [22:53] en1gma: it's a bit of a matter of choosing preferences. i suggest you read up o n the man pages and decide for yourself. [22:53] also if i want to close my laptop lid and have it disable the screen but not shut off or sleep or suspend how do i do that? i still want ssh but like headless unless i open lid [22:54] rk4: you mean the cpu you have, whch comes with an embeeded miniature graphics chipset? [22:55] a fullscreen glxgears manages 30fps, at its default size it also reports 30fps [22:55] rk4: i'm not even meaning to say "no", but note that intel integrated graphics chipsets are not very powerful. it may be possible, though. [22:55] tomreyn: correct, the common laptop arrangement - https://ark.intel.com/content/www/us/en/ark/products/195436/intel-core-i5-10210u-processor-6m-cache-up-to-4-20-ghz.html [22:56] en1gma: man logind.conf [22:56] rk4: so you're getting 30 FPS on full screen on 4k? [22:57] looking at those specs, interesting it pushes a low framerate over HDMI vs dp [22:57] tomreyn: correct, also when not fullscreen [22:59] rk4: hmm, weird. maybe a new artifical limit was introduced for 4k, and i'm not aware of it, yet. does it say "Running synchronized to the vertical refresh." when you start it from a terminal? [23:00] en1gma: does this help? [23:01] tomreyn: no kidding, switching to the usbc/dp output instead of HDMI kicked things up to 60fps [23:02] rk4: so when you run vblank_mode=0 glxgears you should hget different values with different outputs and screen sizes [23:04] tomreyn: it did indeed say :synchronized with the vertical refresh rate', with vblank_mode=0 am getting 6500fps, and a very high pitched whine, guess you can't have everything [23:04] tomreyn: thanks! it would seem acceleration does work, and i was just hitting the limits of the igp's HDMI [23:04] does that pitch sound like it's 6.5khz? :) [23:05] hehe [23:05] rk4: if you prefer the FPS output on screen for any opengl application such as glxgears, run GALLIUM_HUD=fps glxgears [23:06] https://docs.mesa3d.org/envvars.html for more usful options [23:09] hi [23:10] is it possible to create a null-disk? I'd like to perform a copy operation for performance tests and debugging but cannot write to a real target for want of space. I'd like to read as fast as possible anyway but with a real cp operation. [23:11] now you cannot cp -a to /dev/null. can one .. have a dummy fs that discards everything? [23:13] deadrom: most folks use dd instead [23:13] deadrom: dd if=/path/to/whatever of=/dev/null [23:14] not sure what the benefit of cp is in your test deadrom. If you want to get the read performance of the disk, using hdparm will give you a better idea [23:15] darrend: cp large fileset from NFSv4 stalls the client. want to test on other machine [23:17] deadrom: you could try something like this https://github.com/xrgtn/nullfs [23:17] but I don't know if that can really keep up with the speeds you need, nor how reliable it might be [23:19] https://www.kernel.org/doc/html/latest/block/null_blk.html [23:21] tomreyn: interesting, thanks [23:22] it doesn't really say so, but you'd need to sudo modprobe -v null_blk [23:23] haven't used it before, but dmsetup has a zero target, perhaps related to null_blk [23:23] What, exactly, does the text scaling setting change? dconf dump / is identical before and after, xrandr --verbose is identical before and after, gsettings list-recursive is identical before and after... what else can I check? [23:24] not text scaling, blah [23:24] under Displays in the settings GUI, the "Scale" option, typically has 100%, 200% etc as options [23:24] 20.04.1 if it matters [23:26] it's not some Gnome-specific thing because the setting affects Discord as well [23:27] rk4: apparently the dmsetup 'null' target is more like /dev/null and /dev/zero (quoting dmsetup(8)) "zero Returns blocks of zeroes on reads. Any data written is discarded silently. This is a block-device equivalent of the /dev/zero character-device data sink described in null(4)." [23:28] but if you don't mind the (probably minimal) overhead dmsetup introduces there, this is another option. [23:30] tomreyn checking logind.conf now [23:31] it might thanks [23:37] hi [23:37] so I can add atributes "chmod o+w file" and anyone can delete a file, can I change attibutes of a process so anyone can kill some process ? [23:40] JustLandedOnMars: i don't think processes have attributes in the way file system objects have. and, for all i know (which may not be much), the answer is 'no'. [23:43] so how to allow other user to access your processes ? [23:43] so process runs as "user" it doesn't runs as "group" so you can't just create "priveleged" group and add someone to it so they can manage your processes ? [23:44] you could create a sudo rule to have a specific or any restricted user run commands as ther target user [23:44] this can also be a user group [23:44] So I figured out my question... it's pretty convoluted. gnome-control-center sends a DBus command to Mutter which applies the configuration and then saves it to a monitors.xml file [23:45] JustLandedOnMars: what'S the goal? is this !xy ? [23:45] allright [23:45] I wasn't sure if that is possible, seems like not [23:46] JustLandedOnMars: so it's just theoretical? [23:46] right [23:46] if I run some process, a web browser, under user "test" I would have to "su test" if I want to control it [23:48] "sudo -i test" for a shell or "sudo -u test somecommand" to run somecommand as the other user [23:48] sorry, that's "sudo -i -u test"