Moving gdm from vt7 to vt12

Shentino shentino at gmail.com
Sat Feb 19 16:12:06 UTC 2011


On Fri, Feb 18, 2011 at 7:27 AM, Tom H <tomh0665 at gmail.com> wrote:

> On Fri, Feb 18, 2011 at 8:42 AM, Shentino <shentino at gmail.com> wrote:
> > On Sun, Feb 13, 2011 at 7:25 PM, Tom H <tomh0665 at gmail.com> wrote:
> >> On Sun, Feb 13, 2011 at 5:06 PM, Shentino <shentino at gmail.com> wrote:
> >> >
> >> > I've been googling for awhile and snooping around in config, but I'm
> >> > stumped.
> >> >
> >> > How do I have gdm/X/desktop whatever start on vt12 instead of vt7?
> >> > I need more vt's and I find it more pleasant to scoot the desktop over
> >> > to 12
> >> > so that I can have gettys on 1-10 and a secure top on 11.
> >>
> >> I'm not sure what you mean by "secure top" but have you tried creating
> >> tty7 through tty10/tty11 in "/etc/init"?
> >>
> >> AFAIK, GDM'll use the next available vt.
> >
> > Silly me, forgot to mention that I'm on maverick which uses upstart.
> > Also, I have upstart scripts that slap ttys on 1-10, and gdm still takes
> on
> > 7 even though it already has a getty on it.
>
> There's one thing that I forgot. Sorry!
>
> You also have to edit the "ACTIVE_CONSOLES" line in
> "/etc/default/console-setup".
>

Strangely enough I already did this.

I think that this'll be enough but there may be some gdm.conf settings
> to change too. I only have X-less Ubuntu installs so I can't check
> this. Does one of the files in "/etc/gdm/" have a "FirstVT" variable
> set (for example the standard "FirstVT=7"? If it does, you'll have to
> change it to 12. It wouldn't hurt to set it though.
>

You might be onto something here.

I have grepped /etc up and down left and right for the keywords vt, maybe
I'll try VT.

A bit of detective work appears to indicate that the "vt7" bit that gdm
passes to the X server is very very stubborn, almost as if hardcoded into
the gdm binary.

--
> 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/20110219/d379ae17/attachment.html>


More information about the ubuntu-users mailing list