SUMMARY graphical and ttya simultaneous consoles

From: Krongard, Aaron (akrongard@aztectech.com)
Date: Mon Jun 05 2000 - 07:48:46 CDT


Thanks to Atmane Alouache, Seth Rosenbers, and Authur Darren Dunham for
their suggestions. There were two methods suggested but unfortunately
neither one satisfies the requirements of maintaing both an active graphical
console AND an active ttya console simultaneously.

Aaron Krongard

Original post:

Guru's
I remember seeing this question before and have looked through the archives
but could find no responses. I have a need to have both a graphical and ttya
console active at the same time on Sun systems running Solaris 2.6. I
believe this is possible using some ingenuity but can not remember how. Any
help is appreciated. I will summarize.
Thanks
Aaron Krongard

Hi,

---------

This is what I found out in my archives:

-------------------------------------------------
Here is the summary:
Copy /usr/dt/config/Xservers to
/etc/dt/config/Xservers & modify the latter so
that instead of local_uid@console it says
local_uid@none.
Then run "/etc/init.d/dtlogin stop" followed by
"/etc/init.d/dtlogin start"
(/etc/init.d/dtlogin reset didn't work in my case)
Local monitor (connected at console port of Sun
hardware) now works as another
tty instead of console (as expected and desired).

Thanks to the following for their help/suggestions:
Darren Dunham (ddunham@taos.com)Ofer Licht
(ofer@atc.creative.com)
Changa Anderson (canderson@sitesmith.com)Original
questions follows.Thanks
....ManjeetManjeet Rekhi05/25/2000 11:57 AM

To: sun-managers@sunmanagers.ececs.uc.educc:
Subject: Remote Console gives no login promptHello
Managers,
I connected 2 of my servers to remote console thru'
terminal server
(eeprom output-device=ttya; eeprom input-device=ttya;
reboot).
These servers' local consoles were left as they were.
Upon reboot,
I observed that if someone logs on to erstwhile local
console, my remote
console doesn't give login prompt and hangs at that
point. However,
as soon as user logs out from local console, I
immediately get login prompt.
How can I disassociate dependence of remote console on
behaviour
of local console logging? That is, regardless of
anyone logging on to local
display or not, I want remote console to work.
My console entry for /etc/inittab has not been changed
and looks like:
co:234:respawn:/usr/lib/saf/ttymon -g -h -p "`uname
-n` console login: " -T sun
-d /dev/console -l console -m ldterm,ttcompatThanks in
advance....Manjeet

----------------------

> > >>>>When i've found SunSolve - InfoDoc 16093 my
> question was answered:
> > >>>> ok> setenv output-device ttya (instead of
> screen) and
> > >>>> ok> setenv input-device ttya (instead of
> keyboard)
>
> I have not done this yet, as we have not yet bought
> the system we will be using it on.
>
> Seth

-----------------------

The simple case is pretty easy.

1) TTYA is *always* the console. You cannot stop-a the machine from the
keyboard.
2) Screen is *always* an X server. You cannot run a tty/console session
on it.

If this is acceptable, do the following.

1) Redirect console to ttya.
  a) from running system
     eeprom output-device=ttya
     eeprom input-device=ttya
  b) from OK> prompt
     setenv output-device ttya
     setenv input-device ttya

2) Modify X server
  a) If you don't already have it, copy /usr/dt/config/Xservers into
     /etc/dt/config/Xservers
  b) Modify the bottom like to look like the second example in the file
     so that the <console> reference is changed to <none>

3) reboot

Enjoy!

-- 
Darren Dunham                                           ddunham@taos.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:14:09 CDT