réjean Posted November 24, 2020 Share Posted November 24, 2020 Hi everyone. I haven't posted in a long time mostly because I had no problem but now I have one. My wife has a computer running Win 7, Ubuntu and PCLinuxOS. She is using the last one the most. Lately she has been getting message saying that her Chrome browser was not up to date so last night I went into Synaptic and updated Chromium. I was very surprised when it downloaded and installed something like 1600 files or more. Today she had to switch to Windows for awhile and when she rebooted into PCLinuxOS she was asked for the local hostname and password which I supplied but then she was into a console. I did 'su' and then 'startx' and then I got the following messages; /etc/host.conf:line 3: bad command ‘no spoof on’ /etchost.conf:line 4: bad command ‘no spoofalert on’ EE fatal server error: EE server is already active for display 0 If this server is no longer running,remove tmpX0-lock and start again. Invalid MIT-MAGIC-COOKIE -1 keyxinit: giving up xinit:unable to connect to X server: Resource temporarily unavailable xinit:server error /etc/host.conf:line 3: bad command ‘no spoof on’ /etchost.conf:line 4: bad command ‘no spoofalert on’ What can I do? Thanks! Quote Link to comment Share on other sites More sharing options...
securitybreach Posted November 24, 2020 Share Posted November 24, 2020 First, I would look at /etc/host.conf as it looks to have some stuff in there that shouldn't be. /etc/host.conf:line 3: bad command ‘no spoof on’ /etc/host.conf:line 4: bad command ‘no spoofalert on’ As far as using startx, it looks like Xorg is already running hence the errors: EE server is already active for display 0 xinit:unable to connect to X server: Resource temporarily unavailable Quote Link to comment Share on other sites More sharing options...
securitybreach Posted November 24, 2020 Share Posted November 24, 2020 Depending on the display manager that you are running, you may want to check the status of it for errors as well. For instance: systemctl status sddm systemctl status lightdm Replace it with whatever display manager PCLos uses. Quote Link to comment Share on other sites More sharing options...
Hedon James Posted November 24, 2020 Share Posted November 24, 2020 I agree with SBs catch that the display server seems to be already running. I would be looking at the display manager. if you get the user console, ie: rejean@machine-name: that would suggest the user is logged into the system, but no display. instead of "startx", can you type "sddm" or "gdm" or whatever your display manager is? If you're lucky, it works; if it doesn't, another clue. As an aside, PCLOS is a rolling release distro. I only have experience with PCLOS in a VM, but if you don't keep it updated regularly in bite-site increments like Arch, a large and overdue update with 1600 packages is certainly possible. No doubt we all agree on the likely cause, but that doesn't help ya after the fact. 1 Quote Link to comment Share on other sites More sharing options...
Hedon James Posted November 24, 2020 Share Posted November 24, 2020 Found this on the PCLOS forum, with an answer provided by the primary PCLOS dev himself, Tex. Is this helpful? https://www.pclinuxos.com/forum/index.php?topic=149989.0 2 Quote Link to comment Share on other sites More sharing options...
securitybreach Posted November 24, 2020 Share Posted November 24, 2020 Nice find Quote Link to comment Share on other sites More sharing options...
Hedon James Posted November 24, 2020 Share Posted November 24, 2020 1 minute ago, securitybreach said: Nice find Google-fu. Kee-YAH! 1 Quote Link to comment Share on other sites More sharing options...
réjean Posted November 24, 2020 Author Share Posted November 24, 2020 thanks everyone. I still have a few outdoors chores to do but will try everything starting with SB latest suggestion and will get back to you this evening. Thanks again. Quote Link to comment Share on other sites More sharing options...
V.T. Eric Layton Posted November 24, 2020 Share Posted November 24, 2020 Hello, @réjean! Quote Link to comment Share on other sites More sharing options...
ebrke Posted November 24, 2020 Share Posted November 24, 2020 Hi rejean! Quote Link to comment Share on other sites More sharing options...
réjean Posted November 24, 2020 Author Share Posted November 24, 2020 (edited) Hi everyone. I wished you all, my American friends, a very happy, albeit quieter but safe Thanksgiving. You are all often in my mind. Edited November 24, 2020 by réjean 1 1 Quote Link to comment Share on other sites More sharing options...
réjean Posted November 25, 2020 Author Share Posted November 25, 2020 so, after I rebooted and gave my name as the local hostname and my password I get to a prompt that says; [rejean@localhost]: but then I tried all the suggestions and nothing worked. I think that nano doesn't get installed by default in PCLinuxOS. She normally uses Libre Office for word processing which I know needs a gui. Any other basic word processing that might have been installed by default or that could be installed with 'dpkg' or something? Quote Link to comment Share on other sites More sharing options...
securitybreach Posted November 25, 2020 Share Posted November 25, 2020 Check to see if you are connected to the internet using ping 8.8.8.8 If you are connected, rub this to install nano by running sudo apt-get install nano Quote Link to comment Share on other sites More sharing options...
securitybreach Posted November 25, 2020 Share Posted November 25, 2020 So PCLinux uses the SLIM login manager. To see what is wrong with it, run the following two commands sudo journalctl -xe sudo systemctl status slim Quote Link to comment Share on other sites More sharing options...
securitybreach Posted November 25, 2020 Share Posted November 25, 2020 BTW if you can't fix, you can always install and use another display manager: sudo systemctl stop slim sudo apt-get install sddm sudo systemctl start sddm If that works fine, you can disable slim and enable sddm at boot with the following: sudo systemctl disable slim sudo systemctl enable sddm Or you could just stop slim and use startx (if pclinuxos supports it by default) systemctl stop slim Quote Link to comment Share on other sites More sharing options...
securitybreach Posted November 25, 2020 Share Posted November 25, 2020 Here are a few available: https://www.slant.co/topics/2053/~best-linux-display-manager Quote Link to comment Share on other sites More sharing options...
réjean Posted November 25, 2020 Author Share Posted November 25, 2020 thanks Sb Quote Link to comment Share on other sites More sharing options...
securitybreach Posted November 25, 2020 Share Posted November 25, 2020 No problem Quote Link to comment Share on other sites More sharing options...
réjean Posted November 25, 2020 Author Share Posted November 25, 2020 Well sudo doesn't work but I managed to install nano using su. Now if I try to delete the 2 lines in /etc/host.conf using Ctrl+K, then Ctrl+O to save it and Ctrl+X to quit and I restart the machine then the 2 lines are still in /etc/host.conf. All the other suggestions from SB don't work. I am downloading PCLinuxOs from my own computer hoping a reinstall will save her. I am pretty sure the install is on 2 partitions, one for / and one for /home. Hopefully I can save her /home without formatting. Any other suggestion? Quote Link to comment Share on other sites More sharing options...
Hedon James Posted November 25, 2020 Share Posted November 25, 2020 did you try a different login manager/display manager? and what DE are you using in PCLOS? I really think you have a display manager issue. Just a gut feeling from similar experience with Ubuntu many years ago. I'd recommend installing a DM of the same flavor as your DE...gdm for Gnome; kdm for KDE; sddm for LXQT; etc... OTOH, lightdm seems to be DE-agnostic and compatible with all desktops. Seems to be... 1 Quote Link to comment Share on other sites More sharing options...
réjean Posted November 25, 2020 Author Share Posted November 25, 2020 Hi Hedon! I am pretty sure she have KDM and I did try installing sddm but it didn't work. I could try again. Quote Link to comment Share on other sites More sharing options...
Hedon James Posted November 25, 2020 Share Posted November 25, 2020 7 minutes ago, réjean said: Hi Hedon! I am pretty sure she have KDM and I did try installing sddm but it didn't work. I could try again. i wouldn't recommend sddm. sddm is the recommended DM for LXQT, and I have it on my system, but apparently it's a little buggy. LXQT devs have recommended lightdm, FWIW. I'd install kdm for KDE, or lightdm. can you start the DM from the terminal? rejean@localhost: slim or perhaps rejean@localhost: sddm etc...you get the picture. Quote Link to comment Share on other sites More sharing options...
securitybreach Posted November 25, 2020 Share Posted November 25, 2020 11 minutes ago, Hedon James said: i wouldn't recommend sddm. sddm is the recommended DM for LXQT, and I have it on my system, but apparently it's a little buggy. LXQT devs have recommended lightdm, FWIW. I'd install kdm for KDE, or lightdm. Well I have never used a display manager so I was just naming a couple of them to try out Quote Link to comment Share on other sites More sharing options...
réjean Posted November 25, 2020 Author Share Posted November 25, 2020 42 minutes ago, Hedon James said: i wouldn't recommend sddm. sddm is the recommended DM for LXQT, and I have it on my system, but apparently it's a little buggy. LXQT devs have recommended lightdm, FWIW. I'd install kdm for KDE, or lightdm. can you start the DM from the terminal? rejean@localhost: slim or perhaps rejean@localhost: sddm etc...you get the picture. Nope. I tried them all; gdm,kdm,slim,sddm. no go. Quote Link to comment Share on other sites More sharing options...
Hedon James Posted November 25, 2020 Share Posted November 25, 2020 sounds like we can rule out DM then. can you boot with a different kernel? or do you never get to that option? This sounds like it could be your issue too, although I'm not sure of all your symptoms: https://www.pclinuxos.com/forum/index.php?topic=148702.0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.