An X server is a program in the X Window System that handles all access to the graphics cards, display screens and input devices.
Questions tagged [x-server]
317 questions
127
votes
12 answers
How to copy text from vim to an external program?
I'm trying to copy-paste some text from vim. I'm doing v to enter visual mode, then y once I selected my block.
It appears to copy the text into vim's clipboard, because p will paste it.
But in another program (e.g. Chrome), right-click->paste…
ripper234
- 31,063
- 43
- 82
- 90
116
votes
5 answers
Is there a command to list all open displays on a machine?
When SSH'd locally into my computer (don't ask, it's a workaround), I can't start graphical applications without running:
export DISPLAY=:0.0
If I run this first and then run a graphical application, things work out. If not, it doesn't work,…
Naftuli Kay
- 38,686
- 85
- 220
- 311
56
votes
5 answers
How to disable X server autostart in Debian Jessie?
I have a remote machine running Debian 8 (Jessie) with lightdm installed. I want it to start in no-GUI mode, but I don't want to remove all X-related stuff to still be able to run it though SSH with the -X parameter. So how to disable X server…
Sai Kurogetsu
- 563
- 1
- 5
- 6
26
votes
6 answers
Why does the X Window System use a server?
I never really understood why a window system must have a server. Why do desktop environments, display managers and window managers need xorg-server? Is it only to have a layer of abstraction on top of the graphics card? Why do window systems employ…
Aadit M Shah
- 381
- 3
- 6
17
votes
3 answers
How to attach to remote machine's local display session over ssh?
Scenario:
Linux mint is running on a machine at my home. I have some gui applications open on it.
I'm away from home but want to get at the open applications. I have cygwin/x and I know how to ssh -X homecomputer, and I could run gui applications…
Matthew
- 1,041
- 2
- 11
- 16
13
votes
1 answer
X server only starts as root
I have an Arch Linux system, stock kernel and drivers.
For some strange reason, xinit produces an error when it is started by a non-root user.
The logs say this:
(EE) parse_vt_settings: Cannot open /dev/tty0 (No such file or…
IW16
- 131
- 1
- 1
- 3
13
votes
1 answer
What does this `xhost ...` command do?
Please help me understand this line of command:
xhost +SI:localuser:lightdm
in reference to the answer in this post and also suggest if there's a better way and why that's needed. I couldn't make much from the man page, so I expect some more…
rusty
- 1,841
- 6
- 21
- 25
12
votes
1 answer
Why need drivers for both x server and the linux kernel?
Can someone explain why two sets of drivers are needed, one in the Linux kernel and one in X?
I understand that the device drivers are in the kernel, but what is the role of those in the xserver?
Does wayland require such drivers to run?
gimmesudo
- 415
- 4
- 8
12
votes
3 answers
How to detect global key presses
I have an Asus laptop that has a special key that can be configured to launch any software (at least on Windows).
The general question is: how can I detect any key press (globally)?
Then, how can I detect when the user press this key?
Ionică Bizău
- 3,371
- 10
- 30
- 49
11
votes
3 answers
How does X-server calculate DPI?
From Xfce Docs:
In case you want to override the DPI (dots per inch) value calculated
by the X-server, you can select the checkbox and use the spin box to
specify the resolution to use when your screen renders fonts.
But how does X-server do…
Alois Mahdal
- 4,330
- 11
- 40
- 62
11
votes
1 answer
minimal X.org xserver installation on Debian Wheezy
I installed Debian Wheezy with no desktop environment as I would like to use lightweight dwm window manager instead. However, as a first step, I need to install xserver. I would like to install minimal components needed for running the xserver. What…
Martin
- 7,284
- 40
- 125
- 208
10
votes
1 answer
How to remap a key combination to a key?
Is it possible to remap a key combination to a key in X server based system, so that for example if I press End + Arrow_up, keycode for Home is generated? Google seems to be silent on this issue. It would be great if there was a solution, since it…
jons34yp
- 201
- 2
- 5
9
votes
3 answers
xsel: Can't open display: (null)
I want to copy a long file into clipboard with xsel,in my local pc ,just input:
cat /usr/bin/mysql_secure_installation|xsel -b
The file mysql_secure_installation located in my local os was copied into clipboard.
Now login to my vps with ssh…
showkey
- 79
- 23
- 67
- 128
9
votes
2 answers
How to change the default TTY after boot?
Normally when system starts you have all output printed on the TTY1, and that's ok, but I start X-server via startx and achieve this by the following lines in the ~/.profile file :
if [[ $(tty) = /dev/tty4 ]]; then
exec startx &>…
Mikhail Morfikov
- 10,309
- 19
- 69
- 104
8
votes
3 answers
cannot run in framebuffer mode. Please specify busIDs
from my previous question empty screen after booting from live persistent usb, I am able after boot to access all files and folders, but the X-server is unable to load (so I get only to tty1). From the previous question I was able to get to…
milanHrabos
- 371
- 1
- 4
- 12