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
35
votes
3 answers

Global Hotkey with X11/Xlib

My goal is to have a program that sleeps in the background but can be activated by the user via some "hotkey". From digging around the Xlib manual and the Xlib O'reilly manual, I gather that the correct way to to this is with XGrabKey. However my…
cheshirekow
  • 4,797
  • 6
  • 43
  • 47
35
votes
6 answers

How to determine a terminal's background color?

I'd like to know if there is any way to determine a terminal's background color ? In my case, using gnome-terminal. It might matter, since it's entirety up to the terminal application to draw the background of its windows, which may even be…
Romuald Brunet
  • 5,595
  • 4
  • 38
  • 34
35
votes
8 answers

Fastest method for screen capturing on Linux

This question is similar to this one Fastest method of screen capturing but for linux/X11. To be more specific, i need a method to capture the pixel images of one window (the programmatic equivalent of alt-print screen in windows) running on a X11…
lurscher
  • 25,930
  • 29
  • 122
  • 185
34
votes
4 answers

how to quit the blocking of xlib's XNextEvent

Under windows, the GUI thread usually call GetMessage to waiting for message, when another thread use PoseMessage put a message into the queue, then the GUI thread will return GetMessage (quit blocking). Does anyone can tell me, when I use…
Tom Wong
  • 343
  • 1
  • 3
  • 4
33
votes
4 answers

X11 connection rejected because of wrong authentication

I am getting a error while accessing the firefox using X11Forwarding. [root@station2 ~]# firefox KiTTY X11 proxy: wrong authorisation protocol attemptedKiTTY X11 proxy: wrong authorisation protocol attemptedError: cannot open display:…
Nataraj
  • 852
  • 2
  • 14
  • 29
33
votes
3 answers

how to add the missing RANDR extension

I have setup the xvfb server on my headless server and when I m running the DISPLAY=:99 firefox I am getting this exception missing RANDR extension Many of them said to disable some xinerna from the xorg.conf file but this file is not getting…
Mahesh More
  • 919
  • 2
  • 8
  • 20
32
votes
3 answers

Can't find x11 terminal in gnuplot Octave on Mac OS

I am running Mac OS Mavericks 10.9.4. Installed Octave 3.8.1 via Homebrew which came with gnuplot 4.6 Have XQuartz 2.7.6 installed. I restarted my computer after all was done. In order to plot in octave-cli everyone states that I should just 'set…
ben39
  • 2,427
  • 4
  • 20
  • 19
32
votes
1 answer

how to install x11_xt_lib when configure VTK?

when I configure VTK with ccmake command on Ubuntu 14.04, the following error message happens after I press c button. how to install that stuff? CMake Error at Rendering/OpenGL/CMakeLists.txt:304 (message): X11_Xt_LIB could not be found. …
Haven
  • 7,808
  • 5
  • 25
  • 37
31
votes
2 answers

No realize class procedure defined

I just want to share how I found the solution to the error No realize class procedure defined when running a X/Motif C application. I am posting this because I only found one reference to this problem while searching online, and it contained no…
Miguel Rentes
  • 994
  • 1
  • 10
  • 27
31
votes
2 answers

How to run R on a server without X11, and avoid broken dependencies

I'm running R 2.9 on a large EC2 Ubuntu instance, loaded with RAM, but without a terminal. When I load a library that has display dependencies, such as the sqldf package, I receive the following error: library(sqldf) ... Loading required package:…
medriscoll
  • 26,995
  • 17
  • 40
  • 36
29
votes
15 answers

Best setup for Linux development from Windows?

What's the best setup for developing Linux apps from a Windows workstation? Right now I'm connected via SSH to our Linux development server and am using Eclipse, forwarded over SSH via PuTTY, to the public domain version of Xming running on my…
Josh Kelley
  • 56,064
  • 19
  • 146
  • 246
29
votes
4 answers

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-aadithyasb'

I am using WSL in Windows 10. I have this warning getting displayed when I run a python file: QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-aadithyasb' I can understand that the XDG_RUNTIME_DIR environment variable is not set…
Aadithya Sathya
  • 797
  • 1
  • 6
  • 12
29
votes
1 answer

X11: move an existing window via command line?

Given an X client window ID, is there a way to move that window or change its geometry from the command line? $ xlsclients -a Window 0x3000001: Machine: ohm Name: Terminal Icon Name: foo Command: foo Instance/Class: foo/bar $…
Mark Harrison
  • 297,451
  • 125
  • 333
  • 465
28
votes
4 answers

Disable/suppress tcltk popup for CRAN mirror selection in R

My question is similar to a question previously posted but never really answered here: Disable GUI, graphics devices in R I do not like the R tcltk popups for CRAN mirror selection. They also pop up to choose a package when searching for help on a…
nsheff
  • 3,063
  • 2
  • 24
  • 29
28
votes
3 answers

Cannot connect to X server :0.0 with a Qt application

Compiling on Fedora 10. I have just started my first qt GUI application. I used all the default settings. Its just a simple form. It builds OK without any errors. But when I try and run the application. I get the following message: Starting…
ant2009
  • 27,094
  • 154
  • 411
  • 609