Re: [systemd-devel] Xorg freeze totally with systemd-188

2012-08-22 Thread Jeremy Allard
It was really a problem with some component of xorg not linked to the good
udev, or something like that. I deleted udev, and recompiled all the xorg
packages and now it work pretty well. Thanks you very much for all your
help. :)
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Xorg freeze totally with systemd-188

2012-08-22 Thread Jeremy Allard
2012/8/22 Franz Dietrich 

>
>
> > Here's a more informations about my configuration to help you figure
> > what's wrong.
> > Here's the version of severals core components of my system.
> > udev: 165
> > kernel: 3.2.28 (totally vanilla)
> > dbus: 1.4.1
> > xorg-server: 1.9.5
> >
> > I know with my first post I did not include a lot information, I'll
> > try to be more clear now. I don't think it matters, but I do not use
> > graphic login manager. I log myself in a tty, and I start Xorg with
> > xinit. I use a really simple tiling wm. My .xinitrc file go like this
> >
> > setxkbmap ca
> > exec spectrwm
> >
> > and that's it.
> >
> > So, I log in into the tty, I do xinit, and I CAN see the graphical
> > interface of my windows manager, but I can't move the mouse, and the
> > keyboard is frozen. As I said before, the magicsysk combination for
> > killing xorg seems to work at 50%. When I do it, I can't see anymore
> > the graphical interface of my windows manager, it's just a black
> > screen. Then, I have no choice, I have to press on the reboot button,
> > but I noticed that when I press on the reboot button just one time,
> > without holding it, I can see the shutdown process going on with
> > systemd. I can't think of what detail I could forget about. I hope I
> > gave enough information.
> Did you try this with another init system? To be sure that it's a
> systemd issue...
> I remember having the same issue when HAL support was not compiled into
> the XServer but was needed. However I guess that HAL is not an issue
> anymore.
> You might also try to figure out the autorun things of your
> Windowmanager and run a program (glxgears or something else that moves)
> to figure out whether or not the system is frozen or you just lack
> possibility of input.


Yes, I tried with sysvinit and it work perfectly. Yes, I'll try the trick
with glxgears. Thanks for your help.

> ___
> systemd-devel mailing list
> systemd-devel@lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/systemd-devel
>
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Xorg freeze totally with systemd-188

2012-08-22 Thread Jeremy Allard
2012/8/22 Lennart Poettering 

> On Tue, 21.08.12 20:46, Jeremy Allard (elvis4...@gmail.com) wrote:
>
> > Yes, because pam is not avalaible by default with slackware, I disabled
> it
> > with --disable-pam since it said in the ./configure --help that it is
> > optional. I guessed it shouldn't be a problem if I disable it. I did not
> > touch logind, so it should be enable afaik. It's to very hard to install
> > PAM on slackware, so I'll try to install it and build my systemd package
> > with pam support and I'll tell you if it work. For libudev support in
> xorg,
> > there is no --enable-config-udev is not present by default in the build
> > script. The default of this is set to auto, so I guess it is enable
> anyway
> > even if you don't specify it exactly.
>
> logind requires PAM to work. Maybe Slackware is not a good choice to run
> systemd on if PAM is not available.
>
> Lennart
>
> --
> Lennart Poettering - Red Hat, Inc.
>
PAM is not avalaible by default, but you can still install it from an
"extra" repo and this is what I did.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Xorg freeze totally with systemd-188

2012-08-22 Thread Jeremy Allard
2012/8/22 Lennart Poettering 

> On Wed, 22.08.12 03:00, Jeremy Allard (elvis4...@gmail.com) wrote:
>
> > > Here's a more informations about my configuration to help you figure
> > what's wrong.
> > Here's the version of severals core components of my system.
> > udev: 165
>
udev is now part of systemd. You cannot use an external udev.
>

Oh, yeah, I forgot about this.. Does the fact that udev is installed side
by side with systemd can cause this?


> > So, I log in into the tty, I do xinit, and I CAN see the graphical
> > interface of my windows manager, but I can't move the mouse, and the
> > keyboard is frozen.
>
> That sounds as if X didnt enumerate the input devices.
>

Hmm, okay.


> Lennart
>
> --
> Lennart Poettering - Red Hat, Inc.
>
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Xorg freeze totally with systemd-188

2012-08-22 Thread Jeremy Allard
2012/8/21 Jeremy Allard 

>
>
> 2012/8/21 Jeremy Allard 
>
>>
>>
>> 2012/8/21 Lennart Poettering 
>>
>>> On Tue, 21.08.12 19:21, Jeremy Allard (elvis4...@gmail.com) wrote:
>>>
>>> > Hello !
>>> > I'm currently in the process of porting systemd to slackware.
>>>
>>> systemd is not much fun without PAM. AFAIK Slackware doesn't do
>>> PAM. Hence systemd is probably not much fun either.
>>>
>>> > Everything work great, except that when I try to start xorg (as root
>>> or as
>>> > a normal user, it does not change anything), there is visual output (I
>>> can
>>> > see the graphical interface of my wm) but everything else is frozen. I
>>> > can't switch to TTY, I can't move my mouse and even the magicsysk
>>> > combination for killing xorg does not work. It seems to kill xorg, but
>>> then
>>> > I just have a black screen.
>>>
>>> Well, this is too little information to say anthing about this, but did
>>> you make sure to install a libudev enabled X and that you enabled logind
>>> in systemd? (requires PAM).
>>>
>>> Lennart
>>>
>>> --
>>> Lennart Poettering - Red Hat, Inc.
>>>
>> I installed pam and rebuild my packages with pam support, and I still
>> have the same issue. Xorg is build with udev support too.
>>
>
> Here's a more informations about my configuration to help you figure
what's wrong.
Here's the version of severals core components of my system.
udev: 165
kernel: 3.2.28 (totally vanilla)
dbus: 1.4.1
xorg-server: 1.9.5

