Tag Info

Hot answers tagged

38

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


14

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


7

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

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.


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

You're looking for headless with X. It's little bit described on ArchWiki, there's shown a way how to do this. There's another alternative to run headless X11 compatible server: Xvfb(X virtual framebuffer). It's a display server that performs all graphical operations in memory without showing any screen output. startx is just front-end for xinit which ...


3

This kind of problems is usually handled by having two stand-alone binaries: the service daemon and the user interface that communicate over a UNIX domain socket (or a network socket in case they are not running on the same machine). A prime example would be OpenSSH - check how ssh-agent, ssh-add and ssh interact to get some idea how this can be done. ...


3

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


3

I have worked out this problem by the following steps. I am on Ubuntu 14.04. Download your specific Nviadia drivers from here. The driver name looks like NVIDIA-LINUX-X86_64-340.58.run. # service lightdm stop, Ctrl+Alt+F1 switch to tty1, excute the command to stop X server with root priviledge. # bash NVIDIA-LINUX-X86_64-340.58.run ...


3

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 would suggest having bash keep track of your previous bottom string and only update it once a minute (when seconds of the current time modulo 60 is equal to 0 in this code). while true; do (( 10#$(date +%s) % 60 )) || bottomdisp=$(date) xsetroot -name "$(topbar);$bottomdisp"; sleep 1; done & This syntax makes it easy to modify the ...


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

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


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

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


2

Here's the output from apt-cache search ltsp on raspbian (Debian Wheezy compiled for the armv6 raspberry pi): fts-ltsp-ldap - LDAP LTSP module for the TFTP/Fuse supplicant fts-opsi - LDAP LTSP module for the TFTP/Fuse supplicant ldm - LTSP display manager ldm-server - server components for LTSP display manager ldm-themes - Collection of themes for the LTSP ...


2

xhost +SI:localuser:lightdm allows the lightdm user to access the running X server. The current X server is indicated by the DISPLAY environment variable. The manpage has reasonably good explanations: [+]name The given name (the plus sign is optional) is added to the list allowed to connect to the X server. The name can be a host ...


2

I face the same issue. The magic trick is in the order of the keys. You have to: press and hold Ctrl press and release Shift release Ctrl If you release the Ctrl before Shift, or use any other order, you will face the issue. Pressing those keys together at the same time makes the order random. BTW. It doesn't depend on the WM at all. It seems to be ...


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

So after installing other things to fix the drivers the crash message went away and the fix ended up being adding Modes "1280x1024" to the SubSection in the Screen section in xorg.conf


1

I don't know if that works, but instead of using xrandr --output CRT1 --mode "1280x1024_60.00" you should try xrandr -d:0 --output CRT1 --mode "1280x1024_60.00"


1

An approach that's often convenient is to mount the files, and then access them like you would access ordinary local files. For a server that you access through FTP, you can use CurlFtpFS. mkdir theserver curlftpfs theserver.example.com theserver You'll need to pass the username and password to curlftpfs, either on the command line (which is unsafe as ...


1

If you are OK with running periodically a script, you can utilize wget -N, see: http://superuser.com/questions/283481/how-do-i-properly-set-wget-to-download-only-new-files You can create a script like: cd /var/download_here/ wget -N ftp://example.com/new.txt --ftp-user="my_user" --ftp-password="my_password" And add crontab entry like: */5 * * * * ...


1

The tool you are looking for is 'xrandr'. Running xrandr without parameters gives you the list of known outputs, attached devices, available resolutions (including preferred ones and used ones). For example, to deactivate an output, run xrandr --output NAME-OF-OUTPUT --off To set an output to on and its preferred resolution, run xrandr --output ...


1

X resources are a way to configure X11 clients that use a toolkit that makes use of them (mostly classical toolkits such as the X toolkit, Motif, etc., excluding modern toolkits such as Gtk and Qt). Although they are loaded into the server, the server just serves as a store, it doesn't parse resources; that's up to each application. No server settings are ...


1

Ensure you have the .xinitrc file in the user home directory. It seems you have the .xinitrc in the root directory and not the users home directory. to verify this run ls -la in the user home directory. If you see a .xinitrc file inspect it using a text editor to see if it has the required content.


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 too faced similar issue in angstrom distribution and found that xkbcomp program is missing. Installing it had fixed the issue. Try installing the xkbcomp program using the package manager (zypper) of OpenSuse. Reference for zypper: http://stackoverflow.com/questions/7158838/how-to-install-packages-from-command-line-on-suse



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