LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 08-07-2004, 04:02 PM   #1
fedivh
Member
 
Registered: Sep 2003
Location: Uruguay/Southamerica
Distribution: Gentoo
Posts: 144

Rep: Reputation: 15
Will my Graphical ENvironment not start automatticly?


Hi,
I installed Slackware 10 after some problems and when I boot with LILO it says some problems about my ext2 partition and the graphical environment doesnīt start. I selected Fluxbox because GNOME or KDE wasnīt there although I installed it during Installtion.
So how can I start a X Enviornment? I installed all the necessary programs....
Thanks, fedivh
I think I will get back to Mandrake....Slackware seems too dificult to me
 
Old 08-07-2004, 04:05 PM   #2
BrianW
Member
 
Registered: Jul 2003
Location: Montana
Distribution: Slackware
Posts: 272

Rep: Reputation: Disabled
edit /etc/inittab

find

# Default runlevel. (Do not set to 0 or 6)
id:3:initdefault:

change the 3 to 4

# Default runlevel. (Do not set to 0 or 6)
id:4:initdefault:

or you can stay in 3 and use $ startx to start up the X server,

I was in your spot once, stick with slackware and you'll learn Linux far faster than you would with mandrake, just takes time

Last edited by BrianW; 08-07-2004 at 04:06 PM.
 
Old 08-07-2004, 04:05 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: earth
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917Reputation: 917
Slack doesn't use X as default runlevel.

Either login and run startx
Or edit /etc/inittab and make 4 the default
runlevel ...
Or edit /etc/rc.d/rc.local and add e.g.
/usr/X11R6/bin/xdm


Cheers,
Tink

P.S.: Mandrake is for wimps ;)
 
Old 08-07-2004, 04:14 PM   #4
fedivh
Member
 
Registered: Sep 2003
Location: Uruguay/Southamerica
Distribution: Gentoo
Posts: 144

Original Poster
Rep: Reputation: 15
Yep, I know I should try keeping with Slackware and I will, itīs just that Iīve never tried Linux on my new Notebook since I have it and I would like to take Windows XP as far as possible, but I think I will have to wait a wile.
Before I did this Thread I already tried with "startx" but it didnīt work. Some error messeges appeard, but I will try again and post the error messege otherwise.
Hey, whats "wimps"? Because English is not my mother tounge....
Thank you!
I will post the error messegas soon. In 15 minutes when I finish eating
 
Old 08-07-2004, 04:58 PM   #5
fedivh
Member
 
Registered: Sep 2003
Location: Uruguay/Southamerica
Distribution: Gentoo
Posts: 144

Original Poster
Rep: Reputation: 15
Here the error messeges:
First, after LILO all seems fine, then:
Testing root filesystem status: read-only filesystem
Checking root filesystem:
fsck 1.35 (28-Feb-2004)
/sbin/e2fsck: Is a directory while trying to open /
/:
The superblock could not be read or does not describe a correct ext2 filesystem. If the device is valid and it really contains an ext2 filesystem (and not swap or ufs or something else), then superblock is corrupt, and you might try running e2fsck with an alternate superblock:
e2fsck -b 8193 <device>

An error ocurred during the root filesystem check. You will now be given a chance to log into the system in single-user mode to fix the problem.
If you are using the ext2 filesystem, running "e2fsck -v -y <partition>" might help.
Once you exit the single-user shell, the system will reboot.
Type control-d to proceed with normal startup, (or give root password for system maintenance): Here I entered my root-password!
Entering System Maintanence Mode
/dev/console: Read-only file system.
root@(none): /# startx
hostname: Host name lookup failure
xauth: error in locking authoirty file //.Xauthority
/usr/X11R6/bin/starx: line 133: cannot create temp file for here document: Read-only file system xauth: error in locking authority file //Xauthority.
/usr/X11R6/bin/startx: line 133: cannot create temp file for here document.

Fatal server error: Could not create lock file in /tmp/.tXO-lock
Please consult the The X.Org Foundation support for help.
giving up.
xint: No such file or directory (errno 2): unable to connect to X server
xinit: No such file or directoy (errno 3): Server error.
xauth: error in locking authority file //.Xauthority

