First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 143878
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo X packagers <x11@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Nikolas Garofil <nikolas@garofil.be>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 143878 depends on: Show dependency tree
Bug 143878 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-08-14 05:27 0000
Systems where gpm and X are started at boottime and where X reads the gpmdevice
can't boot X.
These systems use gpm to read the mousedevice when the user is in the console
but by doing this other programs (like X) can't read the mousedevice. So the
user that does not wish to close gpm each time he switches to X configures
/etc/X11/xorg.conf to use /dev/gpmdata as mousedevice (this is a device created
by gpm, gpm sends everything it receives on the real mousedevice to
/dev/gpmdata).
This configuration normally works perfect, but by default X is started before
gpm
which causes X to crash.

This can be fixed by letting X start after gpm by changing the line:
after bootmisc readahead-list ypbind autofs openvpn
to
after bootmisc readahead-list ypbind autofs openvpn gpm
in /etc/init.d/xdm (x11-apps/xinit)
(This is how I do it)

Another fix that would probably work but that i haven't tested is placing
the line:
before xdm
in /etc/init.d/gpm (sys-libs/gpm)

------- Comment #1 From Nikolas Garofil 2006-08-14 05:39:40 0000 -------
I just tested if placing 'before xdm' in /etc/init.d/gpm would work and it
does.
This fix is maybe better for the community because people that don't use gpm
won't be bothered.

------- Comment #2 From Donnie Berkholz 2006-08-14 09:07:35 0000 -------
Add gpm to the 'use' line in /etc/init.d/xdm, should have the same effect.

------- Comment #3 From Nikolas Garofil 2006-08-14 09:14:04 0000 -------
(In reply to comment #2)
> Add gpm to the 'use' line in /etc/init.d/xdm, should have the same effect.
> 

Won't that cause trouble for people that don't run gpm ?
'after' instead of 'use' seems better.
But 'before xdm' in /etc/init.d/gpm seems the best solution.

------- Comment #4 From Donnie Berkholz 2006-08-14 09:16:16 0000 -------
(In reply to comment #3)
> Won't that cause trouble for people that don't run gpm ?

No, "use" only requires it if it's available. You may be thinking of "need,"
which is different.

------- Comment #5 From Donnie Berkholz 2006-08-20 12:11:41 0000 -------
Fixed in CVS, sync in an hour and re-merge to get the fix.

First Last Prev Next    No search results available      Search page      Enter new bug