* D/UX 3.2C & Solaris 9
@ 2002-10-07 20:37 David W...
2002-10-10 18:08 ` xz11
0 siblings, 1 reply; 5+ messages in thread
From: David W... @ 2002-10-07 20:37 UTC (permalink / raw)
Yep, I am fairly new to this *nix admin stuff, and taking notes as I
go...
Anyway, I have a DEC 3000/400 running D/UX 3.2C, and a Sun Ultra1
Creator running Solaris 9. Both default installs.
At the Solaris remote login screen, the DEC shows up with the 'Server
Information' field showing 'Willing To Manage'. When I choose the entry
for the Dec, and hit Okay, the D/UX login background shows up, with the
message of "Cannot obtain database information on this terminal". The
Acknowledge button only brings up a blank red letter warning box, with
another Ack, that brings me back around to the first message. Back and
forth it goes, so I have tto forcibly boot the Ultra to recover...
Seems toi me like something in /etc/termcap needs to be added/tweaked,
but I'm not positive. Or am I missing something else?
And I'm just kinda curious, how would I be able to do the reverse of
this, graphically log into the Ultra from D/UX? Hmmm...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: D/UX 3.2C & Solaris 9
2002-10-07 20:37 D/UX 3.2C & Solaris 9 David W...
@ 2002-10-10 18:08 ` xz11
2002-10-11 14:57 ` David W...
0 siblings, 1 reply; 5+ messages in thread
From: xz11 @ 2002-10-10 18:08 UTC (permalink / raw)
"David W..." <dwoyciesjes@comcst.org> wrote in message
news:3DA1F09B.E2A5A8D9@comcst.org...
> Yep, I am fairly new to this *nix admin stuff, and taking notes as I
> go...
>
> Anyway, I have a DEC 3000/400 running D/UX 3.2C, and a Sun Ultra1
> Creator running Solaris 9. Both default installs.
> At the Solaris remote login screen, the DEC shows up with the 'Server
> Information' field showing 'Willing To Manage'. When I choose the entry
> for the Dec, and hit Okay, the D/UX login background shows up, with the
> message of "Cannot obtain database information on this terminal". The
> Acknowledge button only brings up a blank red letter warning box, with
> another Ack, that brings me back around to the first message. Back and
> forth it goes, so I have tto forcibly boot the Ultra to recover...
>
> Seems toi me like something in /etc/termcap needs to be added/tweaked,
> but I'm not positive. Or am I missing something else?
>
> And I'm just kinda curious, how would I be able to do the reverse of
> this, graphically log into the Ultra from D/UX? Hmmm...
David,
1.) You are getting warm, but this sounds like X-windows, (specifically
XDM/CDE) not a tty, so you need to add information into a different file.
(I am quoting from experience on 4.0D-G here, but I assume 3.2C is the
same.)
a. Add a terminal entry into the terminal database:
/usr/tcb/bin/edauth -d t -s </myfile
Where myfile contains an entry similar to the following (terminal name here
is the name of your solaris box):
terminalname\:0\
:t_devname=terminalname\:0:t_xdisplay:chkent:
b. Use Dxdevices to add the solaris box to the known list of X devices:
/usr/tcb/bin/dxdevices
From the menu, select Devices, then Create
Enter the hostname of the solaris box with :0 appended, e.g.
terminalname:0
Select the 'X Display' radio button and click the 'Ok' button.
In the Device List box, enter the hostname again with :0 appended and with
:0.0 appended, e.g.
terminalname:0
terminalname:0.0
Leave other settings at default values, and press the 'Ok' button.
Then exit from Dxdevices.
Now try to access the solaris box again.
This worked for me.
2.) It should be possible to do the reverse as well, but it is 5 years since
I have looked closely at Solaris, so it will have changed from what I know.
Regards,
Howard Anderson.
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: D/UX 3.2C & Solaris 9
2002-10-10 18:08 ` xz11
@ 2002-10-11 14:57 ` David W...
2002-10-11 15:19 ` David W...
2002-10-11 16:25 ` David W...
0 siblings, 2 replies; 5+ messages in thread
From: David W... @ 2002-10-11 14:57 UTC (permalink / raw)
xz11 wrote:
>
> "David W..." <dwoyciesjes@comcst.org> wrote in message
> news:3DA1F09B.E2A5A8D9@comcst.org...
> > Yep, I am fairly new to this *nix admin stuff, and taking notes as I
> > go...
> >
> > Anyway, I have a DEC 3000/400 running D/UX 3.2C, and a Sun Ultra1
> > Creator running Solaris 9. Both default installs.
> > At the Solaris remote login screen, the DEC shows up with the 'Server
> > Information' field showing 'Willing To Manage'. When I choose the entry
> > for the Dec, and hit Okay, the D/UX login background shows up, with the
> > message of "Cannot obtain database information on this terminal". The
> > Acknowledge button only brings up a blank red letter warning box, with
> > another Ack, that brings me back around to the first message. Back and
> > forth it goes, so I have tto forcibly boot the Ultra to recover...
> >
> > Seems toi me like something in /etc/termcap needs to be added/tweaked,
> > but I'm not positive. Or am I missing something else?
> >
> > And I'm just kinda curious, how would I be able to do the reverse of
> > this, graphically log into the Ultra from D/UX? Hmmm...
>
> David,
>
> 1.) You are getting warm, but this sounds like X-windows, (specifically
> XDM/CDE) not a tty, so you need to add information into a different file.
Yeah, sorry. XDM/CDE on SunUltra1, Motif on DEC3000...
> (I am quoting from experience on 4.0D-G here, but I assume 3.2C is the
> same.)
It can't be that far off, can it? :) Let's give it a whirl...
> a. Add a terminal entry into the terminal database:
>
> /usr/tcb/bin/edauth -d t -s </myfile
>
> Where myfile contains an entry similar to the following (terminal name here
> is the name of your solaris box):
>
> terminalname\:0\
> :t_devname=terminalname\:0:t_xdisplay:chkent:
Well, edauth doesn't exist on 3.2C, unless I messed up the command...
# (/) find / -name edauth -print
...and...
# (/usr) find /usr -name edauth -print
It does look sort of like something that should be in /etc/termcap, but
I'll leave it alone for now, though.
> b. Use Dxdevices to add the solaris box to the known list of X devices:
>
> /usr/tcb/bin/dxdevices
That one doesn't exist either, but /usr/tcb/bin/XIsso seems to be the
same thing.
> From the menu, select Devices, then Create
>
> Enter the hostname of the solaris box with :0 appended, e.g.
SunUltra1:0
> Select the 'X Display' radio button and click the 'Ok' button.
Not a choice here, just Terminal, Removable, and Printer. So I chose
Terminal.
> In the Device List box, enter the hostname again with :0 appended and with
> :0.0 appended, e.g.
SunUltra1:0
SunUltra1:0.0
> Leave other settings at default values, and press the 'Ok' button.
This is where it gives me "Cannot stat the device you have specified.
Check that the file exists in /dev..."
So, it seems I need to figure out which device in /dev I should refer
to.
Now, the entries in /etc/termcap I was referring to are here, but I
don't think they'll help much now that I look at them...
vs|xterm|vs100|xterm terminal emulator (X window system):\
:do=^J:le=^H:ho=\E[H:\
:co#80:li#65:cl=\E[H\E[2J:bs:am:cm=\E[%i%d;%dH:nd=\E[C:up=\E[A:\
:ce=\E[K:cd=\E[J:so=\E[7m:se=\E[m:us=\E[4m:ue=\E[m:\
:md=\E[1m:mr=\E[7m:me=\E[m:\
:ku=\EOA:kd=\EOB:kr=\EOC:kl=\EOD:kb=^H:\
:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sf=\n:sr=\EM:\
:k1=\EOP:k2=\EOQ:k3=\EOR:k4=\EOS:pt:sf=\n:sr=\EM:\
:al=\E[L:dl=\E[M:ic=\E[@:dc=\E[P:\
:MT:ks=\E[?1h\E=:ke=\E[?1l\E>:xn:\
:AL=\E[%dL:DL=\E[%dM:IC=\E[%d@:DC=\E[%dP:\
:hs:ts=\E[?E\E[?%i%dT:fs=\E[?F:es:ds=\E[?E:\
:is=\E\E[m\E[?7h\E[?1;4l:cs=\E[%i%d;%dr:\
:rs=\E[r\E<\E[m\E[H\E[2J\E[?7h\E[?1;3;4;6l:
v2|xterms|vs100s|xterm terminal emulator (small)(X window system):\
:co#80:li#24:tc=xterm:
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: D/UX 3.2C & Solaris 9
2002-10-11 14:57 ` David W...
@ 2002-10-11 15:19 ` David W...
2002-10-11 16:25 ` David W...
1 sibling, 0 replies; 5+ messages in thread
From: David W... @ 2002-10-11 15:19 UTC (permalink / raw)
"David W..." wrote:
>
> xz11 wrote:
:
> > a. Add a terminal entry into the terminal database:
> >
> > /usr/tcb/bin/edauth -d t -s </myfile
> >
> > Where myfile contains an entry similar to the following (terminal name here
> > is the name of your solaris box):
> >
> > terminalname\:0\
> > :t_devname=terminalname\:0:t_xdisplay:chkent:
>
> Well, edauth doesn't exist on 3.2C, unless I messed up the command...
> # (/) find / -name edauth -print
> ...and...
> # (/usr) find /usr -name edauth -print
>
> It does look sort of like something that should be in /etc/termcap, but
> I'll leave it alone for now, though.
>
Well, in further poking around, I found /usr/bin/X11/xauth, but
SunUltra1# xauth extract - $DISPLAY | rsh DEC3000 xauth merge -
returns "permission denied" Or is this barking up the wrong tree?...
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: D/UX 3.2C & Solaris 9
2002-10-11 14:57 ` David W...
2002-10-11 15:19 ` David W...
@ 2002-10-11 16:25 ` David W...
1 sibling, 0 replies; 5+ messages in thread
From: David W... @ 2002-10-11 16:25 UTC (permalink / raw)
"David W..." wrote:
>
> xz11 wrote:
> >
> > a. Add a terminal entry into the terminal database:
> >
> > /usr/tcb/bin/edauth -d t -s </myfile
> >
> > Where myfile contains an entry similar to the following (terminal name here
> > is the name of your solaris box):
> >
> > terminalname\:0\
> > :t_devname=terminalname\:0:t_xdisplay:chkent:
>
> Well, edauth doesn't exist on 3.2C, unless I messed up the command...
> # (/) find / -name edauth -print
> ...and...
> # (/usr) find /usr -name edauth -print
>
Well, I found /etc/auth/system/ttys, and added that line directly.
SunUltra1\:0\
:t_devname=SunUltra1\:0:t_xdisplay:chkent:
Now, in /usr/tcb/bin/XIsso, SunUltra1:0 shows up in Modify/Create
Device list, but when I go to modify it, it tells me "There is no
corresponding terminal entry for this device. This is an inconsistency
and suggests that the Terminal Control Databases may be corrupt".
Running /tcb/bin/authck -a -v shows no problems. Trying to add a device
there gets the same message about it not being in /dev.
IIRC, I saw something in man ttys about it expecting the device to be
in /dev. So it looks like I need to figure out which device in /dev
would correspond to SunUltra1...
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2002-10-11 16:25 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-07 20:37 D/UX 3.2C & Solaris 9 David W...
2002-10-10 18:08 ` xz11
2002-10-11 14:57 ` David W...
2002-10-11 15:19 ` David W...
2002-10-11 16:25 ` David W...
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox