New Posts  All Forums:Forum Nav:

CLI Ubuntu

post #1 of 32
Thread Starter 
It's been years since i used linux, but when I used to have arch I remember that before you installed X and a DE you were just left with a command-based login prompt.

That's what i want for ubuntu, except i can't seem to stop X from starting (I assume this is the easiest way).

Can anyone help me just get the basic command prompt when it starts? I know it will be really simple or really complicated.

I'm using ubuntu 10.10 x64 in a virtualbox VM.

Thanks
post #2 of 32
I am not sure if it is the same with ubuntu but in arch you can edit your inittab settings. Instead of running the display manager as a daemon use your inittab to start it and just set to boot to run level 3 (console run level). Then you can just switch to run level 5 when you want x.


Edit: never mind what I said won't work
Edited by cavallino - 4/6/11 at 10:10am
XEON POWER
(17 items)
 
  
CPUMotherboardGraphicsRAM
Xeon E3-1280 V2 Asus p8h77-i EVGA GTX 570  Corsair Dominator Platinum 1866 cl9 16gb 2x8gb 
Hard DriveHard DriveHard DriveOptical Drive
Samsung Spinpoint F3 Samsung 830 Crucial C300 Samsung USB Blu-Ray 
OSMonitorMonitorKeyboard
Windows 8 Dell U2711 HP 2709m Razer Blackwidow 
PowerCaseMouseMouse Pad
Silverstone Strider Essentials ST60ES-F Bitfenix Prodigy Razer Naga Molten razer sphex 
Audio
onboard 
  hide details  
Reply
XEON POWER
(17 items)
 
  
CPUMotherboardGraphicsRAM
Xeon E3-1280 V2 Asus p8h77-i EVGA GTX 570  Corsair Dominator Platinum 1866 cl9 16gb 2x8gb 
Hard DriveHard DriveHard DriveOptical Drive
Samsung Spinpoint F3 Samsung 830 Crucial C300 Samsung USB Blu-Ray 
OSMonitorMonitorKeyboard
Windows 8 Dell U2711 HP 2709m Razer Blackwidow 
PowerCaseMouseMouse Pad
Silverstone Strider Essentials ST60ES-F Bitfenix Prodigy Razer Naga Molten razer sphex 
Audio
onboard 
  hide details  
Reply
post #3 of 32
Quote:
Originally Posted by cavallino;13024163 
I am not sure if it is the same with ubuntu but in arch you can edit your inittab settings. Instead of running the display manager as a daemon use your inittab to start it and just set to boot to run level 3 (console run level). Then you can just switch to run level 5 when you want x.

in ubuntu, it doesn't use init like other distro's, it uses upstart, you have to edit a specific upstart script, give me a few, i will post what changes to the file you need to make smile.gif
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #4 of 32
Quote:
Originally Posted by transhour;13024234 
in ubuntu, it doesn't use init like other distro's, it uses upstart, you have to edit a specific upstart script, give me a few, i will post what changes to the file you need to make smile.gif

Awww well I tried.
XEON POWER
(17 items)
 
  
CPUMotherboardGraphicsRAM
Xeon E3-1280 V2 Asus p8h77-i EVGA GTX 570  Corsair Dominator Platinum 1866 cl9 16gb 2x8gb 
Hard DriveHard DriveHard DriveOptical Drive
Samsung Spinpoint F3 Samsung 830 Crucial C300 Samsung USB Blu-Ray 
OSMonitorMonitorKeyboard
Windows 8 Dell U2711 HP 2709m Razer Blackwidow 
PowerCaseMouseMouse Pad
Silverstone Strider Essentials ST60ES-F Bitfenix Prodigy Razer Naga Molten razer sphex 
Audio
onboard 
  hide details  
Reply
XEON POWER
(17 items)
 
  
CPUMotherboardGraphicsRAM
Xeon E3-1280 V2 Asus p8h77-i EVGA GTX 570  Corsair Dominator Platinum 1866 cl9 16gb 2x8gb 
Hard DriveHard DriveHard DriveOptical Drive
Samsung Spinpoint F3 Samsung 830 Crucial C300 Samsung USB Blu-Ray 
OSMonitorMonitorKeyboard
Windows 8 Dell U2711 HP 2709m Razer Blackwidow 
PowerCaseMouseMouse Pad
Silverstone Strider Essentials ST60ES-F Bitfenix Prodigy Razer Naga Molten razer sphex 
Audio
onboard 
  hide details  
Reply
post #5 of 32
Thread Starter 
Quote:
Originally Posted by transhour;13024234 
in ubuntu, it doesn't use init like other distro's, it uses upstart, you have to edit a specific upstart script, give me a few, i will post what changes to the file you need to make smile.gif

Thanks a big huggy bunch. It's much appreciated.

I tried looking in etc for rc.d and init but they just don't exist.
post #6 of 32
apt-get remove gdm?
Fridge
(18 items)
 
e-peen
(15 items)
 
 
CPUMotherboardGraphicsRAM
Intel i7-4930k SABERTOOTH X79 NVIDIA Quadro K2000 Corsair 4 x 8GB 
Hard DriveHard DriveOptical DriveCooling
OCZ Revodrive 350 PCIe  Seagate Barracuda 7200.12 1TB 7200 rpm ST31000... Acer HL-DT-ST DVDRAM GH70N  Noctua NH-D14 SE2011 
OSMonitorKeyboardPower
windows 7 professional 64 bit ASUS PB278Q 27-Inch WQHD PLS Monitor razer black widow ultimate Raidmax 630w 
CaseMouseOtherOther
TT Commander Snow Logitech M-U0007 (M500) NextEngine Laser Scanner Mobile Computer Desk 
OtherOther
3D Connexion Space Navigator Huion H58L Tablet 
CPUMotherboardGraphicsRAM
xeon 3440 Maximus III Gene GTS250 G.Skill 2GB F3-10666CL8-2GBHK 
Hard DriveCoolingOSMonitor
SAMSUNG SpinPoint P Series SP2004C 200GB 7200 RPM Zalman windows 7 64 bit Gateway FHX3200B 
MonitorKeyboardPowerCase
Acer AL2216W Razer black widow ultimate CM 500w Coolermaster USP100 red 
Mouse
Logitech MX518 
  hide details  
Reply
Fridge
(18 items)
 
e-peen
(15 items)
 
 
CPUMotherboardGraphicsRAM
Intel i7-4930k SABERTOOTH X79 NVIDIA Quadro K2000 Corsair 4 x 8GB 
Hard DriveHard DriveOptical DriveCooling
OCZ Revodrive 350 PCIe  Seagate Barracuda 7200.12 1TB 7200 rpm ST31000... Acer HL-DT-ST DVDRAM GH70N  Noctua NH-D14 SE2011 
OSMonitorKeyboardPower
windows 7 professional 64 bit ASUS PB278Q 27-Inch WQHD PLS Monitor razer black widow ultimate Raidmax 630w 
CaseMouseOtherOther
TT Commander Snow Logitech M-U0007 (M500) NextEngine Laser Scanner Mobile Computer Desk 
OtherOther
3D Connexion Space Navigator Huion H58L Tablet 
CPUMotherboardGraphicsRAM
xeon 3440 Maximus III Gene GTS250 G.Skill 2GB F3-10666CL8-2GBHK 
Hard DriveCoolingOSMonitor
SAMSUNG SpinPoint P Series SP2004C 200GB 7200 RPM Zalman windows 7 64 bit Gateway FHX3200B 
MonitorKeyboardPowerCase
Acer AL2216W Razer black widow ultimate CM 500w Coolermaster USP100 red 
Mouse
Logitech MX518 
  hide details  
Reply
post #7 of 32
Quote:
Originally Posted by unexpectedly;13024273 
apt-get remove gdm?

Wow, why don't you put a load of buckshot through your hard drive while you're at it, too? kookoo.gif

Anyway, edit the /etc/default/grub file with your favorite editor. For instance: sudo nano /etc/default/grub

Find the line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Change it to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text"

Now run sudo update-grub and reboot.
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
Underground
(14 items)
 
  
CPUMotherboardGraphicsRAM
Core i7 920 C0 ASUS P6T6 WS Revolution GTX 460 TR3X6G1600C8D 
Hard DriveOptical DriveCoolingOS
WD1001FALS SAMSUNG SH-S223F 22X DVD MULTI Corsair H50 Fedora 16 KDE x86_64 
MonitorKeyboardPowerCase
HP w19b Microsoft Comfort Curve Corsair CX600 Thermaltake Armor VA8003BWS 
MouseMouse Pad
Razer DeathAdder Black 
  hide details  
Reply
post #8 of 32
Thread Starter 
Quote:
Originally Posted by error10;13024367 
Wow, why don't you put a load of buckshot through your hard drive while you're at it, too? kookoo.gif

Anyway, edit the /etc/default/grub file with your favorite editor. For instance: sudo nano /etc/default/grub

Find the line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Change it to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text"

Now run sudo update-grub and reboot.

That worked flawlessly. Thanks a lot.
post #9 of 32
Quote:
Originally Posted by error10;13024367 
Wow, why don't you put a load of buckshot through your hard drive while you're at it, too? kookoo.gif

Anyway, edit the /etc/default/grub file with your favorite editor. For instance: sudo nano /etc/default/grub

Find the line:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash"

Change it to:

GRUB_CMDLINE_LINUX_DEFAULT="quiet splash text"

Now run sudo update-grub and reboot.

