switching console from ttya to monitor/mouse -- ttymon dying

switching console from ttya to monitor/mouse -- ttymon dying

Post by Rick Per » Mon, 15 Jul 1996 04:00:00



I just added an SBUS framebuffer card, and monitor/keyboard/mouse, to
an Ultra 1/170E server running Solaris 2.5.1 which has spent its life
so far with just a dumb terminal on ttya as a console.  After 'boot -r'
(twice), I still have a problem where after exiting openwin, ttymon
does not restart on the console.  Trying manually yields:

# /usr/lib/saf/ttymon -g -h -p "`uname -n` console login: " \
   -T sun -d /dev/console -l console -m ldterm,ttcompat
push (ldterm) on /dev/console failed, errno = 6

There is only a plain /usr/lib/saf/ttymon process running with no command-
line args, both before and after that attempt to do init's job manually.
ttya is currently disabled and connected to an APC UPS, while ttyb has a
modem.

The /dev links and /devices stuff looks ok, but at boot time /var/adm/messages
mentions keyboard, mouse, and stdin:




which my other systems don't.  It also lists the cgsix:

Jul 14 11:23:07 unix: cgsix0 at sbus0: SBus0 slot 0x0 offset 0x0 SBus level 5 sparc9 ipl 9

Jul 14 11:23:07 unix: cgsix0: screen 1152x900, single buffered, 1M mappable, rev 11

I've check the FAQ, man pages, answerbook, etc. and examined various /etc
config files in comparison with other similar systems here, but am stuck.
A workaround will be for me to just stay logged in to the console with
openwin forever, which would only be a few hours less per day that I do
now in person...:-)


Dr. Rick Perry, ECE Department, Villanova University, Villanova, PA 19085
610-519-4969, fax: 610-519-4436, hm: 610-259-8734

 
 
 

switching console from ttya to monitor/mouse -- ttymon dying

Post by Rick Per » Sun, 21 Jul 1996 04:00:00



>I just added an SBUS framebuffer card, and monitor/keyboard/mouse, to
>an Ultra 1/170E server running Solaris 2.5.1 which has spent its life
>so far with just a dumb terminal on ttya as a console.  After 'boot -r'
>(twice), I still have a problem where after exiting openwin, ttymon
>does not restart on the console.  ...

I didn't get any suggestions about fixing that, but it got fixed when
I installed Sun's CDE, so now I can log out and get the CDE login again
with no problem.  CDE and XDM stuff are all new to me, but I'm planning
on reading the 100 MB of documentation this weekend...:-)


Dr. Rick Perry, ECE Department, Villanova University, Villanova, PA 19085
610-519-4969, fax: 610-519-4436, hm: 610-259-8734

 
 
 

1. ttymon error:ttymon cannot allocate controlling tty on /dev/console

I can't at the moment make a console login to my Sun Solaris 2.7 box,
but only login remotely by way of ssh or rlogin.
    If I try to make a console login, it gives the following messages:

        Warning -- ttymon cannot allocate controlling tty on
"/dev/console". There may be another session active on this port.

Have any one got any ideas for the solution to this problem?

--
S?ren V. Carlsen (Teknisk ansvarlig for den elektroniske
pligtaflevering)
Digitaliserings- og Webafdelingen (DWA)
Det Kongelige Bibliotek
Postboks 2149
DK-1016 K?benhavn K
Tlf: 33 47 48 41

Hjemme-adresse (Home):
============
S?ren V. Carlsen
Gammel Kongevej 142, 1. tv
DK-1850 Frederiksberg C
tlf: 33 31 45 49

##################################################################
non omnia possumus omnes
Macrobius Saturnalia VI, 1, 35
##################################################################

2. Web-based email frontend

3. ttya console with modem AND PPP on ttya???

4. Intergraph Intense 3D Voodoo X-Server?

5. X session dies at console switch

6. problems with tcl/tk -- fonts

7. Mouse dies on KVM switch

8. CDE vs. OpenWindows

9. HELP: Mouse dies sometimes when switch virt scrn to/from X

10. Switching from console to X makes monitor say "no signal"

11. Switching monitors in console/shell?

12. Lockups in X when switching virtual consoles (mouse?)

13. Keyboard, Mouse and Monitor Switch , keyboard drops out