Re: Problems with getty and X on runlevel switch [Was: Re: The future of centos]

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



On 2015-04-08, Jonathan Billings
<billings@xxxxxxxxxx> wrote:
> On Wed, Apr 08, 2015 at 10:36:05AM +0000, Liam O'Toole wrote:
>> Thanks for drawing my attention to that bug. I encountered it the
>> other day after switching from runlevel 5 to 3 (and back again) on a
>> CentOS 6.6 machine.
>> 
>> The purpose of the runlevel switch was to restart gdm. Is there a
>> better way?
>
> Since CentOS 6 uses Upstart as its init system, and GDM is run from an
> Upstart service (and not a SysV init script), you can use the upstart
> tools to restart GDM.  It's actually run from the 'prefdm' service
> (because it could also run kdm or xdm).
>
> # initctl restart prefdm prefdm start/running, process 29141
>

That did the trick. Thank you.

-- 

Liam


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos




[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux