Operating System - HP-UX
1826415 Members
3774 Online
109692 Solutions
New Discussion

Problem with X-win 32 and HP-UX 11v1

 
Mike Roman_1
Occasional Advisor

Problem with X-win 32 and HP-UX 11v1

hello guys, im trying to connect to a workstation with 11v1, and it gets connected but doesnt allow me to enter in the CDE mode, only to a Filesafe Session, can somebody help me out?

Thanks!
15 REPLIES 15
Dennis Handly
Acclaimed Contributor
Steven E. Protter
Exalted Contributor

Re: Problem with X-win 32 and HP-UX 11v1

Shalom,

Normally this is permissions on the .dt directories or files or the font server is hung or not running.

Check /etc/rc.config.d/xfs

See if the daemon is configured to start.

/sbin/init.d/xfs start

After changing the figure to 1.

/sbin/init.d/xfs restart

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Mike Roman_1
Occasional Advisor

Re: Problem with X-win 32 and HP-UX 11v1

Dennis: i ran dr_dt and appears 0 errors but 9 warnings, where can i see the warning log?

Steven: what are the right permissions for the .dt files and folders? 777?

i changed the value of xfs to 1, but seems its not working via x-win 32 yet, do i need to reboot?

notice that on the workstation itself CDE is available for all the users.

and this image is the one what i get when i want to connect via x-win 32 from my windows laptop. (attachment)

Thanks!

Mike Roman_1
Occasional Advisor

Re: Problem with X-win 32 and HP-UX 11v1

LOG: Xerrors

