• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to end Gnome and use bash only?

 
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Everytime I reboot my Linux I get Gnome. How do I end Gnome to free up memory?
Actually I only need to use bash. Can I kill X too?
When I log off Gnome it takes me to Gnome login. How to go to bash without starting Gnome and X?
Thanks.
Bruce
 
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi Bruce - The first (non-comment) line in your:
/etc/inittab
should say:
id:5:initdefault:
Very carefully change the 5 (X11-login) to a 3 (multi-user terminal login), save the file, shutdown, and re-boot.
HTH, Guy
 
Bruce Jin
Ranch Hand
Posts: 672
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Guy!
This helps.
Bruce
 
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
That's a question I've been meaning to ask for days but now I don't need to. Thanks.
But I will ask it's corrollary:
How can I start X & Gnome from the command prompt if I do want them?
Also, on my keyboard ctrl+alt+f5 swop the window to a terminal login prompt. ctrl+alt+f7 swop me back to Gnome. I remember using SCO and that had up to 8 different terminal prompts available by ctrl+1 ... 8
Are these settable in Linux?
 
Guy Allard
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Adam - From the command line:
startx
will get you to an XWindows environment.
A logout of the XWindows will get you back to the command line.
I use KDE, I'll bet I have not seen a Gnome XWindow system in a year - I don't know the answer to your last qeustion - I do know there is a way in Gnome to switch back/forth, I just don't know how.
Regards, Guy
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Actually I'm using KDE at the moment because Gnome won't running for whatever reason. The behaviour with the ctrl+alt key-combo is the same: 7 shows the initial screen with KDE, 6 & 5 show new console login prompts.
I just tried startx from 6 and it gave me an ugly error msg about the server already running. Whoops.
:roll:
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ah. I just changed my inittab and nothing works anymore! No - only joking - but when I do startx from my console, I get launched straight into gnome, which isn't working properly.
What do I have to change to set my default GUI to KDE? Presumably something in my home directory, but there's quite a few files in there beginning with . and one of them even blocked red with a blinking name and it looks dangerous.
 
Guy Allard
Ranch Hand
Posts: 776
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
On the Gnome start menu, under 'system' there should be something called the 'desk top switching tool'. Use it to change to KDE as default.
I think you can also say:
switchdesk
at a (non-graphics) command line before you startx.
The flashing red file in your home directory is a broken sybbolic link. You can safely 'rm' it, but it will come back. I've never figured out what causes that particular link to be placed there and the link broken.
If you see flashing red's on other files, you need to take a look at them - they could be indicative of other problems.
(Symbolic links are kind of like 'shortcuts').
G.
[ February 10, 2002: Message edited by: Guy Allard ]
 
Adam Hardy
Ranch Hand
Posts: 567
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Guy Allard:
I think you can also say:
switchdesk
at a (non-graphics) command line before you startx.


That was easy enough. Thanks



If you see flashing red's on other files, you need to take a look at them - they could be indicative of other problems.


I'll keep my eye out for them (sort of hard to miss really). If that happened on my Windows computer, I think all the flashing bright colors would blow my video card.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic