Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
02-11-2006, 04:26 PM
|
#1
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Rep:
|
Problems with xfce, adduser, connecting to internet
I just installed slackware 10.2 (again, because xfce didn't work and I thought maybe I left out a package or two). I went through the menu install and took pretty much everything except games, java, and anything else that didn't sound like core stuff. I didn't install KDE or KDEI because I thought the whole point of linux is not to reinvent bloatware on new platforms. I would like to run a lightweight desktop like xfce or x setup like fluxbox so I can survive until I learn how to use the command-line stuff.
1) I went through xorgconfig and I can use fluxbox, blackbox, etc. But when I try to use xfce (chosen through xwmconfig) it selects it ok but startx fails with a long error message and I don't know how to capture it to paste it here.
2) adduser is telling me awk: command not found. I don't know how to fix this.
3) I can start a web browse but I can't connect to the internet. When I run Slax live CD (actually all of the live CDs I have- about 10) I can always get to the internet.
I'm sorry if this is a repeat of other people's questions. I can't seem to use the search facility here to get a granular enough search. Nor does it seem to work with quoted phrases like "xfce won't start"
Thanks (a lot),
Rand
|
|
|
02-11-2006, 04:33 PM
|
#2
|
Member
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246
Rep:
|
1) /var/log/Xorg.0.log is the X error log, you'll find the error messages there.
2) Install the awk package - it's on CD #1 in the a/ directory (or from here: http://slackware.it/en/pb/search.php?v=10.2&t=1&q=awk).
3) In a terminal, run (as root) netconfig to configure your network.
Hope this helps.
Last edited by odevans; 02-11-2006 at 04:35 PM.
|
|
|
02-11-2006, 05:26 PM
|
#3
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Original Poster
Rep:
|
I guess I screwed up by trying not to install all the garbage. I installed everything (again) except KDE, KDEI, and games, and now everything mostly works. And it's only 2% more space than I saved with my "streamlined" install. Where did I go wrong (don't answer that).
I got internet access working by using DHCPCD. Is it possible to get this to happen automatically when the system starts?
Thanks,
Rand
|
|
|
02-11-2006, 05:35 PM
|
#4
|
Member
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246
Rep:
|
Either run the netconfig script (as root, in a terminal), or edit /etc/rc.d/rc.inet1.conf. For a machine with the interface eth0, it'd look something like this:
Code:
# Config information for eth0:
IPADDR[0]=""
NETMASK[0]=""
USE_DHCP[0]="yes"
DHCP_HOSTNAME[0]=""
|
|
|
02-11-2006, 05:43 PM
|
#5
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Original Poster
Rep:
|
Thanks, man.
|
|
|
02-12-2006, 05:41 AM
|
#6
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Original Poster
Rep:
|
Not only does this set up dhcp so that by the time I start a browser everything is connected, but it also speeded up my boot which was waiting for a disabled ethernet card (by default) to respond (it doesn't!)
You killed two birds with one stone; way to go!
How do I capture message output on linux so that I can post it here?
Thanks,
Rand
|
|
|
02-12-2006, 10:56 AM
|
#7
|
Member
Registered: Nov 2005
Location: Columbus, OH, USA
Distribution: Slackware
Posts: 246
Rep:
|
Depends what output you want to capture. If you have gpm running, you can copy & paste text between consoles by highlighting the text, switching to another console running a text editor and hitting the middle mouse button. If you're running the command in an X terminal (like Konsole in KDE or xterm), you can do the same thing - highlight the text in the terminal and click the middle mouse button in the text field in your browser. If you're looking for system messages, have a look at the files /var/log/syslog and /var/log/messages. The kernel boot messages can be seen by typing dmesg | less (it's more than a screen full) in a terminal. If you want all output from a command to be captured in a text file, append 1> somefile to the command. Try this:
Code:
user@slackbox:$ ls -al 1> foo
Now you have a text file "foo" that contains the directory listing. Changing the 1> to 2> will capture only error messages.
|
|
|
02-12-2006, 12:44 PM
|
#8
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Original Poster
Rep:
|
Thanks. I am talking about the command prompt without a console, I guess.
|
|
|
02-12-2006, 12:50 PM
|
#9
|
LQ Guru
Registered: Jul 2003
Location: Los Angeles
Distribution: Ubuntu
Posts: 9,870
|
and if you wanna be able to see the output while at the same time sending it to the file, use "tee":
Code:
whatever | tee whatever.txt
http://www.die.net/doc/linux/man/man1/tee.1.html
Last edited by win32sux; 02-12-2006 at 12:53 PM.
|
|
|
02-13-2006, 08:45 AM
|
#10
|
Member
Registered: Apr 2004
Location: Europe
Distribution: Debian, Slackware
Posts: 505
Rep:
|
Quote:
Originally Posted by Randux
Thanks. I am talking about the command prompt without a console, I guess.
|
command prompt = console
same thing (not to be confused with konsole, the kde terminal emulator).
For "streamlining" your setup, take a look at http://amigolinux.org/docs/minstall/Phoenixhowto.htm. It explains the functions of the packages in Slackware and also tells you what you absolutely need to have installed.
|
|
|
02-13-2006, 08:51 AM
|
#11
|
Senior Member
Registered: Feb 2006
Location: Siberia
Distribution: Slackware & Slamd64. What else is there?
Posts: 1,705
Original Poster
Rep:
|
Thanks for the info, guys. I don't use kde.
Thanks for the tips and links!
Rand
P.S. very cool concept, aliendog! I was thinking about creating a service machine on HD and disabling boot from CD. I was maybe going to use DSL but there are some things I don't like about it. A 40M slackware machine sounds pretty good!
Last edited by Randux; 02-13-2006 at 08:55 AM.
|
|
|
All times are GMT -5. The time now is 07:11 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|