[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#285151: more info



"Lior Kaplan" <webmaster@guides.co.il> writes:

> Any way, after upgrading to version 4.3.0.dfsg.1-9 of xdm, xdm doesn't
> start the X server. Meaning noone can connect the the GUI. Killing XDM and
> running startx works.
>

there is a small typo in /etc/X11/xdm/Xstartup. the following patch
should fix it:

--- Xstartup    2004-12-11 19:22:40.000000000 -0800
+++ /etc/X11/xdm/Xstartup       2004-12-11 19:16:57.000000000 -0800
@@ -21,7 +21,7 @@
 # Insert a utmp entry for the session.
 if grep -qs '^use-sessreg' /etc/X11/xdm/xdm.options \
   && which sessreg >/dev/null 2>&1; then
-    exec sessreg -a -l "$DISPLAY" -u /var/run/utmp
+    exec sessreg -a -l "$DISPLAY" -u /var/run/utmp \
                  -x /etc/X11/xdm/Xservers "$USER"
   # NOTREACHED
 fi

i.e there is a missing backslash at the ebd of the exec sessreg -a -l
"$DISPLAY" -u /var/run/utmp. alternatively, you can set no-use-sessreg
in /etc/X11/xdm/xdm.options

hope this helps.

--alex--

-- 
| I believe the moment is at hand when, by a paranoiac and active |
|  advance of the mind, it will be possible (simultaneously with  |
|  automatism and other passive states) to systematize confusion  |
|  and thus to help to discredit completely the world of reality. |



Reply to: