Using startx with Ubuntu 10.10 Maverick

Asked by Tong Sun

Hi,

I want to boot to the pure text console, and use startx to start my window manager (instead of gnome desktop manager) after logging in.

How can I do that in Ubuntu 10.10 Maverick?

Thanks

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu xorg Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

run:

gksudo gedit /etc/default/grub

find

"quiet splash"

and change it to

"quiet splash text"

Save the file, close gedit then run:

sudo update-grub

Reboot to test

Revision history for this message
Tong Sun (suntong001) said :
#2

- 1st, are you sure it is "text", not "textonly"? because I can't find that "text" in caspter man page.
- 2nd, even using "textonly" still can't get me into the console login, but went directly into gdm login instead.

Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#3

http://andrew.org/index.php/archives/2010/05/07/ubuntu-10-04-lucid-lynx-boot-in-text-mode/

I don't know of any man page for casper, I just know how to websearch. Does it not work? I have advised it on here before and it's been marked as solved..
https://answers.launchpad.net/ubuntu/+source/grub2/+question/127595

Revision history for this message
Tong Sun (suntong001) said :
#4

My Ubuntu 10.10 Maverick fresh HD install can't boot up, so I installed grub-legacy myself, and zapped the grub2.

Here is my grub-legacy boot entry:

title Ubuntu 10.10 Maverick
 kernel /boot/vmlinuz-2.6.35-22-generic root=/dev/sdb6 ro vga=normal
 # nomodeset
 initrd /boot/initrd.img-2.6.35-22-generic

What's your look like?

thanks

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

I use GUI login dude, but the thing I gave should work. I'll see if I can find one for grub legacy

According to:
http://www.gidforums.com/t-1472.html

Change:
 kernel /boot/vmlinuz-2.6.35-22-generic root=/dev/sdb6 ro vga=normal
to
 kernel /boot/vmlinuz-2.6.35-22-generic root=/dev/sdb6 ro vga=normal single

Should be ok

Revision history for this message
Tong Sun (suntong001) said :
#6

Thanks actionparsnip, that solved my question.

Revision history for this message
Tong Sun (suntong001) said :
#7

gee, I really should have tried before asking stupid questions. yes, thanks for the links, it works perfectly.

FYI, it should read:

 kernel /boot/vmlinuz-2.6.35-22-generic root=/dev/sdb6 ro text

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

no worries dude, glad you got the gold :)

f you are still using grub legacy you may have to add the option to the lines in the boot loaders config in future kernels, grub2 overcomes this issue as well as many others

Revision history for this message
Tong Sun (suntong001) said :
#9

gotya.

chao