Moving gdm from vt7 to vt12

Shentino shentino at gmail.com
Thu Feb 24 23:49:51 UTC 2011


On Thu, Feb 24, 2011 at 3:44 PM, Shentino <shentino at gmail.com> wrote:

> I am perplexed as to why it needs to be hard coded.


Come to think of it, why is it hard coded?  (devs welcome)

>
> It's probably a developer level question but last I heard the X server
> accepted a vt argument that specifies which terminal to open for the
> desktop.
>

And on this note, halelujah that I can change it at boot.

However, I would also like an option to specify it at runtime.  For example,
if I have to shut down and drop out of runlevel 5 for a moment, or I have to
shut down the display server for any other reason.

>
> On Thu, Feb 24, 2011 at 9:03 AM, Tom H <tomh0665 at gmail.com> wrote:
>
>> On Thu, Feb 24, 2011 at 10:41 AM, Shentino <shentino at gmail.com> wrote:
>> > On Wed, Feb 23, 2011 at 6:21 AM, Tom H <tomh0665 at gmail.com> wrote:
>> >>
>> >> On Sat, Feb 19, 2011 at 2:53 PM, Tom H <tomh0665 at gmail.com> wrote:
>> >> > On Sat, Feb 19, 2011 at 11:55 AM, Shentino <shentino at gmail.com>
>> wrote:
>> >> >>>
>> >> >>> Sorry. Create either "gdm.conf", "custom.conf", or "daemon.conf"
>> (only
>> >> >>> the latter works in sid) in "/etc/gdm/" with
>> >> >>> ---<begin>---
>> >> >>> [daemon]
>> >> >>> FirstVT = 12
>> >> >>> ---<end>---
>> >> >>> as its contents.
>> >> >>
>> >> >> I created all three files.  gdm still stubbornly refuses to use any
>> >> >> terminal
>> >> >> other than tty7
>> >> >
>> >> > I'd forgotten about Ubuntu's plymouth. It must be interfering in the
>> >> > tty assignment, but I have no idea how to control that.
>> >>
>> >> This might only work in Natty:
>> >>
>> >> Append "vt.handoff=12" to either GRUB_CMDLINE_LINUX or
>> >> GRUB_CMDLINE_LINUX_DEFAULT in "/etc/default/grub" and run update-grub.
>> >
>> > Tried it in mint 10, no go.
>> > I'll try full desktop maverick when it finishes downloading.
>> > I don't know whose bright idea it was to lock gdm down onto vt7 but it
>> is
>> > seriously annoying me how hard it is proving to change it.  I'd swear it
>> was
>> > hard coded.
>>
>> It must be hard-coded hence the "vt.handoff" value in Natty.
>>
>> In Fedora, it was (and might still be) hard-coded to vt1 and there was
>> talk (but I don't know whether it was implemented) to allow users to
>> over-ride it with "FORCEACTIVEVT=no" in "/etc/sysconfig/desktop".
>>
>> You could try installing natty's plymouth but it might pull a few
>> other packages from natty and it might be too early in the development
>> process to be relying on natty packages on a non-test box.
>>
>> --
>> ubuntu-users mailing list
>> ubuntu-users at lists.ubuntu.com
>> Modify settings or unsubscribe at:
>> https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20110224/adf786ec/attachment.html>


More information about the ubuntu-users mailing list