ALT Linux Bugzilla – #3129
startx can be smarter regarding 'server already running'
Last modified: 2005-08-30 02:34:01
You need to
before you can comment on or make changes to this bug.
sometimes you would want startx not to complain about :0 being already taken but
just dynamically figure out and use the next free number.
the attached /usr/X11R6/bin/startx would do just that, while maintaining 100%
compatibility with usual version; it was rewritten with some security in mind
for this inclusion (ldv seems to have no objections for now).
Steps to Reproduce:
Fatal server error:
Server is already active for display 0
Created an attachment (id=292) [details]
umm... used to work until recently when xinit (X, actually) started to complain
Unrecognized option: /etc/X11/xinit/xserverrc
use: X [:<display>] [option]
the fix is trivial (updated /usr/X11R6/bin/startx reattached):
-xinit $clientargs -- $authdisplay $serverargs -deferglyphs 16 &
+xinit $clientargs -- $serverargs $authdisplay -deferglyphs 16 &
_PS_: hint: this "startx" can be GREAT for Compact-2.3!
Created an attachment (id=298) [details]
better startx (updated)
trivial fix for updated xinit
seems it would be better to move "-deferglyphs 16" to xserverrc or drop it on
the floor if old problem with heavy performance degradation during (occasional)
attempt to load ("wrong") hieroglyphic font.
I'd stay on the safe side (move not drop).
regarding deferglyphs: it's now xfs-related stuff, already included in
/etc/X11/fs/config; so ok and no need to duplicate it here, really.