Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Beginner's problem

Status
Not open for further replies.

TonyGroves

Programmer
Aug 13, 2003
2,389
IE
I have just started exploring Linux (I installed SuSE 8.2 today), and think I messed up the KDE settings. I don't particularly like the fancy graphics and would prefer to use a plain 16- or 256-colour theme for the desktop, so I opened SaX and changed the colours setting to 16 colours and rebooted. But now, the system starts with a shell instead of KDE, and I can't figure out how to get back to where I was.

Can anybody help? Thanks.

-----
ALTER world DROP injustice, ADD peace;
 
To start X11 from the console use: startx
To start X11 automatical edit /etc/inittab (as root)

change:
Code:
#The default runlevel
id:4:initdefault

## to:
id:5:initdefault

don't forget to have a look at man inittab

We recently had a similar topic here...
 
Sorry to be such a gobshite, but how do I edit a file like inittab? I only started playing with Linux today, and I don't have a manual yet.

Also, how do I escape from the 'man' program back to the shell?

Thanks a lot.

-----
ALTER world DROP injustice, ADD peace;
 
Update:

I figured out how to open the file using vim, but the id:5:initdefault: entry is already there, so I didn't change it.

And when I do startx at the console, the command fails with "Fatal server error: no screens found".

I'll have to get myself a decent manual when the shops open again on Tuesday.

-----
ALTER world DROP injustice, ADD peace;
 
I don't know SaX and don't have it here.

perhaps you have a file /etc/sysconfig/desktop .
If yes, you may edit it.

But perhaps you have a different configuration/ X-start-sequence and it will not work on your machine. (I don't have SuSe but perhaps other users have and might lead you better.)
 
Sounds to me like you just plain broke your X configuration. Make a known working one again (I hope 'sax' has some 'start a new X config from scratch' option). Doing a google search for "<your type of graphics card> linux XF86Config" will usually get you some good results.

Once you get X working -in any usable capacity- make a backup copy, maybe in ~/, or some other safe place ;-)

A Haiku for shrubble
a recycle bin?
rtfm
that's not GPL

----
JBR
 
Thanks for all the contributions.

I reinstalled the OS from scratch, and vowed to think before messing with settings in future.

-----
ALTER world DROP injustice, ADD peace;
 
> vowed to think before messing with settings in future.

Well, don't let it discourage you from messing with settings. Part of the fun of using Linux is getting everything to work exactly how you want it to.

If possible, learn the syntax for configuration files, make backups of them, and then edit them to do what you think you want them to do. If you break it, you'll still have the working one.

In your case, I don't know what SaX is, but I assume it was editing the file /etc/X11/XF84Config or something similar. Next time you want to mess with a setting that could affect it, you might want to make a backup first.

Also, most X distributions have some way to autodetect stuff concerning your video card and generate a suitable file. If you don't want to make a backup, you can use that to get out of a mess.

Finally, you made the mistake of messing with X before you knew how to get along without it. Most other things whose configuration you mess with won't be such a problem if you happen to break them.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top