CDE & Linux Problem??

CDE & Linux Problem??

Post by Michael Kalis » Sat, 11 Jan 1997 04:00:00



Hello

I've just installed the CDE+AccelaretedX (from xinside) on my
linux machine ( RedHat 4.0 Linux 2.0.25) but I'm having a few
problems.

My problem is that i can't login to the "Regular session". After writing
my
passwd I get to see the copyright message for a while just to return to
the dtlogin picture.

The "Failsafe" session works allright so here are my files:

~/.dt/errorlog
-------------------------------------------------------------
Thu Jan 09 23:00:27 1997
Workspace Manager: I/O error on display:: :0.0
-------------------------------------------------------------

~/.dt/startlog
-------------------------------------------------------------
--- Thu Jan  9 23:00:27 MET 1997
--- /usr/dt/bin/Xsession starting...
--- Xsession started by dtlogin
--- sourcing /root/.dtprofile...
--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- sourcing /usr/dt/config/Xsession.d/0020.dtims...
--- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
--- starting /usr/dt/bin/dthello &
--- starting /usr/dt/bin/dtsearchpath
--- starting /usr/dt/bin/dtappgather &
--- execing /usr/dt/bin/dtsession...
not sourcing /root/.profile (see /root/.dtprofile)
X connection to :0.0 broken (explicit kill or server shutdown).
-------------------------------------------------------------

The Accelerated-X server works great with all my other window-managers
so I think that the problem is somewhere in the CDE, But since it's
a newly installed system and I have not changed any of the config files
it seems strange why it should not work.

Is there a way to start the dtwm manually? like running xinit and then
starting the window manager?

How can I see where in the dtssesion the process has faild? The startlog
message does not give a lot of information.

Any clues? Thanks in advance

Michael

Please reply to my email adress.

--
-------------------------------------
Michael Kalisz


Tel:    +46 8 4048491
Fax:    +46 8 7572969

Company:     Ericsson Radio Access AB
Department:  RSA/T/LD
Address:     164 93 Stockholm
             SWEDEN
-------------------------------------

 
 
 

CDE & Linux Problem??

Post by E. Kevin Hal » Sat, 11 Jan 1997 04:00:00



> Hello

> I've just installed the CDE+AccelaretedX (from xinside) on my
> linux machine ( RedHat 4.0 Linux 2.0.25) but I'm having a few
> problems.

> My problem is that i can't login to the "Regular session". After >writing

had the same problem myself. Tore my hair out from it. Here's
the solution: (Shouldn't this be in a FAQ somewhere at Xinside???)

localhost.ekh(904)> cat /etc/hosts
127.0.0.1               neptune localhost

localhost.ekh(905)> cat /etc/host.conf
order hosts,bind
multi on

With the host.conf file, CDE, which needs to see a proper loopback,
looks first at the hosts file, then at the dns entries in resolv.conf.
If you had tried to log in with a net connection/ppp connection you
would have been able to get in...

Cheers,
K

--
------------------------------------------------------------------------

Silicon Graphics                        
1 Cabot Road                        work: (508) 562 - 4800


 
 
 

CDE & Linux Problem??

Post by Michael Kalis » Sun, 12 Jan 1997 04:00:00



> localhost.ekh(904)> cat /etc/hosts
> 127.0.0.1               neptune localhost

> localhost.ekh(905)> cat /etc/host.conf
> order hosts,bind
> multi on

Hello again

First av all thanks for answaring my post.

I added the hostname  to the /etc/hosts but I still having a few
problems:
~/.dt/errorlog
-------------------------------------------------------------------------
Sat Jan 11 21:44:23 1997
dtsession: Unable to start message server - exiting.

Sat Jan 11 21:45:41 1997
Workspace Manager: I/O error on display:: :0.0
-------------------------------------------------------------------------

~.dt/startlog
--------------------------------------------------------------------------
--- Sat Jan 11 21:41:19 MET 1997
--- /usr/dt/bin/Xsession starting...
--- Xsession started by dtlogin
--- sourcing /root/.dtprofile...
--- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
--- sourcing /usr/dt/config/Xsession.d/0020.dtims...
--- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
--- starting /usr/dt/bin/dthello &
--- starting /usr/dt/bin/dtsearchpath
--- starting /usr/dt/bin/dtappgather &
--- execing /usr/dt/bin/dtsession...
not sourcing /root/.profile (see /root/.dtprofile)
Cannot register service: RPC: Unable to receive; errno = Connection
refused
Cannot register service: RPC: Unable to receive; errno = Connection
refused
.
.
.
Cannot register service: RPC: Unable to receive; errno = Connection
refused
get_myaddress: socket: Invalid argument
---------------------------------------------------------------------------

At least I got a new error message to worry about :-)

What RPC service is not enabled?? any clues?

Thanks in advance

Michael
--
-------------------------------------
Michael Kalisz


Tel:    +46 8 4048491
Fax:    +46 8 7572969

Company:     Ericsson Radio Access AB
Department:  RSA/T/LD
Address:     164 93 Stockholm
             SWEDEN
-------------------------------------

 
 
 

CDE & Linux Problem??

Post by E. Kevin Hal » Mon, 13 Jan 1997 04:00:00



