Tag Info

Hot answers tagged

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


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


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

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

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

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


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

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

.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

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

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

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

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.


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

Yes you can install all these package groups, even without having a GUI. Virtualization Virtualization Client Virtualization Platform Virtualization Tools virt-manager Remember that you can ssh into the KVM host and remote display any GUIs such as virt-manager if needed. Also with the libvirtd service running you can run virt-manager from other hosts ...


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


2

I'm not sure I understand what you're trying to do. If you want to start a logged-in graphical environment automatically, don't start a text session, log in directly in graphic mode, with an X display manager. For example, you can use LightDM, for which the Arch wiki has all the information you need: Make sure that there is a line like this in your ...


2

For every VM, that is properly configured, qemu-kvm starts a VNC or spice listener. The port and security are defined in the libvirt VM definition file (virsh edit VMNAME will give you access to that) Once the VM is running, you can access the VM console directly using a VNC or SPICE client, no need to jump through hoops with X redirection


2

I'm not 100% sure but I found this on this on the SteelSeries website in one of their FAQs: Q: Where can I get World of Warcraft MMO drivers for the Linux platforms. A: Unfortunately we do not have any plans to develop proprietary Linux drivers anytime soon for the WoW Mouse, but we would happily assist any community-driven efforts to develop ...


2

Have a look at /etc/X11/xinit/xinitrc (this may be different places on different systems) to see what files it sources. Generally, this will have an if..elif..else structure, so that only one initialization file is read, with $HOME/.Xclients prioritized then /etc/X11/xinit/Xclients. That's almost certainly where the terminal that appears comes from (I am ...


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

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



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