Re: curious: Re: running another X from within X
On Fri, Jan 19, 2001 at 06:27:04PM -0800, kmself@ix.netcom.com wrote: :on Fri, Jan 19, 2001 at 01:59:56PM -0500, Jonathan D. Proulx ([EMAIL PROTECTED]) wrote: : :> The question didn't involve xapps over the network, but a lazyman's :> way to start a full xsession on the local machine from within a :> running xsession (for use with different display depth I belive) : :I've been ignoring this thread, but any mention xnest yet? Yup.
Re: curious: Re: running another X from within X
On Fri, Jan 19, 2001 at 06:27:04PM -0800, kmself@ix.netcom.com wrote: > on Fri, Jan 19, 2001 at 01:59:56PM -0500, Jonathan D. Proulx ([EMAIL > PROTECTED]) wrote: > > > The question didn't involve xapps over the network, but a lazyman's > > way to start a full xsession on the local machine from within a > > running xsession (for use with different display depth I belive) > > I've been ignoring this thread, but any mention xnest yet? > Yep. kent -- I'd really love ta wana help ya Flanders but... Homer Simpson
Re: curious: Re: running another X from within X
on Fri, Jan 19, 2001 at 01:59:56PM -0500, Jonathan D. Proulx ([EMAIL PROTECTED]) wrote: > The question didn't involve xapps over the network, but a lazyman's > way to start a full xsession on the local machine from within a > running xsession (for use with different display depth I belive) I've been ignoring this thread, but any mention xnest yet? -- Karsten M. Self http://kmself.home.netcom.com/ What part of "Gestalt" don't you understand? There is no K5 cabal http://gestalt-system.sourceforge.net/ http://www.kuro5hin.org pgpDg7Clt3hKd.pgp Description: PGP signature
Re: curious: Re: running another X from within X
On Fri, Jan 19, 2001 at 01:37:06PM -0500, D-Man wrote: :On Thu, Jan 18, 2001 at 09:43:07PM -0500, Jonathan D. Proulx wrote: :[snip] :| edit /etc/X11/Xserver, the file: :Don't open up your X server, just enable X forwarding over the ssh :tunnel. Then you can simply ssh in, then run any X apps. : :man ssh :man sshd : :If these don't give you enough info, ask here. The question didn't involve xapps over the network, but a lazyman's way to start a full xsession on the local machine from within a running xsession (for use with different display depth I belive) Not opening the Xserver is a good idea if you have any decent network connectivity, but ssh won't help. Switching to a text tty, and "startx -- :1 -bpp 16" is "the right thing" -Jon
Re: curious: Re: running another X from within X
On Thu, Jan 18, 2001 at 09:43:07PM -0500, Jonathan D. Proulx wrote: [snip] | edit /etc/X11/Xserver, the file: | | --- | /usr/bin/X11/XFree86 | Console | | The first line in this file is the full pathname of the default X | server. | The second line shows who is allowed to run the X server: | RootOnly | Console (anyone whose controlling tty is on the console) | Anybody | --- | | Switch console to Anybody, but be aware that this means you can ssh in | (you don't have telnet running do you!) and startx for what ever | that's worth security wise... Don't open up your X server, just enable X forwarding over the ssh tunnel. Then you can simply ssh in, then run any X apps. man ssh man sshd If these don't give you enough info, ask here. -D
Re: curious: Re: running another X from within X
On Wed, Jan 17, 2001 at 09:58:42AM -0600, Dave Sherohman wrote: :On Wed, Jan 17, 2001 at 06:05:14AM -0800, Xucaen wrote: :> is there a practicle reason for doing this? What :> is the purpose? : :I'm not the original requester and I assume that he has a different/better :reason but... : :I normally run X in at least 24 bpp (32 if the video card can do it at my :preferred resolution). Some of Loki's games will only run in 16 bpp. :I'll occasionally run dual Xen so I can play those games without having to :shut down wdm first. edit /etc/X11/Xserver, the file: --- /usr/bin/X11/XFree86 Console The first line in this file is the full pathname of the default X server. The second line shows who is allowed to run the X server: RootOnly Console (anyone whose controlling tty is on the console) Anybody --- Switch console to Anybody, but be aware that this means you can ssh in (you don't have telnet running do you!) and startx for what ever that's worth security wise... I don't know if this is XF86-4.0 specific or not as I discovered it after my upgrade, 3.3.x may have something similar elsewhere, but I'm not sure. Seems to be there on my 3.3.x machine, but that's actively running Xi Graphics Xserver (for quad headed support), not XFree86, so I don't have a clean test environment to fully verify this -Jon
Re: curious: Re: running another X from within X
Xucaen wrote: > > Hi all, curious here, > is there a practicle reason for doing this? What > is the purpose? > > xucaen > I am using win4lin to run mswindows applications (in fact, mswindows itself) from within linux. You can run the mswindows session in a window in X, or you can start a new X session and run the mswindows session full screen within it. There is a script called "win" that does the former, and a script called "fwin" that does the latter. However, in order for "fwin" to work, you have to drop down to a console and run it. I would like to have an icon that will run "fwin" from within X, transporting the user to the new X session. "fwin" uses xinit to initiate the new session and that's what is giving me the following error: X: user not authorized to run the X server, aborting. xinit: unexpected signal 2 > > --- "David B. Harris" <[EMAIL PROTECTED]> > wrote: > > The first X session's display is :0 . You have > > to tell 'startx' to start > > a new X session, on a display other that :0. > > For instance, > > > > startx -- :1 > > > > Would start a second X session, accessible by > > CTRL+ALT+F8. You can also > > embed an X session in a window; 'man Xnest' for > > more info. > >
Re: curious: Re: running another X from within X
On Wed, Jan 17, 2001 at 06:05:14AM -0800, Xucaen wrote: > is there a practicle reason for doing this? What > is the purpose? I'm not the original requester and I assume that he has a different/better reason but... I normally run X in at least 24 bpp (32 if the video card can do it at my preferred resolution). Some of Loki's games will only run in 16 bpp. I'll occasionally run dual Xen so I can play those games without having to shut down wdm first. -- SGI products are used to create the 'Bugs' that entertain us in theatres and at home. - SGI job posting Geek Code 3.1: GCS d? s+: a- C++ UL++$ P++>+++ L+++> E- W--(++) N+ o+ !K w---$ O M- V? PS+ PE Y+ PGP t 5++ X+ R++ tv b+ DI D G e* h+ r y+
Re: curious: Re: running another X from within X
> > --- "David B. Harris" <[EMAIL PROTECTED]> > wrote: > > The first X session's display is :0 . You have > > to tell 'startx' to start > > a new X session, on a display other that :0. > > For instance, > > > > startx -- :1 > > > > Would start a second X session, accessible by > > CTRL+ALT+F8. You can also > > embed an X session in a window; 'man Xnest' for > > more info. > > But you can do it as a diffrent user ? Cliff
curious: Re: running another X from within X
--- "David B. Harris" <[EMAIL PROTECTED]> wrote: > The first X session's display is :0 . You have > to tell 'startx' to start > a new X session, on a display other that :0. > For instance, > > startx -- :1 > > Would start a second X session, accessible by > CTRL+ALT+F8. You can also > embed an X session in a window; 'man Xnest' for > more info. > Hi all, curious here, is there a practicle reason for doing this? What is the purpose? xucaen __ Do You Yahoo!? Get email at your own domain with Yahoo! Mail. http://personal.mail.yahoo.com/
Re: running another X from within X
On Tue, Jan 16, 2001 at 05:55:40PM -0500, Brian Stults wrote: :Is it possible from within X to start another session of X on a diffent :console? I know I can just Ctrl-Alt-F2, login, and then startx. Then I :could toggle between Ctrl-Alt-F7 and Ctrl-Alt-F8. However, I would like :to accomplish the same thing without dropping down to a console. When I :try to do this from an xterm, I get a message about not being authorized :to run the X server. Root, however, can do it. Any suggestions? Xnest is useful for testing some config stuff, as are the virtual desktops most window managers have for getting more realestate. If you really want to start a full xsession though, you'll need to edit /etc/X11/Xserver, the file: --- /usr/bin/X11/XFree86 Console The first line in this file is the full pathname of the default X server. The second line shows who is allowed to run the X server: RootOnly Console (anyone whose controlling tty is on the console) Anybody --- I don't know if this is XF86-4.0 specific or not as I discovered it after my upgrade, 3.3.x may have something similar elsewhere, but I'm not sure. -Jon
Re: running another X from within X
To quote Warren Turkal <[EMAIL PROTECTED]>, # I believe that he is having the same probs that I have. Normal user can't # startx, but root can. Is there a group they need to be a part of? What's the exact error? David Barclay Harris, Clan Barclay Aut agere, aut mori. (Either action, or death.)
Re: running another X from within X
Jeremy wrote: > > >Is it possible from within X to start another session of X on a diffent > >console? I know I can just Ctrl-Alt-F2, login, and then startx. Then I > >could toggle between Ctrl-Alt-F7 and Ctrl-Alt-F8. However, I would like > >to accomplish the same thing without dropping down to a console. When I > >try to do this from an xterm, I get a message about not being authorized > >to run the X server. Root, however, can do it. Any suggestions? > > > >Thanks, > >Brian > > I've found 2 different things that work. One is by running Xnest. (perhaps > I'm not doing it right, but I seem to have to start up the window manager > seperately when I do that) That allows you to start a new X session in a > window within your current one. "man Xnest" for details. > > My other method is that I have startx aliased to "startx -- :1" for my root > account, so if I need a root X session, I can just pop open an xterm, su to > root, type startx, and it automatically starts a new X session in the next > display (F8) I then can switch between the two like normal (Ctrl+Alt+Fn), > and when I exit it, it automatically drops me back to my other X display. I > find this to work the best, buf if you need both X sessions on the screen at > the same time, use Xnest. > > HTH, > Jeremy you can also use vnc - start as many vnc servers as you want and use vnc viewers (on the same machine or other machines) to view them. it's even packaged for debian (you nedd vncserver and xvncviewer, there's also viewer for svga). erik
Re: running another X from within X
>Is it possible from within X to start another session of X on a diffent >console? I know I can just Ctrl-Alt-F2, login, and then startx. Then I >could toggle between Ctrl-Alt-F7 and Ctrl-Alt-F8. However, I would like >to accomplish the same thing without dropping down to a console. When I >try to do this from an xterm, I get a message about not being authorized >to run the X server. Root, however, can do it. Any suggestions? > >Thanks, >Brian I've found 2 different things that work. One is by running Xnest. (perhaps I'm not doing it right, but I seem to have to start up the window manager seperately when I do that) That allows you to start a new X session in a window within your current one. "man Xnest" for details. My other method is that I have startx aliased to "startx -- :1" for my root account, so if I need a root X session, I can just pop open an xterm, su to root, type startx, and it automatically starts a new X session in the next display (F8) I then can switch between the two like normal (Ctrl+Alt+Fn), and when I exit it, it automatically drops me back to my other X display. I find this to work the best, buf if you need both X sessions on the screen at the same time, use Xnest. HTH, Jeremy
Re: running another X from within X
On Tuesday 16 January 2001 17:33, David B. Harris wrote: > To quote Brian Stults <[EMAIL PROTECTED]>, > # Is it possible from within X to start another session of X on a > diffent > # console? I know I can just Ctrl-Alt-F2, login, and then startx. Then > I > # could toggle between Ctrl-Alt-F7 and Ctrl-Alt-F8. However, I would > like > # to accomplish the same thing without dropping down to a console. When > I > # try to do this from an xterm, I get a message about not being > authorized > # to run the X server. Root, however, can do it. Any suggestions? > > The first X session's display is :0 . You have to tell 'startx' to start > a new X session, on a display other that :0. For instance, > > startx -- :1 > > Would start a second X session, accessible by CTRL+ALT+F8. You can also > embed an X session in a window; 'man Xnest' for more info. > > David Barclay Harris, Clan Barclay > Aut agere, aut mori. (Either action, or death.) I believe that he is having the same probs that I have. Normal user can't startx, but root can. Is there a group they need to be a part of? --Warren
Re: running another X from within X
To quote Brian Stults <[EMAIL PROTECTED]>, # Is it possible from within X to start another session of X on a diffent # console? I know I can just Ctrl-Alt-F2, login, and then startx. Then I # could toggle between Ctrl-Alt-F7 and Ctrl-Alt-F8. However, I would like # to accomplish the same thing without dropping down to a console. When I # try to do this from an xterm, I get a message about not being authorized # to run the X server. Root, however, can do it. Any suggestions? The first X session's display is :0 . You have to tell 'startx' to start a new X session, on a display other that :0. For instance, startx -- :1 Would start a second X session, accessible by CTRL+ALT+F8. You can also embed an X session in a window; 'man Xnest' for more info. David Barclay Harris, Clan Barclay Aut agere, aut mori. (Either action, or death.)
running another X from within X
Is it possible from within X to start another session of X on a diffent console? I know I can just Ctrl-Alt-F2, login, and then startx. Then I could toggle between Ctrl-Alt-F7 and Ctrl-Alt-F8. However, I would like to accomplish the same thing without dropping down to a console. When I try to do this from an xterm, I get a message about not being authorized to run the X server. Root, however, can do it. Any suggestions? Thanks, Brian -- Brian J. Stults Doctoral Candidate Department of Sociology University at Albany - SUNY Phone: (518) 442-4652 Fax: (518) 442-4936 Web: http://www.albany.edu/~bs7452