LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-22-2002, 10:34 PM   #1
slacker007
LQ Newbie
 
Registered: Apr 2002
Posts: 11

Rep: Reputation: 0
Angry What do i do next?


:smash:

hello guys and gals,

I need some real help here, Im very new to this whole linux thing and i have been trying for days to get a copy of linux to work. So far i have tried Mandrake 8.2 I can get it to install but it just freezes after the bootup. on a white screen that says Mandrake.

So I tried Slack 8.0 I do all the installing and then configure my system, the install says its ready to reboot, so i reboot and it goes thourgh all this stuff and then i come to a darkstar login? what do i do now? how do i get to kde?

I have typed in root and i get a you go mail thing. but thats it. I did install kde, how do i get to it? and how can i get it to load on startup?

Thanks
 
Old 04-22-2002, 10:46 PM   #2
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Rep: Reputation: 30
to boot into X windows (KDE) from bootup,
1. become the superuser
2. edit your /etc/inittab file
look for the line that says id:3:initdefault and change it to id:5:initdefault

as for starting kde, in your user directory (ie. /home/yourName/), create a .xinitrc file and use a text editor to type in:
startkde
into the file.

then do a reboot. it should boot up to kde just fine... if there are any problems, post up... the instructions may not be clear or you may have misunderstood some stuff... take heart! you'll get your kde working soon...
 
Old 04-22-2002, 10:51 PM   #3
slacker007
LQ Newbie
 
Registered: Apr 2002
Posts: 11

Original Poster
Rep: Reputation: 0
Thanks,

This might sound dumb, but how? lol

All i get is a darkstar login: where or how to I edit the file?

Im a windows boy tring to grow up here. :-)

Thanks
 
Old 04-22-2002, 11:08 PM   #4
slacker007
LQ Newbie
 
Registered: Apr 2002
Posts: 11

Original Poster
Rep: Reputation: 0
Ok, This might help.

At the darkstar prompt, I typed in startx
and it went all to he**. "unplicllict kill or server shutdown"

then i tried startkde

same thing " Abort display is not set"


im running a amd 500 on a dell motherboard
128 ram
a geforce 2 gts video card

thats it, a bare bones system until i get linux working. :-)

Thanks again
 
Old 04-22-2002, 11:26 PM   #5
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Rep: Reputation: 30
ah it looks like you haven't run <edit> xf86config</end edit> yet...