Then I tried:
root@(none): /# e2fsck -v -y /dev/hda5
e2fsck 1.35 (28-Feb-2004)
/dev/hda5: clean, 94633/2560864 files, 409843/2560351 blocks

So what should I do? Should I try re-installing and re-formating /dev/hda5?? Even with ext3? Wich one is faster, by the way.
Thank you!
 
Old 08-07-2004, 05:35 PM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
Entering System Maintanence Mode
You entered on rescue mode in runlevel 1 in which start X environment is impossible. Something is wrong with your root partition filesystem. You may try fsck to check it, in where partition did you install slackware ?Which filesystem ?
 
Old 08-07-2004, 05:45 PM   #7
LizardMan
Member
 
Registered: Jun 2003
Location: California, USA
Distribution: Zenwalk & Slackware
Posts: 42

Rep: Reputation: 15
You should post your /etc/inittab file. It could be some simple problem in there. Like no mount points for the root partition or something. It sounds like it could also be a bad hard drive, but lets not count our eggs before they hatch.
 
Old 08-07-2004, 05:56 PM   #8
fedivh
Member
 
Registered: Sep 2003
Location: Uruguay/Southamerica
Distribution: Gentoo
Posts: 144

Original Poster
Rep: Reputation: 15
Ok, I reinstalled it and re-formatted my Linux-Drive. Before I had ext2 with one swap partition, now ext3 without swap.
It works perfect now, and startx works too. It starts on Fluxbox as I set it because I havenīt installed KDE or Gnome, what I should do, because so have muuuuuuch more options.
I couldnīt connect to the internet because I need PPPoE, under Mandrake 9.2 I did it with something "penguin" PPPoE, ah! yes! rppppoe, roaring penguin, right?
How can I do that with Fluxbox or via console? Or do I have to install KDE?
Thanks, Iīm slowly liking Slackware, but just slowly, first I need internet....
 
Old 08-07-2004, 06:01 PM   #9
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 52
Run: adsl-setup
then adsl-start


As root

Forgot to say, if you want to disconnect, adsl-stop

Last edited by gbonvehi; 08-07-2004 at 06:03 PM.
 
Old 08-07-2004, 06:23 PM   #10
fedivh
Member
 
Registered: Sep 2003
Location: Uruguay/Southamerica
Distribution: Gentoo
Posts: 144

Original Poster
Rep: Reputation: 15
Ok, adsl-setup works, and adsl-start too.
With adsl-status it says that the link is up and all is fine.
But with Fluxbox and Mozilla I canīt get into the Internet.
On Mandrake 9.2 I couldnīt too because I have to set the NIC for my Wireless Router, although its over cable. I mean I have to change the IP and Netmask, then it works....So can I repeat the steps of the network-config during the installation anyway?
With Mandrake I could do it over the KDE-Control Center. Is there a Control Center for Slackware-KDE, too? Should be, right?
Because then I would copy the ISO-Image of the second CD again and install KDE.
Thank anyway!!!

Last edited by fedivh; 08-07-2004 at 06:25 PM.
 
Old 08-07-2004, 06:27 PM   #11
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
you may be a wimp, but not just because you use Mandrake...

Quote:
Originally posted by fedivh
Hey, whats "wimps"? Because English is not my mother tounge....
wimp
n: A person who is regarded as weak or ineffectual: “the impression that he is a colorless, indecisive
wimp, and not a leader among men” (James J. Kilpatrick).
intr.v.: To be timid or cowardly. Usually used with out: wimped out and refused to jump off the high
diving board.
n: n 1: a person who lacks confidence, is irresolute and wishy-washy [syn: chicken, crybaby]

That's not a good attitude (IMO) for us to show to people who use other distributions of Linux. Perhaps
the permeation of this type of attitude through the Linux world is why we're still light-years behind
Windoze in terms of usability for newbies. There are so many different people with different opinions
working towards different goals and directions. Let's face it, when one installs Windoze on their comp, all
these things you mention "just work." But the typical Linux installation is going to take lots or reading,
and then some hacking, and still can't get to the "ease of use" level of today's Windoze OSs.

