Re: Multiple X sessions

2000-01-06 Thread Gustav Schaffter

Darian,

Did you look at the right place? I'm in tty6 and run the command. I have
to look for the X session in tty8. Not very beautiful, but it works.

What I'd *really* like would be to find X running in tty7 and tty8 after
a boot.

Regards
Gustav

Darian wrote:
> 
> > On Sat, 1 Jan 2000, Gustav Schaffter wrote:
> > >
> > > > I'd like to run X as myself on tty7 and run X as a different user in
> > > > for instance tty8.
> > >
> > > Run:
> > >
> > > startx -- :1
> > >
> > > where 1 can actually be any number other than whatever's already
> > > running. :) The following function may suffice for you, if placed in your
> > > .bashrc file.
> > >
> > > x ()
> > > {
> > > case $(tty|head --bytes 8|tail --bytes 3) in
> > > tty)
> > > startx -- :$(tty|head --bytes 11|tail --bytes 2)
> > > ;;
> > > pts)
> > > echo "You can't run this from inside X Windows!"
> > > ;;
> > > esac
> > > }
> 
> I must be doing something wrong because I cannot get multiple sessions running
> with the command up top there.  I startx normally then hit ctrl-alt-f2 to login
> again, then type startx -- :1 and my system locks up tight.  Any suggestions?
> Thanks!
> 
> --
> Darian

-- 
pgp = Pretty Good Privacy.

To get my public pgp key, send an e-mail to: [EMAIL PROTECTED]

Visit my web site at http://www.schaffter.com


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: Multiple X sessions

2000-01-05 Thread Darian

> On Sat, 1 Jan 2000, Gustav Schaffter wrote:
> > 
> > > I'd like to run X as myself on tty7 and run X as a different user in
> > > for instance tty8.
> > 
> > Run:
> > 
> > startx -- :1
> > 
> > where 1 can actually be any number other than whatever's already
> > running. :) The following function may suffice for you, if placed in your
> > .bashrc file.
> > 
> > x ()
> > {
> > case $(tty|head --bytes 8|tail --bytes 3) in
> > tty)
> > startx -- :$(tty|head --bytes 11|tail --bytes 2)
> > ;;
> > pts)
> > echo "You can't run this from inside X Windows!"
> > ;;
> > esac
> > }

I must be doing something wrong because I cannot get multiple sessions running
with the command up top there.  I startx normally then hit ctrl-alt-f2 to login
again, then type startx -- :1 and my system locks up tight.  Any suggestions? 
Thanks!

-- 
Darian

"AOL - So easy, no wonder people are idiots"


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: Multiple X sessions

2000-01-05 Thread Gustav Schaffter

Todd,

Works fine. Thanks.

Gustav


"Todd A. Jacobs" wrote:
> 
> On Sat, 1 Jan 2000, Gustav Schaffter wrote:
> 
> > I'd like to run X as myself on tty7 and run X as a different user in
> > for instance tty8.
> 
> Run:
> 
> startx -- :1
> 
> where 1 can actually be any number other than whatever's already
> running. :) The following function may suffice for you, if placed in your
> .bashrc file.
> 
> x ()
> {
> case $(tty|head --bytes 8|tail --bytes 3) in
> tty)
> startx -- :$(tty|head --bytes 11|tail --bytes 2)
> ;;
> pts)
> echo "You can't run this from inside X Windows!"
> ;;
> esac
> }

-- 
pgp = Pretty Good Privacy.

To get my public pgp key, send an e-mail to: [EMAIL PROTECTED]

Visit my web site at http://www.schaffter.com


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: Multiple X sessions

2000-01-04 Thread Todd A. Jacobs

On Sat, 1 Jan 2000, Gustav Schaffter wrote:

> I'd like to run X as myself on tty7 and run X as a different user in
> for instance tty8.

Run:

startx -- :1

where 1 can actually be any number other than whatever's already
running. :) The following function may suffice for you, if placed in your
.bashrc file.

x () 
{ 
case $(tty|head --bytes 8|tail --bytes 3) in 
tty)
startx -- :$(tty|head --bytes 11|tail --bytes 2)
;;
pts)
echo "You can't run this from inside X Windows!"
;;
esac
}

-- 
Todd A. Jacobs
Network Systems Engineer


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Re: Multiple X sessions

2000-01-01 Thread Glen Lee Edwards

On Sat, 1 Jan 2000, Gustav Schaffter wrote:

>Hi,
>
>Is there any way I can run multiple X sessions in one box.
>
>I'd like to run X as myself on tty7 

startx &

>and run X as a different user in for
>instance tty8.

startx -- :1.0 &

>Best regards

startx -- :2.0 &

Oops. Got carried away.  Y2K bug.

Glen

Glen Lee Edwards
[EMAIL PROTECTED]

::
:: "[EMAIL PROTECTED]" for general perl questions
::  [EMAIL PROTECTED]
::



-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.



Multiple X sessions

2000-01-01 Thread Gustav Schaffter

Hi,

Is there any way I can run multiple X sessions in one box.

I'd like to run X as myself on tty7 and run X as a different user in for
instance tty8.

Best regards
Gustav

-- 
pgp = Pretty Good Privacy.

To get my public pgp key, send an e-mail to: [EMAIL PROTECTED]

Visit my web site at http://www.schaffter.com


-- 
To unsubscribe: mail [EMAIL PROTECTED] with "unsubscribe"
as the Subject.