Operating System - HP-UX
1832645 Members
2536 Online
110043 Solutions
New Discussion

Desktop Login being prompted at console

 
SOLVED
Go to solution
Jenny C
Advisor

Desktop Login being prompted at console

Hi experts,

I connected my console via serial line to an old D-class. my tty is /dev/console. If I don't login to the console, it constantly display the following messages:
The X-server can not be sgtarted on display mybox.xyx.com:0.0. For details look into the file, Dtlogin.errorLogFile
Suspending Desktop Login...
Press [Enter] for a login prompt.
Desktop Login will resume shortly after you log out.

I was able to login amid the rolling messages. But as soon as I logout, the same messages appear again. I have a big /var/dt/Xerrors file which keep on saying:
Thu Mar 18 14:59:07 2004
error (pid 1624): Server for display mybox.xyz.com:0 terminated unexpectedl
y 1

Fatal server error:
Couldn't open X pointer device! Is one attached?

^[gXIO: fatal IO error 232 (Connection reset by peer) on X server "mybox.xyz.com:0.0"
after 0 requests (0 known processed) with 0 events remaining.

Well, my C1099A HP termial doesn't have a connector for a mouse.

My question is, how do I make the message go away? I won't be able to get a terminal that can plug in a mouse.

Thanks in advance.
5 REPLIES 5
Bill Hassell
Honored Contributor
Solution

Re: Desktop Login being prompted at console

The Xwindow subsystem is being started. Edit the file: /etc/rc.config.d/desktop and change DESKTOP=0 to turn off the CDE startup at bootup. That takes of reboot. Then run the start/stop script to turn your current login request:

/sbin/init.d/dtlogin.rc stop


Bill Hassell, sysadmin
T G Manikandan
Honored Contributor

Re: Desktop Login being prompted at console

stop & disable

#/sbin/init.d/dtlogin.rc stop
#/usr/dt/bin/dtconfig -d

Steve Steel
Honored Contributor

Re: Desktop Login being prompted at console

Hi

Try this to stop the CDE environment grabbing the console when it starts up:

In file /etc/dt/config/Xservers,
change the lineconatining "local@console" to read
"* Local local@none /usr/bin/X11/X :0" "

The "local@none" stops dtlogin from
grabbing /dev/console on the serial port.

Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
Jenny C
Advisor

Re: Desktop Login being prompted at console

Hi TG,

Sorry for my ignorance....another newbie question:

why do I need to for stop and disable the dtlogin script?

I've configured to disable XWindow getting started at bootup by configuring DESKTOP=0 and rebooted the machine, according to Bill Hassell's advice. It fixed the problem. He did also mention about stopping the dtlogin script...but I am not sure why I need to do it....
Bill Hassell
Honored Contributor

Re: Desktop Login being prompted at console

dtconfig is actually a script that performs much of the CDE configuration including changing the start/stop configuration script (-d option). Since you're not using CDE at all, editing the /etc/rc.config.d/desktop config file by hand is a more standard way of doing things.


Bill Hassell, sysadmin