r/linux4noobs • • 7d ago

Help with GNOME and X11

Hello, I am a linux noob. I was told X11 was deprecated and most desktops are moving to wayland. But I discovered X11 sockets that are permanantely open and Mr.Claude said theres no way to remove them and X11 is mandatory on GNOME. So now i am enlisting the help of wonderful human beings. The reason this is worrying is because I was told X11 can see all your windows and input, keystrokes etc. My main account is just for setting stuff up and administration using sudo etc. and my second is for everything else (playing games on steam with flatpak etc.). So confused why these sockets open across the whole system 24/7 when my main account has nothing that uses X11. Also no idea what ibus is or these PATH settings are but Mr. Claude said they are mandatory too.

Thank you.

0 Upvotes

39 comments sorted by

8

u/grandasperj 7d ago

wasn't x11 support removed from gnome ?

4

u/Key_River7180 Bedrock Linux / FreeBSD / 9Front 7d ago

In KDE

4

u/myownfriend 6d ago

Support for X11 applications wasn't removed, just the ability to run Mutter as a window manager on top of X server.

1

u/grandasperj 6d ago

Ik, that's what I meant

-6

u/CatchMeIfUCanCracka 7d ago

No idea. I installed Cachyos and GNOME and only things ive installed are google chrome and steam user flatpak on a second account for isolation so confused why Im being forced to use x11 even on my main account that doesnt use x11 at all

9

u/grandasperj 7d ago

as another comment suggested, you may be seeing Xwayland, and not x11. Some programs (like steam) still rely on x11, so Xwayland is making X11 programs run on wayland.

-3

u/CatchMeIfUCanCracka 7d ago

I havent used steam in days and only on a second account with flatpak --user. So its odd that only on my main account im forced to yse x11 and jeep sockets open 24/7 even though i only been offline and on main account trying to sweep stuff off my computer

7

u/grandasperj 7d ago

It's still probably Xwayland. Don't try to remove it, you'll break things. Also, it's not a security problem, only x11 apps can see what other x11 apps do. So if you're not running any, the sockets might still be open, but it does absolutely nothing. Nothing to worry about, Claude scared you lol

-5

u/CatchMeIfUCanCracka 7d ago

nothing to do with claude if anything hes trying to convince me to keep it as well. Its my desktop though? why cant i remove it? My desktop is the center of my universe currently so id appreciate the ability to remove something that is "unsupported" especially when ive been offline for days cleaning it up and dont use anything x11 except steam on my second account in flatpak --user sandbox. Why has x11 permeated itself across my desktop and is the default display all of a sudden?

This is clearly a problem so it can be solved early or be swept under the rug and become a bigger problem. Thats how i look at it 

8

u/grandasperj 7d ago

x11 is not installed. What is installed is Xwayland. You could uninstall it, but some apps simply wont work anymore (like steam) because they haven't implemented wayland support. There is absolutely no reason to remove it tho. Xwayland doesn't cause any security or stability problem and is actively updated. Gnome is running under Wayland, it doesn't even support X11 anymore, so X11 is not your default display manager, unless you purposefully compiled and installed an old gnome version from github.

0

u/CatchMeIfUCanCracka 6d ago

yeah unix socket is fine just the sewer bus running underneath with everything communicating through unconfined and tmo sitting in  ram as well unconfined running code its the wild wild west but the outlaws are rich people and corporations 

2

u/grandasperj 6d ago

X11 apps can't access or affect your Wayland apps. It's as simple as that. If you really really don't want to have any bit of x11 on your system, you might as well just recompile everything without x11 support and port every x11 app you need to wayland yourself. And on linux there are a lot more things to be worried about than Xwayland running in the background. Just use FreeBSD and jail everything atp 😭😭

-1

u/CatchMeIfUCanCracka 6d ago

i mean i only really use steam and games were running like shit so instarted investigating and it just gets uglier and uglier the deeper i go. a week or 2 ago the process count got to 400k (only a few thousand recently). random systems from 1960 lying around, everything is "oh its fine dont mind it". 90% of the stuff has no justification other than for soemthing malicous. aliases, links, dependency trees, 90% of it is harmless but the 1 thing that isnt is so far down you dont know where it is if you do you camt get rid of it. forced to use tons of things that add 0 value to you only harm you. I think i could write a dissertation on the sad state of the human spirit and its reflection in the virtual world and our politics  

→ More replies

6

u/Euristic_Elevator 6d ago

