Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: TTY1 doesn't run at boot, but TTYs 2-6 are OK

  1. #11
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,882
    Distro
    Ubuntu Development Release

    Re: TTY1 doesn't run at boot, but TTYs 2-6 are OK

    Hi

    You do not seem to have getty running on tty1 and this would cause the problem you are seeing.

    It is going to be a case of looking through you startup scripts to try to identify why.

    I will be at work all day so i cannot look until this evening and i'm in the UK.

    In the mean time can you post the output of

    Code:
    ls -l /etc/init/tty1.conf
    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

  2. #12
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,882
    Distro
    Ubuntu Development Release

    Re: TTY1 doesn't run at boot, but TTYs 2-6 are OK

    Hi

    I wanted to check the file permissions of the file itself.

    @OP can you start the tty from initcl ?

    Code:
    sudo initctl start tty1
    Post back any output from the console. Does his start tty on tty1 ?

    Can you start gety manually ?

    Code:
    exec /sbin/getty -8 38400 tty1
    Can you post the output of

    Code:
    cat /etc/default/console-setup
    Kind regards
    Last edited by matt_symes; March 7th, 2013 at 11:30 AM.
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

  3. #13
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,882
    Distro
    Ubuntu Development Release

    Re: TTY1 doesn't run at boot, but TTYs 2-6 are OK

    Hi

    @OP can you start the tty from initcl ?

    Code:
    sudo initctl start tty1
    Post back any output from the console. Does this start tty on tty1 ?

    Can you start getty manually ?

    Code:
    exec /sbin/getty -8 38400 tty1
    Type these commands from a working console 2-6.

    Can you post the output of

    Code:
    cat /etc/default/console-setup
    Kind regards
    Last edited by matt_symes; March 6th, 2013 at 04:27 PM.
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

  4. #14
    Join Date
    Jun 2009
    Beans
    42
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: TTY1 doesn't run at boot, but TTYs 2-6 are OK

    Alright, here goes:

    ls -l /etc/init/tty1.conf
    Code:
    -rw-r--r-- 1 root root 348 Apr 16  2012 /etc/init/tty1.conf
    (All the other tty confs are the same)

    I ran "sudo initctl start tty1" which added this entry in "ps aux | grep tty". I didn't have to start getty myself.

    Code:
    root     10963  0.0  0.0  15784   972 tty1     Ss+  21:25   0:00 /sbin/getty -8 38400 tty1
    And here's the contents of /etc/default/console-setup.



    Code:
    # Change to "yes" and setupcon will explain what is being doing
    VERBOSE_OUTPUT="no"
    
    
    # Setup these consoles.  Most people do not need to change this.
    ACTIVE_CONSOLES="/dev/tty[1-6]"
    
    
    # Put here your encoding.  Valid charmaps are: UTF-8 ARMSCII-8 CP1251
    # CP1255 CP1256 GEORGIAN-ACADEMY GEORGIAN-PS IBM1133 ISIRI-3342
    # ISO-8859-1 ISO-8859-2 ISO-8859-3 ISO-8859-4 ISO-8859-5 ISO-8859-6
    # ISO-8859-7 ISO-8859-8 ISO-8859-9 ISO-8859-10 ISO-8859-11 ISO-8859-13
    # ISO-8859-14 ISO-8859-15 ISO-8859-16 KOI8-R KOI8-U TIS-620 VISCII
    CHARMAP="UTF-8"
    
    
    # The codeset determines which symbols are supported by the font.
    # Valid codesets are: Arabic Armenian CyrAsia CyrKoi CyrSlav Ethiopian
    # Georgian Greek Hebrew Lao Lat15 Lat2 Lat38 Lat7 Thai Uni1 Uni2 Uni3
    # Vietnamese.  Read README.fonts for explanation.
    CODESET="Uni2"
    
    
    # Valid font faces are: VGA (sizes 8, 14 and 16), Terminus (sizes
    # 12x6, 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBold (sizes
    # 14, 16, 20x10, 24x12, 28x14 and 32x16), TerminusBoldVGA (sizes 14
    # and 16) and Fixed (sizes 13, 14, 15, 16 and 18).  Only when
    # CODESET=Ethiopian: Goha (sizes 12, 14 and 16) and
    # GohaClassic (sizes 12, 14 and 16).
    # Set FONTFACE and FONTSIZE to empty strings if you want setupcon to
    # set up the keyboard but to leave the console font unchanged.
    FONTFACE="Fixed"
    FONTSIZE="16"
    
    
    # You can also directly specify nonstandard font or console map to load.
    # Use space as separator if you want to load more than one font.
    # You can use FONT_MAP in order to specify the Unicode map of the font
    # in case the font doesn't have it embedded.
    
    
    # FONT='lat9w-08.psf.gz brl-8x8.psf'
    # FONT_MAP=/usr/share/consoletrans/lat9u.uni
    # CONSOLE_MAP=/usr/local/share/consoletrans/my_special_encoding.acm
    
    
    # You can also specify a screen size that setupcon will enforce.  This can not
    # exceed what the current screen resolution can display according to the size of
    # the loaded font.
    #
    # SCREEN_WIDTH=80
    # SCREEN_HEIGHT=25
    
    
    if [ -f /etc/default/keyboard ]; then
        . /etc/default/keyboard
    fi

    At least to my eye, nothing looks out of the ordinary. =/

  5. #15
    Join Date
    May 2010
    Location
    Tewkesbury uk
    Beans
    7,882
    Distro
    Ubuntu Development Release

    Re: TTY1 doesn't run at boot, but TTYs 2-6 are OK

    Hi

    At least to my eye, nothing looks out of the ordinary. =/
    Neither can i. All is looking good at the moment. This is a puzzler.

    Do you have an override file for tty1 or any override files ?

    Code:
    ls -l /etc/init/*.override
    Kind regards
    If you believe everything you read, you better not read. ~ Japanese Proverb

    If you don't read the newspaper, you're uninformed. If you read the newspaper, you're mis-informed. - Mark Twain

  6. #16
    Join Date
    Jun 2009
    Beans
    42
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: TTY1 doesn't run at boot, but TTYs 2-6 are OK

    Thanks for sticking with it like you have! I really appreciate it.

    Here's the "ls -l /etc/init/*.override:
    Code:
    -rw-r--r-- 1 root root 7 Mar  1 15:41 /etc/init/lightdm.override
    Content of the file is just "manual."

    For fun, I ran "sudo telinit 3" on the computer, and to my surprise, this actually started getty in TTY1.
    I set runlevel 3 as the default then, but TTY1 didn't launch after rebooting. So, if I change runlevels manually, it launches TTY1 correctly. But I still can't get it to start and drop me to it on boot.

    All I can figure at this point is that the lightdm init config might have something to do with launching TTY1...but that seems silly.

  7. #17
    Join Date
    Feb 2013
    Beans
    Hidden!

    Re: TTY1 doesn't run at boot, but TTYs 2-6 are OK

    I'd rather suspect Plymouth than lightdm, but TBH I don't know.

    Update.
    Some reports on strange plymouth interactions with tty1.
    Last edited by schragge; March 7th, 2013 at 09:36 PM.

  8. #18
    Join Date
    Jun 2009
    Beans
    42
    Distro
    Ubuntu 13.04 Raring Ringtail

    Re: TTY1 doesn't run at boot, but TTYs 2-6 are OK

    Quote Originally Posted by schragge View Post
    I'd rather suspect Plymouth than lightdm, but TBH I don't know.

    Update.
    Some reports on strange plymouth interactions with tty1.

    I'm sure this is the not "proper" way to disable plymouth, and I'm not sure if it disabled it completely or what, but I did "rm /etc/init/plymouth*.conf" and rebooted.
    The main difference here was that boot messages were logged to TTY1 instead of TTY7. Upon completion of boot, TTY1 was left with the boot messages, TTY2-6 had login prompts as expected, and TTY7 was blank as expected.

    So, still no dice. (Assuming what I did completely disabled plymouth.)



    P.S. I obviously cannot remove plymouth...here's most of the output from "sudo apt-get -s remove plymouth":
    Code:
    server@LanchServer:~$ less output.txt
      grub-common grub-gfxpayload-lists grub-pc grub-pc-bin grub2-common
      gstreamer0.10-nice gvfs gvfs-backends gvfs-daemons gvfs-fuse hostname hplip
      ibus ifupdown indicator-datetime indicator-power indicator-session
      indicator-sound initramfs-tools initscripts irqbalance jockey-common
      jockey-gtk kbd kerneloops-daemon keyboard-configuration landscape-common
      language-selector-common language-selector-gnome libapache2-mod-php5 libapr1
      libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap libaudio2 libblkid1
      libcanberra-gtk3-module libcryptsetup4 libdevmapper-event1.02.1
      libdevmapper1.02.1 libfarstream-0.1-0 libgdu0 libgksu2-0 libgnomekbd7
      libgoa-1.0-0 libgphoto2-2 libgpod-common libgpod4 libgupnp-1.0-4
      libgupnp-igd-1.0-4 libgweather-3-0 libgweather-common libimobiledevice2
      libio-socket-ssl-perl liblightdm-gobject-1-0 liblvm2app2.2
      liblwp-protocol-https-perl libmount1 libnet-dbus-perl libnice10
      libnm-glib-vpn1 libnm-glib4 libnm-gtk0 libnm-util2 libnss-mdns liboobs-1-5
      libpam-winbind libparted0debian1 libpurple0 libsane libsm6 libunique-3.0-0
      libutempter0 libuuid1 libwebkitgtk-1.0-0 libwebkitgtk-3.0-0 libwww-perl
      libxapian22 libxaw7 libxfce4ui-1-0 libxfconf-0-2 libxklavier16
      libxml-parser-perl libxml-twig-perl libxml-xpath-perl libxmu6 libxt6
      libyelp0 lightdm lightdm-gtk-greeter linux-generic-lts-quantal
      linux-image-3.5.0-25-generic linux-image-generic-lts-quantal
      linux-sound-base logrotate lubuntu-core lubuntu-default-settings
      lubuntu-desktop lubuntu-software-center lxkeymap minidlna mlocate
      modemmanager module-init-tools mount mountall mplayer2 mysql-server
      mysql-server-5.5 netbase network-manager network-manager-gnome
      network-manager-pptp network-manager-pptp-gnome ntfs-3g ntp ntpdate openbox
      openbox-themes openssh-client openssh-server osmo parted passwd pidgin
      pidgin-libnotify pidgin-microblog plymouth plymouth-label
      plymouth-theme-lubuntu-logo plymouth-theme-lubuntu-text
      plymouth-theme-ubuntu-text pm-utils policykit-1 policykit-1-gnome
      powermgmt-base ppp pppconfig pppoeconf pptp-linux printer-driver-gutenprint
      printer-driver-hpcups printer-driver-postscript-hp procps pulseaudio
      pulseaudio-module-x11 pulseaudio-utils python-aptdaemon
      python-aptdaemon.gtk3widgets python-aptdaemon.pkcompat python-xapian
      python-xklavier resolvconf rfkill rsyslog rtkit samba samba-common-bin
      sane-utils screen sessioninstaller simple-scan software-properties-gtk
      ssl-cert synaptic system-tools-backends tasksel tasksel-data telnet
      ubuntu-docs ubuntu-minimal ubuntu-standard ubuntu-system-service udev udisks
      ufw unity-greeter update-manager update-notifier upower upstart ureadahead
      usb-modeswitch usb-modeswitch-data usbmuxd util-linux uuid-runtime whoopsie
      winbind wpasupplicant wvdial x11-apps x11-session-utils x11-utils
      x11-xkb-utils x11-xserver-utils xfburn xfce4-power-manager xfconf xorg xpad
      xscreensaver xscreensaver-data xserver-common xserver-xorg xserver-xorg-core
      xserver-xorg-input-all xserver-xorg-input-evdev xserver-xorg-input-mouse
      xserver-xorg-input-synaptics xserver-xorg-input-vmmouse
      xserver-xorg-input-wacom xserver-xorg-video-all xserver-xorg-video-ati
      xserver-xorg-video-cirrus xserver-xorg-video-fbdev xserver-xorg-video-intel
      xserver-xorg-video-mach64 xserver-xorg-video-mga xserver-xorg-video-neomagic
      xserver-xorg-video-nouveau xserver-xorg-video-openchrome
      xserver-xorg-video-qxl xserver-xorg-video-r128 xserver-xorg-video-radeon
      xserver-xorg-video-s3 xserver-xorg-video-savage
      xserver-xorg-video-siliconmotion xserver-xorg-video-sis
      xserver-xorg-video-sisusb xserver-xorg-video-tdfx xserver-xorg-video-trident
      xserver-xorg-video-vesa xserver-xorg-video-vmware xterm yelp
    The following NEW packages will be installed:
      libqdbm14 php5-cgi
    The following packages will be upgraded:
      php5-cli php5-common php5-gd php5-mcrypt php5-mysql
    WARNING: The following essential packages will be removed.
    This should NOT be done unless you know exactly what you are doing!
      e2fsprogs libblkid1 (due to e2fsprogs) libuuid1 (due to e2fsprogs)
      util-linux (due to e2fsprogs) hostname mount libmount1 (due to mount)
    5 upgraded, 2 newly installed, 303 to remove and 1 not upgraded.
    So...yeah...

Page 2 of 2 FirstFirst 12

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •