Tag Info

Hot answers tagged

36

I think you've already noticed that some sort of "server" is needed. Each client (desktop environment, window manager, or windowed program) needs to share the display with all of the others, and they need to be able to display things without knowing the details of the hardware, or knowing who else is using the display. So the X11 server provides the layer ...


13

A window system does not have to have a server, but you can decide to implement window system based on a client-server model. Doing so has several advantages as you clearly separate the activities in the client and the server, they don't need to run on the same machine and it is more easy to service multiple clients. That is currently still very handy (e.g. ...


6

A windowing system means that several independent programs share a common resource, the screen and input devices. Shared resources can only safely be implemented in two ways: The resource may be controlled by the kernel, and applications make kernel calls to access it. The resource may be controlled by a dedicated process (server), and applications contact ...


4

Method #1 - Using xwd You could just use the command line tool xwd to grab the X displays like so: $ xwd -display :1 -root -out 1.xwd You could loop through 1 to 4 like so: $ for i in {1..4};do xwd -display :$i -root $i.xwd; done NOTE: The resulting .xwd files are a special type of X Windows dump file. $ file 1.xwd 1.xwd: XWD X Window Dump image ...


4

However, I would love to know why ~/.Xauthority needs not to be owned by the root account in order to get past login with a regular user (in other words: why is that the reason for the login failure) Because X wants to write/replace that file when it starts your session. If you do not have write permissions on it, then it can't do that. do you have ...


4

Besides InputClass there also exists a section called InputDevice which takes nearly the exact same options as InputClass. Of course you cannot use the Match* operators but have to give the device's path explicitly: Section "InputDevice" Identifier "touchpad" Driver "synaptics"   Option "Device" "/dev/input/event<X>" Option ...


4

There are a few ways to output the user ID (UID) with ps; a simple one is with -f: ps -fC X Will give you information for all the X servers that are running (there can be more than one). This presumes that the executable is called X -- if there's no such process, you will have to target something else. Since it almost certainly at least has capital X in ...


4

Try xpra. This is similar to ssh -X, except it is faster and you can disconnect and re-connect to the session as many times as you like.


3

This should do it: $ sudo apt-get install --no-install-recommends xserver-xorg-core \ xserver-xorg-input-all xserver-xorg-video-fbdev \ xserver-xorg-video-(yourcard, can be intel, nouveau, or ati)


3

.Xauthority is actually a security feature of X, the graphical system. It part of what prevents unauthorized access to your graphical session(s), key loggers or tracking mouse clicks for example. Security is a broad topic, and .Xauthority is one part of security mind you and covers local access, not necessarily tracking of mouse clicks by web sites ;) ...


2

I know of 2 ways to do this when the system is remote, so given the 2nd X server is locally running on your system (:1) should really make no difference. Method #1 - VNC You could setup VNC on the 2nd X server and then run vncviewer :1 from the 1st X desktop. Method #2 - XDMCP If you want to remote display an entire desktop from one system to another ...


2

The issue isn't at the X level - even the USB mouse spec only allows for left-right-scrollwheel. The Catclysm gaming mouse has usb interfaces for both a mouse and a keyboard - you basically need to telling the mouse which buttons you want matched to which keystroke(s). The only officially supported way is to run a Windows virtual machine, upload use the ...


2

Support for the Record extension was added to Xsun in Solaris 7 11/99 as part of the upgrade from X11R6.0 to X11R6.4 - it wasn't available in prior versions of Solaris 7 (though once 11/99 was released, you could apply the patches to add it to Xsun). As jlliagre said above, the xdpyinfo command should list the available extensions, as well as the X server ...


2

Pipe the output (and STDERR) to /dev/null: startx ./run.sh >/dev/null 2>&1


2

It's often the case that in Unix you can chain commands together, and often times many commands are built specifically so that they'll work with the output generated by other commands. Luckily you can take the output of xlsclients and parse it down so that it's just the name of the command. You can then pass this info to the ps command to get the output ...


2

If you're running a X server, you will utilize graphics hardware, as X needs at least some video memory to display anything. In the machines with integrated Intel GPUs, I think (from how it works on desktop systems) it will use some memory of the system. But usually, you don't need to run X on a server except maybe for initial configuration. The graphics ...


2

The systemd developers are pretty against allowing nspawn to access real hardware as this quote from Poettering says: Well, the way we see it containers are really about getting access to virtualized environments only, i.e. /dev should be mostly empty (modulo /dev/null, /dev/random and friends), and the container really never should get access to ...


2

X was originally, developed and maintained by M.I.T. And, it was with an open source M.I.T license, not that, that really, matters. While seen as uncoventional, consider for a moment; how you would explain a choice to use a client-server paradigm in a piece of software? And, perhaps I should say to a C.E.O... Here's how I learned to appreciate the ...


1

Client-server models are a popular design for all sorts of applications, even when there's only one server and only one client. They allow a clean, well-defined interface between domains of responsibility. While there are many ways a server and client could communicate, the choice made by X (regardless of the advantages mentioned by others) is not ...


1

Execute these commands in a terminal, in this order. Step 4 adds the Xorg Developers PPA. Once completed, tell me if step 7 installs the same version you downloaded. Step 3 removes the offending module that is still loaded. Step 5 removes the need for nomodeset on your kernel command line, so please remove whatever edit you made to /etc/default/grub ...


1

I understand the problem in the question as follows: You are on a text console tty, so there is no X running on the tty where you are running the screenshot command. You can run command line screenshot commands for the X displays. You have specified the X displays for the screenshot commands, like in DISPLAY=:2 scrot out.png. The screen shot command does ...


1

Do not use this option if your X server is accessible from the open internet. It makes it possible for anyone to watch what goes on in your X session. I suppose it's useful if you have an intranet and you want to pop up windows across machines without bothering with authentication.


1

I think I finally have found the cause of this problem. It looks like there's a problem with nvidia drivers and xorg. I tried to install a fresh system only from the main repository, and I checked if the Segmentation fault will appear in the log file -- it didn't. So, I installed then nvidia drivers, and the problem came back. I think most of the errors ...


1

I've found the answer. It's simple, you just have to add chvt 4 to /etc/rc.local file, and that's it.


1

I know how shift selection works...It's not possible to yank the entire contents of a file (including what is off screen) to the clipboard using that method. Dunno if it will work via X forwarding into windows, but try the * register for that. Go to the top, in normal (not --INSERT--) mode, "*10000yy (yank 10000 lines into register *). Register * is ...


1

If anyone stumbles upon this question nowadays reason might be debian bug:#755050, which can be worked around by (see debian bugtracker for details): dconf write /org/gnome/settings-daemon/plugins/cursor/active false



Only top voted, non community-wiki answers of a minimum length are eligible