[-] user_naa@lemmy.world 2 points 5 days ago* (last edited 5 days ago)

Thank you, it works! But I got weird behavior:

  1. User sddm also cannot execute poweroff (it is ok) but if I press shutdown button in sddm it will poweroff (not ok).
  2. If I press shut down in KDE Plasma I will get black screen and no sddm (I can restart it with systemctl restart sddm from tty and it will work again) How can I fix this bugs?
[-] user_naa@lemmy.world 1 points 6 days ago

I think this is for applications not for graphical server

[-] user_naa@lemmy.world 5 points 6 days ago* (last edited 6 days ago)

They all operates some way through systemd, so if operation is disabled via policy you cannot bypass it.

sasha@fedora:~$ /sbin/halt
Call to Halt failed: Interactive authentication required.
25
submitted 6 days ago by user_naa@lemmy.world to c/linux@lemmy.ml

Hello! Halt on Linux is disabled for average user by default. It will try to request sudo/root password and if fails returns:

sasha@fedora:~$ systemctl halt
Call to Halt failed: Access denied

How can I make same behavior for poweroff action? I know it is possible somehow via PolicyKit rulle

22
submitted 1 week ago by user_naa@lemmy.world to c/linux@lemmy.ml

Hello! I have a very old PC with intel i915 graphics, which doesn't correctly display KDE and shows a lot of bugs. I know it is possible to switch to software acceleration in X server. On NVdia I can pass nouveau.noaccel=1 to kernel. So how can I disable hardware acceleration here? Maybe this is possible via Xorg config?

23
submitted 1 month ago by user_naa@lemmy.world to c/linux@lemmy.ml

Hello! I need to create a VM and passthrought some host USB port to it. Sadly libvirt doesn't support QEMU built-in feature to use -hostport argument (which was added 10 years ago...). I tried to add custom arguments to domain (qemu:commandline) but this didn't work. When I just run qemu-system-x86_64 -device host-usb,hostbus=X,hostport=Y -usb everything works well. It seems like libvirt restricts some QEMU actions. How can I fix this? OS: Debian 12

[-] user_naa@lemmy.world 4 points 1 month ago* (last edited 1 month ago)

Kernel driver is loaded

# lsmod | grep radeon
radeon               1888256  9
video                  77824  2 amdgpu,radeon
i2c_algo_bit           12288  2 amdgpu,radeon
drm_suballoc_helper    12288  2 amdgpu,radeon
drm_display_helper    266240  2 amdgpu,radeon
drm_ttm_helper         12288  2 amdgpu,radeon
ttm                   102400  3 amdgpu,radeon,drm_ttm_helper
drm_kms_helper        253952  3 drm_display_helper,amdgpu,radeon
drm                   749568  16 gpu_sched,drm_kms_helper,drm_exec,drm_suballoc_helper,drm_display_helper,drm_buddy,amdgpu,radeon,drm_ttm_helper,ttm,amdxcp

13
submitted 2 months ago* (last edited 2 months ago) by user_naa@lemmy.world to c/linux@lemmy.ml

I installed WireGuard on my host and set this configuration /etc/wireguard/wg0.conf:

[Interface]
Address = 10.0.0.1/24
ListenPort = 51820
PrivateKey = [REDACTED]
PostUp = iptables -A FORWARD -i %i -j ACCEPT; iptables -t nat -A POSTROUTING -o ens3 -j MASQUERADE
PostDown = iptables -D FORWARD -i %i -j ACCEPT; iptables -t nat -D POSTROUTING -o ens3 -j MASQUERADE


[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.2/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.3/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.4/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.5/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.6/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.7/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.8/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.9/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.10/32

[Peer]
PublicKey = [REDACTED]
PresharedKey = [REDACTED]
AllowedIPs = 10.0.0.11/32

Nmap scan when wg0 is down:

Starting Nmap 7.93 ( https://nmap.org ) at 2024-08-16 03:26 CDT
Host is up (0.050s latency).
Not shown: 998 closed tcp ports (conn-refused)
PORT    STATE    SERVICE
22/tcp  open     ssh
179/tcp filtered bgp

Nmap done: 1 IP address (1 host up) scanned in 1.93 seconds

Nmap scan when wg0 is up:

Starting Nmap 7.93 ( https://nmap.org ) at 2024-08-16 03:27 CDT
All 1000 scanned ports are in ignored states.
Not shown: 1000 filtered tcp ports (no-response)

Nmap done: 1 IP address (1 host up) scanned in 201.43 seconds

I also cannot connect to host via ssh. How to fix this issue?

Upd. Fixed my changing server WireGuard IP to 10.0.1.1. 10.0.0.1 was already taken

[-] user_naa@lemmy.world 5 points 2 months ago

Very interesting and hard game, than you!

[-] user_naa@lemmy.world 6 points 2 months ago

From me: 1010! Klooni - good block game available on F-Droid

63
submitted 2 months ago by user_naa@lemmy.world to c/android@lemmy.world

Hello! Share good casual libre android games if you know any

[-] user_naa@lemmy.world 2 points 2 months ago

Invidious doesn't work now lol

[-] user_naa@lemmy.world 7 points 2 months ago

Grayjay is proprietary, so I don't think it is very good for privacy and freedom

[-] user_naa@lemmy.world 3 points 2 months ago

FreeTube also doesn't work well

95
Death of Piped? (lemmy.world)
submitted 2 months ago by user_naa@lemmy.world to c/privacy@lemmy.ml

Last two weeks every time I use Piped I am getting error "Sign in to confirm you are not a bot". It happens on every instance and videos work very rarely. It seems like Google enforces you to log in if you try watch lot of videos from one IP. I hope this will not be end of Piped and there will be solution for this problem.

Upd. I got similar problem on Invidious recently

29
submitted 2 months ago* (last edited 1 month ago) by user_naa@lemmy.world to c/linux@lemmy.ml

Is there any good alternative to parted, that I can use in scripts? Parted main problem is that it requires user confirmation one each action.

[-] user_naa@lemmy.world 3 points 2 months ago

Try to rephrase the question: is there an alternative to Mastadon in Fediverse where you can write posts in different threads (not only in your own feed)?

[-] user_naa@lemmy.world 9 points 2 months ago* (last edited 2 months ago)

Discord and Matrix is more messangers and "groups chats" when Telegram Channels similar to Mastodon but with specific topic

19
submitted 2 months ago by user_naa@lemmy.world to c/fediverse@lemmy.world

Hello! What is the best alternative to Telegram channels in Fediverse? I need platform where I can post messages in different topics and users can subscribe to them.

view more: next ›

user_naa

joined 2 months ago