Operating System - HP-UX
1820195 Members
4065 Online
109620 Solutions
New Discussion юеВ

Re: CDE login failed with HP-UX 11.0

 
Simon Nikiforov
New Member

CDE login failed with HP-UX 11.0

I can not logon using CDE login.
I can only use failsafe session to logon
I made host name -SD( I typed hostname and get resolved - SD). When I am typing /etc/hostname I got line
/etc/hosts [16] 68.21.6.30 -not found
/etc/hosts [17] 192.168.1.101 -not found
/etc/hosts [18] 68.6.16.25 -not found
/etc/hosts [19] 68.6.16.30 -not found
/etc/hosts [20] 127.0.0.1- not found
I am using COX cable service and connected HP Visualize B2000 to Linksys router
my IP address is 192.168.1.101
DHCP server is 192.168.1.1
DNS servers are 68.6.16.25, 68.6.16.30 and 68.2.16.30 I can ping 127.0.0.1 also.
When I am typing /usr/dt/config/Xaccess [74]- not found
/usr/dt/confgi/Xconfig I got next lines
[46] Dtlogin.errorLogfile - not found
[47] Dtlogin.pidFiles -not found
[55] Dtlogin.accesFile - not found
[60] Dtloginservers - not found
[64] dtlogin*resources -not found
[65] Dtlogin*startup - not found
[66] Dtlogin*reset - not found
[67] Dtlogin*setup - not found
[70] Dtlogin*failsafeClient - not found
[83] Dtlogin*langSetup -not found.
After runing dr_dt I got 0 Errors and 17 Warnings like
The /usr/dt/config/Xconfig file is not proper;y configured. the current configuration is permissions = -rwxrwxrwx
owner =bin
group =bin
For the HP CDE to function correctly it should be a file with the following configuration
permissios =-r--r--r--
owner =bin
group =bin
Please tell me I have to correct these permissions. I was trying all tips that I found on the Internet and stiil did not find solution. I am using a Sun monitor with this workstation. I am getting all the time a blue screen for Copy Rights and box that /etc.hosts should be properly configured and check for netwok configuration. I easily connected my Suse Linux and Red Hat but I can't get fixed my HP Visualize workstation. How I have to configure my network if I ahve all these dat that I stated above? Maybe I have to apply some CDE patch in order to fix it, so which is one?
If anyone knows how to resolve this poroblem please help me to do it.
I realy appreciate any help. Thanks for help and understanding
My first email is nikisimon@cox.net
and my second email that I will use from June 16 is nikifosu@bonhomme-richard.navy.mil



6 REPLIES 6
Steven E. Protter
Exalted Contributor

Re: CDE login failed with HP-UX 11.0

Shalom Simon,

It appears that files are missing or have incorrect permissions. Ownership of the files should be by the user logging in. The owner should have rwx permissions on them.

Checklist:
vi /etc/rc.config.d/xfs

Make sure the first variable is 1 so that the font server starts automatically.

/sbin/init.d/xfs start
# starts the font server.

Perhaps copy in the .dt files of a working user if any.

I suggest you post to this thread:
http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=1032434

Posting email addresses to these forums makes those addresses magically appear in spam databases. I strongly urge you to request your emails be removed from this thread in the link noted above.

Regards,

Shmuel
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
OldSchool
Honored Contributor

Re: CDE login failed with HP-UX 11.0

let's start w/ something simple:

Does telnet to that box work properly?

Rlogin?

Is the xhost info correct? does your box need to be added?
V. Nyga
Honored Contributor

Re: CDE login failed with HP-UX 11.0

Hi,

could it be that you've copied your hosts from another (linux) system?
You must have read permissions for this file:
-rw-r--r-- 1 root sys 5870 May 11 09:29 /etc/hosts

You can configure network, hostname, ip-address, etc. with
'/sbin/set_parms initial' or see the options with '/sbin/set_parms'.

Also check logs in /var/X11/Xserver/logs

HTH
Volkmar
*** Say 'Thanks' with Kudos ***
Timothy P. Jackson
Valued Contributor

Re: CDE login failed with HP-UX 11.0

Hi Simon,

I have actually found that the /tmp directory either being full or having incorrect permissions on it would prevent me from logging in. If the "/" volume group is full it definately not let you log in.

Just something else to check.

Tim
Simon Nikiforov
New Member

Re: CDE login failed with HP-UX 11.0

I fixed somehow my CDE login by changing my IP address to 192.1.2.34. I am wondering why i can't use my IP address that my Linksys router assigned. I change back to my original IP and got the same CDE login problem. i think maybe the problem is that my COX cable doesn't recognize HP-UX 11.0
or something else that stops all the time to resolve for me command /etc/hosts. Can you tell me how I have to configure my network and get resolved /etc/hosts. I can do everything in the terminal window but for some reason I have to repeat to reasign permissions to /etc/hosts and /sbin/sh.
V. Nyga
Honored Contributor

Re: CDE login failed with HP-UX 11.0

Hi again,

how do you change ip-address?
Only by editing /etc/hosts?

Try doing it with the right tool:
set_parms ip_address

If you want to use your router as DHCP server you have to configure it at the 'first boot' with:
set_parms (see 'man set_parms')

I didn't use DHCP so I can't tell you how it will work, you've to try it.

HTH
Volkmar
*** Say 'Thanks' with Kudos ***