No subject


Mon Feb 7 10:29:41 EST 2005


answers imbedded, but unfortunately they were not written in LNL (the =
linux newbe language). Anyone care to translate?
Jon

Here is my original question:
The Mandrake 8.1 Reference Manual Chapter2.1(Users and Groups).
contains the following paragraph:
"Note that you can login several times with the same account on =
additional consoles and under x. Each session you open is independent =
from others, and it is even possible to have several x sessions opened =
concurrently."
My question is how to do this.=20
I may have several virtual consoles, but only the console selected with =
Alt-F7 permits me to use GUI. Any other virtual console selected by =
Alt-Fn (n=3D1 to 6) refuses any GUI based program. Only command line =
based apps are permitted.

Jon
*********************************************************
My question is how to turn X off, for example, to update to newer =
XFree86 versions so my Radeon works.
I haven't completed reading the 8.1 Ref. manual, but I didn't see any =
categories that looked likely to contain such information.
(I think this is on topic ... please let me know if it is not, I don't =
really understand X at all yet)

Adam

*********************************************************
I assume you're running X on display :0, corresponding to vc 7.  If
you start X on display :1, it will take the next *unused* vc (in this
case 8).

Joe
**********************************************
>My question is how to do this.=3D20

startx is one. I'm not sure it'll grab a free display number,=20
so that may have to be passed to it. I tend to my X terminal,=20
and the details fade...

>I may have several virtual consoles, but only the console selected with =
=3D
>Alt-F7 permits me to use GUI. Any other virtual console selected by =3D

The other X servers will be on subsequent virtual consoles.=20
Standard consoles opened with open(1) work similarly.=20

darren

****************************************

Adam Glauser oclug at lists.oclug.on.ca writes:

>My question is how to turn X off, for example, to update to=20
>newer XFree86 versions so my Radeon works.

Does it have to be turned off, though? It'll be less=20
confusing if you do, and doesn't hurt.=20

>I haven't completed reading the 8.1 Ref. manual, but I didn't see any =
categorie
>s that looked likely to contain such information.

'cause it's not responsible for the behaviour?=20

telinit 3

On most systems, it's run level three. I think SuSE uses 2,=20
ignoring that 2 historicaly was "multi-user, no network".=20

Once done, "telinit 5" will have init respawning X again.=20

