LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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 10-09-2003, 04:43 AM   #1
giddleberry
LQ Newbie
 
Registered: Oct 2003
Posts: 22

Rep: Reputation: 15
Question setting up x


Hey

thanks to all those people who helped me boot yesterday. now i was just wondering if anyone knew where a simple guide to setting up x (i know near nothing about linux) and somewhere i can download x (i have zipslack so i dont think i have it). also i noticed root doesnt have a password, and i was wondering how i would go about assigning it one.

thanks
 
Old 10-09-2003, 05:35 AM   #2
linuxJaver
Member
 
Registered: Jul 2003
Location: Jakartax, ID
Distribution: slack9.1+,9.1,rh9
Posts: 203

Rep: Reputation: 30
Type "passwd" on the commandline will prompt u on howto set a new password. Try "startx" to see wether u can bring X up.

If not just see wut it says, to choose a WindowManager use "xwmconfig". The files reponsible for customizing X is /etc/X11/XF86Config. Try them out, paste in wut come out if not worked ..
 
Old 10-09-2003, 05:47 AM   #3
giddleberry
LQ Newbie
 
Registered: Oct 2003
Posts: 22

Original Poster
Rep: Reputation: 15
when i type startx it says:
"bash: startx: command not found"

when i type xwmconfig it says:
" bash: xwmconfig: command not found"

thanks for tellin us how to change the password!
 
Old 10-09-2003, 05:51 AM   #4
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
ZipSlack doesn't come with an X to configure - or didn't when I was using it.

http://www.slackware.com/faq/do_faq.php?faq=zipslack#3

It's easy - just download the *.tgz packages, install them with 'installpkg' and edit XF86Config and 'startx'. The link doesn't work but go to 'get slack' and pick a mirror from there.

Also, do 'adduser' in addition to what linuxJaver says about 'passwd' and create a regular user for yourself. Might have to get the package - can't remember what's included in ZipSlack.
 
Old 10-09-2003, 05:54 AM   #5
giddleberry
LQ Newbie
 
Registered: Oct 2003
Posts: 22

Original Poster
Rep: Reputation: 15
rightio, so where do i put the .tgz files?

just in the root linuz directory?
 
Old 10-09-2003, 06:59 AM   #6
sudden
LQ Newbie
 
Registered: Sep 2003
Location: Germany M/V Schwerin
Distribution: slackware
Posts: 7

Rep: Reputation: 0
put the files where ever you want.
for example we will put them in /tmp/install/ for intsalling, make a backup anywhere.
now you need to type "pkgtool" select the point "other directory"
type there "/tmp/install/" install everything you want to install.
to configure your x-server you will have to type "xf86config" and go through instruduction there. remember you will need the xf86-server and a windowmaker, kde or gnome or something like that.
after all, you schould be able to type "startx" and starting the x -server. If it won`t works it will create an error page and an error log. With these little ones you should be able to solve the problem, if not post it here again :-)
 
Old 10-09-2003, 07:24 AM   #7
slakmagik
Senior Member
 
Registered: Feb 2003
Distribution: Slackware
Posts: 4,113

Rep: Reputation: Disabled
I wouldn't put them in /. I like a clean root. Since this is a ZipSlack it doesn't really matter beyond that. If you had a separate /home or /usr partition I'd say to put them somewhere in there. For tarballs, /usr/local/src is the standard place but, unless you chmod it, regular users don't have write permission to that directory and these are precompiled, for what it's worth. As is, I'd just create a download/source-type directory in your home directory regardless. Easiest to get to that way and keeps what you might want to back up in the same main part of the tree. I wouldn't treat them as 'temp' though because if something goes wrong at any point, you'd have to waste time downloading stuff again. I'd keep them in /home and back 'em up and then maybe delete them from the HD if necessary. But that's just preference - like sudden says, they *can* go anywhere.
 
Old 10-09-2003, 09:39 AM   #8
linuxJaver
Member
 
Registered: Jul 2003
Location: Jakartax, ID
Distribution: slack9.1+,9.1,rh9
Posts: 203

Rep: Reputation: 30
Looked like that ur commands search path isn't set correctly..
startx located on /usr/X11R6/bin/startx.

So, if u wonna run X, it is a must to have this on yer search path.
Edit yer ~/.bash_profile or ~/.bashrc if u have one on yer home directory. Just type "cd" without will bring u to yer home dir, like

# cd

To see if u have such .bashrc or .bash_profile, do
# ls -lA

If u have them then edit on of them, append "/usr/X11R6/bin:" without "" into the line look similar to "export PATH=..." (after the '=')

If u don't have them, then type the following:

# cat <<! >>~/.bash_profile <ENTER>
export PATH=/usr/X11R6/bin:$PATH
!

Then,
# ls -lA

It should be a file ".bash_profile" there on yer home dir. By next time u will know howto edit ur commands search paths. U may need to append other paths into that "PATH" variable later, am not on linux to give u a reasonable content for PATH for newbie.

Remember to source the modification of ~/.bashrc or ~/.bash_profile each time u modify them to make them guilty ..

# source ~/.bash_profile
# xwmconfig
# startx

Nextstep u ll maybe need to get used to any editors, try this out, whether u like them:
gedit, pico, vim (run on textmode); xedit,gvim,emacs (must have X window running).
 
Old 10-09-2003, 10:48 AM   #9
laydros
Member
 
Registered: Jun 2003
Location: Raleigh, NC, US
Distribution: Slackware
Posts: 63

Rep: Reputation: 15
would it be possible for him to use swaret with zipslack? and then just type swaret --update, swaret --in-all x ????
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Setting the xrandr setting permanently dazdaz Linux - Hardware 2 11-24-2005 01:57 AM
Setting up X Jaster Linux - Laptop and Netbook 10 11-21-2004 09:15 PM
Setting unusual networking setting in Mandrake zamri Linux - Networking 1 05-28-2004 06:43 AM
setting up X evian Linux - Laptop and Netbook 1 09-26-2003 08:03 PM
what are the setting ?? johnyy Linux - Software 4 09-25-2003 02:51 AM

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

All times are GMT -5. The time now is 06:46 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
Open Source Consulting | Domain Registration