1833997 Members
3198 Online
110063 Solutions
New Discussion

Re: X-terminal

 
Allan Pincus
Frequent Advisor

X-terminal

Hi,

I have PC X-ware to emulate a HP-UX CDE session on my PC. It connects fine to one of my boxes, but on another box, the session terminates before completing the login.

I get the HP-UX login screen, enter my login and password, but then the X-ware session gives me a message that it is resetting.

I can ping, telnet, and mount to both machines just fine.

What is causing the one machine to reject the connection after the login attempt?

Any feedback would be greatly appreciated.

- Allan
13 REPLIES 13
Alex Glennie
Honored Contributor

Re: X-terminal

Are the 2 hpux boxes running dtlogin ?

check also in $HOME/.dt/startlog
consider adding set -x into the users .dtprofile first though !

also check on both systems for
xfs is it running ?

imho opinion problem sounds similar to font problems and would be cured by setting up xfs and configuring the X-ware s/w to use the hpux font server ... tcp/ipaddress:7000 but lets see if we get any font errors first ...also check in /var/dt/Xerrors and any log files for Xware s/w.
Vicente Sanchez_3
Respected Contributor

Re: X-terminal

Hi Allan,

Check the default gateway is correct, in some time I've corrected a similar situation.

Regards, Vicente.

Bill McNAMARA_1
Honored Contributor

Re: X-terminal

I think local logs of the xware client may help, I'd tend to agree with Alex although I'd have doubts since you see the dtgreet window...

Try a fail safe session..

Later,
Bill
It works for me (tm)
Wodisch
Honored Contributor

Re: X-terminal

Hi Allan,

how about trying another X-server on your PC to see wether it's about PC X-ware?
CYGWIN comes for free (http://sources.redhat.com/cygnus) and the XFree in there is not bad at all ;-)

If the problem stays then it's not your PC, at least...

FWIW,
Wodisch
Niraj Kumar Verma
Trusted Contributor

Re: X-terminal


Hi,

Are you exporting the DISPLAY in your .profile ? (Just a Guess ?)

also try to source the .profile to see if you have any problem in it. from your telnet login.


-Niraj
Niraj.Verma@philips.com
Allan Pincus
Frequent Advisor

Re: X-terminal

All,

My failsafe session starts just fine on the machine I am having problems with. The default gateway looks fine as well.

I put set -x in my .dtprofile (which does nothing) and looked at the output of .dt/startlog

It doesn't point out to me anything suspicious.

Any other ideas why a regular X-session does not start on my PC? Again it works fine on an identical box.

Thanks!
Tom Jackson
Valued Contributor

Re: X-terminal

Hi Allan:

Sounds like you could have a font problem, or maybe your your software is chocking on the CDE session. Try installing additional fonts on your PC or setup a font server. You may also want to contact the PC X-ware vendor for help.

I use Hummingbird eXceed terminal emulation software and it works sweeeet.

Tom
Alex Glennie
Honored Contributor

Re: X-terminal

if the failsafe session is working then I'd be suspicious of hostname resolution ... can you check in /var/dt/Xerrors , run dr_dt from the failsafe session and also see if Xware has a set of log files .....
Bill McNAMARA_1
Honored Contributor

Re: X-terminal

I'd try with another emulator first.
try wrq.com reflection.

I think your CDE install has been messed up somehow, so Alexs suggestion of dr_dt will proove this .. or not.

Later,
Bill
It works for me (tm)
Allan Pincus
Frequent Advisor

Re: X-terminal

Guys,

We're making progress on this problem. Here's an error from the Xerrors:

Warning: Cannot convert string "-dt-interface system-medium-r-normal-m*-*-*-*-*-
*-*-*-*:" to type FontList


This is not my area of expertise. Can someone give me guidance on how to install the fonts?

I also get a message saying "font.dir" missing. But when I did a search on the working system, there were dozens of directories with this name.

Any more help will be appreciated. Once resolved, I can assign points.
Alex Glennie
Honored Contributor

Re: X-terminal

Try this :

The font server needs to be configured to include the CDE fonts in its catalog

EDIT: /etc/X11/fs/config

Append ",/usr/dt/config/xfonts/C" to the end of the
"catalogue = ..." line

EDIT: /etc/rc.config.d/xfs

Set the following variable: "RUN_X_FONT_SERVER=1"

EXECUTE: /sbin/init.d/xfs start

If the font-server is already running, kill it and
restart it.

2 - Force CDE to add the font-server to the X-Server font-path
by editing the Xsetup file. (NOTE: This steps REQUIRES
the IP address of the CDE session server. You can get
this information by running: nslookup `hostname`.)

COPY: /usr/dt/config/Xsetup to /etc/dt/config/Xsetup
EDIT: /etc/dt/config/Xsetup

Add the following line to /etc/dt/config/Xsetup replacing
"IPADDRESS" with the IP address of the server as returned
from "nslookup `hostname`":

$XDIR/xset fp+ tcp/IPADDRESS:7000 1>/dev/null

Lastly add the tcp/IPADDRESS:7000 aka the fontservers address to the head of your PC Xemulations font path, save and restart your session ..... fyi font.dir and font.alias should exist one per font directory. you should be able to run mkfontdir to recreate check the man page if necessary.

Wodisch
Honored Contributor

Re: X-terminal

Hi again,

that message about the missing fontdir points to a misconfigured setup of your PC X-ware. Check the "fonts settings" there - are there any unnessary/wrong directories in?
Or simply typos? The convention for PC-style X-servers is usually like this:
- if it starts with "tcp/" it's a font-server
- if starts with a drive-letter-then-colon it's an absolute path on your local PC
- everyting else would be a directory "below" the installation directory of that piece of software
So check those settings, and the directories mentioned in there

HTH,
Wodisch
Karvendhan M
Frequent Advisor

Re: X-terminal


Hi Allan,

Try commenting out DTSOURCEPROFILE variable in $HOME/.dtprofile file it is set to true.


I suspect the .profile ( and may be .kshrc or other rc files ) are causing this problem.

It it is a font problem, I expect a clear error from the X-ware to be displayed.


HTH,

~ Kars