Ubuntu Maverick Installation Guide: Difference between revisions

From cchtml.com
(FGqFqGteYwU)
(Luide)
Line 1: Line 1:
hey, I just installed Linux a clpoue of hours ago, so bear with me please.I typed in the command but the file was empty. I typed in the code anyway and saved it but it didn't work. What should I do?(Bear in mind I've had Ubuntu a good 3 or so hours and only just managed to figure out how to open the Terminal)[]Andrei Reply:May 17th, 2011 at 11:49 PMI think you might be missing the xorg.conf file, which in some cases is not uncommon. You just have to generate a new one. To do so, try these steps and follow the eventual instructions you see:1. Press Ctrl+Alt+F1 or Ctrl+Alt+F2.2. Login with your username and password.3. sudo /etc/init.d/gdm stop (this will stop the X server)4. cd /etc/X115. sudo mv xorg.conf xorg.conf.notworking (this line might not apply in your case, but try it anyway)6. sudo X -configure7. sudo cp ~/xorg.conf.new /etc/X11/xorg.conf8. sudo /etc/init.d/gdm start[]
I got it to work by doing/etc/init/start-ttys.conf## This service statrs the configured number of gettys.start on stopped rc RUNLEVEL=[2345]env ACTIVE_CONSOLES=/dev/tty[1-6]env X_TTY=/dev/tty1env TTY_AUTO_LOGIN=/dev/tty1env AUTO_LOGIN_USER=mythtvtaskscript  . /etc/sysconfig/init for tty in $(echo $ACTIVE_CONSOLES) ; do    [ "$RUNLEVEL" = "5" -a "$tty" = "$X_TTY" ] && continue    if [ "$TTY_AUTO_LOGIN" = "$tty" ]    then      initctl start tty-auto-login AUTO_LOGIN_USER=$AUTO_LOGIN_USER TTY=$tty    else      initctl start tty TTY=$tty    fi  doneend scriptand/etc/init/tty-auto-login.conf.Note this filename matches the second argument to initctl in /etc/init/start-ttys.conf above.# tty - getty## This service maintains a getty on the specified device.stop on runlevel [S016]respawninstance $TTYinstance $AUTO_LOGIN_USERexec /sbin/mingetty --autologin=$AUTO_LOGIN_USER $TTY

Revision as of 18:48, 28 March 2012

I got it to work by doing/etc/init/start-ttys.conf## This service statrs the configured number of gettys.start on stopped rc RUNLEVEL=[2345]env ACTIVE_CONSOLES=/dev/tty[1-6]env X_TTY=/dev/tty1env TTY_AUTO_LOGIN=/dev/tty1env AUTO_LOGIN_USER=mythtvtaskscript . /etc/sysconfig/init for tty in $(echo $ACTIVE_CONSOLES) ; do [ "$RUNLEVEL" = "5" -a "$tty" = "$X_TTY" ] && continue if [ "$TTY_AUTO_LOGIN" = "$tty" ] then initctl start tty-auto-login AUTO_LOGIN_USER=$AUTO_LOGIN_USER TTY=$tty else initctl start tty TTY=$tty fi doneend scriptand/etc/init/tty-auto-login.conf.Note this filename matches the second argument to initctl in /etc/init/start-ttys.conf above.# tty - getty## This service maintains a getty on the specified device.stop on runlevel [S016]respawninstance $TTYinstance $AUTO_LOGIN_USERexec /sbin/mingetty --autologin=$AUTO_LOGIN_USER $TTY