Linux - GeneralThis Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.
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 recently upgraded PclinuxOS (using commands apt-get update, then upgrade and finally dist-upgrade). The process went all right and about 500mb of data was downloaded, as I had not upgraded this installation for some time. On rebooting, however, there was a very simple localhost login screen. On logging, only 2 simple terminal windows appeared on a black screen. I could write commands on the windows and could even start firefox. But firefox window did not have any close buttons and I had to shut down power to reboot. Why is KDE4 not starting? The command startkde does not work. How can I correct this problem? Thanks for your help.
PCLinuxOS may be booting to runlevel 3 (multi-user, text mode). Try issuing the command "init 5" (without quotes). If it's successful, KDE should start up and present the login screen.
Then you need to look at /etc/inittab. Look for # The default runlevel. If it says something like id:3:initdefault:, change the 3 to 5 and save the file. Subsequent boots should boot to GUI mode.
As bloodstreetboy points out, if you don't have enough disk space to load the graphics files, KDE can't start up.
Last edited by bigrigdriver; 05-26-2013 at 11:41 AM.
There is no space problem. There are no broken packages. I have run commands "apt-get check" and "apt-get upgrade --fix-broken" also.
Runlevel in initab is 5. It is not booting to text terminal. It is booting into a very simple window manager GUI mode with 2 xterm/konsole/lxterminal like windows where I can enter commands. However, KDE proper is not starting.
Have you tried selecting KDE from your session menu on the log in screen? From what you've written it sounds like you're running in failsafe and I've never heard of PcLinux doing that unless it was selected by the user.
You could also try booting to a command line session by pressing "f1" then "f1" again then "e" then "e" again to edit the grub entry then adding a "space" then "3" to the end of the kernel line then press "enter" them "b".
Make sure to use a direction key to stop the auto launch and make sure pclinux is highlighted before you start editing the entry. This will put you in a terminal session with no GUI one time only, from there you can try startkde again.
Last edited by itsgregman; 05-27-2013 at 03:33 PM.
Thanks for your suggestions. I tried 3 at the grub kernel line and booted to commandline. There is no startkde command. There is kstart command which gives an error: "cannot connect to X server". This occurs both as root and as non-root user. There is also startx command which uses .xinitrc which has 'exec startkde', hence it gives an error: startkde not found.
I know it's a little late but with PcLinux never use apt-get upgrade, only use apt-get dist-upgrade. Using apt-get upgrade will always break your system,sometimes immediately sometimes with later upgrades but it always causes problems.
You can try running apt-get update then apt-get dist-upgrade then apt-get install task-kde, it may get your KDE back up but you should consider a reinstall if you ran apt-get upgrade.
Last edited by itsgregman; 05-28-2013 at 01:16 AM.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.