1834798 Members
2814 Online
110070 Solutions
New Discussion

Remote CDE Login

 
Lee Walters_1
Advisor

Remote CDE Login


Hi All

I've just recently had to rebuild an HP9000 (rp2470) server with HP-UX11i.

Although I can telnet into the machine when I try and get a CDE connection to it from another machine (it's a Sun Solaris) it drops out and doesn't start the CDE.

I've put a monitor on the machine with a kdb and mouse and the XServer starts OK meaning I can run it locally so that's OK.

Is there some sort of permissions or config file that I have to mod to get it to allow remote connections?

Thanks
7 REPLIES 7
bhavin asokan
Honored Contributor

Re: Remote CDE Login

hi,

at the command prompt try the following


# export DISPLAY=:0.0

# xhosts+

then do your procedure

regds,




Alexander M. Ermes
Honored Contributor

Re: Remote CDE Login

Hi there.
Check with SAM and setup the access to these system.

SAM --> Network & Communications --> System Access --> Remote Logins

You have to do it on both systems.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Lee Walters_1
Advisor

Re: Remote CDE Login


Thanks - but neither of these options worked.

Other ideas?
Lee Walters_1
Advisor

Re: Remote CDE Login


OK - I've sort of cured this myself. I've installed VNC on the machine and can now get access to the desktop.

If anybody can get this working though - let me know.
Leif Halvarsson_2
Honored Contributor

Re: Remote CDE Login

Hi,

Is it possible to connect, using "Failsafe session" ?

Also, is there any errors in the file /.dt/errorlog (or errorlog.old) ?
Lee Walters_1
Advisor

Re: Remote CDE Login

In the errorlog.older file which would be right I get

*** ERROR(4): dtsession: PID 3193: Thu Dec 23 11:20:01 2004
Invalid display name - exiting.
*** [91]


I've tried DISPLAY=
xhost +

but that gives me

xhost: unable to open display ""

Think that could be the problem?


John Dvorchak
Honored Contributor

Re: Remote CDE Login

When ever I got that message it is because the machine didn't know it's own name? I am guessing that you telnet to the box, then try to export a session back to your PC or workstation and so to give it permission you type xhost + but are met with the error: Unable to open display "":0.0

Do a nslookup, both forward and reverse, on the machine you're tryng to run the xhost command on. It has to be able to resovlve it's own name. If not look in the /etc/nsswitch.conf file and see that it is actually looking in /etc/hosts as well as DNS. If it's looking in /etc/hosts (files) then make sure that the first entry in /etc/hosts is the loopback address and the second is the machine address followed by FQDN and short name in that order. I.E.

127.0.0.1 localhost loopback
192.168.0.21 your.dom.com your

Let us know what you find.
If it has wheels or a skirt, you can't afford it.