Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Re: dtlogin hangs on local console but remote X OK
  2000-03-27  5:00 dtlogin hangs on local console but remote X OK Andrew Gallagher
  2000-03-27  5:00 ` Matt Alderson
@ 2000-03-27  5:00 ` Rootwin J. Root
  2000-03-27  5:00   ` Andrew Gallagher
  1 sibling, 1 reply; 6+ messages in thread
From: Rootwin J. Root @ 2000-03-27  5:00 UTC (permalink / raw)


Hi Andrew,
I'd suggest you login on the console as you described and then login via
a terminal also ; check out which of the console's processes are hanging
then
by looking in the output from ps -ef. I have had a similar problem
recently
and found it was the automounter on my system that was hanging the X
display,
as X was using automounter, but not incoming telnet sessions.

You should be able to see the PIDs for you console login and work out
which
ones are hanging by looking at which are the parents and which are the
children and also looking at the process creation time column.

Hope this helps,
Paul

Andrew Gallagher wrote:
> 
> Morning!
> 
> I have been having trouble for a while with an Alpha workstation running
> DU 4.0E. After a reboot, dtlogin hangs on the local console (X starts,
> no login window appears but all processes seem to be running). Remote X
> terminals are unaffected. In the past, the problem has fixed itself
> after a week or so, but this is hardly satisfactory (lucky it doesn't
> get rebooted often).
> 
> There are no errors reported in /var/dt/Xerrors aside from the usual
> font nonsense (which has probably been created by people working away
> from remote X terminals). Likewise there is little amiss in
> /var/adm/syslog.dated/ .
> 
> --
> Andrew Gallagher
> Computer Support, Dept. of Applied Maths and Theoretical Physics
> Queen's University of Belfast, BT7 1NN, N. Ireland
> http://andrewgallagher.tripod.com/id.html



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: dtlogin hangs on local console but remote X OK
  2000-03-27  5:00 ` Rootwin J. Root
@ 2000-03-27  5:00   ` Andrew Gallagher
  2000-03-27  5:00     ` Jimmie L Felt
  0 siblings, 1 reply; 6+ messages in thread
From: Andrew Gallagher @ 2000-03-27  5:00 UTC (permalink / raw)


"Rootwin J. Root" wrote:
> 
> Hi Andrew,
> I'd suggest you login on the console as you described and then login via
> a terminal also ; check out which of the console's processes are hanging
> then
> by looking in the output from ps -ef.

I can't log in on the console... that's the whole point. dtgreet does
not appear - i.e. there is no login screen, just the grey mesh default X
background bitmap.

> You should be able to see the PIDs for you console login and work out
> which
> ones are hanging by looking at which are the parents and which are the
> children and also looking at the process creation time column.

root       1268      1  0.0 18:10:17 ??           0:00.33
/usr/dt/bin/dtlogin -
root       1387   1268  0.0 18:14:42 ??           0:01.73 /usr/bin/X11/X
:0 -su
root       1388   1268  0.0 18:14:42 ??           0:00.00 dtlogin <:0>
-daemon
root       1404      1  0.0 18:14:43 ??           0:00.02
/usr/bin/X11/dxconsol
root       1405   1388  0.0 18:14:43 ??           0:00.11 dtgreet
-display :0

As you can see, dtgreet is the last process created. It is not
displaying on :0 though, despite the arguments. It will display on
remote X terminals without fuss. 

-- 
Andrew Gallagher
Computer Support, Dept. of Applied Maths and Theoretical Physics
Queen's University of Belfast, BT7 1NN, N. Ireland
http://andrewgallagher.tripod.com/id.html



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: dtlogin hangs on local console but remote X OK
  2000-03-27  5:00 dtlogin hangs on local console but remote X OK Andrew Gallagher
@ 2000-03-27  5:00 ` Matt Alderson
  2000-03-27  5:00 ` Rootwin J. Root
  1 sibling, 0 replies; 6+ messages in thread
From: Matt Alderson @ 2000-03-27  5:00 UTC (permalink / raw)


Andrew Gallagher <ab.gallagher@am.qub.ac.uk> writes:

> Morning!
> 
> I have been having trouble for a while with an Alpha workstation running
> DU 4.0E. After a reboot, dtlogin hangs on the local console (X starts,
> no login window appears but all processes seem to be running). Remote X
> terminals are unaffected. In the past, the problem has fixed itself
> after a week or so, but this is hardly satisfactory (lucky it doesn't
> get rebooted often).
> 
> There are no errors reported in /var/dt/Xerrors aside from the usual
> font nonsense (which has probably been created by people working away
> from remote X terminals). Likewise there is little amiss in
> /var/adm/syslog.dated/ .
> 
Did you look at the Xsetup file? By default in /usr/dt/config but if
you copied / created it in /etc/dt/config it will use that instead.
This is where the font path to the CDE fonts is established. The
behaviour you describe is often caused by an inablitity of CDE to
find / load the CDE fonts. The fonts should be in
/usr/dt/config/xfonts/$LANG (or /etc/dt/config/xfonts/$LANG).
If you are using a font server check that the CDE fonts are included
there (/etc/X11/fs/config), and include a line in Xsetup to point
to the font server ($XDIR/xset fp+ tcp/<hostname>:<portnumber>).