Part of the reason is that there are a whole lot of different Linux distributions, and pretty much each
one puts files in different places, and runs somewhat differently from other distributions. If the
Linux developers got together and all pooled their wealth of knowledge and resources into one, or
even just two or three distributions, I believe we could have a desktop Linux that would be easier
to install, more efficient, and would work better than anything Mirco$loft has ever produced. And it
would probably come to fruition in a short amount of time, given their track record.

You're not a wimp because you use Mandrake, any more than Tinkster was a wimp when he used SuSE
before switching to Slackware - and btw - English is not his mother tongue, either.

Come on, let's get together and stop criticizing the other Linux distributions. They can all be useful
in some way to someone out there. My dislike for Mircro$loft is so great that I'm trying to help everyone
migrate to Linux. Yes, Mandrake does things differently than Slackware.

I've been using Slackware since November, and Tinkster has helped me more than anyone has ever
been helped. Just to be able to run Slackware today, I owe a ton of gratitude to him! But it's still very
hard to get some things working on my computer that "work perfect with the install" of Mandrake.
For instance, Slackware 10.0 has ALSA configured, but to play a regular music CD I had to get and
install another application. And then when I rebuild my kernel so that my nic works, I have to reinstall
the ALSA drivers. Before using version 10 this was never a problem, but now I cannot get ALSA to
work properly after recompiling the kernel, no matter what I've tried. With Mandrake, my sound card
is recognized and configured with the initial install. And it works better than in Windoze or in Slackware
without me doing anything at all. And I don't need to change kernels because Mandrake 10.0 already
has the 2.6.3 kernel, and patching it if needed for security is very easy.

Slackware is an awesome OS - it's my favorite and I just love it. But it is most definitely for hackers,
and if you don't want to spend a whole lot of time reading, searching, trying, breaking, and starting
over again don't install Slack. From the Slackware website:
Quote:
The Slackware Philosophy
Since its first release in April of 1993, the Slackware Linux Project has aimed at producing the most "UNIX-like" Linux distribution out there. Slackware complies with the published Linux standards, such as the Linux File System Standard. We have always considered simplicity and stability paramount, and as a result Slackware has become one of the most popular, stable, and friendly distributions available.
Slackware works more in line with the "Linux standards," which is not true for some such as Mandrake.
However, not many people will understand those standards, or how to hack it, when they first
migrate from Windoze. It takes a whole lot of reading, and learning.

So let's try to get together more, and not put each other down for the distribution they use. I've been
guilty of the same thing, but it's time we stopped all this "distribution elitism" and start working
together against the common enemy - Microsoft. The main reason they've dominated the desktop
market is because they've made their OS easy for people to use. Let's face it, most people today don't
want to read how the computer works to check their email, surf the web, and play a music CD or a
video. They just want to turn the comp on and use it.

Some people think those with that kind of mentality should "stick to Windoze," and stay away from
their precious Linux distributions. But people are getting tired of Windows security problems, and lack
of ability to customize their PC (Personal Computer). They are finding their way here, to these
forums, by the thousands. Let's help them learn to read, and learn to think, and learn to use Linux
and appreciate it's power and performance - even if they begin with a GUI-filled distro like Mandrake.

Jeremy's LQ Rules do state:
"Challenge others' points of view and opinions, but do so respectfully and thoughtfully ... without
insult and personal attack. Differing opinions is one of the things that make this site great."
 
Old 08-07-2004, 06:49 PM   #12
fedivh
Member
 
Registered: Sep 2003
Location: Uruguay/Southamerica
Distribution: Gentoo
Posts: 144

Original Poster
Rep: Reputation: 15
You are totaly right, Chinaman!
We all use different distros, (how much famous ones are there? 20 - 30?), but all donīt like Microsoft or even hate it. You just fall in love with Linux, its strange...
I donīt think there should be only one or two or three distros, in my opinion that would be bad. But there should be a Linux-Common-Commands-Association or something like similar. I mean where they define what would be the best directory where to put some special KDE-Config files and much other things. The Design is very important for people who come from Windoz. For me too....)...
But as you said, Mandrake doesnīt keep the standars, so I had many problems with Themes and KDE-Stuff and even couldnīt install some things. And that is very sad, although the Internet and everything works fine.
As you see now, I have many problems with Slackware, but I still try. Many people from WIndoz wouldnīt even try or couldnīt do it. They just couldnīt because they never have seen even DOS. They just click and click and nothing.
So, to keep with my original thread, we should open a new Thread for a Common-Structur-Order or Common-Commands, for a more Standart-Linux. Maybe we can change something....
But do you think SUSE and Mandrake and other distros would make an efford to change something? I dont know...but I dont think so...United Linux, or how it was or is called had good Ideas, but nothing helped....
 