# more Xerrors
/usr/bin/X11/xset: bad font path element (#69), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
/usr/bin/X11/xset: bad font path element (#69), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
/usr/bin/X11/xset: bad font path element (#69), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
/usr/bin/X11/xset: bad font path element (#69), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
/usr/bin/X11/xset: bad font path element (#69), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
/usr/bin/X11/xset: bad font path element (#69), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
mwm: I/O error on display:: 10.182.110.94:0.0

/usr/bin/X11/xset: bad font path element (#69), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
/usr/bin/X11/xset: bad font path element (#69), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
/usr/bin/X11/xset: bad font path element (#69), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
/usr/bin/X11/xset: bad font path element (#69), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
/usr/bin/X11/xset: bad font path element (#69), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
/usr/bin/X11/xset: bad font path element (#69), possible causes are:
Directory does not exist or has wrong permissions
Directory missing fonts.dir
Incorrect font server address or syntax
Mike Roman_1
Occasional Advisor

Re: Problem with X-win 32 and HP-UX 11v1

any news on this issue?

thanks!
Avinash20
Honored Contributor

Re: Problem with X-win 32 and HP-UX 11v1

Please try running fslsfonts to check that your HP-UX server has all required fonts. fslsfonts is located in /usr/contrib/bin/X11 on HP-UX 11.11 systems.

$ /usr/contrib/bin/X11/fslsfonts -server your_hpux_server:7000

Check if CDE fonts and fixed font appear in the output. If not, double check font server config file (/etc/X11/fs/config) on your HP-UX server.

Here is an example.

$ fslsfonts -server :7000 -fn fixed
fixed fixed fixed

$ fslsfonts -server :7000 -fn '-dt*' | head
-dt-application-bold-i-normal-sans-10-100-75-75-p-60-hp-roman8
-dt-application-bold-i-normal-sans-10-100-75-75-p-60-iso8859-1
-dt-application-bold-i-normal-sans-10-100-75-75-p-60-iso8859-1
-dt-application-bold-i-normal-sans-11-80-100-100-p-60-iso8859-1
-dt-application-bold-i-normal-sans-11-80-100-100-p-60-iso8859-1
-dt-application-bold-i-normal-sans-12-120-75-75-p-69-hp-roman8
-dt-application-bold-i-normal-sans-12-120-75-75-p-69-iso8859-1
-dt-application-bold-i-normal-sans-12-120-75-75-p-69-iso8859-1
-dt-application-bold-i-normal-sans-14-100-100-100-p-82-iso8859-1
-dt-application-bold-i-normal-sans-14-100-100-100-p-82-iso8859-1
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Mike Roman_1
Occasional Advisor

Re: Problem with X-win 32 and HP-UX 11v1

the weird thing is that on the server works the CDE, but not while i connect through the X Win 32 (XDMCP)

mmm seems i have all correct, check my output:


# fslsfonts -server CHHUX170:7000 -fn fixed
fslsfonts: unable to open server "CHHUX17170:7000"
# fslsfonts -server CHHUX170:7000 -fn fixed
fixed fixed fixed
# fslsfonts -server CHHUX170:7000 -fn '-dt*' | head
fslsfonts: pattern " unmatched
-dt-application-bold-i-normal-sans-10-100-75-75-p-60-hp-roman8
-dt-application-bold-i-normal-sans-10-100-75-75-p-60-iso8859-1
-dt-application-bold-i-normal-sans-10-100-75-75-p-60-iso8859-1
-dt-application-bold-i-normal-sans-11-80-100-100-p-60-iso8859-1
-dt-application-bold-i-normal-sans-11-80-100-100-p-60-iso8859-1
-dt-application-bold-i-normal-sans-12-120-75-75-p-69-hp-roman8
-dt-application-bold-i-normal-sans-12-120-75-75-p-69-iso8859-1
-dt-application-bold-i-normal-sans-12-120-75-75-p-69-iso8859-1
-dt-application-bold-i-normal-sans-14-100-100-100-p-82-iso8859-1
-dt-application-bold-i-normal-sans-14-100-100-100-p-82-iso8859-1
#
Avinash20
Honored Contributor

Re: Problem with X-win 32 and HP-UX 11v1

" and it gets connected but doesnt allow me to enter in the CDE mode, only to a Filesafe Session"

It is that you are able to get the CDE login prompt, but unable to login via particular user

Is yes, check if you facing issue with only root or all other non-root user.
Create a new user and check.

check the emulator setting tab called Input and see for a box which says "Enable XKeyboard extension". Uncheck that box and check
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Problem with X-win 32 and HP-UX 11v1

" and it gets connected but doesnt allow me to enter in the CDE mode, only to a Filesafe Session"

It is that you are able to get the CDE login prompt, but unable to login via particular user

Is yes, check if you facing issue with only root or all other non-root user.
Create a new user and check.

check the emulator setting tab called Input and see for a box which says "Enable XKeyboard extension". Uncheck that box and check

PS : Please assign point: http://forums11.itrc.hp.com/service/forums/helptips.do?#33
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Mike Roman_1
Occasional Advisor

Re: Problem with X-win 32 and HP-UX 11v1

ok i unchecked the box of Xkeyboard.
i created a new user and its still the same

it recognizes my login, but it appears the message that shows in the image im attaching, check it out.
Avinash20
Honored Contributor

Re: Problem with X-win 32 and HP-UX 11v1

Did you check for /etc/hosts file

Are you able to do nslookup to IP address and hostname

# nslookup
# nslookup

Also does /etc/nsswitch.conf exists
If not, please create via

# cp /etc/nsswitch.files /etc/nsswitch.conf

If it exists, then temporarily let the following entry be

hosts : files
ipnodes: files
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Avinash20
Honored Contributor

Re: Problem with X-win 32 and HP-UX 11v1

Also while trying to login, check for the start*.log which will reside in home directory of the user,
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Mike Roman_1
Occasional Advisor

Re: Problem with X-win 32 and HP-UX 11v1

On the NSSWITCH issue, the file didnt exist, so i copied it as you told me and added the lines, then it didnt show me the login prompt, so i deleted the file and we are on the same status.
Avinash20
Honored Contributor

Re: Problem with X-win 32 and HP-UX 11v1

Add the following in /etc/hosts

10.194.0.170 CHHUX170.XXXXXXXXXXX(deleted by user's request) CHHUX170

### See that you dont have multiple entries for the IP address 10.194.0.170



Copy /etc/nsswitch.files to /etc/nsswitch.conf

Edit the above file
MAke the entry as follows

hosts : files dns

>> Then check via login.
"Light travels faster than sound. That's why some people appear bright until you hear them speak."
Mike Roman_1
Occasional Advisor

Re: Problem with X-win 32 and HP-UX 11v1

done that, without luck... i guess there is not a problem with my network configuration because i installed Ximian GNOME and worked with X-Win 32, it could be something related to CDE or X11... any suggestions with that?