Questions tagged [x11]

X11 is an extensible windowing system for bitmap displays. It forms the foundation of most Unix operating system GUIs.

The X Window System (commonly known as X11, based on its current major version being 11, or shortened to simply X, and sometimes informally X-Windows) is a computer software system and network protocol that provides a basis for graphical user interfaces (GUIs) and rich input device capability for networked computers. It creates a hardware abstraction layer where software is written to use a generalized set of commands, allowing for device independence and reuse of programs on any computer that implements X.

History

X originated at the Massachusetts Institute of Technology (MIT) in 1984. The protocol version has been X11 since September 1987. The X.Org Foundation leads the X project, with the current reference implementation, X.Org Server, available as free and open source software under the MIT License and similar permissive licenses.

The key design principles of X11 are

  • define methods, not policies
  • extensibility
  • network transparency
  • window based

A X11 system consists of

  • a X11 Server that connects with one or more display devices (called Screens), user input devices and accepts connections from so called…

  • X11 Clients which communicate with the X11 server to receive user input and draw graphics (into windows) through it.

References

3357 questions
21
votes
4 answers

VisualVM hanging on startup "computing description"

I've got two remote servers, both running recent CentOS, both running recent Tomcat6, recent JDK6, and VisualVM 1.3.2. ssh -X forwarding works on one server - I can start up VisualVM from that machine, it port forwards and runs fine - I see all the…
kimsal
  • 543
  • 6
  • 10
21
votes
6 answers

Xt error: Can't open display, if using default DISPLAY

Overview I'm attempting to get XQuartz to work on OSX so I can do X11 forwarding via Docker. I'm following the instructions here. I believe my question may be answered by just the first part, but just in case (to avoid the XY problem), I've provided…
Claudiu
  • 224,032
  • 165
  • 485
  • 680
21
votes
7 answers

HTML5/javascript X11 server?

We have an application which consumes a large amount of data. Currently a desktop app, but we would like to deliver it via the browser. It doesn't make sense to me to create a web app where we need to transfer a ll the data used for the…
bpeikes
  • 3,495
  • 9
  • 42
  • 80
21
votes
7 answers

X11: run a gnome app as another user

I have ubuntu + x11 + gnome. I want to run a graphical application as another user. However, when I start it from the command line using sudo -u otheruser app I get the error "No protocol specified". How can I work arround this?
flybywire
  • 261,858
  • 191
  • 397
  • 503
20
votes
1 answer

How to wait for VSYNC in Xlib app?

I am drawing something on screen using XWindow Drawable, Pixmap, and XRender. I can see that sometimes there is flicker. Is there a way to wait for VBLANK? I googled a lot already, feels like looking for a coin in a forest. There is NO OpenGL…
exebook
  • 32,014
  • 33
  • 141
  • 226
20
votes
8 answers

How to query X11 display resolution?

It seems like an simple problem, but I can't find the answer: How do you query (via X11) what monitors exist and their resolutions?
dicroce
  • 45,396
  • 28
  • 101
  • 140
20
votes
1 answer

what is the relationship between X11 and gnome?

is there a relationship between X11 and gnome ? does the gnome uses the X11 interface to display ? or does the gnome implements some functionality that the X11 requires ?
shd
  • 1,201
  • 4
  • 17
  • 29
20
votes
2 answers

Settings default font in gvim

I'm using gvim (vim -g). I want to set default font to be Monaco. Here is the content of my .vimrc if has("gui_running") if has("gui_gtk2") set guifont=Monaco\ New\ 11 elseif has("gui_photon") set guifont=Monaco\…
dofores
  • 205
  • 1
  • 2
  • 6
19
votes
2 answers

How I can find out if a Linux system uses Wayland or X11?

Used language I am using C++14 with cmake for my program. Problem: I would like to know how I can find out if a Linux system uses Wayland or X11 as a window system to be able to use both APIs in my source code without conflict. Thus creating a…
ShadowDragon
  • 2,238
  • 5
  • 20
  • 32
19
votes
1 answer

xprofile vs xsession vs xinitrc

I'm using Debian + i3 + lightdm. Applications which I would like to start after my user has logged - I place them in user systemd units or in .config/i3/config exec sections. Systemd usually requires some modification to have DISPLAY and XAuthority…
T4ng10r
  • 727
  • 2
  • 11
  • 21
19
votes
2 answers

XIO: fatal IO error 11 caused by 32-bit libxcb

Yes, this question has been asked before, but reading the answers didn't enlighten me much. I wrote a C program that crashes after a few days of use. An important point is that it does NOT generate a core file, even though everything is set up so…
dargaud
  • 2,431
  • 2
  • 26
  • 39
19
votes
2 answers

SSH compression for X11 forwarding

I’m on the East coast of the United States, SSHing into a server on the West coast. I’ve managed to get X11 forwarding working so I can launch GUI apps for certain tasks where it’s helpful. However, for all the X11-forwarded apps (especially…
Zearin
  • 1,474
  • 2
  • 17
  • 36
19
votes
4 answers

Does Mac X11 have the XTEST extension?

So I moved some X programs down to the mac, and I'm getting Error: XTEST extension unavailable on '(null)'. from xdotool. Does OS X X11 come with XTEST? If not, is there a way to add it?
Mark Harrison
  • 297,451
  • 125
  • 333
  • 465
19
votes
1 answer

An error ['\+' is an unrecognized escape in character string starting "\+" while creating a R package

I tried to create a package using some functions and scripts I created (using X11 on a Mac). While R CMD check was doing its work, it encountered a problem as follows: temp = trim(unlist(strsplit(lp.add(ranefterms[[i]]), + …
Alex
  • 4,030
  • 8
  • 40
  • 62
19
votes
6 answers

X session in Git Bash on Windows?

I'm using Git Bash on Windows. I have used Git Bash to SSH into a UNIX machine and tried to run a program with a GUI. I got the message: LINUX/UNIX system detected, but unable to access X11 display. I have X-Win 32 (commercial). I've also used Xming…
Nike
  • 1,223
  • 2
  • 19
  • 42