Old 08-07-2004, 07:00 PM   #13
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by fedivh
Ok, I reinstalled it and re-formatted my Linux-Drive. Before I had ext2 with one swap partition, now ext3 without swap.
It works perfect now, and startx works too. It starts on Fluxbox as I set it because I havenīt installed KDE or Gnome, what I should do, because so have muuuuuuch more options.
I couldnīt connect to the internet because I need PPPoE, under Mandrake 9.2 I did it with something "penguin" PPPoE, ah! yes! rppppoe, roaring penguin, right?
How can I do that with Fluxbox or via console? Or do I have to install KDE?
Thanks, Iīm slowly liking Slackware, but just slowly, first I need internet....
You may need a swap partition. This is what Linux uses for memory when it exceeds your
physical ram. You can actually cause an app to "freeze" if you run out of memory. You can also
use the same one for both your Linux distributions as I am doing.

If you didn't install KDE or GNOME, and want to use them, it would be much quicker at this point to
reinstall the entire Slackware OS and install them at that time. That's if you're sure you didn't install
them. However, if you did install them, but just chose Fluxbox as your window manager, you can
boot the comp into Slack, then login, and before issuing "startx" you can issue "xwmconfig" which is
X window manager configurator and it will let you choose to start a different window manager. Then,
when it returns you to the prompt, issue "startx" and you'll be using that one. This isn't permanent
like the other instructions you've received. It will return to your default (now Fluxbox) window manager
when you reboot. I know reinstalling the whole thing is not "the Linux way," but if you are going to
have to decide to choose packages other than just KDE or GNOME, you might have problems ever
getting it right. If you reinstall, just use the same mount points, but don't format your /home partition
and you will still have all that saved and your preferences and permissions the same. Even mail and
bookmarks will remain...

Edit: Sorry, I wasn't a good reader...

As root from a terminal issue "netconfig" to setup your network, then issue
"adsl-setup" again.

Last edited by Bruce Hill; 08-07-2004 at 07:09 PM.
 
Old 08-07-2004, 07:18 PM   #14
fedivh
Member
 
Registered: Sep 2003
Location: Uruguay/Southamerica
Distribution: Gentoo
Posts: 144

Original Poster
Rep: Reputation: 15
Ok, I will try with xwmconfig...but I donīt think its installed because its on the second CD and I didnīt copy it.
Hey, I posted a poll at Linux-General for the Standard-Linux-Association
Go there an vote!
Thank you everybody for your fast answers! Although Iīm Member in this Forum since 1 year, I always get impressed again when I see how helpfuly this is!
 
Old 08-07-2004, 07:53 PM   #15
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,939

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by fedivh
Ok, I will try with xwmconfig...but I donīt think its installed because its on the second CD and I didnīt copy it.
Hey, I posted a poll at Linux-General for the Standard-Linux-Association
Go there an vote!
Thank you everybody for your fast answers! Although Iīm Member in this Forum since 1 year, I always get impressed again when I see how helpfuly this is!
BrianW and Tinkster told you how to login to a gui in post #2 and 3.

I don't know where xwmconfig is installed, I always install everything that Slack has,
so that I don't have such issues. It's only ~2GB...
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
xfree86 for graphical environment used only via ssh kpachopoulos Linux - General 1 09-01-2005 11:52 AM
Xterm to Graphical Environment: run what? JMCraig Linux - Newbie 3 01-24-2005 03:12 PM
graphical environment not working mouse46 Mandriva 11 08-09-2004 08:33 AM
Graphical Desktop Environment Gerardoj Linux - General 3 10-30-2003 07:00 PM
can't log in graphical environment abd_bela Debian 3 09-12-2003 07:43 AM

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

All times are GMT -5. The time now is 01:54 PM.

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