[SOLVED] Startx not working after multilib script was ran
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.
Like i legit did very few things for it not to be working. Updated it, installed slackpkg+, installed multilib script and that's it pretty much and now it's broken lol.
Do I understand it right? You installed 15.0 and X worked. After you installed "multilib script", X stopped working? What is that "multilib script" and for what Slackware version is it?
Do I understand it right? You installed 15.0 and X worked. After you installed "multilib script", X stopped working? What is that "multilib script" and for what Slackware version is it?
It's part of slackpkg+, /usr/doc/slackpkg+-1.8.0/setupmultilib.sh. I guess its supposed to make it simple. Personally I have never used it. I find it easier to just:
1) Add the the "multilib" repository to MIRRORPLUS in slackpkgplus.conf
2) Add "multilib" to PKGS_PRIORITY and REPOPLUS
2) run 'slackpkg update gpg
3) run 'slackpkg update'
4) run 'slackpkg install multilib'
5) run 'slackpkg upgrade-all'
After a look at the script, that is basically what it does. I don't see how this would mess up running "startx"
Last edited by chrisretusn; 03-20-2022 at 05:26 AM.
Are you using grub? By default slackware uses elilo for efi systems.
I am using elilo because slackware is the only OS on my computer. I want to be purely slackware kinda like how slackware has a purely 64 bit OS. Purity!
I am using elilo because slackware is the only OS on my computer. I want to be purely slackware kinda like how slackware has a purely 64 bit OS. Purity!
Ah. So then you add nomodeset to /boot/efi/EFI/Slackware/elilo.conf. adding it to the grub config files won't do anything.
nomodeset doesn't necessarily fix the problem, it just helps isolate the source of whatever is now broken.
I reinstalled the OS because I legit don't have a cell phone for productivity purposes and slackware is the only OS I have currently and am willing to use:
* root
* reformatted SSD w/cfdisk :/dev/sda1 - 95 mb - EFI system /dev/sda2 - 11.2 GB - swap - /dev/sda3 - 227.2 GB - Linux File System
*[*] /dev/sda2 - add swap linux partition, 12 gb
* check swap partition for bad blocks yes : /etc/fstab
* / - /dev/sda3 Linux 228 GB - Format - ext4
* EFI system partition recognized /dev/sda1 - /boot/efi - /fat defaults 1 0
* yes - FAT or NTGFS partion detected - add to /etc/fstab - add
* add usb /dev/sdb1 to fstab - /ntfs-c
/etc.fstab: /dev/sdb1 /ntfs-c /fat fmask -177 - dmask - 077 -c done adding FAT OR NTFS Partitions - ok
* install from slackware usb
- scanning for usb - ok
* selected all packages series partition - select prompting mode FULL
* make usb flash boot - skip
* UEFI firmware detected - skip - skip installing of LILO and proceed to ELILO installation
* install ELILO on the EFI system partition
* install boot menu entry? - install - install a boot menu entry
* remove old "slackware" EFI boot entry - yes - old EFI boot menu entry : BOot002 * SLACKWARE Hd C1 gpt, 25CCE9FA-4D62 - 4D62-4D62-144E-B392-F7D416F2596D, 0X2F800) /FILE (\EFI\slackware\elilo.efi) - yes
* EFI boot entry installed - EDI boot menu entry: Boot 0002*slackware HD C1, GPT \, bab59cac - 62a9-664e-bd68-9c3eae83cf25, 0x80010x2f800)/ File(\EFI\slackware\elilo.efi) - ok
* mouse ocnfiguration: imps2 - ok /usr/sbin/gpm -m /dev/mouse imps2 - yes
* configure network? - yes
hostname: bern
domainname: ace
* connect via vlan : no
* conguration for 'bern.ace' - Networkmananger
* Network setup complete - yes
* confirm startup services to rin:
rc.ard, rc.crond, rc/cups, rc.dnmasq, rc/dovecot, rx.fuse, rc.httpd, rc.ip_forward, rc.mysqld, rc.nfsd, rc.ntpd, etc.rpc, rc.syslog, rc.sshd, rc.messagebus, rc.bind
* custom fonts: c.fnt.gz
* hardware clock set to UTC - yes - America/New York
* choose default vi editor : nvi - ok
* select default window manager for x : xfce
* root - password set -> Exit unplugged usb, rebooted.
* logged in as root, made user cameorn w/ all enter-defaults group initial user with groups additional : audio cdroom floppy input ip netdev plugdev power scanner video - logged out
* cameron login
* startx -> works -> networkmanager connected to wifi internet.... Now what?
It's part of slackpkg+, /usr/doc/slackpkg+-1.8.0/setupmultilib.sh. I guess its supposed to make it simple. Personally I have never used it. I find it easier to just:
1) Add the the "multilib" repository to MIRRORPLUS in slackpkgplus.conf
2) Add "multilib" to PKGS_PRIORITY and REPOPLUS
2) run 'slackpkg update gpg
3) run 'slackpkg update'
4) run 'slackpkg install multilib'
5) run 'slackpkg upgrade-all'
After a look at the script, that is basically what it does. I don't see how this would mess up running "startx"
OKAY. I will take that advice the only problem is that last installation I run the usual:
# slackpkg update
# slackpkg install-new
# slackpkg upgrade-all
and upon restarting the 'look' of the kernel booting/start up changes noticeably in that it looks more 'primitive' and when this occurs startx fails to function. I ran startx and it ran into the same fatal error so maybe something after updatingit via slackpkg makes it not work. I installed a new installation and I am unsure of what to do next and would prefer guidance. Should I Run the usual commands above, should i get some information from the system to see what is going on or should I install slakcpkg+ and/or multilib?
# slackpkg clean-system
Ah. So then you add nomodeset to /boot/efi/EFI/Slackware/elilo.conf. adding it to the grub config files won't do anything.
nomodeset doesn't necessarily fix the problem, it just helps isolate the source of whatever is now broken.
I did it in my last installation and it did not fix the problem. I reinstalled slackware and now have a running slackbox with no modifications and I am waiting for orders on what to do next.
Don't do everything at the same time. If you are not sure you know how to upgrade the kernel, uncomment the kernel lines in /etc/slackpkg/blacklist. Don't install slackpkg+. Then do the upgrade. Does it still work after reboot?
Don't do everything at the same time. If you are not sure you know how to upgrade the kernel, uncomment the kernel lines in /etc/slackpkg/blacklist. Don't install slackpkg+. Then do the upgrade. Does it still work after reboot?
Which ones should I uncomment?
#kernel-generic.*
#kernel-huge.*
#kernel-modules.*
#kernel-source
You probably should install multiple after everything else but before you reboot. I always do multilib manually after everything else is done.
OK, you suggest install everything but the kitchen sink before the reboot. Then they wouldn't know what made X not work again. On the other hand, I suggest doing one thing at a time and then reboot. Then the next thing. If X breaks, it will be obvious what broke it.
I will now reboot and when it breaks please tell me what to do next. I have given up on coding this week. I want to set up the perfect slackbox and then start coding. I plan on contributing to the slackware project as well as a software engineer but first I Need to get this down first. Though I have coding skills my Linux knowledge is not on pair with the likes of alienbob.
I rebooted and was able to startx after running the above commands. What should I do next or what is it that you suggest? Should I Run slackpkg install-new, install multilib, or install slackpkg+?
I am following this link in particular: https://www.youtube.com/watch?v=IzTt...ukclgrk0h00410
Last edited by Cameronnoah; 03-20-2022 at 03:57 PM.
Reason: I honestly need help lol, I need this to work for work and to make money.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.