I know with my first post I did not include a lot information, I'll try to
be more clear now. I don't think it matters, but I do not use graphic login
manager. I log myself in a tty, and I start Xorg with xinit. I use a really
simple tiling wm. My .xinitrc file go like this

setxkbmap ca
exec spectrwm

and that's it.

So, I log in into the tty, I do xinit, and I CAN see the graphical
interface of my windows manager, but I can't move the mouse, and the
keyboard is frozen. As I said before, the magicsysk combination for killing
xorg seems to work at 50%. When I do it, I can't see anymore the graphical
interface of my windows manager, it's just a black screen. Then, I have no
choice, I have to press on the reboot button, but I noticed that when I
press on the reboot button just one time, without holding it, I can see the
shutdown process going on with systemd. I can't think of what detail I
could forget about. I hope I gave enough information.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Xorg freeze totally with systemd-188

2012-08-21 Thread Jeremy Allard
2012/8/21 Jeremy Allard 

>
>
> 2012/8/21 Lennart Poettering 
>
>> On Tue, 21.08.12 19:21, Jeremy Allard (elvis4...@gmail.com) wrote:
>>
>> > Hello !
>> > I'm currently in the process of porting systemd to slackware.
>>
>> systemd is not much fun without PAM. AFAIK Slackware doesn't do
>> PAM. Hence systemd is probably not much fun either.
>>
>> > Everything work great, except that when I try to start xorg (as root or
>> as
>> > a normal user, it does not change anything), there is visual output (I
>> can
>> > see the graphical interface of my wm) but everything else is frozen. I
>> > can't switch to TTY, I can't move my mouse and even the magicsysk
>> > combination for killing xorg does not work. It seems to kill xorg, but
>> then
>> > I just have a black screen.
>>
>> Well, this is too little information to say anthing about this, but did
>> you make sure to install a libudev enabled X and that you enabled logind
>> in systemd? (requires PAM).
>>
>> Lennart
>>
>> --
>> Lennart Poettering - Red Hat, Inc.
>>
> I installed pam and rebuild my packages with pam support, and I still have
> the same issue. Xorg is build with udev support too.
>
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


Re: [systemd-devel] Xorg freeze totally with systemd-188

2012-08-21 Thread Jeremy Allard
2012/8/21 Lennart Poettering 

> On Tue, 21.08.12 19:21, Jeremy Allard (elvis4...@gmail.com) wrote:
>
> > Hello !
> > I'm currently in the process of porting systemd to slackware.
>
> systemd is not much fun without PAM. AFAIK Slackware doesn't do
> PAM. Hence systemd is probably not much fun either.
>
> > Everything work great, except that when I try to start xorg (as root or
> as
> > a normal user, it does not change anything), there is visual output (I
> can
> > see the graphical interface of my wm) but everything else is frozen. I
> > can't switch to TTY, I can't move my mouse and even the magicsysk
> > combination for killing xorg does not work. It seems to kill xorg, but
> then
> > I just have a black screen.
>
> Well, this is too little information to say anthing about this, but did
> you make sure to install a libudev enabled X and that you enabled logind
> in systemd? (requires PAM).
>
> Lennart
>
> --
> Lennart Poettering - Red Hat, Inc.
>
Yes, because pam is not avalaible by default with slackware, I disabled it
with --disable-pam since it said in the ./configure --help that it is
optional. I guessed it shouldn't be a problem if I disable it. I did not
touch logind, so it should be enable afaik. It's to very hard to install
PAM on slackware, so I'll try to install it and build my systemd package
with pam support and I'll tell you if it work. For libudev support in xorg,
there is no --enable-config-udev is not present by default in the build
script. The default of this is set to auto, so I guess it is enable anyway
even if you don't specify it exactly.

Thanks for your help, it's very kind.
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel


[systemd-devel] Xorg freeze totally with systemd-188

2012-08-21 Thread Jeremy Allard
Hello !
I'm currently in the process of porting systemd to slackware.
Everything work great, except that when I try to start xorg (as root or as
a normal user, it does not change anything), there is visual output (I can
see the graphical interface of my wm) but everything else is frozen. I
can't switch to TTY, I can't move my mouse and even the magicsysk
combination for killing xorg does not work. It seems to kill xorg, but then
I just have a black screen.
There's nothing revelant in a strace of xinit or in the xorg log, or in
journalctl.
My kernel is 3.2.28.

I hope you'll be able to help me.

Take care,

J
___
systemd-devel mailing list
systemd-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/systemd-devel