On Thu, 23 Sep 2004, stuporglue wrote:

> I have to use this simple computer simulator "lc3" for CS 124. I have
> it running, but it insists on taking up the whole screen. I'm pretty
> sure it just goes for whatever it thinks the screen size is so I'm
> wondering what I can do.

I use fvwm, (which stands for One True Window Manager), and it can treat
different applications differently, which I presume would include window
resizing.  I also have a menu I can pop up which will let me resize any
window, including ones which shut off resize handles.  I also have multiple
virtual screens with a nifty pager that lets me move windows graphically to
other screens.


> When I try to start an xterm in Xnest however, I get this
> 
> %xterm -display :1
> Xlib: connection to ":1.0" refused by server
> Xlib: No protocol specified
> 
> Error: Can't open display: :1
> 
> Any ideas in either making lc3 run at the size I want (800x600 - my
> screen is 1024x800), or in making Xnest work, or annother solution
> would be appreciated.

I don't know anything about Xnest, but in general you can start a second copy 
of X from a virtual console:

Hit control-alt-F2 from X to switch to a VT.  Login.
Run "startx -- :1"
X should load.  Hitting control-alt-F7 should take you to your first X 
session.  F8 should be the second. 

That's handy when somebody else is logged in and has the screen locked; switch
to a VT, login as yourself and start a second session.

If you have root, you can also edit your xdm (kdm, gdm, etc.) configuration to
start more than one copy of X.  That way you'll get a normal graphical login
screen on F7 as well as F8, etc.  Usually it just takes finding the file with
a ":0" on a line by itself and adding another line below it with ":1".

                                        -J


____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to