Both Graphics Monitor AND ttya or ttyb?

I have a SunFire V440 with an XVR-100 graphics card and LCD monitor. What I'd like is to use ttya or ttyb as the system console (i.e. get all console messages here, either on a terminal or ideally, logged to another machine) but still be able to use the graphics monitor for X apps etc.

Is this possible? From what I've been able to dig up so far, it looks like the OBP can only use one device as the console, but I'm unsure as to whether that precludes me from using the attached monitor (if I set output-device to ttyb).

Any help would be greatly appreciated. Thanx,

- Darryl

[605 byte] By [g011um] at [2007-11-26 10:15:22]
# 1
I don't believe it is.. I've got a similar setup going, but with a Raritan KVM, but I'd like to hook up our servers to a terminal server.I'm thinking it's either/or, but not both - I'd appreciate if you could let us know if you find out otherwise.Thanks!
Claw at 2007-7-7 2:07:28 > top of Java-index,General,Talk to the Sysop...
# 2

Quick and easy fix:

You could create a startup script that would kick off at boot.

tail -f /var/adm/messages > /dev/ttya

You might want to also investigate the possibility of modifying your /etc/syslog.conf file to include /dev/ttya.

Note: This will only allow you to log/monitor the ouput of messages.

It will NOT give you a console login.

Sun4u at 2007-7-7 2:07:28 > top of Java-index,General,Talk to the Sysop...
# 3

There is a nice Sun doc that explains how to set this up by changing input-device and output-device to ttya and modifying your dt config and logindevperm.

Keywords: dtlocal logindevperm

Note: You will no longer be able to login at the Monitor/keyboard directly as root (Not on console)....only the ttya port.

Sun4u at 2007-7-7 2:07:28 > top of Java-index,General,Talk to the Sysop...
# 4

> Is this possible?

Yes

> From what I've been able to dig up

> so far, it looks like the OBP can only use one device

> as the console, but I'm unsure as to whether that

> precludes me from using the attached monitor (if I

> set output-device to ttyb).

It does not.

In addition to changing the input/output device in the OBP, you should also edit /etc/dt/config/Xservers (copied from /usr/dt/config if it doesn't exist). There is a section in there that talks about running a server without an underlying tty. By moving the console from the kbd/screen to a serial port, there is no more tty underneath X. By making an edit there, it'll remove the "console login" menu and keep it from freaking out.

--

Darren

Darren_Dunham at 2007-7-7 2:07:28 > top of Java-index,General,Talk to the Sysop...
# 5
This will work for you. I've set this up several times....Attach your graphics monitor to the graphics card.Configure syslog on your workstation to write messages to another host.Nothing more needs to be done.
NoWin4Me at 2007-7-7 2:07:28 > top of Java-index,General,Talk to the Sysop...
# 6

> This will work for you. I've set this up several

> times....

>

>

> Attach your graphics monitor to the graphics card.

Well, you have to redirect the console with the input-device and output-device variables.

> Configure syslog on your workstation to write

> messages to another host.

I don't see what syslog has to do with it....

--

Darren

Darren_Dunham at 2007-7-7 2:07:28 > top of Java-index,General,Talk to the Sysop...
# 7
The original post mentioned a need to send console messages to another host... hence the syslog comment.
NoWin4Me at 2007-7-7 2:07:28 > top of Java-index,General,Talk to the Sysop...
# 8

When I see the phrase "system console", I'm assuming the person wants to do all the standard console items (boot messages, OBP interaction), etc. that way. Syslog will only handle a small subset of those.

Yes, if the OP just wants some of the system messages to be visible elsewhere, then redirecting the console isn't necessary.

--

Darren

Darren_Dunham at 2007-7-7 2:07:28 > top of Java-index,General,Talk to the Sysop...
# 9
Darren - You are absolutely right!
NoWin4Me at 2007-7-7 2:07:28 > top of Java-index,General,Talk to the Sysop...