Updated today can't startx - xinit: giving up xinit: unable to connect to X server
Once again I'm in need of help.
I'm running -current. Today I installed the update with the new kernel 6.1.20. I'm using GRUB to boot. When I tried to run startx I get the following: xinit: giving up xinit: unable to connect to X server: connection refused xinit: Server error I've tried looking into this but so far I've heard that it's a driver issue but I'm using nouveau so nothing is changed. I've also seen a couple of posts regarding making some changes to the /etc/default/grub file. I'm a little afraid of changing things and I don't want to make things worse. Is it possible that this has something to do with GRUB? I've looked at the /var/log/Xorg.0.log file and it says: Caught signal 11 (Segmentation Fault). server aborting I'm at a loss for competent help. So many of the posts online are really old and I know the method of fixing things can evolve over time. Any recommendations would be very welcome. Thanks. |
Quote:
Code:
Be sure to upgrade your initrd after upgrading the kernel packages. With a kernel upgrade the kernel and all the modules (drivers) gets updated (replaced). As different Slackware users choose different boot loaders each Slackware user will have to make sure that the boot loader is updated to point to the new kernel. Until you reboot, your old kernel will still be running, but it will no longer have modules for its version installed. Unable to load any drivers it might not be able to start X. Once you reboot, if you have done everything right, your new kernel will be booted and it will use its new modules. If you didn't do everything right with your boot loader you might still be running the old kernel which no longer will be able to load any modules from /lib/modules. You can check which kernel version you are running by looking at the output of: Code:
uname -r Code:
cat /proc/version |
Quote:
|
Stop using the huge kernel and switch to the generic kernel with an initrd.
Quote:
There are numerous tools available to help with the initrd and grub configuration. |
Things just got worse. I tried to just reinstall slackware and now I get:
WELCOME TO GRUB error: unknown filesystem. Entering rescue mode... grub rescue> So I've done some searching and this SEEMS to be what's recommended: From the prompt type "ls" which gives me (hd0) (hdo,msdos2) (hd1) (hd1,msdos4) (hd1,msdos3) (hd1,msdos2) (hd1,msdos1) From there I typed "set prefix=(hd0,msdos2)/boot/grub" then "set root=(hd0,msdos2)" Then when I type "insmod normal" I get "error: unknown file system" These are the commands from several web sites. I'm not sure what to try next. I'm am puzzled by this SEEMING to point to /boot/grub when all I've done is a fresh install and selected elilo. Any ideas? Thanks again. |
OK. I may have answered my own question regarding the booting problem. In my BIOS I have two entries one that says SLACKWARE-15.0+ and another says SLACKWARE.
I've been trying SLACKWARE-15.0+. When I use SLACKWARE it starts. Makes sense. SLACKWARE+15 must be for GRUB. I needed elilo. I still can't get startx to work! Bummer after reinstalling Slackware it still has the same problem. I'm still stuck. BTW I formatted the / partition during the install hoping to wipe out what ever was causing my initial problem. |
Quote:
Code:
ls -l /lib/modules/`uname -r`/kernel/drivers/gpu/drm/nouveau/nouveau.ko If you are reinstalling your system you might want to consider running stable Slackware 15.0 instead of current which often updates software for people to test if it is useful. Once the current version gets a release candidate status you could say that it has become a beta version. Before that, it should more be considered an alpha version. regards Henrik |
Quote:
regards Henrik |
Quote:
Quote:
|
Quote:
Remember - I'm no longer having a boot problem. Everything there is working as it should. It's just this startx problem. |
henca - yes the nouveau.ko exists where you pointed to.
|
Quote:
|
Quote:
|
Quote:
Code:
lsmod | grep nouveau Code:
dmesg | grep -i nouveau |
Well henca gave me a thought in recommending using 15.0. I'm really, really, really anal about backups. I just so happened to have a previous .iso file on another USB.
I installed from that and...I have a working X server!!! My very special thanks to henca for staying with me on this. Help like yours is why I visit this forum so often. This is solved but I'm still not sure what happened. For now I'm going to blacklist the kernels in my updates. |
All times are GMT -5. The time now is 12:46 PM. |