ah, yes this should work as well, it appears they removed the way i was thinking as i can no longer find it.

there is still the /etc/init and /etc/init.d that contain most of the upstart scripts in the event you ever need to modify one. typically i just kill off gdm if i need to fall back to a console.

sudo service gdm stop

of you can do:

ctrl+alt+f#

^this will change your tty you are on, f7 is where your "desktop" resides, f1-6 are all open to run consoles (i mention this, cause f7 often becomes "unusable" after killing off gdm).

you could also switch to using KDM instead of GDM, it has a built in option at login to drop out of the "gui" back into a console login...ubuntu is moving further and further away with each release from its linux brethren smile.gif

you could also install BUM (boot up manager) to handle with a GUI what starts up and how they start up, i do believe with it you can alter what "runlevel" you begin on there as well as disabling "gdm" all together.

sudo apt-get install bum
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
Bazinga Punk
(12 items)
 
ooh shiny!
(6 items)
 
 
CPUMotherboardGraphicsRAM
Intel Xeon 3440 AsRock P55 extreme Evga 8800 GT 512 MB Gskill Ripjaws 
Hard DriveCoolingOSMonitor
Western Digital Blue Antec Khuler 620 Ubuntu 11.10 Asus vw264H 
KeyboardPowerCaseMouse
GIGABYTE KM7600 CORSAIR TX 650 Cooler Master 590 GIGABYTE GM-M6800 
CPUMotherboardGraphicsRAM
Intel Core I5 6500 Gigabyte z170xp-SLI Nvidia 970gtx Corsair 16gb ddr4 2666mhz  
Hard DriveOS
250gb Samsung Evo 850 Windows 10 & Ubuntu 15.10 
  hide details  
Reply
post #10 of 32
nvm... Not worth it
Edited by unexpectedly - 4/6/11 at 10:42am
Fridge
(18 items)
 
e-peen
(15 items)
 
 
CPUMotherboardGraphicsRAM
Intel i7-4930k SABERTOOTH X79 NVIDIA Quadro K2000 Corsair 4 x 8GB 
Hard DriveHard DriveOptical DriveCooling
OCZ Revodrive 350 PCIe  Seagate Barracuda 7200.12 1TB 7200 rpm ST31000... Acer HL-DT-ST DVDRAM GH70N  Noctua NH-D14 SE2011 
OSMonitorKeyboardPower
windows 7 professional 64 bit ASUS PB278Q 27-Inch WQHD PLS Monitor razer black widow ultimate Raidmax 630w 
CaseMouseOtherOther
TT Commander Snow Logitech M-U0007 (M500) NextEngine Laser Scanner Mobile Computer Desk 
OtherOther
3D Connexion Space Navigator Huion H58L Tablet 
CPUMotherboardGraphicsRAM
xeon 3440 Maximus III Gene GTS250 G.Skill 2GB F3-10666CL8-2GBHK 
Hard DriveCoolingOSMonitor
SAMSUNG SpinPoint P Series SP2004C 200GB 7200 RPM Zalman windows 7 64 bit Gateway FHX3200B 
MonitorKeyboardPowerCase
Acer AL2216W Razer black widow ultimate CM 500w Coolermaster USP100 red 
Mouse
Logitech MX518 
  hide details  
Reply
Fridge
(18 items)
 
e-peen
(15 items)
 
 
CPUMotherboardGraphicsRAM
Intel i7-4930k SABERTOOTH X79 NVIDIA Quadro K2000 Corsair 4 x 8GB 
Hard DriveHard DriveOptical DriveCooling
OCZ Revodrive 350 PCIe  Seagate Barracuda 7200.12 1TB 7200 rpm ST31000... Acer HL-DT-ST DVDRAM GH70N  Noctua NH-D14 SE2011 
OSMonitorKeyboardPower
windows 7 professional 64 bit ASUS PB278Q 27-Inch WQHD PLS Monitor razer black widow ultimate Raidmax 630w 
CaseMouseOtherOther
TT Commander Snow Logitech M-U0007 (M500) NextEngine Laser Scanner Mobile Computer Desk 
OtherOther
3D Connexion Space Navigator Huion H58L Tablet 
CPUMotherboardGraphicsRAM
xeon 3440 Maximus III Gene GTS250 G.Skill 2GB F3-10666CL8-2GBHK 
Hard DriveCoolingOSMonitor
SAMSUNG SpinPoint P Series SP2004C 200GB 7200 RPM Zalman windows 7 64 bit Gateway FHX3200B 
MonitorKeyboardPowerCase
Acer AL2216W Razer black widow ultimate CM 500w Coolermaster USP100 red 
Mouse
Logitech MX518 
  hide details  
Reply
New Posts  All Forums:Forum Nav:
  Return Home
  Back to Forum: Linux, Unix