Closed a20god closed 10 years ago
Apparently, lightdm is not compatible with the downgrade of Xorg to 1.9. Replacing /usr/bin/X with a script that filters "-seat seat0" for /usr/bin/Xorg makes lightdm start.
I think it might me related to the Xorg package I provide here or a upstream package that isn't replaced very well. if you find the problem here at https://github.com/EMGD-Community/xserver-xorg, feel free to make a fix for that. Thanks! :)
Ah, sorry, didn't read your report precisely. So the problem is that Xorg 1.9 does not support this -seat option?
@a20god , could you show me your script? Mine is sadly now working :( https://github.com/EMGD-Community/xserver-xorg/blob/master/compat/Xcompat
#! /bin/sh
# very sloppy script for removing -seat seat0
y=
for x in "$@"
do
case "$x" in
-seat) ;;
seat0) ;;
*) y="$y $x";;
esac
done
exec /usr/bin/Xorg $y
just modified your solution now:
#!/bin/bash
args=""
skip_next=false
for arg in "$@"
do
if $skip_next; then
skip_next=false
else
case "$arg" in
-seat) skip_next=true;;
-bpp) skip_next=true;;
*) args="$args $arg";;
esac
fi
done
exec /usr/bin/X.real $args
Thanks! I've upgraded the system today and it broke again. Apparently, we need to remove -bpp with its argument, too.
updated the script below and it our upcoming package https://github.com/EMGD-Community/xserver-xorg/commit/0460cbf9ddcff06fd43350b1a3aea2f7d836eb6d ;)
Would be great if you could tell me whether it works :)
Tested on my own and works..
I'm trying to get EMGD to work on a Viliv N5 with Xubuntu 12.04, using the ppa:thopiekar/emgd repository.
With startx, the driver works just fine. However, lightdm does not start: