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 ...


24

If you want the X connection forwarded over SSH, you need to enable it on both the server side and the client side. (Depending on the distribution, it may be enabled or disabled by default.) On the server side, make sure that you have X11Forwarding yes in /etc/sshd_config (or /etc/ssh/sshd_config or wherever the configuration file is). On the client side, ...


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. ...


12

Linux graphics support has been a heavily mutating thing for most of the life of the kernel. Initially, the kernel only talked to the graphics card for text mode purposes. Back then, X used its drivers to do everything, so it worked as a huge kernel-outside-the-kernel. Later, with Direct Rendering Infrastructure (DRI), some of the code for accelerated ...


8

The display is the first argument to Xorg. You can ps then grep Xorg out. [braga@coleman teste_geom]$ ps aux | grep Xorg root 1584 5.3 1.0 156628 41708 tty1 Rs+ Jul22 22:56 /usr/bin/Xorg :0 -background none -verbose -auth /var/run/gdm/auth-for-gdm-a3kSKB/database -nolisten tcp vt1 braga 9110 0.0 0.0 109104 804 pts/1 S+ 00:26 0:00 ...


7

Xubuntu uses upstart, so you should use sudo service gdm stop or sudo service lightdm stop depending if you are using Ubuntu 11.04 (or prior) or Ubuntu 11.10.


6

How does X-server calculate DPI? The DPI of the X server is determined in the following manner: The -dpi command line option has highest priority. If this is not used, the DisplaySize setting in the X config file is used to derive the DPI, given the screen resolution. If no DisplaySize is given, the monitor size values from DDC are used to derive the ...


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 ...


5

Cygwin X Faq states that they use getdtablesize : Cygwin/X queries getdtablesize() for the maximum number of client connections allowed; by default Cygwin returns 32 from getdtablesize(). Cygwin/X Server Test Series release Test44, released on 2001-08-15, changed the maximum number of clients from 32 to 1024 by passing the square of ...


5

I admittedly know nothing about CentOS, but usually F1 through F6 are reserved for TTYs; X sessions don't start until F7. Hitting Ctrl+Alt+F7 should get you back to the first X session


4

Your rc.conf is not properly configured; the elipses (...) in the wiki are illustrative only. The rc.conf file is a shell script and arrays shouldn't contain those dots. Using that method is the deprecated way of loading modules. If you wish to continue to list them in this file, then you should use this format: MODULES=(wl lib80211 nvidia-bl) The correct ...


4

Take a look at this similar question over at superuser. Something like "xdotool key Home" End + Up in the .xbindkeysrc file should suffice. If you really want to try to use xmodmap, a start would be to map either the End key or the Up key to a modifier key in .Xmodmap. For example, you could grab your two keys with xev and map the End key to ...


4

One way to do it is by adding a file called 10-synaptics.conf in the directory /etc/X11/xorg.conf.d (create the directory if it does not exist). In this file you can put something like Section "InputClass" Identifier "touchpad catchall" Driver "synaptics" MatchIsTouchpad "on" MatchDevicePath "/dev/input/event*" Option "MaxTapTime" ...


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

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.


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

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 ...


3

The closest thing you can get to that, as far as I know, is using rdesktop. You need a server-side application to get seamless mode applications though. (Plain RDP session doesn't require anything on the Windows host.)


3

As far as I know, starting with version 1.7, xorg defaults to 96 dpi. It doesn't calculate anything unless you specify DisplaySize via Xorg config files. Also, don't rely on xdpyinfo output. My laptop runs on Intel SandyBridge. Excerpt from my Xorg.0.log on a fresh Archlinux install: (==) intel(0): DPI set to (96, 96) running xdpyinfo | grep -E ...


3

Turns out I've been using the "generic" RPMs hoping it would just work, but it doesn't. "totaam" from winswitch chat helped me realize that, and turned me to the correct RPMs for my distribution. It now works fine.


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 ;) ...


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)


2

x11vnc -auth $XAUTHORITY starts a VNC server where you authenticate with an X cookie. A cookie is a byte sequence that is randomly generated when the X server starts and which (under most setups nowadays) any application that wants to connect to the X server must provide. The cookie is typically stored in a file called ~/.Xauthority or indicated by 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

You seem to be affected by a bug in the i915 driver on the 852GM chip family. There are patches available, but it seems that they may cause other bugs on some chips. A workaround that works for some people is to suspend and resume. Freedesktop bug #29413: [855GM bisected] Mouse cursor invisible since kernel 2.6.35 Debian bug #619019: ...


2

I don't know what the guys over at Cygwin/X are doing to make this fail. And I don't know why I cannot find any help or even mention of similar trouble anywhere in this galaxy that is within the reach of Google. I believe I am not the only one using the software, so the lack of help puzzles me. But let me provide a solution to my own question; I discovered ...


2

It turns out that x displays blank the screen and stop redrawing once their tty loses focus, with the intention of conserving CPU time and RAM. It doesn't look like there is a way to disable this functionality. Xvfb, 'X Virtual Framebuffer' is a special implementation that does not feature this behavior as part of it's design and purpose. Instead of ...


2

Looks like scrot is able to do it, tested with: xinit thunar -- :128 DISPLAY=:128 scrot gave me a correct screenshot. (but unfortunately, scrot has been unmaintained for quite a while)


2

Video streaming is data-heavy, which is why recorded videos are encoded and compressed to begin with. If you have a low-latency (relatively) high bandwidth LAN between the Pi and the laptop it is possible, but your main problem will be with the sound. If you ssh into the laptop from the Pi using something along the lines of ssh -nq laptop "xine moviefile" ...



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