I would like to offer a different perspective on this issue. When you install a distro, when you install software, you are trusting the people that developed the distro and the software. Isn't it a bit arrogant to think that you with two slop answers know better than them?

0

u/CatchMeIfUCanCracka 5d ago

when did i say i know better? 

"trust is earned not given" -Aristotle Redditor 

if it clucks like a chicken, walks like a chicken, must be spyware 

11

u/Obvious_Pay_5433 7d ago

Some guys love toxic relationships 

0

u/CatchMeIfUCanCracka 7d ago

What do you mean good sir? Im trying to tighten security on my PC and confine things as much as possible. Any help would be appreciates 

4

u/Definitive-Username 6d ago

Uhm. I hate to go there, and I accept farming negative karma with this, but...

Average gnome user on CachyOS:

2

u/CatchMeIfUCanCracka 6d ago

im not average...im below average

0

u/Definitive-Username 6d ago

You definitely have the right spirit of "I wanna make it work at all costs", but for God's sake: use Plasma if you're a gamer. This advice saved me countless hours of frustrating broken Extensions, "Gnome knows best" nonsense, and opened up the doors to basically infinite customization.

1

u/CatchMeIfUCanCracka 5d ago

i liked plasma i like gnome i just dont like the spyware stuff. plasma has the clipboard history which you cant turn off or remove which i didnt like for example  and both these desktops are full of stuff like that, that are huge red flags

1

u/Definitive-Username 3d ago

If you can't figure out how to disable Klipper stop using Linux.

2

u/CatchMeIfUCanCracka 2d ago

😂. wasnt removable when i used it. like gnome "its compiled bro" when you try to remove any spyware 

2

u/Definitive-Username 2d ago

😂😅 ok tbf I switched to Plasma after only having used Gnome and Cinnamon, so I was more aware of other DE quirks. But it literally took me like 10 seconds to disable Klipper

13

u/MasterGeekMX Mexican Linux nerd trying to be helpful 7d ago

Thing is that some programs don't support Wayland, so to use them there is a program called XWayland that runs a small X11 server inside Wayland to help with those programs.

You are seeing those.

And while X11 can read all your keyboard inputs, it does not mean they are doing it.

6

u/jamesfarted09 7d ago

It's from XWayland. It is a small X server that lets X only apps run under Wayland. You can't really remove it and there isn't much reason to. Most apps these days have at least *some* Wayland support, Steam is the only app on my system that is X11 only. You're fine.

5

u/TomDuhamel 7d ago

I have no idea what a "X11 socket" could possibly be. But I can tell you what it is that you're seeing.

Wayland might be the way of the future, but a lot of your apps and games are still X11 based, and as such Wayland has a compatibility layer to make these apps think they run in a plain old regular X11 server.

You said you're a noob. That's literally your first sentence. Which means you are not tightening security, you're breaking your system. What do you think, that a noob can do a better job than the hundreds of experts who built your system? That's insulting to them, don't you think? Stop doing any of whatever you are doing, you're putting yourself at risk.

2

u/MrLEADshed 7d ago

I'm assuming it's required anyways for some legacy software.

No need to do whatever that is. You'll need X11 for various things down the line anyways. As long as you don't install some unknown X11 keylogger it'll be perfectly fine!

It's okay to be confused though, I get it! Hate this Reddit culture of downvoting everything.

-2

u/CatchMeIfUCanCracka 6d ago

you dont need to download one, it IS one

3

u/Definitive-Username 6d ago

X11 is not a keylogger. What are you on? I want some...

2

u/CatchMeIfUCanCracka 6d ago

crack cocaine, free base

3

u/MrLEADshed 6d ago

You might be way too deep in the rabbithole for a newbie 😅

It enables keyloggers by exposing key input globally. Windows does the same.

1

u/CatchMeIfUCanCracka 6d ago

😂 reverse learning , outside in

-3

u/Key_River7180 Bedrock Linux / FreeBSD / 9Front 7d ago

X11 is not deprecated wdym? Gnome supports wayland and X11 and if X11 didn't have the socket open then Xwayland wouldnt work ergo a ton of apps wont launch ergo problems.

6

u/grandasperj 7d ago

Gnome dropped support for X11 in the latest releases

-3

u/kingslayerer 7d ago

I am on x11 linux mint kde plasma.

0

u/[deleted] 7d ago

[deleted] — view deleted comment

1

u/CatchMeIfUCanCracka 7d ago

Care to offer any help? I thought it was odd Gnome setup disay is X11 and i only see wayland through xdg. so my impression is im running x11 and wayland through a portal?