SlackwareThis 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.
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.
I'm excited to join the Slacking community. After several years of migrating from Windows to Ubuntu (and finding myself totally reliant on apt-get), I've decided to complete the commitment to better operating systems and delve into Slackware.
That said, I've successfully installed Slackware on an old HP laptop. Had some trouble with LILO and (an existing copy of) GRUB fighting, so I ended up nuking the drive with dd and then reinstalling. Everything went smoothly after that and I'm left with a surprisingly crisp and snappy system.
Onward, to the problem:
I chose Fluxbox as my default window manager, and it worked swell. Then I decided that I really wanted Openbox instead. So I got it from slackbuilds, compiled, and installed it. I then updated my .xinitrc file to reflect the change.
Now, I have what feels like a 50/50 chance of the laptop booting up to a login prompt. The other half of the time, it begins booting, and then right when it would normally flicker, and come back with smaller, cleaner text, it goes blank. The backlight is on, but the screen is black. Furthermore, I can still log in after waiting a reasonable amount of time and blindly entering my name and pass, then I can execute 'startx' and openbox successfully launches.
Once in openbox, I can use ctrl-alt-bkspc to close the window manager, and end up with a working shell, what I expect to get on initial boot.
I'm willing to upload any configuration files that may be pertinent, or even a video of it booting, please let me know what I should include.
All in all, it would be pretty straightforward to re-install, but I'd like to at least try fixing the problem first, otherwise I won't learn anything.
***
It seems weird to mention .xinitrc and then not include it, so I've copied off the computer. Here it is.
.xinitrc:
Code:
#!/bin/sh
# $Xorg: xinitrc.cpp,v 1.3 2000/08/17 19:54:30 cpqbld Exp $
userresources=$HOME/.Xresources
usermodmap=$HOME/.Xmodmap
sysresources=/etc/X11/xinit/.Xresources
sysmodmap=/etc/X11/xinit/.Xmodmap
# merge in defaults and keymaps
[ -f $sysresources ] && /usr/bin/xrdb -merge $sysresources
[ -f $sysmodmap ] && /usr/bin/xmodmap $sysmodmap
[ -f $userresources ] && /usr/bin/xrdb -merge $userresources
[ -f $usermodmap ] && /usr/bin/xmodmap $usermodmap
# Create default user directory & populate it if not already existent
if [ ! -d $HOME/.config/openbox ]; then
mkdir -p $HOME/.config/openbox
cat /etc/xdg/openbox/menu.xml > $HOME/.config/openbox/menu.xml
cat /etc/xdg/openbox/rc.xml > $HOME/.config/openbox/rc.xml
fi
# Not sure what I'm doing, going to open xcompmgr
xcompmgr &
# Desktop background
feh --bg-center /home/ctag/wallpaper/space-ship.jpg
if [ -z "$DESKTOP_SESSION" -a -x /usr/bin/ck-launch-session ]; then
exec ck-launch-session dbus-launch --exit-with-session openbox
else
exec openbox
fi
And .xprofile:
Code:
#!/bin/sh
# xcompmgr
# xcompmgr &
Thanks for reading,
-ctag
Last edited by ctag; 07-13-2013 at 12:02 AM.
Reason: added .xinitrc
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
This sounds like it may be a different problem (X is not running during boot). The symptoms you describe have cropped up not too long ago and were fixed in the 3.2.45 kernel.
Have you installed all the patches?
Have you installed the kernel update to version 3.2.45? Do this:
Code:
uname -a
Linux your_system_name 3.2.45 #2 SMP (and other stuff)
Does your system use Intel graphics (lspci will show you, your version may differ)?
If you haven't done all the patches, the easy way is to create a directory in /usr/local
Code:
su -
<root password>
mkdir -p /usr/local/patches
cd /usr/local/patches
# use this one for 32-bit
wget ftp://ftp.osuosl.org/pub/slackware/slackware-14.0/patches/packages/*
# use this one for 64-bt
wget ftp://ftp.osuosl.org/pub/slackware/slackware64-14.0/patches/packages/*
<wait a while>
upgradepkg *.t?z
That will bring system software up to the current stable level (be sure to use either the 32-bit or the 64-bit line above, don't do both).
Now the kernel. The kernel should be at 3.2.45. You're still in /usr/local/patches, so
Code:
mkdir linux-3.2.45
cd linux-3.2.45
# use this for 32-bit
wget ftp://ftp.osuosl.org/pub/slackware/slackware-14.0/patches/packages/linux-3.2.45/*
# use this for 64-bit
wget ftp://ftp.osuosl.org/pub/slackware/slackware64-14.0/patches/packages/linux-3.2.45/*
<wait a while>
upgradepkg --reinstall *.t?z
You must run lilo. Look at /etc/lilo.conf, down at the bottom it should look like this:
Code:
tail /etc/lilo.conf
# Linux bootable partition config begins
image = /boot/vmlinuz
root = /dev/sda1
label = Linux
read-only
# Linux bootable partition config ends
Yours may vary a little, perhaps the root partition, but if you installed the default system, that's pretty much what it's going to look like.
Execute lilo:
Code:
lilo
Then you can reboot -- all the above brings your system to the current stable level.
Note that when you upgrade the kernel it's going to take while (well, all the above upgrades are going to take a while truth be known) -- minutes, not hours, but maybe quite a few minutes, don't worry about that.
All the above assumes that you installed default Slackware and have not done a custom kernel (where you compiled the kernel yourself). There are other ways to get the patches and apply them but the above is easy and fast (depending on your Internet connection speed, of course) and gets you up to date quickly.
Hello:
May be it is a video prblem.
Did you check any log or message files?
There should be something there...
May be i am a little newbie but donīt understand exactly if you enter fluxbox directly from booting.
Regards,
Alejandro
P.S:
Quote:
so I ended up nuking the drive
Excellent! Iīd never heard that expression before.
I'm not sure where to check for an error or message log. I have Slack set to boot to a terminal (it's default, I believe) from which I can log into either root or my regular account and then load openbox if I want a desktop.
;D Yeah, it's an expression I picked up from Darik's Boot and Nuke project to securely erase HDs.
tronayne,
I heard about patches while going through the new user install guides, but to my knowledge have not installed any of them.
Output of uname:
Code:
root@BBX-oldtop:~# uname -a
Linux BBX-oldtop 3.2.45-smp #2 SMP Fri May 31 16:57:40 CDT 2013 i686 Genuine Intel(R) CPU T2300 @ 1.66GHz GenuineIntel GNU/Linux
It says 3.2.45, but I didn't specifically update the kernel, I believe it came with the DVD iso.
Location: Northeastern Michigan, where Carhartt is a Designer Label
Distribution: Slackware 32- & 64-bit Stable
Posts: 3,541
Rep:
There was a glitch in one or two copies of the 3.2.45 kernel (having to do with black screen with Intel graphics); the version at osuosl.org is the current, working, one and it won't hurt to do the upgradepkg --reinstall *.t?z just to make sure. The symptoms were when the switch is made during boot, the screen goes black.
It could also be a hardware problem but I'd do the software first then dig into the hardware (might be as simple as a pinched cable or loose connector, but then...).
I have this same problem, except I'm using Radeon HD 6480G Graphics.
When it hits the framebuffer during boot I get the black screen or sometimes I get a bar code screen, when (if) it come back in it come in around DRM or bluetooth. I am up to date with 64-14 stable. So...
Would like to see more feedback on this subject.
Last edited by r.vaillancourt; 07-14-2013 at 11:27 AM.
r.vaillancourt, your post looks like it got cut off, mind editing it?
--
Well, I must have rebooted and shutdown the laptop about thirty times yesterday, and right before I went to bed, it booted to a blank screen again. Seems to have the same problem today :-[
I'm going to leave the thread open to suggestions, but I'll likely reformat and reinstall to see if the problem stems from me messing around or something hardware/software with Slack.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.