>(I think this is on topic ... please let me know if it is not,=20
>I don't really understand X at all yet)

As do some that really should.  :-(

darren
***************************************************

>I assume you're running X on display :0, corresponding to vc 7.  If
>you start X on display :1, it will take the next *unused* vc (in this
>case 8).

I think the question was how to start X. AT the moment,=20
it's likely init doing that, eh? Knowing startx is one
way to start an X server is a start (:  for X  :).

darren
*******************************************

Well, Alt-F7 is for display :0, however you can open up different =
displays
by passing arguments to xinit or whatever you use to start up X. For
instance, to open an X that will show up on Alt-F7 you would use `xinit =
--
:1' then then you'd have two X servers running concurrently.

>>>--fja->

******************************
>Well, Alt-F7 is for display :0, however you can open up different =
displays
>by passing arguments to xinit or whatever you use to start up X.=20

To help avoid confusion, Alt-F7 is for whatever is on the=20
virutal consol tty7. A managed X server is usally found there,=20
because in inittab, there is usually:

# Run gettys in standard runlevels
1:2345:respawn:/sbin/mingetty tty1
2:2345:respawn:/sbin/mingetty tty2
3:2345:respawn:/sbin/mingetty tty3
4:2345:respawn:/sbin/mingetty tty4
5:2345:respawn:/sbin/mingetty tty5
6:2345:respawn:/sbin/mingetty tty6

Which makes for the first six being occupied.=20

>For
>instance, to open an X that will show up on Alt-F7 you would use `xinit =
--
>:1' then then you'd have two X servers running concurrently.

What's that supposed to mean? It won't "show up on Alt-F7"=20
if something else is alredy using that resource. If there=20
is display :0 there (the one already running), for example.

The :1 in you example has no bearing on which tty gets=20
used, though it does imply it will listen on port 6001.

darren
*****************************************


------=_NextPart_000_0192_01C1A77A.08118860
Content-Type: text/html;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.2614.3500" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2>I repeat my original querry and add =
some excerpts=20
from some of the responses to this question. But first some of my own=20
observations.</FONT></DIV>
<DIV>I am logged in as 'root'. Alt-F1 switches me into login for virtual =
console=20
1. I log in as user 'Jon'. Then command 'startx' as an attempt to get =
into a GUI=20
for user 'Jon'.</DIV>
<DIV>I get the message: Fatal server error: Server is already active for =
display=20
0.</DIV>
<DIV>Then I try 'xinit' , -- same error message.</DIV>
<DIV>Just for the heck of it I do a Alt-F2 and log in as user 'Joe'. =
This=20
switches me over to console 2. Same result as for console 1. Alt-F7 gets =
me back=20
into display 0 with full GUI capability.</DIV>
<DIV>telinit 3 gets me results that are too confusing to write about. =
You have=20
to try it!</DIV>
<DIV>Now another fun job begins. I would like to get rid of my first two =
console=20
assignments. No dice. Only a complete restart will get rid of the =
assigned=20
users.</DIV>
<DIV>From the responses listed below I have to assume that there are the =
answers=20
imbedded, but unfortunately they were not written in LNL (the linux =
newbe=20
language). Anyone care to translate?</DIV>
<DIV>Jon</DIV>
<DIV>&nbsp;</DIV>
<DIV>Here is my original question:</DIV>
<DIV><FONT face=3DArial size=3D2>The Mandrake 8.1 Reference=20
Manual&nbsp;Chapter2.1(Users and Groups).<BR>contains the following=20
paragraph:</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>"Note that you can login several times =
with the=20
same account on additional consoles and under x. Each session you open =
is=20
independent from others, and it is even possible to have several x =
sessions=20
opened concurrently."</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>My question is how to do this. =
</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I may have several virtual consoles, =
but only the=20
console selected with Alt-F7 permits me to use GUI. Any other virtual =
console=20
selected by Alt-Fn (n=3D1 to 6) refuses any GUI based program. Only =
command line=20
based apps are permitted.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=3DArial size=3D2>Jon</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>*********************************************************<BR></F=
ONT>My=20
question is how&nbsp;to turn X off, for example, to update to newer =
XFree86=20
versions so my Radeon works.<BR>I haven't completed reading the 8.1 Ref. =
manual,=20
but I didn't see any categories that looked likely to contain such=20
information.<BR>(I think this is on topic ... please let me know if it =
is not, I=20
don't really understand X at all=20
yet)<BR><BR>Adam<BR><BR>*************************************************=
********</DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>I assume you're running X on display =
:0,=20
corresponding to vc 7.&nbsp; If<BR>you start X on display :1, it will =
take the=20
next *unused* vc (in this<BR>case 8).<BR><BR>Joe</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>**********************************************<BR>&gt;My =
question is how=20
to do this.=3D20<BR><BR>startx is one. I'm not sure it'll grab a free =
display=20
number, <BR>so that may have to be passed to it. I tend to my X =
terminal,=20
<BR>and the details fade...<BR><BR>&gt;I may have several virtual =
consoles, but=20
only the console selected with =3D<BR>&gt;Alt-F7 permits me to use GUI. =
Any other=20
virtual console selected by =3D<BR><BR>The other X servers will be on =
subsequent=20
virtual consoles. <BR>Standard consoles opened with open(1) work =
similarly.=20
<BR><BR>darren<BR><BR>****************************************</FONT></DI=
V>
<DIV><FONT face=3DArial size=3D2>&nbsp;</DIV></FONT>
<DIV><FONT face=3DArial size=3D2>Adam Glauser <A=20
href=3D"mailto:oclug at lists.oclug.on.ca">oclug at lists.oclug.on.ca</A>=20
writes:<BR><BR>&gt;My question is how to turn X off, for example, to =
update to=20
<BR>&gt;newer XFree86 versions so my Radeon works.<BR><BR>Does it have =
to be=20
turned off, though? It'll be less <BR>confusing if you do, and doesn't =
hurt.=20
<BR><BR>&gt;I haven't completed reading the 8.1 Ref. manual, but I =
didn't see=20
any categorie<BR>&gt;s that looked likely to contain such=20
information.<BR><BR>'cause it's not responsible for the behaviour?=20
<BR><BR>telinit 3<BR><BR>On most systems, it's run level three. I think =
SuSE=20
uses 2, <BR>ignoring that 2 historicaly was "multi-user, no network".=20
<BR><BR>Once done, "telinit 5" will have init respawning X again. =
<BR><BR>&gt;(I=20
think this is on topic ... please let me know if it is not, <BR>&gt;I =
don't=20
really understand X at all yet)<BR><BR>As do some that really =
should.&nbsp;=20
:-(<BR><BR>darren</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>***************************************************<BR></DIV></F=
ONT>
<DIV><FONT face=3DArial size=3D2>&gt;I assume you're running X on =
display :0,=20
corresponding to vc 7.&nbsp; If<BR>&gt;you start X on display :1, it =
will take=20
the next *unused* vc (in this<BR>&gt;case 8).<BR><BR>I think the =
question was=20
how to start X. AT the moment, <BR>it's likely init doing that, eh? =
Knowing=20
startx is one<BR>way to start an X server is a start (:&nbsp; for =
X&nbsp;=20
:).<BR><BR>darren</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>*******************************************<BR></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>Well, Alt-F7 is for display :0, however =
you can=20
open up different displays<BR>by passing arguments to xinit or whatever =
you use=20
to start up X. For<BR>instance, to open an X that will show up on Alt-F7 =
you=20
would use `xinit --<BR>:1' then then you'd have two X servers running=20
concurrently.<BR><BR>&gt;&gt;&gt;--fja-&gt;<BR><BR>**********************=
********</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>&gt;Well, Alt-F7 is for display :0, =
however you can=20
open up different displays<BR>&gt;by passing arguments to xinit or =
whatever you=20
use to start up X. <BR><BR>To help avoid confusion, Alt-F7 is for =
whatever is on=20
the <BR>virutal consol tty7. A managed X server is usally found there,=20
<BR>because in inittab, there is usually:<BR><BR># Run gettys in =
standard=20
runlevels<BR>1:2345:respawn:/sbin/mingetty =
tty1<BR>2:2345:respawn:/sbin/mingetty=20
tty2<BR>3:2345:respawn:/sbin/mingetty =
tty3<BR>4:2345:respawn:/sbin/mingetty=20
tty4<BR>5:2345:respawn:/sbin/mingetty =
tty5<BR>6:2345:respawn:/sbin/mingetty=20
tty6<BR><BR>Which makes for the first six being occupied.=20
<BR><BR>&gt;For<BR>&gt;instance, to open an X that will show up on =
Alt-F7 you=20
would use `xinit --<BR>&gt;:1' then then you'd have two X servers =
running=20
concurrently.<BR><BR>What's that supposed to mean? It won't "show up on =
Alt-F7"=20
<BR>if something else is alredy using that resource. If there <BR>is =
display :0=20
there (the one already running), for example.<BR><BR>The :1 in you =
example has=20
no bearing on which tty gets <BR>used, though it does imply it will =
listen on=20
port 6001.<BR><BR>darren</FONT></DIV>
<DIV><FONT face=3DArial=20
size=3D2>*****************************************<BR></FONT></DIV></FONT=
></DIV>
<DIV></DIV></BODY></HTML>

------=_NextPart_000_0192_01C1A77A.08118860--




More information about the OCLUG mailing list