> I added the hostname  to the /etc/hosts but I still having a few
> problems:
> ~.dt/startlog
> --------------------------------------------------------------------------
> --- Sat Jan 11 21:41:19 MET 1997
> --- /usr/dt/bin/Xsession starting...
> --- Xsession started by dtlogin
> --- sourcing /root/.dtprofile...
> --- sourcing /usr/dt/config/Xsession.d/0010.dtpaths...
> --- sourcing /usr/dt/config/Xsession.d/0020.dtims...
> --- sourcing /usr/dt/config/Xsession.d/0030.dttmpdir...
> --- starting /usr/dt/bin/dthello &
> --- starting /usr/dt/bin/dtsearchpath
> --- starting /usr/dt/bin/dtappgather &
> --- execing /usr/dt/bin/dtsession...
> not sourcing /root/.profile (see /root/.dtprofile)
> Cannot register service: RPC: Unable to receive; errno = Connection
> refused
> Cannot register service: RPC: Unable to receive; errno = Connection
> refused

You know, I had CDE installed and working fine. Then, after some fs
troubles
where I had to reinstall completely, I get the exact same problem. I'm
trying to find the problem, but so far can't. I'll let you know if I
find out and similarly if you do....

Cheers,
K

------------------------------------------------------------------------

Silicon Graphics                        
1 Cabot Road                        work: (508) 562 - 4800

 
 
 

CDE & Linux Problem??

Post by Thomas Roel » Tue, 14 Jan 1997 04:00:00




> > Hello

> > I've just installed the CDE+AccelaretedX (from xinside) on my
> > linux machine ( RedHat 4.0 Linux 2.0.25) but I'm having a few
> > problems.

> > My problem is that i can't login to the "Regular session". After >writing

> had the same problem myself. Tore my hair out from it. Here's
> the solution: (Shouldn't this be in a FAQ somewhere at Xinside???)

We are working on that. Actually we are working on a way, to make this
setup automatically. But no guarantees that this will be possible.

Quote:> localhost.ekh(904)> cat /etc/hosts
> 127.0.0.1               neptune localhost

> localhost.ekh(905)> cat /etc/host.conf
> order hosts,bind
> multi on

> With the host.conf file, CDE, which needs to see a proper loopback,
> looks first at the hosts file, then at the dns entries in resolv.conf.
> If you had tried to log in with a net connection/ppp connection you
> would have been able to get in...

The problem is really that CDE uses tooltalk, which then again uses
RPC. While doing all this tooltalk stuff the utilities that do the
session management do want to know the system's own name. And guess
what, they use the portmapper and dns to do this. So a imporper
configured system will fail. As this is so deep into the core of CDE
it's not clear whether there is a simple workaround.

- Thomas
--
Denver Office               THOMAS ROELL        /\      Das Reh springt hoch,
+1(303)298-7478              XiGraphics        /  \/\   das Reh springt weit,
1801 Broadway, Suite 1710                     /    \ \/\     was soll es tun,

 
 
 

CDE & Linux Problem??

Post by E. Kevin Hal » Tue, 14 Jan 1997 04:00:00



> The problem is really that CDE uses tooltalk, which then again uses
> RPC. While doing all this tooltalk stuff the utilities that do the
> session management do want to know the system's own name. And guess
> what, they use the portmapper and dns to do this. So a imporper
> configured system will fail. As this is so deep into the core of CDE
> it's not clear whether there is a simple workaround.

And is there a simple check to see if rpc is set up correctly
(config files/permissions)? After reinstalling the whole system
(for a secondary reason) my rpc, which did work before, doesn't now.
I understand that this isn't _quite_ a CDE thing, but was hoping that
someone would have an idea...

--
-----------------------------------------------------------

Silicon Graphics                        (508) 567 - 2174
1 Cabot Road                            (508) 562 - 4755 FAX
Hudson, MA 01749

 
 
 

CDE & Linux Problem??

Post by Torbjorn Lindgr » Wed, 22 Jan 1997 04:00:00



Quote:>Hello

>I've just installed the CDE+AccelaretedX (from xinside) on my
>linux machine ( RedHat 4.0 Linux 2.0.25) but I'm having a few
>problems.

First upgrade to at least Linux 2.0.26. All versions of Linux 2.x up
to that point contains a bug which affects AcceleratedX. At least some
of the 1.3.x versions have the same bug (and possibly the early 2.1.x
too).

See a linux-kernel mailing-list archive for the*details if you
are interrested.

I don't expect it to have anything to do with your problems, but you
will likely have problems with disappearing windows and other strange
problems without this fix.

Linux 1.2.13 and 2.0.26++ doesn't have this problem.

--
Torbj?rn Lindgren

If Santa ever DID deliver presents on Christmas Eve, he's dead now.

 
 
 

1. CDE, CDE, CDE, --- !@#%^*_(!#$

I am STILL UNABLE to run the Sun CDE.

Does anyone have any further suggestions as to HOW to get this thing to
work properly (even AFTER perforing a POWER UP)?
 _ __                      _    ,   _ _ _
' )  )     /         _/_  ' )  /   ' ) ) )
 /--' ____/___/> __  /     /--/     / / / __,_  __  o _   ______
/  \_(_) /_) (__/ (_<__   /  ( o   / ' (_(_) (_/ (_<_/_)_(_) / <_

Robert H. Morrison                Tel: +49 721 9628 167
Software Developer                Fax: +49 721 9628 261

2. BYTE SMP data (was: Multiprocessor Linux ???)

3. &&&&----Looking for a unix shell------&&&&&

4. Roguewave under workshop 5

5. Exceed & CDE with AIX: fonts & beep questions

6. Need console server software

7. keyboard & cde & openwindows

8. different CPU timings on same program/input/machine !?

9. Solaris v8 & VNC & CDE

10. CDE & RPC & rpc.ttdbserver

11. cc && cde

12. sol2.5&CDE&setuid

13. ppp && PPPoE && ADSL && net && buffer(s)