Operating System - HP-UX
1834458 Members
2308 Online
110067 Solutions
New Discussion

Re: Desktop Login/Single User

 
FrAnK
Advisor

Desktop Login/Single User

Hello,

I recently bought HP 9000 D-370 server. I connected from PC (COM1 to Server Console Port) by using dbf9-dbf9. When the system boots up its giving me the following error.

----------------------------------------------
* Wait for the Desktop Login screen before logging in.

*********************************************** The X-server can not be started on display myHPser:0...
For details look into the file, Dtlogin.errorLogFile( default: /var/dt/Xerrors
)
**********************************************
* Suspending Desktop Login...
* Press [Enter] for a login prompt.
* Log in. Desktop Login will resume shortly after you log out.
----------------------------------------------
But I can't enter after to go to login prompt; My keyboard doesn't work. my autoboot is off. If I boot up in single-user mood it brings up to command prompt, again I can't type anything.

What should I do guys ???

Thanks...

Frank
10 REPLIES 10
curt larson_1
Honored Contributor

Re: Desktop Login/Single User

how about answering a few questions to get a better idea of what is going on?

1) But I can't enter after to go to login prompt; My keyboard doesn't work.

is this a keyboard attached to your pc or attached to the D370?

2)my autoboot is off. If I boot up in single-user mood it brings up to command prompt.

I take your entering some information from a keyboard to boot into single user mode. Where is this keyboard attached?

3)is there a keyboard/mouse attached to the D370?
FrAnK
Advisor

Re: Desktop Login/Single User

As I said. I used PC hyperterminal (dbf9-dbf9 cable ...com1 of PC ===> console port of server). No, Keyboard and Mouse are not attached to server. In hyperterminal window, when I go up to PDC menu, I can use keyboard. After booting from there whether Single user or Normal boot, Keyboard doesn't work.

Frank
curt larson_1
Honored Contributor

Re: Desktop Login/Single User

don't know if this is helpful, but maybe getty is changing the setup of your serial line. Have you tried using the "break" key to change the baud rate? I'm not sure what the "break" key is on a pc, but

If a null character (or framing error) is received, it is assumed to be the result of the user pushing the ``break'' key. This causes getty to attempt the next speed in the series.
curt larson_1
Honored Contributor

Re: Desktop Login/Single User

don't know if this is helpful, but maybe getty is changing the setup of your serial line. Have you tried using the "break" key to change the baud rate? I'm not sure what the "break" key is on a pc, but

If a null character (or framing error) is received, it is assumed to be the result of the user pushing the ``break'' key. This causes getty to attempt the next speed in the series.
curt larson_1
Honored Contributor

Re: Desktop Login/Single User

don't know if this is helpful, but maybe getty is changing the setup of your serial line. Have you tried using the "break" key to change the baud rate? I'm not sure what the "break" key is on a pc, but

If a null character (or framing error) is received, it is assumed to be the result of the user pushing the ``break'' key. This causes getty to attempt the next speed in the series.
KapilRaj
Honored Contributor

Re: Desktop Login/Single User

Hey guys,

I am little confuced of the error message. This error messg can not come on a serial line. Do you mean to say that HPUX is so poor to start an X server on serial line??.

Any way why don't you configure 8bits no parity no stop bits 9600 BAUD on your hyper terminal. and start the server in Single user mode ..

Change in deafult boot run level to - 3 /etc/inittab I am sure X server is started in Runlevel 4.

One more hint, find what is the configured settings for /dev/console in /etc/inittab & /etc/gettydefs ??? This will give you some more hints to resolve the issue

Do you have a dump terminal ?? If yes pluig in that as a console that is the best.

kaps
Nothing is impossible
FrAnK
Advisor

Re: Desktop Login/Single User

Thanks Kapil,

But I can't even login, so how can I check settings in files. Anyhow I will try to change setting in hyperterminal once again. It goes up to PDC menu fine, As soon I start booting-up in single user mode it takes me to command prompt, and keyboard doesn't work. On normal login prompt X-server doesn't start and can't go to Desktop login and can't even press enter for login prompt since keyboard doesn't work. Anyway guys, if nothing works, I will try to find out Dumb Terminal. I even have video card but my regular LG monitor displays "Out of frequency range" .....Thanks

Frank
Joseph A Benaiah_1
Regular Advisor

Re: Desktop Login/Single User

Frank,

In my experience this has only happened when CDE trys to startup on a server or workstation that is not on a network.

Using your port on a PC/laptop and setting up a connection through hyperterminal should work.

You could try the following:

1. Boot the server into single user mode.

2. Run /sbin/init 2 to bring the server up to run level 2.

This should startup most of the OS except CDE and a few other processes.

One last thing, it seems obvious but just run tty and check that you are on from /dev/console.

That's all I can think of for now, in addition to the other suggestions listed above.

Cheers,

Joseph
FrAnK
Advisor

Re: Desktop Login/Single User

Hello Guys,

Thanks for all your help.
I know guys I m so confusing for u people, but please give your best answer, If you don't understand anything please ask.

I will write the Question again.

I have a video card (A4450A) in the server (D-370).If I connect with PC monitor, it gives "out of frequency" error.

I m connecting through PC Hyperterminal (com1 to console). I can go up to PDC menu and can make any selection there. As soon I boot the system, it goes up to Login Prompt, after that I can't type anything (keyboard doesn't work). Even if It boots from CD to install HP-UX, I can't make any selection there as well.

I believe it is something to with Hyperterminal, I tried few setting with you guys help but nothing worked. I have Windows XP profession on my PC. Does it have to do anything with OS ???

Please give your SUGGESTION ???

For now I have only One server with the video card. Soon I will be getting second server.
Is this a good idea to get a Server with a video card and get a monitor which will work for both, or get a Dumb Terminal ??? Some people say, Dumb Terminal is the Best Idea to have with Server.

If Dumb Terminal, then what kind of Dumb Terminal is cheap and can also run SAM????

Will be waiting for a response.

Frank
Alex Glennie
Honored Contributor

Re: Desktop Login/Single User

Hi Frank

your first description of the problem seems to suggest there's problems with your keyboard and perhaps your mouse. If there's a problem with the mouse we know X will not start locally - you normally will see in /var/dt/Xerrors XO pointer device errors.

Also it sounds as if the graphics path may have been set correctly ... you do afterall see CDE attempting to start on the PC monitor.

Later you say the k.b is working at pdc level only. I suspect this is related to the hyperterminal but not knowing this h/w for me is a problem.

My advise would be

a) connect mouse and kb directly to the D-class, attach the monitor directly to the graphics card and reboot. Do we see any improvement/functionality ?

b) it would also probably help us all to understand what's connected to what, perhaps a diagram as an attachment ?

c) has this ever worked, do you use hyperterminals elsewhere without problems ? I took at quick look at /usr/lib/X11/Xserver/info/screens/hp and see you have a vis eg card but there's a little doubt in my mind if it will work ... unfortuantly no reference to D370's in the Supported Graphics Devices.

d) lastly if you still see frequency out of range it would be wise maybe to try another monitor or attempt to change the frequency when prompted at boot (monitor needs to be attached to graphics card/port). Generally I'd say if you monitor is in the range of 72-75 Hz it will help.