Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 212450 Details for
Bug 295562
=x11-base/xorg-server-1.7.1 segfaults in the first 5 minutes if not launched via startx
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
modified startDM.sh
startDM.diff (text/plain), 1.23 KB, created by
Raphaël Droz
on 2009-12-08 13:26:33 UTC
(
hide
)
Description:
modified startDM.sh
Filename:
MIME Type:
Creator:
Raphaël Droz
Created:
2009-12-08 13:26:33 UTC
Size:
1.23 KB
patch
obsolete
>--- /usr/portage/x11-apps/xinit/files/startDM.sh 2007-04-05 17:36:08.000000000 +0200 >+++ /etc/X11/startDM.sh 2009-11-29 12:14:39.000000000 +0100 >@@ -14,17 +14,28 @@ > [ -r "${svclib}"/sh/rc-services.sh ] && . "${svclib}"/sh/rc-services.sh > fi > >-# Great new Gnome2 feature, AA >-# We enable this by default >-export GDK_USE_XFT=1 >- > export SVCNAME=xdm >+ > EXEC="$(get_options service)" > NAME="$(get_options name)" > PIDFILE="$(get_options pidfile)" >+XUSER=my_user_to_autologin >+PIDFILE=/var/run/startx.pid >+ >+if test -z "${XUSER}"; then >+ # Great new Gnome2 feature, AA >+ # We enable this by default >+ export GDK_USE_XFT=1 > >-start-stop-daemon --start --exec ${EXEC} \ >-${NAME:+--name} ${NAME} ${PIDFILE:+--pidfile} ${PIDFILE} || \ >-eerror "ERROR: could not start the Display Manager" >+ >+ start-stop-daemon --start --exec ${EXEC} \ >+ ${NAME:+--name} ${NAME} ${PIDFILE:+--pidfile} ${PIDFILE} || \ >+ eerror "ERROR: could not start the Display Manager" >+else >+ env USER=${XUSER} HOME=$(getent passwd ${XUSER}|cut -d: -f6) \ >+ start-stop-daemon --start --background --make-pidfile -c ${XUSER} --exec ${EXEC} \ >+ ${NAME:+--name} ${NAME} ${PIDFILE:+--pidfile} ${PIDFILE} || \ >+ eerror "ERROR: could not start ${EXEC} for ${XUSER}" >+fi > > # vim:ts=4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 295562
:
212328
|
212442
| 212450 |
212518
|
212519
|
213791
|
214205