The tag has no usage guidance.

learn more… | top users | synonyms

38
votes
8answers
34k 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 ...
25
votes
2answers
42k 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 ...
23
votes
6answers
3k 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 ...
9
votes
1answer
615 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? ...
6
votes
3answers
4k 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 ...
6
votes
1answer
133 views

Xephyr: mouse does not move smoothly

I am using xserver-xephyr in Debian Wheezy. My mouse inside the Xephyr window does not move smoothly. It looks as if the refresh rate was very low. When I move my mouse across the screen, it maybe ...
5
votes
1answer
586 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 ...
5
votes
1answer
305 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 ...
5
votes
1answer
277 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 ...
4
votes
2answers
786 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 ...
4
votes
2answers
394 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 ...
4
votes
1answer
10k 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 ...
4
votes
1answer
202 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 ...
4
votes
1answer
1k 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, ...
4
votes
2answers
5k 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 ...
4
votes
1answer
454 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 ...
4
votes
1answer
278 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 ...
3
votes
1answer
1k 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 ...
3
votes
4answers
4k views

How to Cygwin Xwin -query an Ubuntu 11.10 Xserver?

I am running Cygwin 1.7 on Win7 Pro x64, and I can query my Ubuntu 10.04 LTS server just fine. XWin.exe -clipboard -once -rootless -nodecoration -notrayicon -query $IP_ADDRESS I recently installed ...
3
votes
1answer
2k 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 ...
3
votes
3answers
7k 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, ...
3
votes
2answers
359 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 ...
3
votes
1answer
345 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. ...
3
votes
1answer
83 views

On Solaris 7 Box trying to get X Record Extension Library to work using x11vnc

Does Xsun support this extension? Im on a Solaris Sparc Ultra 2 SunOs 5.7. x11vnc version: 0.9.9
3
votes
1answer
421 views

How to prevent killing the X server with CTRL+C using bash traps?

On my Debian Wheezy system, I used to start my X session with the startx command. My .xinitrc file is: exec /usr/bin/awesome --config /home/cscs/.config/awesome/rc.lua >> ...
3
votes
0answers
90 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 ...
3
votes
3answers
3k 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 ...
2
votes
2answers
17k views

stop Xserver in Xubuntu 11

I want to shutdown my X to be able to install proprietary NVidia driver, but I couldn't find out how. There are some suggestions that didn't work for me. I neither have /etc/init.d/gdm nor ...
2
votes
3answers
3k views

Lost mouse pointer in XServer

Have tried many windows managers including TWM, xfce and Gnome, but my mouse pointer is gone. It is invisible, but it performs all the actions. If I do the right click the context menu opens and this ...
2
votes
2answers
615 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 ...
2
votes
1answer
343 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 ...
2
votes
1answer
43 views

Maintain Xserver applications running even after closing the remote conecction

We have a Ubuntu server (mainly a compute server), which does not have X-server installed on it. One can use something like Byobu or Screen to have programs running on the server even after the SSH ...
2
votes
1answer
701 views

Can one disable tap-to-click in X server configuration, without synclient?

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.) The most popular advice I ...
2
votes
1answer
1k views

Arch modules not loading on start?

I keep getting errors on startup in Arch relating to my rc.conf: failed to load module "wl" failed to load module "lib80211" etc. It lists all the modules in my /etc/rc.conf This is my full ...
2
votes
1answer
127 views

How to let a daemon prompt for a password (in Xsession, keyloggersafe)?

Exposition: Working inside an XSession. Some (background) deamon needs to prompt me for password input. How can I make the daemon to prompt me for a password using a popup in the Xsession? ...
2
votes
1answer
129 views

How do I monitor display :1 while I'm using display :0?

I am running X on two displays. :0 is my primary display but I also have some programs running on :1. Is there any GUI application that will let me monitor display :1 in a window that sits on display ...
2
votes
1answer
2k views

Installing KVM on CentOS 6.4 without GUI (yet)

I've installed CentOS 6.4 from the 'minimal' iso, so it doesn't come with a GUI. Will this question's answer allow me to install KVM, or do I need to install KDE or X-server or something first?
2
votes
1answer
4k 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: ...
2
votes
2answers
257 views

What is “access control” with X Server?

What is an access control restriction with an X Server? There is the -ac option that "disable access control restrictions" with e.g. Xephyr. I saw some example using that option, but I have no idea ...
2
votes
2answers
1k views

How to close all apps before X-server goes down?

I'm using debian testing OS and openbox WM. Moreover, I start X-server via the .xinitrc file, which has the following content: xrdb /home/morfik/.Xresources exec ck-launch-session dbus-launch ...
2
votes
1answer
110 views

How to have X server on another graphics card which keeps refreshing when I'm working on my main display?

For presentations I want to use the external USB connected video adapter connected to the projector (especially as the standard VGA output in my laptop got damaged). My idea was to start a dedicated ...
2
votes
2answers
3k 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) = ...
2
votes
2answers
352 views

Simple LiveCD running only Xorg Server

I have a netbook without HDD, I think it could be useful for monitoring logs. Do someone know about a light LiveCD, running only a Xserver?
2
votes
1answer
47 views

What exactly happens when I type “startx” in the command line? [closed]

I would like to understand what happens when I type startx on a modern Linux* machine internally. Can anybody explain this process, step by step? * Debian GNU/Linux, if it cannot be generalized to ...
2
votes
0answers
116 views

Run multiple XServer instances on the same machine on different processor cores

If I have two separate graphics cards (for the sake of discussion, an NVIDIA Quadro K4000 and Quadro K6000), can I run two separate xserver sessions on two different processor cores, keeping the GPU ...
2
votes
0answers
69 views

Make mouse side buttons trigger virtual keys

I have a mouse with two side buttons. I've posted the output from xev and evtest for both buttons: xev EnterNotify event, serial 37, synthetic NO, window 0x4600001, root 0x306, subw 0x0, time ...
2
votes
1answer
58 views

what does Xserver access control mean

What meaning does Xserver access control have, when the Xserver is started with tcp disabled: /usr/bin/X11/X -nolisten tcp AFAIU, Xserver can be used to allow remote network connection. But, if it ...
2
votes
0answers
78 views

setting up nested X sessions with Xephyr properly (and securely)

I am trying to set up Xephyr properly and securely, so that I can run another (nested) instance of LXDE under a different user inside my primary LXDE session. I would like to use this nested session ...
2
votes
0answers
245 views

Startx Segmentation fault error after installing VirtualGuest Additions for Virtualbox

I have been using my backtrack version 5 on the Virtualbox for some time now but I had a resolution problem and after searching found out I better install VirtualGuest additions. However after ...
2
votes
0answers
184 views

So the design of client-server separation is not the bottleneck of X Window?

In the answer of this, it mentioned: People also hear that X uses the "network" and think this is going to be a performance bottleneck. "Network" here means local UNIX domain socket, which has ...