Gdk shared memory problem
Hi,
I have just installed linux from scratch (lfs). And i am experiencing some problems with gtk+2. Whenever i launch an application i get: Gdk-WARNING **: shmget failed: error 38 (Function not implemented) I have tried googling around an as far as i could find this has to do with some shared memory kernel option not being set. Does anyone know how to resolve this? A quick "grep SHM .config" gave me this: CONFIG_SHMEM=y # CONFIG_TINY_SHMEM is not set Any ideas are most welcome! Thanks /Peter |
hi,
in /etc/fstab you got Code:
shm /dev/shm tmpfs defaults 0 0 i'm not sure what this will tell us but you can look at shared segments with the command ipcs -m i guess another issue could be size i think shm is limited by default to half of physical memory can be set to less in various ways like defaults,size=<>M i thnk allocation certaily would fail if all is used up. |
Thanks for replying!
I have just noticed that shared memory support wasn't compiled into the kernel after all. After i enabled it the error messages went away. /Peter |
All times are GMT -5. The time now is 04:26 AM. |