Re: How to run xterm in Xnest?



larryalk wrote:
I am using Xnext to open a window with 800x600 resolution in my normal
1280x1024 KDE 3.4 under Slackware 10.2.

Running Xnest -geometry 800x600 :1
results in a properly sized window but there is no way I can see to
run an xterm (or kterm). The window is just blank with a border on
top.

The problem with using ctl-alt-keypad +/-
is that _all_ windows in X change to the selected resolution which
makes switching between between my virtual terminals (all 6 of them)
inconvenient. Hence Xnest.

Looking at the documentation for Xnest in Slack
file://localhost/usr/X11R6/lib/X11/doc/html/Xnest.1.html
there is no mention of running other programs and no command line
options.

How can I invoke Xnest to run another program?

What you can do is start Xnest to act as display 0.1:

Xnest :1&

Now you can open xterm on it with:

xterm -display :1
.



Relevant Pages

  • Re: How to run xterm in Xnest?
    ... Xnest -geometry 800x600:1 ... The window is just blank with a border on ... The above command in an xterm produces a blank screen with a border ...
    (comp.os.linux.x)
  • Re: displaying console in a x application
    ... > The final point is that I will have something like a xterm window floating ... > around on my screen (as in a screensaver) while running some text-based ... window around the screen. ... Maybe it would be easier to use Xnest. ...
    (comp.os.linux.development.apps)
  • Re: Override the SubstructureRedirect by the Window Manager
    ... Thanks for the info - did not know about Xnest - really what I needed ... (I am new to X Window programming). ... I need to send some keyboard events to it ... practically replacing the window manager. ...
    (comp.os.linux.x)
  • Re: Newbie: specify XDMCP screen size
    ... or get a Real Newsreader. ... Only one window manager can be running on an X screen ... Xnest is slower than regular X, ... which can be useful if you have ancient X clients that require ...
    (comp.os.linux.x)
  • Re: Override the SubstructureRedirect by the Window Manager
    ... window, practically replacing the window manager. ... Start Xnest, run whatever WM or WM-substitute you need ...
    (comp.os.linux.x)