How Many Ways To Start An Xserver - Desktop Customization & Workflow

Users browsing this thread: 1 Guest(s)
venam
Administrators
Someone on reddit mentioned something interesting, instead of using local sockets, or steams pipes, or named, pipes, etc. You can use shared memory instead.

Quote:You really want to use -extension MIT-SHM and start without root.
Actually you want to sandbox it and ideally not use it at all.
It has the advantage of being more secure.

To use it you first have to check if you have the extension in your current Xserver implementation:
Code:
xdpyinfo -display :0 -queryExtensions | grep 'MIT-SHM'
    MIT-SHM  (opcode: 130, base event: 65, base error: 128)

Then like the -maxcients 2048 arguments we tried to pass, you'll also have to plug it in the Xserver start line.
However, it plays badly with some aplications, so keep that in mind.


Messages In This Thread
How Many Ways To Start An Xserver - by venam - 05-09-2020, 11:50 AM
RE: How Many Ways To Start An Xserver - by venam - 07-09-2020, 02:48 AM
RE: How Many Ways To Start An Xserver - by z3bra - 07-09-2020, 07:31 AM
RE: How Many Ways To Start An Xserver - by venam - 07-09-2020, 03:07 PM
RE: How Many Ways To Start An Xserver - by venam - 08-09-2020, 02:42 AM
RE: How Many Ways To Start An Xserver - by venam - 09-09-2020, 02:12 AM
RE: How Many Ways To Start An Xserver - by movq - 13-09-2020, 02:31 PM