[kde-solaris] Solaris 9 64 bit startup problem -- one other thing
Stefan Teleman
steleman at nyc.rr.com
Fri Aug 29 01:55:27 CEST 2003
One other thing:
Could you please check the permissions on the following three
directories:
/tmp/.ICE-unix
/tmp/.X11-unix
/tmp/.X11-pipe
They should be 0777 with the sticky bit set.
Here's my little kchmod C program which does just that at kde startup
-- you can compile it, install it in ${KDE}/bin with permissions 4755
owned by root, and then add it somewhere at the beginning of startkde
before anything kde-related starts happening:
----- SNIP
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>
extern int errno;
int
main (int argc, char* argv[])
{
const char* unixPath = "/tmp/.X11-unix";
const char* pipePath = "/tmp/.X11-pipe";
const char* icePath = "/tmp/.ICE-unix";
mode_t mode = 0;
uid_t uid = 0;
mode |= S_IRWXU;
mode |= S_IRWXG;
mode |= S_IRWXO;
mode |= S_ISVTX;
if (setuid (uid) != 0)
{
perror ("setuid"), strerror (errno);
return (-1);
}
if (chmod (unixPath, mode) != 0)
perror ("chmod"), strerror (errno);
if (chmod (pipePath, mode) != 0)
perror ("chmod"), strerror (errno);
if (chmod (icePath, mode) != 0)
perror ("chmod"), strerror (errno);
return (0);
}
----- SNAP
--Stefan
-----
On Thursday 28 August 2003 17:35, robert_kislin at bankone.com wrote:
> Here is the output of my truss when running startkde from within
> CDE:
>
> 13065: door_call(3, 0xFFFFFFFF7FFF55E8) = 0
> 13054: poll(0xFFFFFFFF7FFF8E60, 3, 10) = 0
> 13054: ioctl(9, AUDIO_GETINFO, 0x1001712D4) = 0
> 13054: lseek(11, 158748, SEEK_SET) = 158748
> 13054: read(11, "E3F4 dF7D4FC1B02A3\t o\0".., 288) = 288
> 13054: lseek(11, 159004, SEEK_SET) = 159004
> 13054: read(11, " NFC\fFA gFE >05 [04 :F6".., 288) = 288
> 13054: lseek(11, 159260, SEEK_SET) = 159260
> 13054: read(11, " 8F0ACF6 4FB N021904AE05".., 288) = 288
> 13054: lseek(11, 159516, SEEK_SET) = 159516
> 13054: read(11, "D201 g\t g07 |040703 QFE".., 288) = 288
> 13054: ioctl(9, AUDIO_GETINFO, 0x1001712D4) = 0
> 13054: write(9, "FFCBFFCBF88AF88AF4CFF4CF".., 4096) = 4096
> 13054: ioctl(9, AUDIO_GETINFO, 0x1001712D4) = 0
> 13054: ioctl(9, AUDIO_GETINFO, 0x1001712D4) = 0
> 13065: Incurred fault #6, FLTBOUNDS %pc = 0xFFFFFFFF7A6563E8
> 13065: siginfo: SIGSEGV SEGV_MAPERR addr=0x7BBB6180
> 13065: Received signal #11, SIGSEGV [caught]
> 13065: siginfo: SIGSEGV SEGV_MAPERR addr=0x7BBB6180
> 13065: sigprocmask(SIG_SETMASK, 0xFFFFFFFF7FFF7490, 0x00000000) =
> 0 13065: sigaction(SIGALRM, 0xFFFFFFFF7FFF6F40,
> 0xFFFFFFFF7FFF7100) = 0 13065: alarm(3)
> = 0 13065: close(10)
> = 0 13065: getrlimit(RLIMIT_NOFILE, 0xFFFFFFFF7FFF72D0) = 0
> 13065: close(0) = 0 13065:
> close(1) = 0 13065:
> close(2)
>
>
>
> Please respond to "For people using KDE on Solaris, with questions
> about KDE or Solaris" <kde-solaris at mail.kde.org>
> Sent by:
> kde-solaris-bounces-+robert_kislin=bankone.com at mail.kde.org To:
> "For people using KDE on Solaris, with questions about KDE or
> Solaris" <kde-solaris at mail.kde.org>
> cc:
>
> Subject: Re: [kde-solaris] Solaris 9 64 bit startup problem
>
> robert_kislin at bankone.com wrote:
> > Thanks for the information, but the issue is not setting up
> > dtlogin to work with KDE. I have that set up fine. As KDE
> > begins to load after logging in, ksplash comes up, but it crashes
> > just after starting to load the desktop. I keep getting ICE IO
> > failures. I'm not certain where it
>
> is
>
> > happening, but kdesktop does not load.
>
> Well then you have to find out why !
>
> Login to the sun system over the network from another screen.
> Use telnet or whatever you are comfortable with.
>
> su to root.
>
>
> # ps -ef | grep dtlogin
> root 338 1 0 21:52:20 ? 0:00 /usr/dt/bin/dtlogin
> -daemon
>
> # truss -rall -wall -vall -fao /tmp/trace -p 338 &
>
>
> Atempt to Login on the graphics console with KDE.
>
> After the KDE-KRASH , kill the truss process and analyse the trace.
--
Stefan Teleman 'Nobody Expects the Spanish Inquisition'
steleman at nyc.rr.com -Monty Python
More information about the kde-solaris
mailing list