Is it possible to run X11 as root?

Is it possible to run X11 as root?

My server (x86-64 ubuntu 12.4) is running X for a non root login user . Any idea ? Last edited by zvidubi; 05-20-2014 at 11:03 AM.

Which is the root window of the X Server?

The root Window is a special Window of the X server. It doesn’t have an associated application. The wiki improperly refers to the root window here.

What are the Protocols of the X Window System?

In computing, the X Window System (commonly: X11, or X) is a network-transparent windowing system for bitmap displays. This article details the protocols and technical structure of X11.

How to create a window in X11 using Xlib?

You are encouraged to solve this task according to the task description, using any language you may know. Create a simple X11 application, using an X11 protocol library such as Xlib or XCB, that draws a box and “Hello World” in a window.

Is it possible to run X Server as root?

Have a look at the output of ps -aux and see yourself which user is running X. It is that DB2 is supposed to be installed with no restrictions (by definition) as root with GUI installer . That means root should be able to run the X server . I did that by propagating credentials from the regular user to the root (xhost + ,

Can you run StartX on a root account?

Even after this, I’m unable to run startx unless I use root account. First a clarification, X is not a window manager, it is a windowing system.

Is the Xorg process started under the root account?

Actually, the Xorg process IS started under the root account in Ubuntoid systems. I don’t know whether non-Ubuntoid distros do it like that as well, as I’ve never used another distro with a GUI (console only). However, I thought the reason is not Xorg itself being insecure.

Why is X11 display not allowed on Linux?

This is by default not allowed on Unix/Linux systems, because the X11 display connection belongs to the user you used to log with when connecting to your remote SSH server. X11-forwarding mechanism does not allow anyone to use the open display.

Can you use open display with X11 forwarding?

X11-forwarding mechanism does not allow anyone to use the open display. However, in some cases you may need to start a graphical application like nedit or firefox in a sudo or su context.