-- 
Matt Alderson    GIS Specialist   . Arizona Game and Fish Department
email: malderson@gf.state.az.us   . 2221 W. Greenway Road
voice-mail: (602) 789-3610        . Phoenix, AZ 85023         U.S.A.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: dtlogin hangs on local console but remote X OK
  2000-03-27  5:00   ` Andrew Gallagher
@ 2000-03-27  5:00     ` Jimmie L Felt
  2000-03-27  5:00       ` Andrew Gallagher
  0 siblings, 1 reply; 6+ messages in thread
From: Jimmie L Felt @ 2000-03-27  5:00 UTC (permalink / raw)


Andrew Gallagher wrote:

> "Rootwin J. Root" wrote:
> >
> > Hi Andrew,
> > I'd suggest you login on the console as you described and then login via
> > a terminal also ; check out which of the console's processes are hanging
> > then
> > by looking in the output from ps -ef.
>
> I can't log in on the console... that's the whole point. dtgreet does
> not appear - i.e. there is no login screen, just the grey mesh default X
> background bitmap.
>
> > You should be able to see the PIDs for you console login and work out
> > which
> > ones are hanging by looking at which are the parents and which are the
> > children and also looking at the process creation time column.
>
> root       1268      1  0.0 18:10:17 ??           0:00.33
> /usr/dt/bin/dtlogin -
> root       1387   1268  0.0 18:14:42 ??           0:01.73 /usr/bin/X11/X
> :0 -su
> root       1388   1268  0.0 18:14:42 ??           0:00.00 dtlogin <:0>
> -daemon
> root       1404      1  0.0 18:14:43 ??           0:00.02
> /usr/bin/X11/dxconsol
> root       1405   1388  0.0 18:14:43 ??           0:00.11 dtgreet
> -display :0
>
> As you can see, dtgreet is the last process created. It is not
> displaying on :0 though, despite the arguments. It will display on
> remote X terminals without fuss.
>
> --
> Andrew Gallagher
> Computer Support, Dept. of Applied Maths and Theoretical Physics
> Queen's University of Belfast, BT7 1NN, N. Ireland
> http://andrewgallagher.tripod.com/id.html

Sounds like you might want to take a look at how the local display is defined
in /usr/dt/config/Xservers (or /etc/dt/config/Xservers if you have modified
it).

--
Jim Felt                  I worry that the person who thought up Muzak
The Boeing Company        may be thinking up something else. -- Lilly Tomlin






^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: dtlogin hangs on local console but remote X OK
  2000-03-27  5:00     ` Jimmie L Felt
@ 2000-03-27  5:00       ` Andrew Gallagher
  0 siblings, 0 replies; 6+ messages in thread
From: Andrew Gallagher @ 2000-03-27  5:00 UTC (permalink / raw)


Jimmie L Felt wrote:
> 
> > root       1268      1  0.0 18:10:17 ??           0:00.33
> > /usr/dt/bin/dtlogin -
> > root       1387   1268  0.0 18:14:42 ??           0:01.73 /usr/bin/X11/X
> > :0 -su
> > root       1388   1268  0.0 18:14:42 ??           0:00.00 dtlogin <:0>
> > -daemon
> > root       1404      1  0.0 18:14:43 ??           0:00.02
> > /usr/bin/X11/dxconsol
> > root       1405   1388  0.0 18:14:43 ??           0:00.11 dtgreet
> > -display :0
> >
> > As you can see, dtgreet is the last process created. It is not
> > displaying on :0 though, despite the arguments. It will display on
> > remote X terminals without fuss.

> 
> Sounds like you might want to take a look at how the local display is defined
> in /usr/dt/config/Xservers (or /etc/dt/config/Xservers if you have modified
> it).

Here is /etc/dt/config/Xservers, modified by hand to get the screen
resolution and colour depth right.

   :0   Local local@console /usr/bin/X11/X :0 -screen 1280x1024 -vclass 
TrueColor -depth 24 -terminate

This is the original:

   :0   Local local@console /usr/bin/X11/X :0


-- 
Andrew Gallagher
Computer Support, Dept. of Applied Maths and Theoretical Physics
Queen's University of Belfast, BT7 1NN, N. Ireland
http://andrewgallagher.tripod.com/id.html



^ permalink raw reply	[flat|nested] 6+ messages in thread

* dtlogin hangs on local console but remote X OK
@ 2000-03-27  5:00 Andrew Gallagher
  2000-03-27  5:00 ` Matt Alderson
  2000-03-27  5:00 ` Rootwin J. Root
  0 siblings, 2 replies; 6+ messages in thread
From: Andrew Gallagher @ 2000-03-27  5:00 UTC (permalink / raw)


Morning!

I have been having trouble for a while with an Alpha workstation running
DU 4.0E. After a reboot, dtlogin hangs on the local console (X starts,
no login window appears but all processes seem to be running). Remote X
terminals are unaffected. In the past, the problem has fixed itself
after a week or so, but this is hardly satisfactory (lucky it doesn't
get rebooted often).

There are no errors reported in /var/dt/Xerrors aside from the usual
font nonsense (which has probably been created by people working away
from remote X terminals). Likewise there is little amiss in
/var/adm/syslog.dated/ .

-- 
Andrew Gallagher
Computer Support, Dept. of Applied Maths and Theoretical Physics
Queen's University of Belfast, BT7 1NN, N. Ireland
http://andrewgallagher.tripod.com/id.html



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2000-03-27  5:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-03-27  5:00 dtlogin hangs on local console but remote X OK Andrew Gallagher
2000-03-27  5:00 ` Matt Alderson
2000-03-27  5:00 ` Rootwin J. Root
2000-03-27  5:00   ` Andrew Gallagher
2000-03-27  5:00     ` Jimmie L Felt
2000-03-27  5:00       ` Andrew Gallagher

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox