Questions tagged [xserver]

Questions about the graphical display server of the X Windows System. This is the process managing the desktop. In various remote desktop solutions (VNC, XDMCP), it has a client role from an end-user view, they do not belong here.

A graphical display server compatible with the X Display Protocol, which is a network-transparent windowing system used commonly in the Unix world. Its official reference (and also most commonly used) implementation is X.Org . Alternatives include Quart/X, Cygwin/X or Wayland.

Responsible for communication with

  • X Clients, these are the GUI programs appearing on the display. X clients can connect it over TCP (if remote) or on unix socket (if local).
  • User input devices (keyboard, mouse, touch screen)
  • 2D graphical display
  • possibly with the 3D accelarator

It also has a specific client which manages windows on the display, the window manager. In maintains also a clipboard.

402 questions
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
115
votes
21 answers

wkhtmltopdf: cannot connect to X server

I have been using wkthmltopdf to convert html to pdf documents on-the-fly on my linux web server. The program originally needed X11 or similar X server to run correctly, but through many requests by developers to have this run on servers without…
jeffery_the_wind
  • 17,048
  • 34
  • 98
  • 160
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
80
votes
10 answers

SSH -X "Warning: untrusted X11 forwarding setup failed: xauth key data not generated"

Hey I'm having an issue getting ssh X forwarding to work. The setup is I'm sshing into my ubuntu VM off OSX Yosemite host machine. I already installed xQuartz on OSX, xauth on ubuntu, and I believe I've have all the correct options set in ssh_config…
sprw121
  • 1,073
  • 1
  • 8
  • 8
70
votes
8 answers

Running graphical Linux desktop applications from WSL 2 – "Error E233: cannot open display"

How can I run graphical Linux desktop applications from the command line of Windows Subsystem for Linux (WSL)? First, I installed WSL 2 following these steps on how to install Linux on Windows with WSL : I installed Windows 10 Pro Insider Preview…
ASE
  • 1,702
  • 2
  • 21
  • 29
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
28
votes
2 answers

X-Applications over SSH in Android

I would like to ask about running X-applications via SSH as follows. I have Linux Desktop running SL6.3 with Gnome 2x. On Android tablet running CM9,I have Connectbot and X-Server for Android. I can logged into Linux box with Connectbot via SSH…
user1733435
  • 281
  • 1
  • 3
  • 4
27
votes
7 answers

Linux retrieve monitor names

Situation: I'm using multiple monitors and I want to get their names in bash. Currently I'm using Ubuntu 10.04. I know about xrandr. From it I can get only statistics data. What I want is to read all monitor names in an array to work with them. Is…
Jānis Gruzis
  • 905
  • 1
  • 10
  • 25
26
votes
2 answers

How to get a valid font name on linux system which can be used in .Xresources config?

I'm interested in how can i get a valid font name to use in in .Xresources file. I've installed ttf-ms-fonts and want to switch my terminal to courier font. But setting it like this does't work urxvt*font: cour urxvt*boldFont: courbd How do i…
roman
  • 5,100
  • 14
  • 44
  • 77
23
votes
6 answers

A /dev/null equivilent for DISPLAY when the display is just noise

I'm running a java app which creates a visual display of some of the things it is doing, while it is doing it. However, I'm want to run this in a script that won't have a display to attach to. In the current environment, there isn't even a DISPLAY…
Marc
  • 415
  • 5
  • 16
22
votes
3 answers

tkinter in Ubuntu inside Windows 10. Error: "no display name and no $DISPLAY environment variable"

I have recently installed the Ubuntu app for Windows 10 so that I can use it for a class. I am following some cryptic assignment directions to "try out tkinter". I installed the package python3-tk in the Ubuntu terminal window following instructions…
Zach
  • 627
  • 1
  • 5
  • 11
21
votes
11 answers

How to change the Monitor brightness on Linux?

How do I programmatically change the monitor brightness on Linux? I'm using SLES 11.
Alexander Stolz
  • 7,454
  • 12
  • 57
  • 64
17
votes
2 answers

XDummy in Docker container

I am trying to run a X11 server inside a docker container by using the XDummy driver. However, I have problems getting it to work. The intended purpose is to perform headless rendering. I can get it to work using Xvfb, but I need RANDR support, and…
user1419305
  • 468
  • 8
  • 16
12
votes
2 answers

How does GUI output work from application to hardware level?

I am getting into GUI programming and did some research. Now not everything is clear to me. If I would use GTK+ as toolkit, how does it communicate with the graphics card? On a Linux system I suppose it would be GTK --> X Server --(OpenGL)-->…
mbert
  • 1,495
  • 2
  • 11
  • 17
11
votes
4 answers

How do I light up the Caps Lock light with xset?

I wrote a little fetchmail script that checks the remote server and plays an audio file when I have new mail. I also wanted to also light up one of my keyboard lights when the mail was available but I ran into a problem. I am able to light up the…
user903115
  • 133
  • 1
  • 6
1
2 3
26 27