[techtalk] X emulator for X?

Nils Philippsen nils at wombat.dialup.fht-esslingen.de
Mon Dec 27 12:46:41 EST 1999

On Mon, 27 Dec 1999, Sunnanvind wrote:

> I know that the topic sounds wierd, but here's what I really meant:
> Some programs will only run in for example 604x480x8bpp. My screen works best
> in 1024x768x16bpp (it's a tft-screen), so is there a way to trick programs and
> make them run in a window, while believing that they run in full screen in
> their preffered resolution/color depth?
> I got Grim Fandango running (with very good speed and sound) with wine; but it
> only used the top left 640x480 pixels, and left the unused pixels blinking
> wildly. I would rather have it in a window, like quake.x11 does.

You can start Xnest as an additional X server inside your X session,
unfortunately you can only specify its geometry but not the color depth
with XFree86 (I hope this changes with XF86-4.0):

Xnest -geometry 640x480 :1
export DISPLAY=:1
program_you_want_to_run_in_640x480 &

> Any other workarounds/solutions, like having a virtual extra screen that I can
> switch to?

You can easily run a second X server from a virtual console, but you can't
specify a resolution for it (you have to configure /etc/X11/XF86Config to
e.g. run 640x480 with 8bpp):

Xwrapper -bpp 8 :1
# if you want, run a windowmanager:
fvwm2 &
program_you_want_to_run_in_8bpp &

Hope this helps,
 Nils Philippsen / Berliner Straße 39 / D-71229 Leonberg // +49.7152.209647
nils at wombat.dialup.fht-esslingen.de / nils at fht-esslingen.de / nils at redhat.de
   The use of COBOL cripples the mind; its teaching should, therefore, be
   regarded as a criminal offence.                  -- Edsger W. Dijkstra

techtalk at linuxchix.org   http://www.linuxchix.org

More information about the Techtalk mailing list