Questions tagged [x-server]

An X server is a program in the X Window System that handles all access to the graphics cards, display screens and input devices.

Filter by
Sorted by
Tagged with
131 votes
12 answers
237k views

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 ...
ripper234's user avatar
  • 31.7k
118 votes
5 answers
321k views

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,...
Naftuli Kay's user avatar
  • 39.5k
57 votes
5 answers
114k views

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 ...
Sai Kurogetsu's user avatar
26 votes
6 answers
6k views

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 ...
Aadit M Shah's user avatar
17 votes
3 answers
21k views

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 -...
Matthew's user avatar
  • 1,051
14 votes
1 answer
40k views

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 ...
rusty's user avatar
  • 1,871
13 votes
3 answers
19k views

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 ...
Ionică Bizău's user avatar
13 votes
1 answer
18k views

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 ...
IW16's user avatar
  • 131
12 votes
1 answer
2k views

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? ...
gimmesudo's user avatar
  • 415
11 votes
3 answers
12k views

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 ...
Alois Mahdal's user avatar
  • 4,440
11 votes
1 answer
40k views

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 ...
Martin's user avatar
  • 7,496
10 votes
1 answer
5k views

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 ...
jons34yp's user avatar
  • 201
9 votes
2 answers
67k views

Xvfb -screen --> Cannot establish any listening sockets - Make sure an X server isn't already running

I wonder, why isn't this working? $ screen $ Xvfb -screen :1 1024x768x16 & [1] 17540 $ _XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed _XSERVTransMakeAllCOTSServerListeners: ...
Incerteza's user avatar
  • 2,671
9 votes
2 answers
21k views

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) = /...
Mikhail Morfikov's user avatar
9 votes
3 answers
18k views

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 ...
showkey's user avatar
  • 295
8 votes
1 answer
2k views

How do command line clipboard tools like "xclip" and "xsel" persist the clipboard - in a X windows environment that doesn't?

After reading this question about the X clipboard getting cleared when vim is exited I learned that the X window clipboard only exists while the program - from which the selection was obtained - ...
the_velour_fog's user avatar
8 votes
1 answer
21k views

Authenticating with x11vnc: what's the difference between -auth and -rfbauth?

I'm on xubuntu 11.10 trying to setup x11vnc server. I followed instructions here and I can connect to VNC server - but it never asks me for password! Is there a difference between these 2 options: -...
Stann's user avatar
  • 2,209
8 votes
2 answers
7k views

How To Reload xserver After a Change in Keyboard Layout?

I do a change in my current keyboard layout English(US-Dvorak) but it does not react with the following code without changing back-and-forth to another keyboard layout, for xserver reloading # ...
Léo Léopold Hertz 준영's user avatar
8 votes
4 answers
21k views

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 ...
milanHrabos's user avatar
7 votes
2 answers
15k views

Unable to start X Server with no screens, no xorg.config to edit

I am trying to start the X server (I have all the packages installed). The problem I am having is that the server is offsite, has no screen and never has had a screen connected to it and as a result ...
MichaelMitchell's user avatar
7 votes
2 answers
15k views

How to close XServer session via command

I have a debian 8.5 computer. In order to create new session I run command startx. With this command a new session is created. How can I via command close this session and to return to previous one?
Pavel_K's user avatar
  • 339
7 votes
1 answer
9k views

emulate key-combination with xdotool

I am using Xephyr as a nested X server. When I am in Xephyr window and pres the key combination Control_L+Shift_L, Xephyr grabs my input (mouse, keyboard). This grab can be released with Control_R+...
Michael Boies's user avatar
7 votes
1 answer
2k views

Real chroot on a systemd machine

I'm trying to get used to systemd, because it seems to be the way that Debian is going. I want to run Xorg in a chroot on hardware, rather than using networking (which seems to be the canonical way ...
transistor1's user avatar
7 votes
1 answer
9k views

