Re: How to run xterm in Xnest?



On Mon, 27 Mar 2006 20:18:45 +1100, Russell Shaw
<rjshawN_o@xxxxxxxxxxxxxxxxxxxxx> wrote:

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&

The above command in an xterm produces a blank screen with a border
on top and the following messages:
lba@linda ~ $ _XSERVTransSocketOpenCOTSServer: Unable to open socket
for inet6
_XSERVTransOpen: transport open failed for inet6/linda:1
_XSERVTransMakeAllCOTSServerListeners: failed to open listener for
inet6
Could not init font path element /usr/X11R6/lib/X11/fonts/CID/,
removing from list!


Now you can open xterm on it with:

xterm -display :1

There seems to be no way to issue the above command. No prompt in the
Xnest window and the command in the original Xterm does not return
because of the &.

xterm -display :1 in another xterm produces:

lba@linda ~ $ xterm -display :1
Xlib: connection to ":1.0" refused by server
Xlib: No protocol specified

xterm Xt error: Can't open display: :1
lba@linda ~ $



--
My real sig is much better.
.



Relevant Pages

  • 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: How to run xterm in Xnest?
    ... Xnest -geometry 800x600:1 ... results in a properly sized window but there is no way I can see to ... The window is just blank with a border on ... Now you can open xterm on it with: ...
    (comp.os.linux.x)
  • cant conect to xnest server - conection refused by server
    ... I tried to run the xnest server for the fun of it, ... I then try to open and xterm ... Xlib: connection to ":1.0" refused by server ...
    (Debian-User)
  • [opensuse] Xnest and 10.0 repository
    ... Xnest is badly broken in 10.0 and 10.1--- font problems, ... xterm not working, etc. ... The bugs are all reported, ... Can anyone confirm that the Xnest problems are fixed in the lastest xorg ...
    (SuSE)
  • Re: Enlarging the terminal window
    ... can issue "mode co80,43" at the command line and then invoke slrn. ... haven't found a way to do that in Ubuntu's shell window, ... xterm -geometry 80x43 ## Or rxvt, etc, instead of xterm ... To resize an open window: ...
    (comp.os.linux.misc)