|
Volguus posted:Maybe setxkbmap is being called by someone? User login (.profile, .bash_profile, whoever)? https://superuser.com/questions/1147320/how-to-change-keyboard-layout-in-i3 Yeah I have a setxbdmap in my i3 startup now, but that still leaves the login manager with the wrong keyboard, and I think the Lock Screen? I couldn’t find anything else that called it, either in my config or in /etc. I just want to change the thing that the installer sets because it’s out there somewhere messing with me…
|
# ? Jul 21, 2023 22:07 |
|
|
# ? May 24, 2024 11:46 |
|
Looks like you have been granted an opportunity to find out how good endeavour's forums/discord/irc are at answering endeavour specific questions.
|
# ? Jul 21, 2023 22:16 |
|
Yeah in the past it’s been OK, I’ll give it a whirl.
|
# ? Jul 21, 2023 22:17 |
|
The installer only sets 00-keyboard.conf and /etc/default/keyboard and those are correct now. But when slick-greeter starts up it sees the us-intl keyboard as being current. I wonder what is getting cached from first-run or whatever.
|
# ? Jul 21, 2023 22:55 |
|
Subjunctive posted:The installer only sets 00-keyboard.conf and /etc/default/keyboard and those are correct now. But when slick-greeter starts up it sees the us-intl keyboard as being current. I wonder what is getting cached from first-run or whatever. That must be something that could be changed in /etc/lightdm/lightdm.conf (or /etc/lightdm/lightdm.conf.d/...). Maybe if it's not set that's what it sets, and setting something will make it accept the new keyboard.
|
# ? Jul 21, 2023 23:15 |
|
Volguus posted:That must be something that could be changed in /etc/lightdm/lightdm.conf (or /etc/lightdm/lightdm.conf.d/...). Maybe if it's not set that's what it sets, and setting something will make it accept the new keyboard. Yeah I don’t see anything about keyboard in lightdm’s config, and it’s not logging the echo from its Xsession that shows it’s loading a modmap. Might be time for some dtrace!
|
# ? Jul 22, 2023 00:05 |
|
Subjunctive posted:Yeah I don’t see anything about keyboard in lightdm’s config, and it’s not logging the echo from its Xsession that shows it’s loading a modmap. Or just add the property(ies) and see what happens.
|
# ? Jul 22, 2023 00:10 |
|
Why does snap try to delete files in my home folder? Journal is full of these: [ 891.802051] audit: type=1400 audit(1690713641.411:498): apparmor="DENIED" operation="rmdir" class="file" profile="snap.snapd-desktop-integration.snapd-desktop-integration" name="/home/kivi/tmp/" pid=91662 comm="rmdir" requested_mask="d" denied_mask="d" fsuid=1000 ouid=1000 Yes, the folder is called tmp and houses my browsers’ downloads and other misc data like that. Why is it trying to delete it?
|
# ? Jul 30, 2023 15:09 |
|
Maybe a legacy operation from the app when they created the snap?
|
# ? Jul 30, 2023 16:50 |
|
Question about dealing with snap eating all of my disk space Computer itself is a chromebook, uname -r returns 5.19.0-46-generic, os-release returns Ubuntu 22.04.2 LTS. Ubuntu flavor is Lubuntu, ~16GB of drive space After my computer unexpectedly shut down today, and my computer to hung whenever I entered password to login, I used alt-f2 to go to terminal, was able to login, and after attempting to update and seeing that I was out of drive space, ran df -h and saw code:
code:
|
# ? Jul 31, 2023 04:59 |
|
I'm just collecting my thoughts on this so sorry if this is vague, I'm planning out what I'm gonna do next. I got my NAS/a bunch of things server on my local network. It's running Debian testing. It has a jellyfin server on it, working on a nextcloud server, etc. Gonna eventually have them all behind nginx and I got a domain for it it's gonna be great, but that comes later. Since I live in China to do most things on the Internet I have to use a VPN. Even the stuff that's not blocked, it's often excruciatingly slow if not through the VPN for reasons that are somewhat mysterious to me. I don't want the jellyfin server to be behind the VPN though because I want to access it from within China easily, and also port forwarding becomes a major hassle when it's through the VPN (I get one port unless I pay them a bunch of extra money, and then it's still through a VPN so it'd be slow as hell from a normal Chinese connection.) I run the VPN through my router so I can give uncensored usable Internet to all the devices on my network. I have to use some garbage proprietary router app for my vpn because normal vpn protocols don't really work in China, they get blocked right away (it's astrill, the one 90% of people in China use) so I'm limited with what I can actually do here. They do have an "exceptions" tab where I can make exceptions for ports but it just doesn't seem to work like that and I have no idea why. I have port forwarding working and when the VPN is down I can get to my Jellyfin server from anywhere, no problem. I make an exception for port 8096, turn on the VPN, it dies. I make an exception for the whole device, it works. Most things this computer does I want behind the VPN, like all my torrents and stuff, it's just the Jellyfin server, nextcloud setup, etc that I dont. So if I cant get those port exceptions working here is my plan. 2 ethernet cards. gently caress it, I got a switch in there, one ethernet card goes through the VPN, the other doesnt. The servers all serve through the non-VPN one, everything else just defaults to the VPN one. That's the idea and I think it will work, I cant think of a reason it wouldn't and I cant think of another way to make this work. I know Linux can do this, I mean routers run Linux, of course it can. Problem is, networking stuff has always terrified me. I don't know where to even start with this. How do I tell certain things to use one of the cards and not the other? Is this a massive task? Where do I begin and what do I do? An arch wiki link to what I gotta do will probably be good enough. Thanks
|
# ? Jul 31, 2023 09:11 |
|
run "du -h | sort -h" instead, to find out more. And 16Gb is pretty tight for a modern linux, needs lots of juggling for many uses. Your /var also looks pretty large for such a tight system. Just find snap's and some other cachefiles and rm them to get the space. Or your journals in case those are what is filling up var.
|
# ? Jul 31, 2023 09:30 |
|
BrainDance posted:Most things this computer does I want behind the VPN, like all my torrents and stuff, it's just the Jellyfin server, nextcloud setup, etc that I dont. So if I cant get those port exceptions working here is my plan. I think what you're asking about is how to get Jellyfin to work even when the VPN is up. I'm suspecting that you're getting issues related to ephemeral ports not being allowed by the firewall https://en.wikipedia.org/wiki/Ephemeral_port#Range
|
# ? Jul 31, 2023 09:50 |
|
SadBag posted:Question about dealing with snap eating all of my disk space What about running "snap list" and then "snap remove --purge" components you don't need? https://manpages.ubuntu.com/manpages/jammy/en/man8/snap.8.html I'd also recommend using ncdu when trying to figure out where space is being used.
|
# ? Jul 31, 2023 10:41 |
|
Tesseraction posted:I think what you're asking about is how to get Jellyfin to work even when the VPN is up. I'm suspecting that you're getting issues related to ephemeral ports not being allowed by the firewall https://en.wikipedia.org/wiki/Ephemeral_port#Range Maybe that's what I want, I'm not too sure. But I think that would end up with my Jellyfin server going through the VPN and reaching the Internet in America (or wherever the VPN server is), right? The VPN client runs on the router. It is not a standard VPN but some proprietary garbage specifically designed to get around the Great Firewall, which limits my options. I'm unable to use my router's (an asus router running openwrt-merlin) vpn client or any other vpn software because of this. The Jellyfin server is running on the NAS/Everything-Server Debian Testing machine. I want most of the traffic on that computer to go through the VPN, but not the Jellyfin server. I dont want it to just work with the VPN, but not go through it at all, because I'm going to be using it in China and if it's going through a VPN in America then it's going to be very slow from China. So, my plan was to just put 2 NICs in the Debian machine. I send one through the VPN in the router, and I exclude one from the VPN. The Jellyfin server goes through the non-vpn NIC, my torrents and stuff go through the VPN NIC. But I don't know how to be like "ok qbittorrent you get the Internet through nic1 jellyfin you're going through nic2, Linux just default to nic1 unless I tell you otherwise" so I need to know where to start to be doing that. The software included in the garbage proprietary VPN router applet has a feature for excluding certain ports from the VPN, but it seems to just.... not work? So I'm gonna message them about it, but I'm really not optimistic.
|
# ? Jul 31, 2023 11:59 |
|
Does your NAS have multiple ethernet ports? If so you could have a plain router as your default gateway, have that connect to your always-on-VPN-router which then connects to your home network, and have the NAS plug in to both of those routers - say 192.168.1.0/24 on one and 10.0.0.0/24 on the other, have your gateway router connect to the NAS-only IP for external connectivity and bypass the VPN gateway, and use its normal IP for everything on your internal.
|
# ? Jul 31, 2023 12:10 |
|
VictualSquid posted:run "du -h | sort -h" instead, to find out more. And 16Gb is pretty tight for a modern linux, needs lots of juggling for many uses. Your /var also looks pretty large for such a tight system. Yeah, emptying out journals gave me enough space to get back into gui. Keito posted:What about running "snap list" and then "snap remove --purge" components you don't need? Wasn't able to run anything with snap because everything timed out, but will look into this now
|
# ? Jul 31, 2023 15:14 |
SadBag posted:Yeah, emptying out journals gave me enough space to get back into gui. Might want to setup a systemd service and timer to do some maintenance pruning once a week or so since you've got a tight storage limit. The normal linux cleanup services probably won't be aggressive enough for you and this will happen again.
|
|
# ? Jul 31, 2023 15:44 |
|
You don’t have to create any units to do that, journald has size and rotation interval options that control its behavior.
|
# ? Jul 31, 2023 15:46 |
|
SadBag posted:Wasn't able to run anything with snap because everything timed out, but will look into this now On a 16GB system I'd really consider removing snap entirely (and also flatpak if you have it). Snap & flatpak are not conservative over drive space, they're kinda designed presuming a modern environment where that is not a problem. On a minimal chromebook you probably aren't running a ton of stuff that particularly benefits from snap/flatpak instead of a standard install. If you do keep snaps installed, you can run this to make snap not keep old versions of a snap around when they update: sudo snap set system refresh.retain=1 (The default is to retain 3 versions.)
|
# ? Jul 31, 2023 15:56 |
pseudorandom name posted:You don’t have to create any units to do that, journald has size and rotation interval options that control its behavior. I don't just mean journald. That was certainly part of their storage usage issue, but I'm sure it's not the only thing gradually filling up their limited space.
|
|
# ? Jul 31, 2023 16:03 |
|
Klyith posted:If you do keep snaps installed, you can run this to make snap not keep old versions of a snap around when they update: Turns out the retain number must be between 2-20. Did reduce it to 2. With that and a couple of other things, currently working with 1.8 Gigs of space. Thanks people. Nitrousoxide posted:Might want to setup a systemd service and timer to do some maintenance pruning once a week or so since you've got a tight storage limit. The normal linux cleanup services probably won't be aggressive enough for you and this will happen again. Will look into, thanks!
|
# ? Aug 1, 2023 05:01 |
|
I have a question regarding Wireguard but not sure where is the right place to ask. So let me know if there's a better place to ask. This is how I have it setup: client1 <-> wireguard server <-> client2 Where traffic between client1 and client2 are routed through wireguard server. Is client1's traffic that is routed through the wireguard server to client2 encrypted such that wireguard server is unable to see/decrypt? I'm assuming yes since wireguard server is the one that is the "endpoint" for both client1 and client2.
|
# ? Aug 1, 2023 08:14 |
The server should have the public/private keys needed to decrypt any connection with any client, yes.
|
|
# ? Aug 1, 2023 12:36 |
|
Yup, the incoming packets from client1 show up in the clear on the server, which then looks at their destination and routes them to client2, and then they are encrypted again on the way out. It is in a general sense possible to make a system where the contents are encrypted one level deeper than the routing information, to get something that's like a VPN through untrusted hosts. Connections inside the Tor network work that way, for instance. Or you could just use an encrypted protocol through your wireguard links - ssh or https can be at least as well encrypted as the wireguard links themselves, and those are end-to-end between client1 and client2.
|
# ? Aug 1, 2023 13:22 |
|
That’s what I thought. Just wanted to be sure I understood properly. Thanks for the clarification.
|
# ? Aug 1, 2023 18:17 |
|
I recently upgraded to the latest Nvidia drivers (535.86.05) and now the top half of my screen seems to randomly flicker every 15 seconds or so. Just enough to be irritating. Any suggestions on what thread to tug on first? My video card is officially supported according to the docs. No such problems when I boot into windows so I don't think it's a hardware issue.
|
# ? Aug 2, 2023 12:43 |
|
wash bucket posted:I recently upgraded to the latest Nvidia drivers (535.86.05) and now the top half of my screen seems to randomly flicker every 15 seconds or so. Just enough to be irritating. Kernel parameter nvidia-drm.modeset=1 is a common fix for nvidia flicker problems. Try it the first time by manually typing it into GRUB so it's a temporary change (apparently on some configs this gives you no screen at all). OTOH this seems like a common issue with 535 that modeset doesn't fix anymore, so if that doesn't work I'd just roll back to whatever you were using before.
|
# ? Aug 2, 2023 14:21 |
|
Computer viking posted:It is in a general sense possible to make a system where the contents are encrypted one level deeper than the routing information, to get something that's like a VPN through untrusted hosts. Tailscale provides this because it builds a full wireguard mesh between nodes.
|
# ? Aug 2, 2023 17:13 |
|
Klyith posted:Kernel parameter nvidia-drm.modeset=1 is a common fix for nvidia flicker problems. Try it the first time by manually typing it into GRUB so it's a temporary change (apparently on some configs this gives you no screen at all). Thanks for the info. Good to know it's at least a known issue. Now to decide which will be less painful, putting up with the flicker or trying to roll back my distro's custom nvidia drivers.
|
# ? Aug 2, 2023 20:14 |
|
Does anybody know how to adjust player choice for the kde media player widget? Or for kde-connect. I use kde connect. I like to listen to podcasts on my android. Then I pause the podcast, and start my music player on my desktop. And kde connect connects those. Now the media control widget on my desktop controls the (paused) podcast app on my phone, and the media control widget on my phone controls mpd on my desktop. Anybody know a way to switch default controlled apps? VictualSquid fucked around with this message at 13:43 on Aug 5, 2023 |
# ? Aug 5, 2023 13:39 |
|
VictualSquid posted:Does anybody know how to adjust player choice for the kde media player widget? Or for kde-connect. Do you ever want your phone to be a media remote control for your desktop, or vice versa? Because the easiest way to fix this would be to turn off the relevant plugins on both sides. On the phone: • Media Player Control • Multimedia Controls On the desktop: • Multimedia Control Receiver (Maybe also MprisRemote? I had this turned on and my phone wasn't butting in to my media playback. But Mpris is KDE's general multimedia control service.) If you wanted controls in only one direction, I feel like you could probably still make that work? The plugins each seem to control one direction of sending & receiving. But I dunno, I just turned off all three. Aside from that, the KDE desktop media player widget seems to pick actively playing -> first to start playing -> most recently playing for the priority of who gets the star. Generally seems sensible, I hardly ever feel like it's made the "wrong" choice when I press the play/pause key on my keyboard. But I could easily see KDE Connect messing that up the first / most recent order.
|
# ? Aug 5, 2023 14:39 |
|
I was transferring some large files over wireless from my laptop running Arch Linux to desktop running Windows 10 via SMB. Twice now during the transfers the laptop screen would go black and system would completely lock up and require a forced power off. I did a search of journalctl (used: journalctl -p err -b) and the only thing that looks related is this: code:
As for this line: Microcode SW error detected. Restarting 0x82000000. I can't find anything that has that exact code with the Googling I did. Before continuing, would someone with better knowledge take a look and make sure I'm not going down the wrong road? Is the above showing a problem that I need to worry about or is it unrelated to my issue?
|
# ? Aug 7, 2023 08:00 |
|
bsaber posted:Twice now during the transfers the laptop screen would go black and system would completely lock up and require a forced power off. The wifi adapter crashing shouldn't necessarily take down the whole system, but it may be down to your laptop's particular hardware. It seems like the most relevant thread to pull on. bsaber posted:As for this line: Microcode SW error detected. Restarting 0x82000000. I can't find anything that has that exact code with the Googling I did. googling iwlwifi + "Microcode SW error" was much more helpful. You get stuff like this which says it's power management problems in the intel microcode. https://bbs.archlinux.org/viewtopic.php?id=254766 This link: https://askubuntu.com/questions/1283313/unstable-wifi-connection-on-ubuntu-20-04 has the most clearly written instructions for setting the options to fix it. Aside from that you can use fwupd to see if there's better firmware for the wifi card.
|
# ? Aug 7, 2023 13:43 |
|
What model laptop is this? There's one from several years ago that used a notoriously bad WiFi chipset. Caused me a lot of pain dealing with my wife's IT department trying to shove it off on my network when literally every other device on the WiFi worked just fine.
|
# ? Aug 7, 2023 13:59 |
|
Klyith posted:This link: Thanks for the help. This link seems to have fixed the issue. Specifically adding this: options iwlwifi power_save=0. So looks to be power saving related. AlexDeGruven posted:What model laptop is this? There's one from several years ago that used a notoriously bad WiFi chipset. Caused me a lot of pain dealing with my wife's IT department trying to shove it off on my network when literally every other device on the WiFi worked just fine. It's a Thinkpad X1 Carbon 6th Gen. The wireless card is an Intel AC 8265 according to lspci.
|
# ? Aug 7, 2023 19:17 |
|
Honestly if it's not too difficult to take the laptop apart, I would look into buying a better supported m.2 wifi card.
|
# ? Aug 7, 2023 20:33 |
|
It's a Thinkpad so should be really easy to open and replace. Is there a recommended card?
|
# ? Aug 7, 2023 20:45 |
|
Potentially an absolutely stupid question but looking for some advice wrt firewalls I've got a relatively fresh arch install which I've been dicking about with but working through the tips on the wiki I've neglected to install a firewall. tbh most of the time I'm in my house so sat behind my router firewall and therefore not really that bothered. however I do occasionally use my laptop when I go away for work (for personal use, have a work laptop so there's nothing "sensitive" on it as such) so thought I'd beef it up a bit. In classic arch-wiki style, the nftables / iptables pages are absolutely impenetrable to a newbie and beyond just bumbling my way through a badly configured copy/paste install I would just like to know the following questions: - is it actually worth installing a linux firewall in 2023? there were some posts on reddit/stackoverflow/assorted blogs saying that they are fundamentally security theatre if you have disabled/not installed anything that can connect externally - same question again but I have wireguard configured to connect back to my home router via VPN so theoretically same level of protection I have sat on my sofa. just leave it in VPN and all hunky dory? - if the to the above is still yes, it is worth installing: is there a total fuckwits guide to setting up either iptables/nftables, or which one is better, and how to understand what ports etc I want open/closed? Arch wiki recommends the following for nftables but I can vaguely follow it. Is this all I need really and good to go? I mostly just use my laptop for watching YouTube and chatting on Discord so don't have massive need for loads of weird ports open but would be useful to see if I try and run something in the future and it bumps off it where I can find out who/what/why it did that and how to add info. code:
|
# ? Aug 8, 2023 22:04 |
|
|
# ? May 24, 2024 11:46 |
|
Bozza posted:Potentially an absolutely stupid question but looking for some advice wrt firewalls
|
# ? Aug 8, 2023 22:08 |