I have installed KDE on the pi4 but after a reboot I just get the standard desktop
Does anyone know how you can solve this
Thanks
No idea, never tried it. We have our own supported desktop which is a modified (greatly) LXDE. So we won't be spending any time on fixing other desktops that may or may not work. Sorry.
Code: Select all
apt-get install --no-install-recommends xserver-xorg xserver-xorg-core xserver-common xdm icewm icewm-themes xterm x11-apps \
xfonts-base xfonts-100dpi xfonts-75dpi xfonts-scalable tigervnc-standalone-server \
chromium-browser firefox-esr xclip retext
Code: Select all
#!/bin/bash
# Enable/disable xdm on console
case "$1" in
on|start)
sed -i "s/\#\:0 local \/usr\/bin\/X :0 vt7 -nolisten tcp/\:0 local \/usr\/bin\/X :0 vt7 -nolisten tcp/" /etc/X11/xdm/Xservers
;;
off|stop)
sed -i "s/\:0 local \/usr\/bin\/X :0 vt7 -nolisten tcp/\#\:0 local \/usr\/bin\/X :0 vt7 -nolisten tcp/" /etc/X11/xdm/Xservers
;;
*)
echo "? Must specify 'start', 'stop', 'on' or 'off'"
exit
;;
esac
systemctl restart xdm
I will gently observe that if you are new enough to Linux and Shell scripting to not know that answer, then perhaps moving away from the best maintained and supported build of OS and Desktop for the Pi might not work particularly well for you. You certainly will learn lots of stuff, but the journey might be rather bumpy.input wrote: ↑Thu Nov 14, 2019 3:54 pmThanks for the script, but when I copy and paste into the terminal, I get all of this sort of parenthesis> for each line.
What am I doing wrong ?
Is it normally possible to copy and paste the script in the terminal or must I paste the script in notepath and save and execute ?
Thanks
If you think the LXDE desktop is slow, you definitely won't like KDE on the Pi4. I ran it just long enough to see that it worked, and even that was slow.
What I mean to say is that my experience is that with the pi3B al things where faster than with the pi4 4 GB with LXDE
I am not disputing that is how your Pi4 is behaving. However, if that is the case something is very wrong with it, either in hardware (most likely a sick/dying SD card) or in software. The 4 is considerably faster than the 3B, if they are running the same OS, doing the same things. This is especially true if you are running a full desktop and doing any web browsing. The hardware is faster, the buses are faster, the CPU is faster, the GPU is faster, the USB ports are faster, the bandwidth to the USB ports is larger, etc. And it has WAY more RAM, which is likely the biggest differentiator if you are running a full desktop and browsing. Basically the 4GB 4 does not swap, whereas the 3B+ falls into the swamp of swapping hell in short order.
Thank you for the reply.bjtheone wrote: ↑Thu Nov 14, 2019 9:09 pmI am not disputing that is how your Pi4 is behaving. However, if that is the case something is very wrong with it, either in hardware (most likely a sick/dying SD card) or in software. The 4 is considerably faster than the 3B, if they are running the same OS, doing the same things. This is especially true if you are running a full desktop and doing any web browsing. The hardware is faster, the buses are faster, the CPU is faster, the GPU is faster, the USB ports are faster, the bandwidth to the USB ports is larger, etc. And it has WAY more RAM, which is likely the biggest differentiator if you are running a full desktop and browsing. Basically the 4GB 4 does not swap, whereas the 3B+ falls into the swamp of swapping hell in short order.
With regard to desktops. LXDE is not particularly sexy, however it has been significantly tweaked and tuned by RPT and offers the best performance you are going to get from the Pi (where "best" is the combination of speed, stability, robustness, support, and community knowledge). There are other desktops that come close and offer a nicer look and feel (which is horribly subjective). I run Mate since I like it better, and it is my current desktop of choice on all my Linux boxes. I would put KDE in the large, heavy, very feature rich, complex category. As such it really does not make sense to run it unless you have a particular use case for it. Being less than thrilled with the performance of LXDE is not that use case.
Well, there's your answer. You're not logging in as the default "pi" user who has permission to use "sudo" without a password. Instead you seem to have set up your own user "phablet" who isn't registered to use sudo.
Code: Select all
phablet ALL=(ALL) NOPASSWD: ALL
Thanks for the replyrpdom wrote: ↑Fri Nov 15, 2019 6:30 pmWell, there's your answer. You're not logging in as the default "pi" user who has permission to use "sudo" without a password. Instead you seem to have set up your own user "phablet" who isn't registered to use sudo.
So, log in as "pi" and create a new file using "sudo nano /etc/sudoers.d/010-phablet-nopasswd" (the actual name of the file isn't that critical, but that shows what it is used for) and put in itThat will give "phablet" permissions to use sudo - or you could just run the apt commands via sudo as "pi" and leave phablet as a normal user with no extra permissions.Code: Select all
phablet ALL=(ALL) NOPASSWD: ALL
This doesn't seem related to "KDE desktop not working". It looks like you are trying to install software that doesn't exist in Raspbian.input wrote: ↑Fri Nov 15, 2019 6:46 pmI done what you write to me but now I have this error:
pi@raspberrypi:~ $ sudo apt-get install plasma-phone-components plasma-phone-settings plasma-settings kwin-wayland simplelogin dbus-x11
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package plasma-phone-components
E: Unable to locate package plasma-phone-settings
E: Unable to locate package plasma-settings
E: Unable to locate package simplelogin
Yes I did.