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
502
votes
24 answers

Can you run GUI applications in a Linux Docker container?

How can you run GUI applications in a Linux Docker container? Are there any images that set up vncserver or something so that you can - for example - add an extra speedbump sandbox around say Firefox?
Will
  • 73,905
  • 40
  • 169
  • 246
182
votes
23 answers

How to set up working X11 forwarding on WSL2

When moving from WSL1 to WSL2 many things change; apparently this applies to X11 forwarding as well. What steps do I need to make in order to use X11 forwarding with WSL2 on Windows 10 as I did with WSL1?
whme
  • 4,908
  • 5
  • 15
  • 28
140
votes
29 answers

Webdriver Unable to connect to host 127.0.0.1 on port 7055 after 45000 ms

I have box where I run tests. It seems like Jenkins would ssh in and execute commands described in the specific job that's running. Here I am trying to run my Selenium Webdriver tests, but it tells me that I have errors in launching firefox. The…
user1636922
  • 2,529
  • 6
  • 21
  • 21
139
votes
15 answers

Octave-Gnuplot-AquaTerm error: set terminal aqua enhanced title "Figure 1"...unknown terminal type"

I've installed Octave and gnuplot via Homebrew, and downloaded AquaTerm.dmg. When I try to plot, I get the following message: octave:4> plot(x,y) gnuplot> set terminal aqua enhanced title "Figure 1" font "*,6" ^ `line 0:…
PGreen
  • 3,239
  • 3
  • 24
  • 29
126
votes
12 answers

"No X11 DISPLAY variable" - what does it mean?

I am trying to install a Java application on my Linux machine (Slackware). I have received the following error, and I do not understand it. Could you advise me how to approach the problem? Thank you. Here is what I get: (I see that some X11…
user42155
  • 48,965
  • 27
  • 59
  • 60
123
votes
34 answers

Java Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable

I have a script using java to connect to display X11 in the port 10.0 at localhost but i get always this error java.lang.InternalError: Can't connect to X11 window server using 'localhost:10.0' as the value of the DISPLAY variable. at…
Elteroooo
  • 2,913
  • 3
  • 33
  • 40
90
votes
12 answers

How to check if X server is running?

Is there any way to find out if the current session user is running an Xserver (under Linux) ? I've started off with things like: ps -e | grep X but this doesn't work always and one more thing I tried is checking the $DISPLAY variable Are there…
RomanM
  • 6,363
  • 9
  • 33
  • 41
85
votes
12 answers

How can I specify a display?

When I run some programs over SSH, such as firefox &, I get an error Error: no display specified I would like to open many displays, still showing the stdout of each program. Initial Question: How can I specify the display to get a…
Léo Léopold Hertz 준영
  • 134,464
  • 179
  • 445
  • 697
73
votes
7 answers

Cannot launch Git GUI using Cygwin on Windows

I used to launch Git GUI within my Cygwin console without any problems, but since I updated Cygwin I've got the following error message: $ git gui Application initialization failed: no display name and no $DISPLAY environment variable Error in…
Stijn Vanpoucke
  • 1,425
  • 3
  • 17
  • 30
62
votes
3 answers

Xlib and Firefox behavior

I'm trying to create a small window manager (just for fun), but I'm having problems in handling windows created by Firefox (only with that application, other apps works fine) The problem is, after I launch Firefox, and add my decoration, it seems…
Ivan
  • 4,186
  • 5
  • 39
  • 72
61
votes
8 answers

How to get an X11 Window from a Process ID?

Under Linux, my C++ application is using fork() and execv() to launch multiple instances of OpenOffice so as to view some powerpoint slide shows. This part works. Next I want to be able to move the OpenOffice windows to specific locations on the…
Adam Pierce
  • 33,531
  • 22
  • 69
  • 89
60
votes
5 answers

Mountain Lion rvm install 1.8.7 x11 error

After update to Mountain Lion, I tried install 1.8.7, and I got error. X11 file not found, I installed Xquarkz, but nothing changed. Whats wrong? Fail to find [tclConfig.sh, tkConfig.sh] Use MacOS X Frameworks. Find Tcl/Tk libraries. Make…
user1344853
  • 689
  • 1
  • 7
  • 8
59
votes
9 answers

Running Chromium inside Docker - Gtk: cannot open display: :0

When I try to run chromium inside a docker container I see the following error: Gtk: cannot open display: :0 Dockerfile: (based on https://registry.hub.docker.com/u/jess/chromium/dockerfile) FROM debian:jessie # Install Chromium RUN sed -i.bak…
user3538553
  • 1,443
  • 3
  • 15
  • 21
56
votes
2 answers

How to find X11/extensions/XTest.h

I am using ubuntu 10.10, and when i compile chromium, it said remoting/host/event_executor_linux.cc:9: fatal error: X11/extensions/XTest.h: No such file or directory But i have already installed libx11-dev: $ sudo apt-get install …
michael
  • 106,540
  • 116
  • 246
  • 346
56
votes
3 answers

How to get the list of open windows from xserver

Anyone got an idea how to get from an Xserver the list of all open windows?
kender
  • 85,663
  • 26
  • 103
  • 145
1
2 3
99 100