Tag Info

Hot answers tagged

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

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

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


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

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

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


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

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

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


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

You need to specify the display to connect to on the remote machine, e.g.: xeyes -display 192.168.0.104:0 In general, a display name is: hostname:displaynumber.screennumber hostname can be omitted for local connections, and .screennumber can be omitted to use the default screen.



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