[CM] grace runs as root user only

Kjetil S. Matheussen k.s.matheussen at notam02.no
Tue Apr 6 01:00:49 PDT 2010



On Mon, 5 Apr 2010, Juan Reyes wrote:

>
> Hi Nando,
>
>
>> And what error do you get?
>
> As far as console errors I get nothing (which is weird).
>
> Thanks for the 'strace' tip.
> Apparently it goes through all the Xorg fonts stuff but it stops with
> the following:
>
>
>> poll([{fd=3, events=POLLIN|POLLOUT}], 1, -1) = 1 ([{fd=3, revents=POLLOUT}])
>> writev(3, [{"\225\5\1\0", 4}, {NULL, 0}, {"", 0}], 3) = 4
>> poll([{fd=3, events=POLLIN}], 1, -1)    = 1 ([{fd=3, revents=POLLIN}])
>> read(3, "\1,\23\0\2\0\0\0\1\0\0\0\270,\246\277\0\0\0\0\4\0\0\0008\365\20\n\0\0\0\0"..., 4096) = 40
>> read(3, 0x88a63e8, 4096)                = -1 EAGAIN (Resource temporarily unavailable)
>> stat64("/var/tmp", {st_mode=S_IFDIR|S_ISVTX|0777, st_size=4096, ...}) = 0
>> access("/var/tmp/juceAppLock_Grace", F_OK) = 0
>> open("/var/tmp/juceAppLock_Grace", O_RDWR) = -1 EACCES (Permission denied)
>> gettimeofday({1270514145, 655788}, NULL) = 0
>> fcntl64(-1, F_SETLK, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = -1 EBADF (Bad file descriptor)
>> close(-1)                               = -1 EBADF (Bad file descriptor)
>> getpid()                                = 3864
>> exit_group(0)
>

Could it be that the file /var/tmp/juceAppLock_Grace is left over
from a previous session run by root?

Did you try deleting that file before running Grace (as non-root)?



More information about the Cmdist mailing list