A step forward (?) in my mandrake 9.0 problem: mc will not work as user in 
text consoles with gpm enabled. It will work as root, and strangely enough 
a _second_ instance of mc will work while the first is spewing out 
debugging information.

I have recompiled gpm and mc packages from source, to no avail.

OK, alias mc='mc -d' (disable mouse support) in my .bashrc gets around 
this but I hate leaving the problem unsolved.

Debugging messages come from line 857 of gpm.c, here is 
the stuff from line 856 on:

if (uid != statbuf.st_uid) {
  gpm_report(GPM_PR_WARN,GPM_MESS_FAILED_CONNECT, uid, tty); /*SUSPECT*/
  free(info);
  free(tty);
  close(newfd);
  return -1;
}
free(tty);

My question is - why on earth on my system should uid != statbuf.s_uid 
??? The same code is present in gpm.c of mandrake 8.2 but I don't have the 
same problem there.

Is it because the kernel is different ?
Is it my video card ?
Is it ... ?

-- 
Michele Alzetta



Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com

Reply via email to