* Tru64 5.1b and X server
@ 2004-07-29 21:27 Loic Domaigne
2004-08-02 13:02 ` Homonnai Mihaly
0 siblings, 1 reply; 8+ messages in thread
From: Loic Domaigne @ 2004-07-29 21:27 UTC (permalink / raw)
G'Day,
I am experimenting a bit with Tru64 5.1b... I'm used to perform
some relatively simple admin tasks on older Tru64 (4.0f) systems...
But, I must admit that installing that new Tru64 version from scratch is
for me a kind of challenge (read: kind of fun ;-)
I have right now a problem with the graphic card / X-server. Seems that
the H-Freq is out of sync... I managed easily to perform the install in
text modus... But, the kernel starts X by default.
I have basically three questions:
- Can we shutdown the X-stuff with key sequence? (something similar to the
Ctrl-Alt-Backspace on Linux?)
- How can I boot the kernel from the SRM, in such a way that the graphic
stuff doesn't get started?? I'll need probably to have a look at
/usr/var/X11/Xservers.conf or something, and a simple text tty would
just do it fine.
- Is it possible to define the h/v sync of the monitor in the Xserver config
file?
Thanks for your time,
Loic.
--
Article post� via l'acc�s Usenet http://www.mes-news.com
Acc�s par Nnrp ou Web
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tru64 5.1b and X server
2004-07-29 21:27 Tru64 5.1b and X server Loic Domaigne
@ 2004-08-02 13:02 ` Homonnai Mihaly
2004-08-02 22:05 ` Loic Domaigne
0 siblings, 1 reply; 8+ messages in thread
From: Homonnai Mihaly @ 2004-08-02 13:02 UTC (permalink / raw)
Loic Domaigne <loic-dev@gmx.net> wrote:
> G'Day,
> I am experimenting a bit with Tru64 5.1b... I'm used to perform
> some relatively simple admin tasks on older Tru64 (4.0f) systems...
> But, I must admit that installing that new Tru64 version from scratch is
> for me a kind of challenge (read: kind of fun ;-)
> I have right now a problem with the graphic card / X-server. Seems that
> the H-Freq is out of sync... I managed easily to perform the install in
> text modus... But, the kernel starts X by default.
>
> I have basically three questions:
> - Can we shutdown the X-stuff with key sequence? (something similar to the
> Ctrl-Alt-Backspace on Linux?)
> - How can I boot the kernel from the SRM, in such a way that the graphic
> stuff doesn't get started?? I'll need probably to have a look at
> /usr/var/X11/Xservers.conf or something, and a simple text tty would
> just do it fine.
> - Is it possible to define the h/v sync of the monitor in the Xserver config
> file?
Depends if you are used CDE/DTLogin or XDM as your
login manager.
If you are using CDE/DTLogin, edit /usr/dt/config/Xserverrs.con
to something like:
:0 Local local@console /usr/bin/X11/X :0 -su -bs -screen0
1280x1024
If you are using XDM, edit the file /var/X11/Xserver.conf
to contain at the end:
args <
-pn
-su
-bs
-once
-screen0 1280x1024
>
if i remember well, there are other parameters of the X server, try man X
(or XDec?)
homer
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tru64 5.1b and X server
2004-08-02 13:02 ` Homonnai Mihaly
@ 2004-08-02 22:05 ` Loic Domaigne
2004-08-04 0:39 ` Peter da Silva
` (4 more replies)
0 siblings, 5 replies; 8+ messages in thread
From: Loic Domaigne @ 2004-08-02 22:05 UTC (permalink / raw)
Hello Homonnai,
>>- Is it possible to define the h/v sync of the monitor in the Xserver config
>> file?
>
>
> Depends if you are used CDE/DTLogin or XDM as your
> login manager.
Well I am using CDE/DTlogin. But the problem was, that I couldn't edit
any file since I couldn't see anything at all... Remember that the
X-stuff was started automatically, resulting an out-of-range in
horizontal frequency... And so, the game was over so to say...
Fortumately for me, I had a "old PowerStorm 3D30 graphic card". As a
result, I just add to select with the rotary switch the right
resolution... And, miracle, it then worked.
I am still interested to know how do you boot the kernel, so that you
get a plain tty text, and not the X-stuff started by default. This can
be really handy sometimes...
TIA,
Loic.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tru64 5.1b and X server
2004-08-02 22:05 ` Loic Domaigne
@ 2004-08-04 0:39 ` Peter da Silva
2004-08-04 6:12 ` Nikola Milutinovic
` (3 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Peter da Silva @ 2004-08-04 0:39 UTC (permalink / raw)
In article <2naggnFuqi26U1@uni-berlin.de>,
Loic Domaigne <loic-dev@gmx.net> wrote:
> I am still interested to know how do you boot the kernel, so that you
> get a plain tty text, and not the X-stuff started by default. This can
> be really handy sometimes...
Let's take a quick look through the System V startup process, which is what
Tru64 uses.
The "init" process handles the startup, using the "inittab" file to drive
what gets started at each 'run level'. One of the things it runs on entering
a level is /sbin/rc$level, which then proceeds to run everything in
/sbin/rc$level.d/S*:
s2:23:wait:/sbin/rc2 < /dev/console > /dev/console 2>&1
s3:3:wait:/sbin/rc3 < /dev/console > /dev/console 2>&1
In /sbin/rc3.d you'll see:
S95xlogin
In fact, this is a symlink:
lrwxr-xr-x 1 root bin 16 Jan 21 2000 S95xlogin -> ../init.d/xlogin
To prevent it from starting, you have two options. If you just want to stop
the whole X thing completely, temporarily, rename that link.
mv /sbin/rc3.d/S95xlogin /sbin/rc3.d/X95xlogin
This works because it only looks at files starting with X. You can move
it back later.
Alternatively, if you want a command line console but you still want to be
able to login via XDMCP over the net you can look in /sbin/rc.d to see
whether your XLOGIN is set to xdm or cde. It's probably cde.
If it's cde, then look in /usr/dt/config and find the Xservers file and
comment out the console line, like this:
# * Local local@console /usr/bin/X11/X :0
If it's xdm, then look in /var/X11/xdm/Xservers and comment out this line:
:0 local /usr/bin/X11/X
Then to get a command line login on the console, make sure that's started
from inittab:
cons:1234:respawn:/usr/sbin/getty console console vt100
--
I've seen things you people can't imagine. Chimneysweeps on fire over the roofs
of London. I've watched kite-strings glitter in the sun at Hyde Park Gate. All
these things will be lost in time, like chalk-paintings in the rain. `-_-'
Time for your nap. | Peter da Silva | Har du kramat din varg, idag? 'U`
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tru64 5.1b and X server
2004-08-02 22:05 ` Loic Domaigne
2004-08-04 0:39 ` Peter da Silva
@ 2004-08-04 6:12 ` Nikola Milutinovic
2004-08-04 9:33 ` Homonnai Mihaly
` (2 subsequent siblings)
4 siblings, 0 replies; 8+ messages in thread
From: Nikola Milutinovic @ 2004-08-04 6:12 UTC (permalink / raw)
Loic Domaigne wrote:
> Hello Homonnai,
>
>>> - Is it possible to define the h/v sync of the monitor in the Xserver
>>> config file?
>>
>>
>>
>> Depends if you are used CDE/DTLogin or XDM as your
>> login manager.
>
>
> Well I am using CDE/DTlogin. But the problem was, that I couldn't edit
> any file since I couldn't see anything at all... Remember that the
> X-stuff was started automatically, resulting an out-of-range in
> horizontal frequency... And so, the game was over so to say...
And no network access? Well, by default, "root" is not allowed to loginf
over the net.
> Fortumately for me, I had a "old PowerStorm 3D30 graphic card". As a
> result, I just add to select with the rotary switch the right
> resolution... And, miracle, it then worked.
>
> I am still interested to know how do you boot the kernel, so that you
> get a plain tty text, and not the X-stuff started by default. This can
> be really handy sometimes...
Halt the machine (reset), boot to single user mode ">>> boot -flags s".
Disable X: "mv /sbin/rc3.d/S95xlogin /sbin/rc3.d/DISABLED-S95xlogin".
Proceede to run level 3 "init 3"
Nix.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tru64 5.1b and X server
2004-08-02 22:05 ` Loic Domaigne
2004-08-04 0:39 ` Peter da Silva
2004-08-04 6:12 ` Nikola Milutinovic
@ 2004-08-04 9:33 ` Homonnai Mihaly
2004-08-05 9:08 ` Tru64 Wizz
2004-08-23 18:57 ` Loic Domaigne
4 siblings, 0 replies; 8+ messages in thread
From: Homonnai Mihaly @ 2004-08-04 9:33 UTC (permalink / raw)
Loic Domaigne <loic-dev@gmx.net> wrote:
> Hello Homonnai,
>>>- Is it possible to define the h/v sync of the monitor in the Xserver config
>>> file?
>>
>>
>> Depends if you are used CDE/DTLogin or XDM as your
>> login manager.
> Well I am using CDE/DTlogin. But the problem was, that I couldn't edit
> any file since I couldn't see anything at all... Remember that the
why didn't you attach a serial console or a pc to the serial port?
homer
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tru64 5.1b and X server
2004-08-02 22:05 ` Loic Domaigne
` (2 preceding siblings ...)
2004-08-04 9:33 ` Homonnai Mihaly
@ 2004-08-05 9:08 ` Tru64 Wizz
2004-08-23 18:57 ` Loic Domaigne
4 siblings, 0 replies; 8+ messages in thread
From: Tru64 Wizz @ 2004-08-05 9:08 UTC (permalink / raw)
The more elegant way to stop xlogin from starting the server on the graphics
head is:
rcmgr set XLOGIN NO
that way fverify won't complain about the missing /sbin/rc3.d/S95xlogin
_Johan_
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Tru64 5.1b and X server
2004-08-02 22:05 ` Loic Domaigne
` (3 preceding siblings ...)
2004-08-05 9:08 ` Tru64 Wizz
@ 2004-08-23 18:57 ` Loic Domaigne
4 siblings, 0 replies; 8+ messages in thread
From: Loic Domaigne @ 2004-08-23 18:57 UTC (permalink / raw)
All,
many thanks for your detailed answers.
Cheers,
Loic.
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-08-23 18:57 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-07-29 21:27 Tru64 5.1b and X server Loic Domaigne
2004-08-02 13:02 ` Homonnai Mihaly
2004-08-02 22:05 ` Loic Domaigne
2004-08-04 0:39 ` Peter da Silva
2004-08-04 6:12 ` Nikola Milutinovic
2004-08-04 9:33 ` Homonnai Mihaly
2004-08-05 9:08 ` Tru64 Wizz
2004-08-23 18:57 ` Loic Domaigne
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox