Tag Info

Hot answers tagged

8

There are two options I can recommend here: First, if you want to literally launch a full graphical browser and have it load a page with on a machine with no graphical capabilities, there is a tool called xvfb that will let you run a complete X server with no physical display associated with it. You then just need to run firefox with that X server set as ...


4

I don't have an X11 machine around so I can't verify this myself, but you might want to look at a program like xclip: xclip is a command line interface to the X11 clipboard. That won't exactly let you paste into your current tty, but it should at least print the contents of the clipboard to stdout. Then you can capture that into a file, or pipe it to a ...


4

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 DPI, given the screen resolution. If ...


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

A few notes from the GLX Wikipedia article: GLX [is] An extension of the X protocol, which allows the client (the OpenGL application) to send 3D rendering commands to the X server (the software responsible for the display). The client and server software may run on different computers. and If client and server are running on the same computer and ...


3

Depends on the Windows program, but generally, no. The reason those linux programs can throw up their display on a PC is because they are written for the X Window System, which completely separates the client from the display server. X has been ported to virtually every system out there, and is the defacto standard for grpahical programs on Unix/Linux ...


3

Run the following command to give userBname access to the display:xhost +SI:localuser:userBname You may use xhost + to give access to everybody; however this is insecure. Better is to give access on a per-user basis. The correct syntax for xhosts entries for local users is SI:localuser:username. Then su userBname, export DISPLAY=:0.0, and finally run your ...


2

You should be able to disable PrntScr on the console with a custom keymap. I'm using Archlinux and the procedure is described here: Configuring the Console Keymap (it should be similar for other distros). Now, at step 4, edit your personal.map: Switch to a tty, run showkey and press PrntScr to get the key code. On my system the output is: keycode 99 press ...


2

The ones used today is mainly from release X11R4. See below. That is: not only by name but also by definition. Looking at Wikipedias entry on X11 color names it states that they were defined by Bob Scheifler of MIT's Laboratory for Computer Science. As he lead out the birth of X back in 1984 that is probably correct – but the reference has no such claims. ...


2

Yes, you can, and depending on your distribution, it should work out of the box. At least with open source drivers. I dón't know if the closed source drivers will behave oddly, but they shouldn't. Yet, Xinerama is not what you want to do anymore. The Randr extension takes care of aranging monitors. You can use tools like arandr to align your screens using a ...


1

The way I'm doing this is (on Debian) for servers (i.e. a minimal X install) is via the 'xvfb' package, which is a "fake" virtual framebuffer X server for X.Org. It's also necessary to install the 'xauth' and 'xterm' packages. I'm pretty sure everything else installed is to satisfy dependencies of these. After doing that, running 'xterm' works through ssh ...


1

I think I have a technique for disabling the toggling of the Capslock key but not completely disabling the key all together, or remapping it to another key on the keyboard. If you use the command: setxkbmap -option caps:none The keyboard will no longer toggle. I've confirmed this on my laptop running Fedora 14, the LED no longer lights up, and normal ...


1

ps -ef|grep X will give you the info. For example, on my computer: user001 2721 2705 0 02:35 tty1 00:00:00 xinit /home/user001/.xinitrc -- /etc/X11/xinit/xserverrc :0 -auth /home/user001/.serverauth.2705 root 2722 2721 13 02:35 tty7 00:10:10 /usr/bin/X -nolisten tcp :0 -auth /home/user001/.serverauth.2705 user001 3475 3462 0 03:51 pts/0 ...


1

Take a look at this thread on Super User titled: How do I fix a “cannot open display” error when opening an X program after ssh'ing with X11 forwarding enabled? Given you're able to ssh using the first account you're ssh'ing in with your issue isn't with this: # /etc/ssh/sshd_config X11Forwarding yes It's likely that now that you've chroot'ed you no ...


1

Just use gksu -u desired username, enter the Password, and you should be ready to go. DISPLAY=:1.0 gksu [-u <user>] [options] <command> Alternatively you could use su and then set XDISPLAY to the right screen and finally start your desired application.



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