Re: How to run a second X server at a different resolution
- From: Dances With Crows <danSPANceswitTRAPhcrows@xxxxxxxxx>
- Date: Tue, 28 Mar 2006 12:44:41 -0600
On Tue, 28 Mar 2006 18:13:43 GMT, larryalk staggered into the Black Sun
and said:
How can I load a second X server and a simple window manager in a
different resolution in display 0:1?
Question corrected so it says what you meant. One way is to make up a
new xorg.conf file with only the resolution you want defined, then do
"startx twm -- :1 -config /etc/X11/xorg.conf.otherresolution" .
KDE 3.4 1280x1024 resolution. This works great but dosemu is too
small. Most of my dos programs in dosemu _require_ an 80x25 xterm
window to load. This window is too small to easily read in 1280x1024
resolution but 800x600 is much better.
? Crank the font size up. xterm doesn't have a menu option for
changing the fonts on the fly, but you can use the -font option to
xterm. You'll have to play around with xfontsel to find a font you
like.
Although I can change the resolution (alt-ctl-keypad +/-) to 800x600
so the dosemu programs are happy and easy to read, this changes _all_
of my KDE virtual windows to 800x600 - a real PITA to switch and use.
Wait, what? Ctrl-Alt-KP+ changes the resolution. It doesn't change the
size of the KDE virtual desktops, or the size of the root window. Most
people *hate* the "panning" behavior this causes, but this is the way X
has done things for ages. Until XFree86 4.3, it wasn't even possible to
get X to behave any other way.
If you want to change the size of the root window, use "xrandr -s
800x600". This has *other* side effects that you may not like,
(windows > 800x600 will end up maximized when you do "xrandr -s
1280x1024", for example) but it's closer to the way Windows/MacOS handle
resolution changes.
Should I run xinit with parameters?
You could, but it'd be easier to run startx.
My startx _only_ runs KDE
So give it different arguments on the command line.
X :1 &
Nope. Use startx. If you start X itself, there won't be anything
running but X, which is very inconvenient.
In trying to get a second X running, I've munged the X system twice
requiring a hard reboot.
??! This shouldn't be happening. I had some weird things happen once
when running 2 X instances on a machine running the evil binary-only
nVidia modules, but that's it.
This is dangererous
No, just inconvenient. Getting shot at by idiots with AK-47s is
dangerous. Anyway, HTH,
--
Matt G|There is no Darkness in Eternity/But only Light too dim for us to see
Brainbench MVP for Linux Admin / mail: TRAP + SPAN don't belong
http://www.brainbench.com / "He is a rhythmic movement of the
-----------------------------/ penguins, is Tux." --MegaHAL
.
- Follow-Ups:
- Re: How to run a second X server at a different resolution
- From: Chris F.A. Johnson
- Re: How to run a second X server at a different resolution
- References:
- How to run a second X server at a different resolution
- From: larryalk
- How to run a second X server at a different resolution
- Prev by Date: Re: How to run a second X server at a different resolution
- Next by Date: Re: How to run a second X server at a different resolution
- Previous by thread: Re: How to run a second X server at a different resolution
- Next by thread: Re: How to run a second X server at a different resolution
- Index(es):
Relevant Pages
|