CDE question

CDE question

Post by Guy Paulu » Fri, 28 Nov 2003 18:45:58


Good morning:

A user is getting trouble logging in a CDE session through an X
emulator from his PC. The $HOME/.dt/errorlog file features the following:

Thu Nov 27 09:51:26 2003
Workspace Manager: I/O error on display:: tx38:0.0

tx38 is an old alias name that has been replaced by smc38 in the /etc/hosts
file of the server. The display should now be smc38:0.0 instead of tx38:0.0
A fresh $HOME/.dt directory has been created, but still the errorlog shows
tx38:0.0 as display. Is there something remaining somewhere on the server
with the old display information that I have to get rid of ?

The server runs solaris 9 with CDE 1.5.
--
,
/)
// Guy Paulus (Sys Admin)
(/ Service des Milieux Continus, CP-194/5
_/ ______ Universite Libre de Bruxelles
) ( (-----( 50 av. F. D. Roosevelt
/INK\ \ \ B-1050 Brussels
\___/ \ \ Phone: +32(2)650 3652
jgs _)_____) Fax: +32(2)650 2789
`------`
 
 
 

CDE question

Post by Martin Pau » Fri, 28 Nov 2003 20:39:12


If the hostname of the machine was changed by just editing /etc/hosts,
this could be the culprit. The hostname is also listed in some
other files under /etc. Check the manpage for sys-unconfig (which
is the supported command to change the hostname) for a list of files
to be modified.

hth, mp.
--
Systems Administrator | Institute for Software Science | Univ. of Vienna

 
 
 

CDE question

Post by Guy Paulu » Fri, 28 Nov 2003 20:58:00


tx38 was an alias for a remote host, not the solaris server. I don't
see what sys-unconfig has to do with the DISPLAY value on the remote
host. When the user logs into another server, where the /etc/hosts file
is empty except for the loopback and the server itself, the DISPLAY
value is correctly set to smc38:0.0, not tx38:0.0.
Both servers use /etc/nsswitch.conf with "hosts: file dns"; the difference
is that on the server complaining about the display, /etc/hosts contains
an smc38 entry, while on the other the hostname is provided by the DNS.
--
,
/)
// Guy Paulus (Sys Admin)
(/ Service des Milieux Continus, CP-194/5
_/ ______ Universite Libre de Bruxelles
) ( (-----( 50 av. F. D. Roosevelt
/INK\ \ \ B-1050 Brussels
\___/ \ \ Phone: +32(2)650 3652
jgs _)_____) Fax: +32(2)650 2789
`------`
 
 
 

CDE question

Post by Neil W Ric » Sat, 29 Nov 2003 01:05:41

Guy Paulus < XXXX@XXXXX.COM > writes:



Try removing bot $HOME/.dt and $HOME/.dtprofile

If that does not solve the problem, then try adding

DTSOURCEPROFILE=false

to ".dtprofile".

If it still does not work, check whether this is a "csh"/"tcsh" user,
and look in ".cshrc".
 
 
 

CDE question

Post by eedmi » Sat, 29 Nov 2003 03:40:13

In article <Pine.GSO.4.58.0311271247140.22731@airy>, Guy Paulus < XXXX@XXXXX.COM > writes:



Check the other files under /etc, like /etc/nodename and /etc/net/*/hosts.

Does
getent hosts IP-address
resolve to the new host name?

Have you rebooted the machine? At least you should restart dtlogin and
syslog service after changing host name.

--
Michael Tosch
IT Specialist
HP Managed Services Germany
Phone +49 2407 575 313
 
 
 

CDE question

Post by Oscar del » Sun, 30 Nov 2003 00:13:07


Perhaps the PC X-server still has the old tx38 hostname?
I believe it is the X-server that sets the DISPLAY environment.