Re: [Mageia-dev] Switching VT when in GDM causes X11 quit with fatal error.

2011-07-30 Thread Colin Guthrie
'Twas brillig, and Ahmad Samir at 29/07/11 19:21 did gyre and gimble:
 On 28 July 2011 13:25, Colin Guthrie mag...@colin.guthr.ie wrote:
 
 [...]
 Note: systemd doesn't seem to give me a console login - so this is only
 with regular init - I presume I need to add a symlink somewhere to get
 regular console logins with systemd :) I'll look into that later.

 Col

 
 Check if plymouth hasn't still exited 'ps aux | grep plymouth'.

That seems to be the issue. Killing that process allows systemd to give
me my logins.

I presume this a known bug/problem? Is anyone looking at it?

Col

-- 

Colin Guthrie
mageia(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]


Re: [Mageia-dev] Switching VT when in GDM causes X11 quit with fatal error.

2011-07-30 Thread Ahmad Samir
On 30 July 2011 14:07, Colin Guthrie mag...@colin.guthr.ie wrote:
 'Twas brillig, and Ahmad Samir at 29/07/11 19:21 did gyre and gimble:
 On 28 July 2011 13:25, Colin Guthrie mag...@colin.guthr.ie wrote:

 [...]
 Note: systemd doesn't seem to give me a console login - so this is only
 with regular init - I presume I need to add a symlink somewhere to get
 regular console logins with systemd :) I'll look into that later.

 Col


 Check if plymouth hasn't still exited 'ps aux | grep plymouth'.

 That seems to be the issue. Killing that process allows systemd to give
 me my logins.

 I presume this a known bug/problem? Is anyone looking at it?


I hit that issue when I switched to systemd, I didn't look further as
I killed plymouth on my box (as usual).

 Col

 --

 Colin Guthrie
 mageia(at)colin.guthr.ie
 http://colin.guthr.ie/

 Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
 Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




-- 
Ahmad Samir


Re: [Mageia-dev] Switching VT when in GDM causes X11 quit with fatal error.

2011-07-29 Thread Ahmad Samir
On 28 July 2011 13:25, Colin Guthrie mag...@colin.guthr.ie wrote:

[...]
 Note: systemd doesn't seem to give me a console login - so this is only
 with regular init - I presume I need to add a symlink somewhere to get
 regular console logins with systemd :) I'll look into that later.

 Col


Check if plymouth hasn't still exited 'ps aux | grep plymouth'.




 --

 Colin Guthrie
 mageia(at)colin.guthr.ie
 http://colin.guthr.ie/

 Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
 Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]




-- 
Ahmad Samir


[Mageia-dev] Switching VT when in GDM causes X11 quit with fatal error.

2011-07-28 Thread Colin Guthrie
Hi,

I'm not sure what the problem is as I've not had time enough to debug
properly.

Booting with regular init or systemd, if you switch VT to text console
and back again causes X to quit with a fatal error:

[   105.480] (II) AIGLX: Resuming AIGLX clients after VT switch
[   105.480] (WW) intel(0): drmSetMaster failed: Invalid argument
[   105.480] (EE) intel(0): failed to set mode: Permission denied
[   105.480]
Fatal server error:
[   105.480] EnterVT failed for screen 0
[   105.480]
[   105.480]
Please consult the The X.Org Foundation support
 at http://bugs.mageia.org
 for help.
[   105.480] Please also check the log file at /var/log/Xorg.0.log for
additional information.
[   105.480]


Now I'm not 100% sure but if I run:
setfacl -m user:gdm:rw- /dev/dri/c*

before switching back then X does not crash. This could just be a simple
race condition - X trying to do fancy DRI stuff before console-kit has
had the chance to change the active session and add the ACL accordingly,
but some other input on this problem is welcome.


Note: systemd doesn't seem to give me a console login - so this is only
with regular init - I presume I need to add a symlink somewhere to get
regular console logins with systemd :) I'll look into that later.

Col




-- 

Colin Guthrie
mageia(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]


Re: [Mageia-dev] Switching VT when in GDM causes X11 quit with fatal error.

2011-07-28 Thread Christiaan Welvaart

On Thu, 28 Jul 2011, Colin Guthrie wrote:


Note: systemd doesn't seem to give me a console login - so this is only
with regular init - I presume I need to add a symlink somewhere to get
regular console logins with systemd :) I'll look into that later.


In my VM with systemd, gettys for VC2 and higher are started on demand 
(after switching to that virtual console) but nothing happens on VC1.



Christiaan


Re: [Mageia-dev] Switching VT when in GDM causes X11 quit with fatal error.

2011-07-28 Thread Colin Guthrie
'Twas brillig, and Christiaan Welvaart at 28/07/11 13:38 did gyre and
gimble:
 On Thu, 28 Jul 2011, Colin Guthrie wrote:
 
 Note: systemd doesn't seem to give me a console login - so this is only
 with regular init - I presume I need to add a symlink somewhere to get
 regular console logins with systemd :) I'll look into that later.
 
 In my VM with systemd, gettys for VC2 and higher are started on demand
 (after switching to that virtual console) but nothing happens on VC1.

Interesting. I don't have them on any VT... but I'll look into it and
this is likely a good hint!

Thanks

Col

-- 

Colin Guthrie
mageia(at)colin.guthr.ie
http://colin.guthr.ie/

Day Job:
  Tribalogic Limited [http://www.tribalogic.net/]
Open Source:
  Mageia Contributor [http://www.mageia.org/]
  PulseAudio Hacker [http://www.pulseaudio.org/]
  Trac Hacker [http://trac.edgewall.org/]