Operating System - HP-UX
1855615 Members
10514 Online
104112 Solutions
New Discussion

Cannot get X login to HP-UX 11.0 or 11i

 
SOLVED
Go to solution
Dieter S. Vener
Frequent Advisor

Cannot get X login to HP-UX 11.0 or 11i

Hi,

I am trying to start an Xnest session into a HP-UX 11.0 and HP-UX 11i box. For some reason, my session keeps getting reset. I am doing the following:

%./Xnest -query chpr8400 :1

This command works on all of my HP-UX 10.20 servers and also works on the rest of my servers with other flavors of UNIX. Does anyone have a clue of what might be restricting me from getting a remote login.

If you are unfamiliar with Xnest, it is a nested X server and comes with newer versions of Solaris. It basically launches a nested X session window to the server that you wish to access.

I am thinking that there is something in /usr/dt/config/ that is restricting me, but I am not sure what.
11 REPLIES 11
Alex Lavrov.
Honored Contributor

Re: Cannot get X login to HP-UX 11.0 or 11i

Any error messages? Any erros in syslog? core files?

Is "DISPLAY" properly exported?

"xhost +"?

Alex.
I don't give a damn for a man that can only spell a word one way. (M. Twain)
AwadheshPandey
Honored Contributor

Re: Cannot get X login to HP-UX 11.0 or 11i

go to $HOME/.dt
and see errorlog, and startlog. try to resolve problem or post these error messages.

Awadhesh
It's kind of fun to do the impossible
Muthukumar_5
Honored Contributor

Re: Cannot get X login to HP-UX 11.0 or 11i

Set DISPLAY varialble with IP-Address:0.0 setting. Don't use hostname in that.

Is there any error more?

hth.
Easy to suggest when don't know about the problem!
Ted Buis
Honored Contributor

Re: Cannot get X login to HP-UX 11.0 or 11i

Check to make sure that the x11/CDE client is running on the HP-UX 11.x server. Also, if you get the CDE login, but can't get into CDE, then check the name switch service to make sure it is correct. This is very easily done via sam.

If X11/CDE isn't running, then you can start it by:
/usr/dt/bin/dtconfig -e
/sbin/init.d/dtlogin.rc start
Mom 6
Dieter S. Vener
Frequent Advisor

Re: Cannot get X login to HP-UX 11.0 or 11i

Hi,

dtlogin is running. My /var/dt/Xerrors log has the following error in it:

Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*-*-*-*-*-
*-*-*-*" to type FontList
Warning: Cannot convert string "-dt-interface system-medium-r-normal-s*-*-*-*-*-
*-*-*-*:" to type FontList
Warning: Missing charsets in String to FontSet conversion
Warning: Cannot convert string "-dt-interface user-medium-r-normal-s*-*-*-*-*-*-
*-*-*" to type FontSet
Warning: Missing charsets in String to FontSet conversion
Warning: Unable to load any usable fontset
Warning:
Name: FONTLIST_DEFAULT_TAG_STRING
Class: XmRendition
Conversion failed. Cannot load font.

The nested X server is being launched from a Solaris 10 server. As mentioned, I can connect to any other version of UNIX in our environment except HP 11 and 11i (two servers to be exact). Our environment includes...IRIX, HP-UX 9.05/10.20,Tru64,OpenVMS,PowerMAX OS, and Linux. I can connect to any of these other servers with no issues.
Ted Buis
Honored Contributor

Re: Cannot get X login to HP-UX 11.0 or 11i

Possibly some filesets that are needed are not loaded by default on your HP-UX 11.x configurations. I'm not sure if a swlist would help identify it, or if you should go back to your installation CD's and see if there are some filesets that are not loaded in 11.x by default that look like what is missing.

Another thought, is that X11 R5 in HP-UX 11.x was replaced by X11 R6. Is it possible that Xnest is based on X11 R5? It might still be there but down a different path.
Mom 6
Ted Buis
Honored Contributor

Re: Cannot get X login to HP-UX 11.0 or 11i

Along with X11 R5 o X11 R6, was the transition from CDE 1.0 to CDE 2.0. CDE 2.0 would be the default in HP-UX 11.x.
Mom 6
Dieter S. Vener
Frequent Advisor

Re: Cannot get X login to HP-UX 11.0 or 11i

The version of Xnest in Solaris 10 is X11R6. I still think it is related to the fonts that the application is trying to use:

I am experimenting with the following command to try to use a different set of fonts:

%./Xnest -query chpr8400 -fp tcp/servername:port/fontpath1,/fontpath2,etc
Ted Buis
Honored Contributor

Re: Cannot get X login to HP-UX 11.0 or 11i

If you can find the font files on any of the other system, you maybe able to copy them to the HP-UX 11.x systems. I would think the are just data files that would be OS independent, but I really don't know, so it might best to find them on the 10.20 server.
Mom 6
AwadheshPandey
Honored Contributor

Re: Cannot get X login to HP-UX 11.0 or 11i

go to this link : http://www.cygwin.com/ml/cygwin-xfree/2004-10/msg00078.html

it might be useful to overcome ur problem

Awadhesh
It's kind of fun to do the impossible
John E.Ophious
Regular Advisor
Solution

Re: Cannot get X login to HP-UX 11.0 or 11i

G'day mate,

Are you trying to do this from a vt100 or something similar? If you are, I don't have much faith that this will work properly.

Peace on Earth,

John E. Ophious