Run startx in the background without switching to the new virtual terminal

startx is able to create a new X server in a new virtual terminal. However, even if I run it in the background, ie. sudo startx &, it still switches to the new virtual terminal automatically. Is ...
zzy's user avatar
  • 173
6 votes
1 answer
27k views

How to make CentOS 7 load startx on startup?

I am having issues where my centos 7 machine with KDE does not load the gui at startup. It gets stuck on some white letters and I have to press CTRL+ALT+F2 to load another terminal session and then ...
Jonathan Muralles's user avatar
6 votes
4 answers
9k views

How do I set up a login script, to run xrandr?

I am using 3 monitors, with the 2 side ones being rotated. I was not able to sucesfully configure xorg.conf to rotate the 2 monitors, but I found a xrandr command that I can use after my login ...
Martin Vegter's user avatar
6 votes
1 answer
8k views

Does X-Window have a maximum number limit on clients?

Does X-Window have a maximum number limit on clients? For example, can you create "unlimited" number of evince processes with windows? If not, what places the limit? For another example (although I ...
Tim's user avatar
  • 101k
6 votes
2 answers
3k views

Screenshots from multiple Xservers

I want to take screenshots simultaneously from multiple X servers on one desktop PC. I have multiple users logged in different terminals (tty1, tty2, tty3, tty4) who start multiple Xservers with ...
Konstantinos's user avatar
  • 1,120
6 votes
1 answer
5k views

What is the max number of x-clients?

I am developing an x-server implementation, and I want to make it as similar to the current one as possible. I read through the documentation, but I couldn't find anything specific. In particular, I'...
beatgammit's user avatar
  • 7,543
6 votes
1 answer
737 views

Possibility of time-stamps in .xsession-errors file?

Is there possibility of having time-stamps in the .xsession-errors file as errors are logged but time-stamps are unfortunately not there. If anybody knows of any move towards it, would be nice to know....
shirish's user avatar
  • 12.3k
6 votes
1 answer
32k views

xauth is unable to write to my .Xauthority file

I run Arch Linux with the window manager BSPWM (so no DE) and recently I have been having a problem with my .Xauthority file. I am no longer able to start my X server because it is unable to write ...
Surya R's user avatar
  • 71
6 votes
3 answers
2k views

How to get stable International Dvorak with first-level deadkeys in Debian?

There are some unstable/risky ways such as the thread How to Get A with Dots in Dvorak of Ubuntu 16.04? to get the feature but I cannot run it in many environments. Germans need their owns (a/e/u/o ...
Léo Léopold Hertz 준영's user avatar
6 votes
1 answer
3k views

switch window manager while running

Years ago (around 2000) I saw a guy at a Linux meeting do an amazing X-windows trick which I've never seen repeated since. While he was logged into his default window manager (let's say Gnome), he ...
captcha's user avatar
  • 1,010
6 votes
3 answers
47k views

"Could not connect to display" in one user account

I have a GUI application written in Qt and I wanted to run tests by ssh (or Jenkins). There is only one user account, which allows to run it in display mode (ofc when I previously do export $DISPLAY=:...
trivelt's user avatar
  • 217
6 votes
1 answer
3k views

What is the difference between xspice and x11spice?

Recently I've been trying to enable spice in container using Docker for remote display, I've discovered two applicable resources to do so. First one is the xspice, if I should call it so, which ...
Freegle's user avatar
  • 61
6 votes
1 answer
720 views

How to execute script just before x server stop or gnome logout?

Chrome shows "didn't close correctly" message every time on my Fedora 28 system. I turn off the "Continue running background apps when Google Chrome is closed" feature. I think the problem is my ...
finkfink's user avatar
6 votes
1 answer
2k views

How to change DISPLAY of currently running application

I have multiple displays open on a central server. Is it possible to "move" a X-window application that is running on a particular DISPLAY to a different DISPLAY? How can this be done? I'm using xpra ...
stdcerr's user avatar
  • 2,059
6 votes
0 answers
625 views

What does it mean for the X server to live on a particular tty?

On Linux, how does the X server establish a relationship with a particular tty (such as tty7) so that the X server can receive input and draw on the screen only when that tty is in the foreground? How ...
Brian Bi's user avatar
  • 592
5 votes
3 answers
16k views

Starting Qt Application On Startup for Embedded Linux

I'm trying to get a Qt application to launch immediately after booting up. When booted, the Linux image does nothing more than launch an X server and a terminal. It also has the cron daemon running in ...
sj755's user avatar
  • 1,115
5 votes
1 answer
529 views

Can one disable tap-to-click in X server configuration without "InputClass" sections?

I want to configure my system so that tap-to-click is disabled on the touchpad. (It's running a rather old version of ALTLinux distro with xorg-server-1.4.2-alt10.M41.1.) I'm interested in a solution ...
imz -- Ivan Zakharyaschev's user avatar
5 votes
1 answer
768 views

Unable to host a server with Xpra, only connect to an existing one

I've downloaded and installed Xpra from their distribution hosted on winswitch. However, when I try to run it on my server I'm getting: This xpra install does not support starting local servers. ...
Oak's user avatar
  • 323
5 votes
1 answer
4k views

Run second X server from within X as a systemd service

I want to start a second X server from within an already running X session. Until debian 8 I can edit /etc/X11/Xwrapper.config and change line allowed_users=console to allowed_users=anybody. This ...
mviereck's user avatar
  • 2,457
5 votes
2 answers
3k views

Maximize Window without Window Manager?

If I want to run GUI software on my Linux machine, I can do it without a window manager, but I can not discover a way to maximize the window. Is there a reliable way to maximize a window in an x ...
motoku's user avatar
  • 208
5 votes
2 answers
19k views

NVIDIA driver upgrade failed

I downloaded the latest(331.49), tried to install, but failed. I compiled the kernel module and at the end of the installation it said that it went successful. But on bootup it said: version mismatch, ...
stdcerr's user avatar
  • 2,059
5 votes
1 answer
648 views

vim stops sending text to * (X11) register?

I recently started using VcXsrv with the hope of being able to grab text from vim (console mode) to the Windows clipboard via X11 forwarding (and the * register). It works...to an extent. As soon as I ...
Andrew B's user avatar
  • 692
5 votes
0 answers
2k views

Start application using xinit on different tty

I'm using Fedora 21, trying the following: On tty1 is running KDE, just as normal. But to speed up my games/avoid them changing something like gamma, I want to run them on a differnt tty, starting a ...
marius_linux's user avatar
4 votes
2 answers
3k views

Why .Xauthority needs not to be owned by the root account in order to get past login?

I've just got the same problem from here, and solved it using what was stated in the first answer (akonsu's one). However, I would love to know why ~/.Xauthority needs not to be owned by the root ...
Reflection's user avatar
4 votes
1 answer
8k views

How to determine if X server runs with root privileges

This is a one-liner: Is there a way/command to check if the X server is run as root or as user? This was supposed to be a one-liner but alas... I recently upgraded my Arch Linux box. After the ...
lord.garbage's user avatar
  • 2,363
4 votes
1 answer
3k views

Is it possible to use xsetroot and dwm to set the top and bottom bars at different time intervals?

I'm using dwm with the dualstatus patch. This adds a status bar on the bottom of the screen, in addition to the standard bar at the top. The text in each bar is set in ~/.xinitrc (for example) like ...
Michael A's user avatar
  • 1,593
4 votes
2 answers
1k views

How do I screencap another Xorg display?

I started another X session from my current one like so: xinit xterm -- :128 An X session starts in display :128, xterm gets run in it and everything is fine. I switched back to screen :0 (the ...
Christian Chapman's user avatar

1
2 3 4 5
7