[00:27] hola [00:36] What is the relationship between snap and aptitude going to be in the future? Is snap the future, will apt be gradually phased out? [00:37] dunpeal: no they will coexist [00:37] dunpeal: feel free to ask about future ubuntu releases in #ubuntu-next [00:37] and its more about apt and snap, not aptitude (aptitude is just another interface) [00:39] Thanks, I thought apt was just short for aptitude, with the latter being the proper name for this package management system. [00:44] no, apt and aptitude are different implementations of the same ideas; aptitude respects (some of?) the apt configs, it works on the same package databases, but it's also got unique features that apt doesn't have [00:44] my x2go new connection is pretty fast but when i choose 'local connection', it goes so slow to be unusable. How can i fix? [03:24] Hey guys, anyone know much about landscape? [03:24] Canonical's landscape that is [03:24] I'm looking for an alternative that is open source and free software [03:26] Landscape server..? [03:27] what do u mean landscape server? [03:27] Micro 8 's [03:30] https://ubuntu.com/blog/what-can-you-do-with-microk8s [03:31] don't think that's what I'm after [03:31] specifically I'm after some kind of server monitoring [03:31] Landscape server... https://ubuntu.com/landscape [03:32] nah we currently use landscape and it's not good enough [03:32] it lacks documentation, community and features [03:32] it's not even available on 22.04 [03:33] forman looks good, not sure if it'll work on what I need it to though [03:33] https://www.theforeman.org/ [03:34] I will check..How many servers needed..? more than 100, 200.. 1000..? [03:34] like 40 [03:34] virtual [03:34] Okay.. [03:35] as a general purpose thing that's cloud workload friendly, I've used sensu for that quite a bit. [03:35] However I think prometheus with alertmanager is becoming the de facto standard. [03:35] hmm i'll check these out [03:35] with grafana for the visibility (pretty pictures) [03:36] prometheus gets the data, alertmanager does the alerting, and grafana is the presentation layer. [03:36] Each of them could be replaced with others. There's quite a few variations. [03:36] Prom seems to be the one constant, though. [03:36] That is, in my experience. [03:37] wait so [03:37] you use multiple services to get this to work? [03:37] like sensu + prometheus + grafana? [03:37] sounds like a lot to setup [03:37] sensu is more of a kitchen sink. [03:38] prom + alertmanager + grafana is a stack of tools which are complimentary. [03:38] https://adamtheautomator.com/microk8s/ [03:38] I prefer the unix way generally (the three separate tools). [03:38] microk8s is a kubernetes stack. [03:38] 99% chance it's using prometheus with grafana fronting it. [03:38] so sensu is the backend? [03:38] Ubuntu rules with security.. [03:39] But I don't know. I use actual k8s, which isn't opinionated. [03:39] like looking at the screenshot there's no web interface or something [03:39] No, sensu is... let's see, do you know Nagios? [03:39] Sean made sensu to be: "The nagios for cloud stuff" [03:39] nah im really new to all of this [03:39] Nagios became Icinga, you might know that name. [03:40] Wrong look at what Ubuntu has to offer [03:40] The main feature we are looking for is system monitoring and notifications. Like we want to know if something goes wrong that we can be notified immediately [03:40] Yes, and kubernetes, like basenjis is suggesting, makes that a pretty turnkey thing. [03:40] SELinux or Apparmor.. [03:41] It's just a pretty big shift, for some organization's workloads. [03:41] hmm i'll have a look at hubernetes [03:41] If you want something completely generic: sensu. If you have "regular" things that can report to prometheus, look into prometheus + alertmanager + grafana, and the alternatives to alertmanager and grafana. [03:42] Kubernetes is authentication exact [03:42] kubernetes requires workloads that can stop at any time and idempotency and a lot of software architecture to be developed properly. [03:42] it offers great orchestration for workflows which fit into that box. [03:42] There's are all good, I need to come up with like 5 different solutions to implement for our company [03:43] 5 is too many. [03:43] like, because someone else will decide what we will implement [03:43] At least, 5 at once. [03:43] I'm just doing the research [03:43] is the point [03:43] Oh, you mean propose 5 diff options. [03:43] yeah exactly [03:43] Well now you have two. [03:43] yes indeed [03:43] Idk I don't care if we make all 5 [03:43] And the whole: "OR< we just move to kubernetes" [03:43] at least 3 would be good [03:43] and open that can of worms. [03:43] so like sensu, kubernetes and maybe one other [03:43] prom + alertmanager + grafana [03:44] possibly [03:44] it's a common stack. there are many one-click installers so you can't even tell you're using 3 different things. [03:44] what do u think of foreman? [03:44] I've never used foreman. [03:44] fair [03:44] That doesn't look like a monitoring solution, from my initial read here. [03:45] But I'm not gonna spend too much time on it. [03:45] it says on the website that it is a monitoring solution [03:45] eh im not going to worry about these for now [03:45] i'm just going to look into the programs u have suggested for now [03:45] That looks like a kitchen sink of terraform + ansible + chef + prometheus + * [03:46] I tend to avoid kitchen sinks and just use the underlying tools. [03:46] is a frontend nessesary for this kind of thing? [03:46] like landscape has a web front end [03:47] it would be nice [03:47] onlhy for the visualization part. [03:47] hmm [03:47] the configuration should be "as code", treated as any other code pipeline. Code reviews / approvals, etc. [03:47] This is all just one SRE's opinion. YMMV [03:48] I've been at so many places that did graphical configuration (Datadog, Splunk, others) and it alwasy got worse over time. [03:48] To the point that no one would touch it. [03:49] treat your metrics and monitoring config just like you treat any other code. it's just as important. [03:49] That was the Nagios mindset that is followed by sensu, generally. [03:51] whats easiest to learn? [03:52] sensu? [03:52] No idea. [03:53] I sat next to Sean as he was writing sensu. [03:53] So it was very tacit learning (the easiest) [03:53] Hi, which is the pakcane name used to report desktop crashes? [03:53] *package [03:53] prometheus was a bitch. [03:53] I hate the query language of prom and grafana. [03:53] But I made it through it. [03:54] researching this online is so confusing man [03:54] Yeah I bet. [03:55] information overload. [03:55] exactly [03:55] With a bunch of well placed ads. [03:55] How many times did you end up on Splunk's website? hahahah [03:55] not with ublockorigin baby [03:55] haha a few [03:55] Splunk and Datadog are the big players in the hosted space. [03:55] You should include at least one hosted option. [03:55] are they FOSS though? [03:55] NewRelic is another player there. [03:56] Nope, not foss. [03:56] damn [03:56] But I'd still include them, if this is for a company. Just so you can see the cost-value proposition. [03:56] The Foss one takes $$, too, in manpower to maintain it. [03:56] yeah I think I will, I always want to recommend foss when Ican though [03:56] Me, too, always. [03:57] It's a variation of the buy vs build. [03:57] Maintain vs pay someone to maintain. [03:57] yeah I don't think we want to spend too much time maintaining this [04:01] suse linux..? easiest to learn..? [04:02] what? [04:03] who what? [04:04] It is true.. Suse Linux.. is easy to learn..server is updated from Germany [04:04] Um, ok. I don't know how to even judge "easy to learn" [04:04] I thought LFS was very easy to learn. It was just A Book. you read the book, you know the distro. [04:04] What can get easier than that? [04:05] EXCUse..You..?? [04:05] Reading. It's a Thing. [04:05] No [04:06] Wrong context [04:06] Not a book [04:06] kubectl config set-context correct-context [04:06] haha, should be use-context, I think. [04:06] Wrong GAIN [04:07] Sever...iso [04:07] yup, use-context [04:07] Sever .iso Open source SUSE.. ! [04:08] Fool [04:09] Micro8's Ubuntu rule..less than that is SUSE.. [04:09] Rancher ? [04:14] imagine reading in 2022 [04:14] i just hack into the mainframe with my mind [04:15] https://adamtheautomator.com/microk8s/ [04:42] im thinking datadog looks good [04:42] looks like its easy to setup [04:42] but sensu looks like a bit of a learning curve === utkarsh is now known as mr_crypto === certiora1i is now known as certiorari === John__ is now known as johnau [06:35] Is there are copy manager (like teracopy) for ubuntu? Specifically with a file queue where files can be skipped/re-prioritized/ etc ? [06:35] for ubuntu kde* === guiverc2 is now known as guiverc [09:12] what happened with id.archive.ubuntu.com? keeps getting forbidden error for apt operations [09:12] realivanjx: Looks like it's empty. Maybe the mirror got taken offline? [09:13] probably. it was working fine up to a few days ago when i last checked for updates [09:13] realivanjx: There's lots of other mirrors in Indonesia that you could switch Apt to use instead. What version of Ubuntu are you on? [09:14] arraybolt3[m] 22.04 [09:15] realivanjx: OK, one moment, I'll give you a file you can drop into your system to switch to a functioning mirror. === war is now known as Guest798 [09:19] realivanjx: Sorry for the delay, juggling over here... [09:20] np [09:21] realivanjx: https://bpa.st/V75A [09:21] realivanjx: Run "sudo nano /etc/apt/sources.list", then press and hold Ctrl+K until the file is empty. Then copy the contents of the link above, and paste them into the file with Ctrl+Shift+V. Then press Ctrl+S to save, Ctrl+X to exit, then run "sudo apt update" and see if it works. [09:23] just that one file? i will try it later. thanks [09:36] hi, how can I connect with ssh to a second server using a key ? I tried "ssh -A -t -v root@server1 ssh -A -t login@server2" but I get "no hostkey alg" as if the second server didn't recieve my auth key... Any idea ? [09:46] I have been offered a partial upgrade when trying to go from 20.04 to 22.04. How can I find out why? [09:52] hello [09:52] hey [09:57] hey guys! how can i check who/what ip is using protocol IGMP? I tried "ss", "lsof", "tcpdump" and haven't found a way to get information of protocol IGMP that is being use... how can i track that protocol? === mickey770 is now known as mickey77 [10:14] phonixgeist: tcpdump, wireshark [10:17] capture filter: "ip proto igmp" [10:18] he continued in #linux [10:19] tomreyn, ip proto.. gives me error... [10:19] thanks oerheks [10:20] all i found is this dutch tv routing issue https://gathering.tweakers.net/forum/list_messages/2003282 [10:20] 240.0.0.0/4 [10:39] Aliekezi: use the -J (jump host) option to specify the first server, the one you 'proxy' through [10:39] lesshaste: do you want to share the output, on a pastebin-like service, and provide more details? [11:21] hi [11:21] If I want to block yutube on localhost. I can do this in /etc/hosts file? `216.58.0.0/16 localhost` ? === esv_ is now known as esv [11:24] I would do: 127.0.0.1 yutube.com in /etc/hosts instead. [11:25] esv that does not works. [11:26]   how to firewall youtube.com in iptables so this site does not opens up? [11:28] https://pastebin.com/imYuT7E4 [11:29] what are you trying to accomplish? [11:29] maybe youtube.com and yutube.com are not the same [11:30] are you trying to block your local network users from using the service? [11:30] !crosspost | Intelo [11:30] Intelo: Please don't ask the same question in multiple Ubuntu channels at the same time. Many helpers are in more than one channel and it's not fair to them or the other people seeking support. [11:30] esv the pastbin link do not open. [11:31] maybe the site is blocked to you, I just tried that on a different browser and it worked. [11:31] can you paste on another bin? [11:32] https://bpa.st/XOCQ [11:33] Intelo: it's just a bin where he shows that "127.0.0.1 youtube.com" works. so make sure yours doesn't have any typos [11:37] but don't mind me, without knowing what is that you are trying to accomplish is foolish to give advice. apogologies for provide wrong advice. [11:37] esv but in your paste, you are able to access youtube despite the rule in /etc [11:39] no, my machine gets pinged (127.0.0.1) is always your local machine [11:40] I mean yes, ping command is successful but at the end of the day it is your local machine the one that replies not the youtube.com service [11:42] ok [11:45] also, not sure if it would work for anything else other that the two specific entries (www.youtube.com and youtube.com), you might need to use a DNS filtering service like the one used in the pi-hole. [11:45] again, not sure what your main objective is. [11:46] idk if it's also really helpful to only block yt (the site itself) as there are quite a few 3rd party sites based on invidious for example [11:52] esv murmel thanks [11:55] tomreyn, sorry, I just found out it was the second server which didn't accept some algorythms, now it's fiexed [11:59] are there any mirrors for libreoffice ppa? https://ppa.launchpadcontent.net/libreoffice/ppa/ubuntu is too slow for me [12:00] Aliekezi: glad you worked it out. [12:04] realivanjx: i don't think there are mirrors. maybe you can run your own proxy server close to it? what does ppa.launchpadcontent.net resolve to for you, and what's your download speed from it? === solsTiCe4 is now known as solsTiCe [12:11] tomreyn 185.125.190.52 [12:11] speed is like 50-150 KBps [12:17] location seems to be Hurricane Electric, London. I get about 85mbit from it [12:41] realivanjx: it resolves to both an ipv4 and ipv6 address for me, and transfer from the ipv6 one is slower for me - but i'm also in western europe, so this can be very different for you. [12:41] realivanjx: what i mean to say is: see if you can get a faster download via ipv4 than via ipv6, or the other way around. [12:44] Hey! Can anyone help me please.. I installed Zabbix to my Ubuntu 20.04 VM + some other stuff. Zabbix port is 10050. For some unknown reason I cannot connect to it from another machine. I have disabled ufw then enabled it and allowed 10050 then I allowed connection from my Zabbix server IP, but nothing helps. iptables -L doesn't show any blocks and netstat shows that Zabbix agent nicely listens to 10050. There are no external firewalls and [12:44] other VMs in that same server and network are using Zabbix agent too without issues. Telnet times out. [12:44] I'm not really sure what to do next [12:46] and I can connect to the Zabbix server and I can ping the Ubuntu VM from Zabbix server as well.. so connection works just fine. It just external connections cannot connect to 10050 for some reason [12:49] tomreyn im using route48 tunnel for my ipv6. im from southeast asia [12:56] Hi all [12:56] hey guys.. anyone know how to configure nftables to allow wifi-hotspot internet sharing... nft is blocking my hotspot... [13:16] hi [13:16] hey [13:17] I need more sleep [14:08] Alrighty, I can see from tcpdump that packets come in.. ufw is disabled, but something seems to be still wrong. Iptables is empty.. [14:09] Diplomat: aha [14:09] Diplomat: tcpdump will always show the packets coming in [14:09] Diplomat: tcpdump is showing you what hits the interface as it hits the interface [14:10] Yes.. but I have ufw disabled and packets still don't reach the service [14:10] When I try from the server itself like: telnet localhost 10050 it works perfectly [14:12] Diplomat: what if you connect to the servers' LAN / external IP address from itself? rather using nc (netcat) than telnet (which is a bad tool for debugging purposes)? [14:13] Connection to XXX 10050 port [tcp/zabbix-agent] succeeded! [14:13] nc -vz XXX 10050 [14:13] is there virtualization, NAT, network brdiging involed? [14:14] I'm using Vmware yes, but I have other VMs using Zabbix as well and they don't have any issues. [14:14] can you connect to it from the host? [14:15] consider an ip address collision [14:16] There can't be a collision because we have mail services running there and they work perfectly. I have not tried from esxi itself [14:16] + I'm ssh-ed into it using the external IP [14:16] Only 10050 seems to be having issues.. other ports in that context work perfectly fine [14:18] Yeah, I just tried from 3 different external servers outside from that network (in different countries) and nc times out [14:18] Also nmap seems to be showing correct open ports as well (besides 10050) [14:21] A quick paste too, to who is interested: https://dpaste.org/YNbDR === mickey7707 is now known as mickey770 === pah is now known as pa [15:12] Well.. lol [15:12] Turns out that server was using nftables [15:16] hello. I did a netplay yaml config to bond 2 LAN cards in active-backup mode. but remove one of both lan cables, network break. maybe I have to set bond0 as default connection. [15:37] I wonder how many Ubuntu users run MATE instead of Gnome or some other DE. I've been trying out MATE and it's amazing [15:41] !discuss | jj__ [15:41] jj__: Want to talk about Ubuntu, but don't have a support question? /join #ubuntu-discuss for non-support Ubuntu discussion, or try #ubuntu-offtopic for general chat. Thanks! [15:41] https://ubuntu.com/desktop/statistics [15:42] oh ! i didnt know abut the !discuss factoid !! [15:42] lol ogra [15:42] no stats about desktops.. [15:43] didnt we have a statistics package in the repos? [15:43] oerheks, also pretty old (i think the original poll for this was in 2017) [15:59] is there any mirror for ubuntu 20.04 ARM around southeast asia (singapore, jp, indonesia, etc)? [16:00] really cool website, thanks oerheks [16:03] realivanjx, check this : https://launchpad.net/ubuntu/+mirror/mirror.coganng.com-archive2 [16:11] thanks ioria [17:00] So, I have a silly question that's more of theoretical than technical, but... what would cause an Ubuntu system to suddenly go from stable and working to entirely unstable and unusable? [17:00] I was using my laptop last night and everything was just going normally, when suddenly I was met with "Segmentation fault" when trying to run "lsblk". Pretty much every command I tried to run after that told me either "Segmentation fault" or "Bus error" (even the "sync" command!), and I was unable to launch any programs from the GNOME shell. [17:01] I decided to force reboot by pressing and holding the power button - when I did so, the desktop vanished and I saw a ton of SQUASHFS errors (presumably from Snaps?) in a console, then the system shut down. [17:01] Thankfully, it rebooted normally, and seems to be just fine now. So I'm back up and running, but... what on earth? What's something that would cause this rapid chaos? [17:01] wich ubuntu/flavour release was that arraybolt3[m] [17:02] Ubuntu Desktop 22.04. [17:03] arraybolt3[m]: can you still access the journal logs of last night? [17:03] Depends on if they saved to the disk or not, I could try. [17:03] Last time I saw something similar, I had accidentally yanked out a flash drive that happened to have the system's swap file on it. I had just installed Kubuntu 20.04 to a flash drive and didn't realize that the newly created swapfile was in use by the live environment, so I just grabbed it and removed it, and immediately stuff started going wrong in a very similar way. [17:04] arraybolt3[m]: sounds like a brutal behaviour for sure [17:05] Oh wow. Well I have plenty of logs, but I just learned that Minetest makes an event in the journal every time you mine a block (?!). [17:07] Nope, I can't find any segfaults in my journalctl. [17:07] Which makes sense given that I improperly shut it down and it was having problems even getting "sync" to run. [17:07] could you share arraybolt3[m] [17:08] All I can think is RAM failure, or maybe my SATA drive somehow wiggled loose. 🤷‍♂️ [17:08] Sure, lemme figure out the number of lines to send... [17:10] * arraybolt3[m] posted a file: (2747KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/yeuzFCTSjOsRdAFCjoSTXoie/logs.txt > [17:10] reading [17:10] That's the last 20,000 lines, reaching back to September 6, which ought to have caught it (I can't remember if it happened late September 7 or early September 8). [17:12] arraybolt3[m]: whats this? org.gnome.TwentyFortyEight.desktop [17:12] Oh also, it all seemed to start just after plugging in a flash drive (USB 3 drive in a USB 2 port). The drive is known-good and extremely unlikely to be malicious (it has my GPG key on it). [17:12] lotuspsychje: That's probably GNOME 2048. I play that a lot. [17:12] (Got it from the Ubuntu repos.) [17:12] * arraybolt3[m] uploaded an image: (44KiB) < https://libera.ems.host/_matrix/media/r0/download/matrix.org/FyLYktUitWxvjMtKCgaRFopw/image.png > [17:14] arraybolt3[m]: your logs have a lot of gnome-shell noise [17:15] something spamming gnome-shell till it crashes? [17:16] Maybe? I think I found where the issue hit though, and it looks like it's lost - there's just logs, and logs, and logs, then suddenly the logs stop and fifteen minutes later there's a bootup, which is probably when I gave up and hit the power button. [17:16] Gnome? [17:16] jhutchins: Yep, I'm on GNOME. [17:17] arraybolt3[m]: I mean gnome spamming the gnome logs. [17:17] Ah. [17:17] It's pretty much expected that a sysgtem fault that takes the system down takes the logging function down as well. We always look, but shouldn't be surprised because there's never anything there. [17:18] This is the spot where I think the error got lost: https://bpa.st/HMFA [17:18] arraybolt3[m]: testing a lot of gnome extensions of any kind? [17:18] No way did I shut down the system, leave it that way for 15 minutes and then boot it back up. I was using it pretty much all night. So I think that's probably where it crashed. [17:18] Nope, don't have any GNOME extensions installed but the defaults. [17:18] kk [17:19] arraybolt3[m]: but you surely can tell from the logs, you're a tester lol [17:19] Chrome, GEdit, Xiphos, Element, Hexchat, and some terminal windows were almost certainly running, I may have had Boxes and System Monitor on, too. Those are pretty much my standard suite. [17:19] Hmm, "Ivy Bridge Vulkan support is incomplete". [17:20] AKA "This kernel not ready for current hardware". [17:20] Let's push it to production anyway, nobody's going to notice. [17:20] Or more like "dude upgrade your hardware already :P" It's a 3rd gen Core i5. [17:21] WHich means they never bothered to finish support? [17:21] I don't think those were even designed to have complete hardware acceleration support. [17:21] 3D software frequently doesn't like Intel HD graphics due to that very problem (IIUC). [17:22] It's pretty hard to keep up with desktop-level hardware, it changes constantly. [17:22] arraybolt3[m]: google-fu gives a lot of hits on segfault + minetest too [17:23] arraybolt3: you got something in /var/crash ? [17:23] There's always been the argument "If you want support for your $3000 graphics card, buy the developers a sample to work from". [17:24] lotuspsychje: Eh, a Google Chrome crash and a Solaar crash (for my Logitech Unifying receiver), that's it. [17:24] "Minetest" sounds like a debugging thing; generating log entries would be a good feature. [17:24] Neither of those crashes happened around the time of the sudden chaos (IIRC). [17:24] arraybolt3: any of those 2 from yesterday? [17:25] Latent problems lurking after the crash? [17:25] I think the Solaar one was. [17:25] not sure if solaar could make the whole desktop crash? [17:26] Yeah. Another weird thing is, my open programs seemed to still function properly, I just couldn't open much of anything else (I could still get new terminal windows though). My text editor did just bail on me without asking me if I wanted to save changes, though, and I had some unsaved work (it was easy to rebuild thankfully). [17:28] Maybe I should run a RAM test. [17:29] my bet is on gnome-shell arraybolt3 [17:30] element-desktop is also giving weird errors [17:31] Hmm. Well, I guess there's not really anything conclusive, and the system's working now (I'm typing on it), so I guess I'm happy. Possibly gnome-shell, yeah, I mean, I guess. It just seems like a GNOME shell glitch should take down GNOME shell, but still leave command-line programs (like lsblk and sync) working. I've never seen lsblk segfault before in my life. [17:31] arraybolt3: gnome-shell[1885]: Window manager warning: Broken client! Window 0x2e00002 changed client leader window or SM client ID [17:32] Sep 08 03:39:42 elitebook8570p [17:32] could that been the time? [17:32] Maybe? I think it was earlier than that, but it was somewhere around there possibly. [17:32] It might be useful to try this program under a different desktop manager just to see what happens. [17:33] If only I knew what program that was :D [17:33] Also, there should be a bootup *after* wherever the error is, since I rebooted the system shortly after it went berzerk. [17:34] lotuspsychje: Oh wow, actually that might be it, I can see all sorts of insanity right after that happens. [17:34] yeah those errors dont lokk very sane [17:34] Sep 08 03:39:42 elitebook8570p gnome-shell[1885]: Object .MetaWindowActorX11 (0x55c0ac79bb00), has been already disposed — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs. [17:35] maybe your testing got a bit too frankenubuntu and made gnome-shell disliking it? [17:37] hello I need help on changing the default resolution of a livecd. my monitor goes out of range and I don't see anything when kde is loaded on kubuntu [17:37] lotuspsychje: Well, that's the thing, I don't *ever* do anything to destabilize my main system. All my weird fiddling is done inside VMs... except... remember that time EriC^^ had to fish me out of a GRUB issue? That was the only time I did something possibly dangerous to my main system. [17:37] ok [17:38] nyo: Can you switch to a TTY using Ctrl+Alt+F3? [17:38] arraybolt3: an hour later you got all those Operation not permitted errors [17:38] yes I can switch to tty arraybolt3 [17:38] but if I kill X11 it reloads it so I dunno what to do [17:38] Ubuntu experienced an error Executable path /usr/bin/whoopsie and some other stuff too... any idea ? [17:39] lotuspsychje: Yeah but I'm still getting those while System Monitor is running in the background, I don't think those are probably dangerous. [17:39] nyo: I think you can use xrandr to set the screen resolution from there. [17:39] stolen: Did some program crash soon before this happened> [17:39] *happened? [17:40] arraybolt3 I tried xrandr --verbose and it says cannot open display [17:40] nyo: Try "DISPLAY=:0 xrandr --verbose". [17:42] arraybolt3 ok it gives me the whole list of resolutions. I see the problem is the vsync at 133 mhz. how to set it to 60? [17:42] lotuspsychje: Also whatever I did to my system that once with GRUB still has something odd going on - every time I boot, my Caps Lock and Num Lock lights flash in a slow, regular pattern three or so times, then Ubuntu boots, which sounds like I've done something to make the EFI seriously confused. [17:44] nyo: Looks like "DISPLAY=:0 xrandr --output --rate 60" should do it, though change accordingly. [17:48] arraybolt3 it is too difficult for me there are too many numbers I don't understand [17:48] I need 1024x768 60hz on vga1 [17:49] nyo: Can you run "DISPLAY=:0 xrandr --verbose | nc termbin.com 9999" and send the link that spits out? That will let me see the command output. [17:49] (You will have to be connected to the Internet for that to work.) [17:50] nyo: If you need to connect to the Internet without your screen, you can run "nmtui" and use it to connect to WiFi. [17:50] (Er, without your desktop I mean.) [17:53] I don't have wifi will try termbin [17:54] arraybolt3 termbin.com/pgph [17:55] arraybolt3 I think the good one to use is this 1024x768 (0x46) 65.000MHz -HSync -VSync [17:55] nyo: DISPLAY=:0 xrandr --output VGA-1 --rate 60 [17:56] nyo: Or wait, I'll try to give you the specific mode switcher one... [17:56] arraybolt3 ok then what else to do? [17:57] nyo: DISPLAY=:0 xrandr --output VGA-1 --mode 0x46 [17:57] rate 60 doesn't change anything but maybe I have to restart x11? [17:57] nyo: It should apply instantly IIRC. [17:57] says configure crtc 0 failed arraybolt3 [17:58] Hmm... ok one moment. [17:59] nyo: DISPLAY=:0 xrandr --output VGA-1 --crtc CRT0 --mode 0x46 [18:00] nyo: Or if that fails, "DISPLAY=:0 xrandr --output VGA-1 --crtc 0 --mode 0x46" [18:00] arraybolt3 invalid name 'CRT0' [18:00] nyo: Or if that fails too, "DISPLAY=:0 xrandr --output VGA-1 --crtc 1 --mode 0x46" [18:00] arraybolt3 same error crtc 0 failed on all [18:01] Even with the crtc set to 1? Blah. [18:01] yes [18:01] says crtc 0 failed with crtc 1 [18:01] Oh wait, try this: [18:02] DISPLAY=:0 xrandr --output VGA-1 --crtc 1 --brightness 0.7 --mode 0x46 [18:02] nothing arraybolt3 [18:02] why is so difficult.... [18:02] Well crud. [18:03] some other livecd to try? [18:03] I can use kubuntu safe graphic but then I don't have accelleration etc [18:04] nyo: You might see if there's some other way to connect your monitor to your graphics output - maybe a glitchy adapter is causing the problem. [18:04] I have kvm switch [18:04] but neveer have given me problems [18:04] I was using gentoo before [18:04] Ah. I bet that's causing most of your trouble. Can you try connecting the monitor directly without the KVM switch? [18:04] and the only difference was that I had to add 1280x1024 as a resolution mode [18:04] no because the pc is in a rack [18:05] We might be able to set the monitor mode correctly if that works, and then have it work when the switch is put back into the setup. [18:05] like a rack outside room [18:05] Oh. Hmm... [18:05] with gentoo it was fine [18:05] I was just able to made it works by adding 1280x1024 to xorg.conf [18:05] now even 1024x768 is a mess [18:06] old distros like wattos works fine [18:06] nyo: Can you try doing your trick from a TTY in the Kubuntu live environment? [18:06] I bought today a new vga to try because the nouveau driver was not support geforce 6150 (integrated) [18:06] With the xorg configuration and everything. [18:06] I don't understand [18:07] nyo: Whatever you did to Gentoo to make it work, do to Kubuntu. [18:07] you mean to change xorg? [18:07] nyo: Yeah. [18:07] it was modes =1280x1024 something like that [18:07] in xorg.conf [18:07] I don't have here xorg.conf or wait [18:07] * arraybolt3 has to go afk, sorry, can someone else pick up where I'm leaving off? [18:08] thanks arraybolt3 [18:08] nyo: maybe try setting the resolution from grub? [18:08] good idea how? [18:10] btw EriC^^ ubuntu on the previous pc was finding the correct 1024x768 resolution with the right rate or maybe the vga was not able to hold more than 60hz [18:10] the problem is the rate [18:10] nyo: do you want to tell us a small summary for those that just catch up? You just want to set up a 1024x768@60 mode? [18:10] nyo: edit /etc/default/grub and add this line GRUB_GFXPAYLOAD_LINUX=keep [18:11] and add GRUB_GFXMODE=1280x1024 [18:11] alkisg yes I need 1024x768 rate 60hz [18:11] it is a live distro kubuntu [18:11] that then I want to install [18:12] nyo: xrandr can set the resolution+rate [18:12] nyo, could you run this to send us some information? (lspci -nn -k | grep -A4 VGA; xrandr; cat /proc/cmdline) | nc termbin.com 9999 [18:12] we tried the xrandr rate but no success [18:12] Copy/paste the command and tell us the URL [18:12] I don't have ssh on kubuntu so I try termbin [18:14] https://termbin.com/68jw [18:14] I think you missed the xrandr and cat /proc/cmdline bits, it was all inside the parenthesis [18:15] *just the xrandr [18:15] Did you run it over ssh without a proper DISPLAY? [18:15] no on the pc no ssh [18:16] And if you type `xrandr` it doesn't show an output? [18:16] I didn't see its output in the termbin [18:16] Try: xrandr | nc termbin.com 9999 [18:16] (or plain xrandr first, to verify that you can indeed see its output) [18:16] says can't open display [18:17] Did you run `sudo -i` ? [18:17] vga is nvidia gt403 with nouveau driver and kernel too [18:17] These commands are supposed to be run as the live user, in a konsole terminal that you'll open from the menuj [18:17] oh well no sudo [18:17] Go to the menu an open a new konsole terminal [18:17] I am in tty not graphical [18:17] There, type xrandr [18:17] Eh, didn't you say kubuntu? [18:18] xrandr only works under xorg [18:19] yes kubuntu [18:19] OK, then go to the graphical session [18:19] You want a graphical 1024x768@60 screen, right? [18:19] I cannot go to graphical session my monitor is out of range due to rate at over 60 [18:19] yes is that what I want [18:19] I see. Is that a live session? [18:20] yes [18:20] I can install it with safe graphic mode probably and then see what to do.... [18:20] but I would like to understand how to fix it before installing [18:20] Then there are no secrets involved, do you mind sharing the tty with me so that we can solve this more quickly? [18:20] before spending time [18:20] this kubuntu doesn't has ssh [18:21] sudo apt install epoptes-client [18:21] And: /usr/share/epoptes-client/share-terminal 81.186.20.0 [18:21] This will share your tty with me, we'll both be seeing the same screen [18:21] ok [18:23] For xrandr to work, the display must be active [18:23] the monitor is on of course [18:23] So, I'll run the command to do that, but then you may need to press ctrl+alt+f2 etc to go back to console [18:24] still out of range here [18:24] I see you to type stuff [18:25] hum what else now? [18:25] xrandr needs to be run when the graphics vt (vt7, right?) is shown [18:25] Is graphics in vt7? [18:25] Or in vt1? [18:25] it is in ctrl+alt+f1 [18:26] OK, wait [18:26] I dont know vt7 [18:26] works! [18:26] Do you see now? [18:26] It's 800x600 [18:26] yes [18:26] we can try 1024 or 1280x1024? [18:26] I tried 1024 [18:26] Do you see it? [18:26] YES [18:27] OK, all that means that you should be able to configure it using the "monitors" applet of the control panel [18:27] so I wanna see the cmd now [18:27] Go ahead and install, and you'll be able to easily configure it later [18:27] Sure go back to vt2 and type history [18:27] yes I see the option of resolution on settings [18:28] so it was --rate 60.00 and not rate 60 [18:28] just that [18:28] lol [18:28] No [18:28] what it was then? [18:28] The problem was that when you ran xrandr, you were at tty [18:28] oh [18:28] While I switched to graphics and THEN I ran xrandr at the hidden tty [18:28] we were using DISPLAY=:0 [18:28] how to switch to graphic? [18:28] Even when you set DISPLAY properly, xrandr won't change the monitor settings if you're on the tty [18:29] chvt 1? [18:29] No [18:29] To do it alone next time, do: [18:29] login to tty2 [18:29] type: sleep 10; xrandr --output VGA-1 --mode 1024x768 --rate 60.00 [18:29] And press ctrl+alt+f1 to switch to vt1 before the 10 seconds [18:29] oh [18:30] what a trick [18:30] So then, when xrandr runs, you'll be at graphics, not at tty [18:30] can we try 1280x1024? just to see [18:30] I think we have to add mode [18:30] It's not listed in the monitor modes, we'd need to add it, sure, [18:30] thanks [18:30] Leave it to graphics mode, don't switch back to tty until I tell you [18:31] ok [18:31] Done, does it work? [18:31] yes [18:32] OK, in that case you'll need a custom xorg.conf [18:32] ok [18:32] how you did that? [18:32] oh ok i see cmds in ttyt [18:33] cvt 1280 1024; xrandr --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync [18:33] xrandr --addmode VGA-1 1280x1024_60.00; xrandr --output VGA-1 --mode 1280x1024_60.00 [18:33] wonderful [18:34] I learned a lot today thanks! [18:34] You're welcome [18:34] Press Ctrl+D to exit the screen sharing, not sure if the history will perist, so copy it first [18:34] now I have to install and see [18:34] E.g. history > file [18:35] OK [18:35] it is .bashrc? [18:35] It's /home/root/.bash_history [18:35] i think it is /root/.bash_history :) [18:36] Dat one ^ :D [18:36] * alkisg was hurrying to get his beer :D [18:36] beer. good idea [18:36] I did history > config.cmd [18:36] I should send a beer to alkisg [18:37] maybe a donation? [18:37] Or history | nc termbin.com 9999, and note the URL [18:37] Nah thanks, only when it's for the programs I maintain :) [18:38] I go to dinner [18:38] see you later guys [18:38] thanks again! [18:39] ctrl'd to exit sharing? [18:39] 🍕 [18:39] Yes [18:39] Or type exit [18:39] done [18:39] thanks [18:39] * nyo is going to have dinner [18:39] Sharing stopped. Bon appettite! [19:08] alkisg: OK that was SO COOL. Now I want a static IP so I can do fancy tricks like your TTY sharing. [19:09] arraybolt3: :)_ you don't need a static IP though, a dynamic will do fine, as long as you do a port forwarding [19:09] the hard part is probably dealing with NAT on a firewall/router box [19:09] alkisg: I don't think the IP I have is even public :( [19:10] sarnold: the technician needs a port forward on his router (if he's using NAT), while the person receiving support doesn't need anything at all [19:10] arraybolt3: wget alkisg.mysch.gr/ip -O - [19:11] ...shows your public IP [19:11] I've got two layers of NAT, one on my router (so that i have 192.168.***.*** addresses), then one probably at the ISP (so my internal address is some weird 6.78.***.***), then my *real* public IP is 172.58.59.84, which one assumes is owned by T-Mobile. [19:11] no ipv6 on alkisg.mysch.gr :( :D [19:12] Yeh, the greek school network sucks a bit :) [19:12] alkisg: Is that tool IPv6 compatible? [19:12] My IP script has IPv6. :P [19:12] socat and screen? sure [19:12] epoptes-client just uses these to share the tty [19:13] OK I'm going to be gone for a bit seeing if I can get an IPv6 address out of my router, brb [19:13] The command without epoptes-client is: [19:13] TERM=xterm COLUMNS=$COLUMNS LINES=$LINES socat SYSTEM:"sleep 1; exec screen -xRR ra",pty,stderr openssl-connect:81.186.20.0:5499,verify=0 & screen -l -S ra [19:13] there is also tmate [19:13] Indeed but I prefer tools that do not rely on an indermediate server [19:14] sure. but that fixes the non-public IP issue :) [19:14] True [19:15] Oh. My. Gosh. I think it worked. [19:15] :D [19:16] arraybolt3, in case you did not see it you can also try https://tmate.io/ but that uses an externel server as alkisg said. but it is a good alternative behind some double NAT [19:16] ravage: I did see it thanks to Matrix, but I'll keep that in mind! [19:18] alkisg: Would you mind helping me see if it worked? I'm going to try to open a port on my system and see if you can access it with netcat. [19:18] Sure [19:18] OK lemme see if I can make this work... [19:18] PM me if you prefer not to show your IP [19:18] Eh, IP addresses are essentially public info, I don't care :) [19:18] 👍️ [19:19] Address is 2607:fb90:9989:1237:3666:f841:2e:c632, port is 7897. Just netcat to it, then I'll type into it and ask if you can see what I'm typing. [19:19] Unfortunately some people even try to omit their 192.x addresses, thinking that they reveal information about them... [19:19] Hrm, right, ipv6 via the greek school network... [19:20] I wrote a "test" there, not sure if it worked [19:20] I'm not seeing it yet, maybe it's laggy. [19:20] I just typed "does this work?" into it, anything? [19:20] If someone has ipv6, please do an nc command, as I think the greek network won't make that connection [19:21] No, nothing [19:22] QUEEN ELIZABETH II HAS DIED -- https://news.ycombinator.com/item?id=32770675 [19:23] !ot | jdmark [19:23] jdmark: #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! [19:23] jdmark, unsupported, it is not in our repos. [19:24] hi there again [19:25] hey [19:25] (For anyone who saw my thing with IPv6, scratch that address, I dropped my laptop and it went to sleep so I probably now have a new IP.0 [19:26] New address is 2607:fb90:9989:1237:9203:e5d9:82a3:edcf, port is still 7897. [19:26] alkisg hi I wonder what is the function of cvt 7 when we dealed with xrandr [19:26] it changes to ctrl+alt+f7? [19:26] on a desktop system you will probably have more that one ipv6 at a time [19:27] nyo: chvt 7 changes to vt7, because I couldn't press ctrl+alt+f7 remotely [19:27] But then you told me it was vt1 :) [19:27] ravage: I do see a couple of them, I'm using the one that Google spits out when I say "what is my ip". [19:27] that will change in another browser too [19:27] I still don't get it. it is the terminal of xorg? xorg is on tty1 [19:28] or if you close all connections from that session for a while [19:28] nyo: you don't need the chvt command, you can just use the sleep 10 trick [19:28] ok [19:28] In the past, xorg was at vt7; now it's at vt1; I used the old vt by mistake [19:28] arraybolt3[m], decent routers will allow you to forward ports to devices in your LAN [19:28] (didn't know your xorg version) [19:29] andd then I press ctrl+alt+f1 to go to xorg ok [19:29] Right [19:29] ravage: My router will let me do that... but my IPv4 is double-NAT'ed so port forwarding wouldn't do much good unless you happen to share the second IP address with me (i.e., you're in the US, possibly in my general location, connected to T-Mobile). IPv6 gives me no NAT in my way at all AFAICT. [19:30] (Welcome to using a hotspot as your Internet source.) [19:30] how did you get all the numbers needed after xorg resolution and rate? alkisg [19:30] i mean these xranrd --newmode "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -hsync +vsync [19:31] nyo: do you mean for 1280x1024? It's the cvt 1280 1024 command [19:31] 109.00 1280 1368 etc [19:31] Note cvt is different to chvt [19:31] Yes, run `cvt 1280 1024` to see them. Or `man cvt` [19:32] then with chvt 1 you send output to tty1 ? [19:33] No. For xrandr to work, you must switch to vt1 [19:33] ok === mcfly is now known as mcfly231 [19:33] going away for a while [19:33] will be back thanks [19:33] You can switch to vt1 either with chvt 1, or with ctrl+alt+f1; then you should run xrandr in the background (sleep helped with that) [19:34] ok [19:34] thx [19:36] I thought IRC had died years ago... [19:37] Nope, alive and breathing! [19:38] @arraybolt3[m]... Unbelievable. I am jaw dropped. Good afternoon, my friend. [19:38] mcfly231: If you like IRC channels that aren't a ton of technical stuff all over the place, you might try out #ubuntu-offtopic, there's plenty of people there who just like to chat. Good afternoon to you also! [19:41] mcfly231, the subspace communication in star trek is actually just an IRC frontend (they don't tell you that in the series indeed) ... IRC will never die 😉 [19:41] sounds about right :) [19:42] arraybolt3: Sorry if I am bothering you. It's a long long time for me since I used mIRC from Kahled Mardam Bey last time... Irc II 2.8.2 was the client I used in a NetBSD 0.9 ... I am still trying to remember how things work here. Anyway, Thank you a lot for being here to support anyone new. [19:42] mcfly231: You're not bothering me one bit. Glad to see you! [19:43] ogra: Very funny and appropriate. :D Star Trek rulez [19:58] arraybolt3: Do you know any tutorial about set up Twitch.tv connection using Quassel IRC (the one that we have in Ubuntu by default) or any other client? Thank you in advance for pointing me to the right direction. [20:00] mcfly231: Sadly, I have zero experience with Twitch.tv, so I'm not sure how to do that. [20:01] arraybolt3: Thank you anyway. I wish you all the best. Bye. [20:03] tv over irc .. [20:04] oerheks: I think Twitch is a live streaming thing - I've never used it, but it would be imaginable that he wanted to use Quassel as a chat service for what he was doing or something. [20:05] oerheks, only the chat part I reckon === arraybolt3_ is now known as arraybolt3 [20:56] alkisg what is the best way to make a xorg.conf file? [20:56] I am installing now waiting to reach reboot [20:59] nyo: Xorg -configure can generate a configuration that is based on what it auto-detects [20:59] ok thanks [20:59] nyo: maybe that's a good starting point? I'm pretty sure you can just make little tiny drop-in chunks, that'd be more convenient to maintain long-term [20:59] but getting *started* with those chunks is pretty hard [21:04] hum I need help. xrandr says I cannot open display after installing kubuntu [21:04] these are the commands I need to input https://pastebin.com/KMLRbECZ [21:04] alkisg are you there? [21:06] how to kill xorg? if I kill it it reopens in auto [21:07] I figured out now I have xorg opened with a good resolution [21:07] nyo, all you have is a single vga ? [21:08] yes [21:08] i have kvm switch that makes some mess with rates etc [21:08] ok [21:08] give me a minute [21:08] maybe it's solved [21:08] hola [21:10] adios [21:10] !es | orangepi [21:10] orangepi: En la mayoría de los canales de Ubuntu, se habla sólo en inglés. Si busca ayuda en español entre al canal #ubuntu-es; escriba " /join #ubuntu-es " (sin comillas) y presione intro. [21:11] done. now I need to make these commands permanent [21:12] in short I need to make a xorg file [21:12] or so I think [21:12] how to stop Xorg in the correct way? [21:12] so I can do Xorg -configure and add 1280x1024 [21:13] yes [21:14] simple.. go to menu/display [21:14] make it permanent [21:14] apply systemwide [21:16] I switched to 1024x768 and then to 1280x1024 saving it [21:16] is it now permanent? [21:16] are you in "display" ? [21:16] otherwise a tutorial says to put these xrandr commands to xprofile [21:16] Use your favorite editor to create ~/.xprofile containing something like: [21:16] xrandr --output VGA1 --mode 1024x768 --rate 60 [21:16] settings-display configuration [21:16] way to complicated for a simple procedure [21:17] does plasma start .xprofile? not sure.... [21:17] I have the commands anyway [21:17] I use kde infact [21:17] settings-display accept its configuration.. then.. apply systemwide [21:17] I would like to make an xorg.conf file but I dunno how to stop x11. if I kill it it restarts by itself [21:17] how to apply systemwide? [21:17] nite [21:18] what is nite? [21:19] An informal way to say goodnight? [21:20] пт [21:20] i mean pt-109 [21:20] another nights === arraybolt3_ is now known as arraybolt3 [21:24] gonna away for a while [21:24] I was able to stop X11 and do a config file [21:24] will continue later on thanks [21:25] log out and back in .. go to display set what you want and make it systemwide and reboot [21:25] s i m p l e [21:31] most vga have 1280 [21:32] unless its some hybrid tv/monitor [22:03] what alternative paste URLs are preferred here assuming https://paste.ubuntu.com was shit [22:04] dpaste.com? [22:04] k [22:04] be a member [22:06] https://dpaste.com/359UT8FVQ [22:07] lol [22:08] I'm 98% serious [22:10] !paste [22:10] For posting multi-line texts into the channel, please use https://dpaste.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. === blackest_mamba_ is now known as blackest_mamba [22:12] I want /etc/resolv.conf to be ...uuhh...the...uummm...DNS IPs from the ...uh ISP [22:12] right [22:13] left [22:13] and then left left [22:13] assuming we're driving [22:14] act intelligent. [22:14] * saltd takin g fire need assitance [23:25] hi guys I solved my problems by making an xorg.conf file although I am unable to get 1280x1024 resolution. I am stuck at 1024x768 [23:28] here the pastebin https://pastebin.com/aGuC9YjN [23:28] of xorg.conf [23:29] you could put the xrandr command in a desktop file and put it in .config/autostart [23:30] nyo: maybe delete this bit? "1024x768" "800x600" "640x480" [23:30] see what it does with only one mode defined.. [23:31] ok [23:32] but I don't have 1280x1024 in system settings [23:32] will come back [23:34] hi back [23:34] nothing I am stuck at 1024x768 [23:35] I have added this because in xrandr wasn't present [23:35] Modeline "1280x1024_60.00" 109.00 1280 1368 1496 1712 1024 1027 1034 1063 -Hsync +Vsync [23:37] and I don't have 1280x1024 in system settings [23:37] xrandr see only 1024x768 [23:37] maybe that's the problem [23:37] I usually add the modeline 1280x1024 to xrandr but I would like to make it permanent [23:38] I fount to edit a profile file in home but not sure I thought with xorg.conf it would be ok [23:41] nobody here at this time? [23:42] nyo: people come, people go, and 99% of linux users have never used mode lines.. [23:42] nyo: so it's a hard one :( [23:42] maybe 60 is too high, 59 perhaps? [23:42] or it is your kvm,.. [23:43] I think the _60.00 in that string is just part of an identifier, I don't think it actually means anything [23:43] without trying without, it is useless i guess [23:43] if I add that with xrandr and then I set it in xrand I get 1280x1024 so those numbers in that line are correct [23:43] oerheks, so you mean to remove the 60? [23:45] hum this seems similar to my problem and doesn't has 60 [23:45] gonna try that [23:45] will be back in a while [23:45] https://bbs.archlinux.org/viewtopic.php?id=221315 [23:45] I forgot the link [23:45] ok will be back in a while [23:49] back doesn't work anyway removing 60 from modes [23:49] oerheks, what else can be a solution? [23:53] in xorg log I see no modeline for 1280x1024 so the error is there [23:55] gonna try another thing will be back