1. find out the vertical and horiontal sync for your monitor from your monitor manual...
2. run the <edited> xf86config </end edit>setup ...(you can look for this script by typing find <edit> xf86config </end edit>
3. run through the setup

don't do the startkde at the command prompt.
create a file called .xinitrc or edit it if it already exists... type in startkde in the file.

after all that, type startx at the command line. if everything before this went smoothly, you should have kde up and working...

we really need a FAQ/Common Resources section ... lol

Last edited by gui10; 04-23-2002 at 12:42 AM.
 
Old 04-22-2002, 11:53 PM   #6
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 253Reputation: 253Reputation: 253
after configuring X by typing the xf86config at the command prompt to configure X.... the easiest way to set kde as your default desktop for X is to do this:

$ cd /etc/X11/xinitrc
$ ln -s xinitrc.kde xinitrc

and that should setup so that when you startx from a command prompt, it will automatically make kde load as default.
if you look in your xinitrc directory, you will have a listing of all the desktops you have installed. you can use any of these besides kde if you want. but usually by default when you installed slack, you probably already told it to load kde by default as it is usually already set as default.
look in that directory and if you see a file the file xinitrc > xinitrc.kde, it is already the default desktop.

and like gui10 stated, if you want X to load automatically at boot time, just edit your /etc/inittab file to read runlevel 4 instead of 3... gui10 mistakenly said runlevel 5.. its actually 4 for X in slack.

Last edited by trickykid; 04-22-2002 at 11:56 PM.
 
Old 04-23-2002, 12:41 AM   #7
gui10
Member
 
Registered: Mar 2001
Distribution: enigma, slack8
Posts: 677

Rep: Reputation: 30
geez, i got the name of the file wrong... paiseh!...
lemme go edit it so you don't get confused...
and sorry ... runlevel 4 ... am looking at my mandrake box in the office. need more sleep

Last edited by gui10; 04-23-2002 at 12:47 AM.
 
Old 04-23-2002, 04:31 AM   #8
egh128
Member
 
Registered: Mar 2002
Location: Asheville, NC
Distribution: Slackware
Posts: 257

Rep: Reputation: 30
Quote:
Originally posted by trickykid
$ cd /etc/X11/xinitrc
$ ln -s xinitrc.kde xinitrc
Could you explain in detail what these two commands do and more specifically what "$", "cd", "ln", and "-s" mean. Thanks.
 
Old 04-23-2002, 08:10 AM   #9
Richard James
LQ Newbie
 
Registered: Apr 2002
Location: Australia
Distribution: Slackware
Posts: 21

Rep: Reputation: 15
$ refers to the command prompt asking you what to do next. $ normally refers to the prompt you see when you are not logged in as root/superuser. It is the command prompt seen by a normal user. # is the command prompt you see when you are logged in as root.

cd is the command change directory. Because cd is followed by /etc/x11/xinitrc it changes you into the /etc/x11/xinitrc directory. This is the directory that the xinitrc and xinitrc.kde files are in. Xinitrc is part of the X window system. It is a file that is run when X starts up.

ln is the command "make a link" not to be confused with the ld program. -s is a switch given to ln to tell it to make a soft link or symbolic link. A hard link means that the file points to the position on the hard disk so if I delete a hard link I actually delete the file. Soft links on the other hand are just a references to a file deleting them doesn't delete the file. Microsoft windows has implemented a similar feature with shortcuts but a unix link is more powerful.

What these two commands do is make it so that when the xinitrc script is run xinitrc.kde is run instead. Xinitrc is run when X windows starts so this sets X windows up to run kde. The other way to do it would be to copy xinitrc.kde into xinitrc so that xinitrc looked like the xinitrc.kde file. After either of these are done, if you read xinitrc it looks just like xinitrc.kde.
 
Old 04-23-2002, 10:02 AM   #10
trickykid
LQ Guru
 
Registered: Jan 2001
Posts: 24,149

Rep: Reputation: 253Reputation: 253Reputation: 253
Thanks Richard for explaining that.

kernal, it seems you don't understand some of the basic commands used for Linux. You can always perform a man command-name if your not sure what a command is used for or the flags for it.

Try reading up on Linux. You can browse many sites that have much documentation on Linux. Or there are many books as well you may want to pick up, the O'Reily books for example are good.

If everyone started asking questions like those, it can start to bug or drive members crazy.

Last edited by trickykid; 04-23-2002 at 10:07 AM.
 
Old 04-23-2002, 04:17 PM   #11
slacker007
LQ Newbie
 
Registered: Apr 2002
Posts: 11

Original Poster
Rep: Reputation: 0
Talking THANK YOU

Thank You All for your help it's working!!!!!!!!
 
Old 04-23-2002, 04:40 PM   #12
egh128
Member
 
Registered: Mar 2002
Location: Asheville, NC
Distribution: Slackware
Posts: 257

Rep: Reputation: 30
Not trying to make anyone angry or upset, just trying to learn as much as I can. LQ is the greatest source of info I've found yet. My other Slack CD bit the big one so I have to burn the ISOs again. That's why I asked because I don't have Linux on my box right now. Again, I apologize.

 
Old 04-23-2002, 04:58 PM   #13
finegan
LQ Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 65
Slacker007,

A while back you asked how to change the login prompt. I assume you meant the machine's name. Edit the file:

/etc/HOSTNAME

Cheers,

Finegan
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration