On Thu, 20 Sep 2007 12:01:39 +0200
Jeppe Toustrup <[EMAIL PROTECTED]> wrote:

> On Friday 14 September 2007 00:26:15 you wrote:
> > I can only suggest what I would try. Gdm calls the 
> > /etc/opt/SUNWut/basedir/lib/utxsun script which at the end executes the
> > real X server, /usr/bin/Xnewt. You could try to debug the utxsun script by
> > adding some "echo 'I am here' >> /tmp/utxsunlog" lines (or some more
> > intelligent debug commands).
> > Replace the last line
> >   exec $XSUN "$@" $XMOREOPTS $XOPTS
> > by
> >   exec strace -ff -o /tmp/strace.log $XSUN "$@" $XMOREOPTS $XOPTS
> >
> > in order to get a trace log of the X server. Perhaps it gives some hints
> > why the X server doesn't start up.
> >
> > Meik
> 
> Hi again
> 
> Thank you for your tip, that was really helpfull. From the strace logs I 
> figured out that it was looking for some fonts, rgb.txt and some other files, 
> which I symlinked my way out of. Now I get the classical grey screen with a X 
> as a mouse cursor on it, when I boot up the SunRay.

Hm, I've never seen this particular state on my SunRays.
So everything that follows is guesswork.

It seems that gdm is able to start X  but not able to start 
its "visible parts" (either /usr/lib/gdm/gdmgreeter or /usr/lib/gdm/gdmlogin).

By default, gdm uses "gdmgreeter" which is the fancy variant. It can use 
themes, 
background pictures etc. "gdmlogin" is the simpler/older variant with an 
unpretentious
Login window. You select it by adding the  line   
     Greeter=/usr/lib/gdm/gdmlogin 
in the [daemon] section of gdm.conf. Perhaps you can try this.

Also have a look into the [greeter] section of gdm.conf.
Perhaps something points to a non-existing themes directory or
background image. 


> The logfiles on the server doesn't help me out much, gdm's log from the 
> session only contains:
> 
> Could not init font path element /usr/X11R6/lib/X11/fonts/TTF/, removing from 
> list!
> Could not init font path element /usr/X11R6/lib/X11/fonts/CID/, removing from 
> list!
> 
> I haven't been able to find those fonts, but could they be causing it?

No, this is harmless. You can remove these font paths from xorg.conf 
but I am quite sure this is not related to the problem.


> Xorg's logfile doesn't come with any errors, neither does SRSS. I am still 
> able to connect to gdm using Xnest, so gdm is working some way at least.
> 
> Any hints?

Use "pstree -p" to find the master gdm process (which spawns all the other), 
then start "strace -ff -o some_logfile -p <pid of the master gdm>,
restart a sunray client (so that the master gdm starts a new gdm child) and 
have a look at the  strace logs.  
 
Good luck!
Meik

-- 
Meik Hellmund
Mathematisches Institut, Uni Leipzig
e-mail: [EMAIL PROTECTED]
http://www.math.uni-leipzig.de/~hellmund
_______________________________________________
SunRay-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/sunray-users

Reply via email to