Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
not able to boot into KDE Plasma
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Installing Gentoo
View previous topic :: View next topic  
Author Message
frevo
n00b
n00b


Joined: 18 Dec 2024
Posts: 4

PostPosted: Wed Dec 18, 2024 9:33 pm    Post subject: not able to boot into KDE Plasma Reply with quote

First things first, I'm a newbie in Gentoo.
Just a normal Fedora KDE user trying to learn new stuff with an "old" notebook that I've just formatted.

I'm using a Dell 14 7000 Inspiron (P74G model).
Intel i7 7th gen, with no discrete video cards in it.

I followed the Gentoo handbook, more specific its amd64 type.
However the
1) system boots into a tty rather than Plasma.
2)when I try to execute "exec dbus-launch --exit-with-session startplasma-x11]" as root, the is an error saying "Couldn´t exec startplasma-x11: no such file or directory"
3)when I try to execute the same command above as a normal user, the is an error saying cannot open log file, because there isn't a log file.


I followed the gentoo handbook tutorial ipsis litteris, however I could not boot into the KDE desktop environmnet... Clearly I'm doing something wrong, but I really don't know what.
Again I'm a newbie in Gentoo, so there might be a step that I did not followed properly for my machine, kernel, .... I really don't know.

log images:
https://ibb.co/5kK6mYm
https://ibb.co/Ydmd1tJ
https://ibb.co/d5Z1nNR
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5228
Location: Bavaria

PostPosted: Wed Dec 18, 2024 10:30 pm    Post subject: Reply with quote

frevo,

Welcome to Gentoo Forums! :D

Do you have systemd or OpenRC as init system?

These are the steps to install KDE/Plasma for an OpenRC system:
Code:
# emerge -vD xorg-server

# Only if you dont have an english keyboard (in this example a german keyboard is used):
# cd /etc/X11
# mkdir xorg.conf.d
# cd xorg.conf.d
# cp /usr/share/X11/xorg.conf.d/40-libinput.conf .
# nano -w 40-libinput.conf
=> add to keyboard section: Option "xkb_layout" "de"

# emerge -vD plasma-meta kdecore-meta

# both commands are used for an OpenRC system and must be exchanged with systemd commands when using systemd:
# rc-update add elogind boot
# rc-update add display-manager default

# nano -w /etc/conf.d/display-manager
=> DISPLAYMANAGER="sddm"

Do you had any errors when you did one of these commands?

Maybe provide also the output of "emerge --info".
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Hu
Administrator
Administrator


Joined: 06 Mar 2007
Posts: 22842

PostPosted: Wed Dec 18, 2024 11:34 pm    Post subject: Reply with quote

Some of those pictures look strange. It looks like the user's shell is being treated as a home directory, which does not make sense. What is the output of declare -p HOME USER SHELL; grep $USER /etc/passwd as run by the unprivileged user?
Back to top
View user's profile Send private message
frevo
n00b
n00b


Joined: 18 Dec 2024
Posts: 4

PostPosted: Wed Dec 18, 2024 11:59 pm    Post subject: Reply with quote

pietinger wrote:
frevo,

Welcome to Gentoo Forums! :D


Thanks! I'm looking for improving my Linux knowledge via the Gentoo ecosystem :) Hope someday I can contribute as well.

pietinger wrote:

Do you have systemd or OpenRC as init system?


Sytemd, I've installed systemd+desktop profile stage3.
About this, following the tutorial, via a LiveGUI USB Image of Gentoo, the some parts where there are divergences in OpenRC and Systemd I could not properly run, because there was some errors like: System has not been booted with systemd as init system (PID 1). Can't operate". Was it suppose to give this errors, and I was suppose to run the OpenRC counterparts despite my stage3 files being for systemd? Or it should not gave theses errors?

pietinger wrote:

Do you had any errors when you did one of these commands?


I've preferred to not run those commands. If i run them on the LiveGUIUSB in chroot, will they work?

pietinger wrote:

Maybe provide also the output of "emerge --info".


https://ibb.co/ts4sJSZ
https://ibb.co/njJ1VY1
Back to top
View user's profile Send private message
frevo
n00b
n00b


Joined: 18 Dec 2024
Posts: 4

PostPosted: Thu Dec 19, 2024 12:04 am    Post subject: Reply with quote

Hu wrote:
Some of those pictures look strange. It looks like the user's shell is being treated as a home directory, which does not make sense. What is the output of declare -p HOME USER SHELL; grep $USER /etc/passwd as run by the unprivileged user?


https://ibb.co/g3mCWfQ
Back to top
View user's profile Send private message
bstaletic
Guru
Guru


Joined: 05 Apr 2014
Posts: 406

PostPosted: Thu Dec 19, 2024 12:40 am    Post subject: Reply with quote

frevo wrote:
Hu wrote:
Some of those pictures look strange. It looks like the user's shell is being treated as a home directory, which does not make sense. What is the output of declare -p HOME USER SHELL; grep $USER /etc/passwd as run by the unprivileged user?


https://ibb.co/g3mCWfQ


Yeah, that's horribly wrong. While the SHELL and USER are fine, the HOME is invalid.
Use `vipw` to change /bin/bash/pizarro to /home/pizarro.
Back to top
View user's profile Send private message
frevo
n00b
n00b


Joined: 18 Dec 2024
Posts: 4

PostPosted: Thu Dec 19, 2024 1:59 am    Post subject: Reply with quote

bstaletic wrote:


Yeah, that's horribly wrong. While the SHELL and USER are fine, the HOME is invalid.
Use `vipw` to change /bin/bash/pizarro to /home/pizarro.


Ok, just did it
now "declare -x HOME="/home/pizarro" for pizarro user.

Furthermore, I've tried to start X11 via startx and this appeared (I've changed the hostname to nbdell-gentoo):
https://ibb.co/gzkXdvg
Back to top
View user's profile Send private message
pietinger
Moderator
Moderator


Joined: 17 Oct 2006
Posts: 5228
Location: Bavaria

PostPosted: Thu Dec 19, 2024 5:34 am    Post subject: Reply with quote

Can you boot the Gentoo you have installed, and get to a terminal where you can log in as root?

If yes, then check which profile you have set with:
Code:
# eselect profile show
# eselect profile list

If it is NOT profile 28, then change it with
Code:
# eselect profile set 28
# emerge -uNDv @world


Now you have everything PREPARED to install KDE/plasma, but it is not yet installed. Do the steps I described in my previous post and replace the two rc-update commands (from OpenRC) with:
https://wiki.gentoo.org/wiki/SDDM#systemd

Attention: Make sure you have configured VIDEO_CARDS to your correct video card BEFORE you emerge xorg-server

Also get
Code:
# emerge wgetpaste

and read this article: https://wiki.gentoo.org/wiki/Wgetpaste

You can now upload files and outputs with wgetpaste at any time (and just give us the link).

If you have problems give us now (with help of wgetpaste) your "emerge --info" and "dmesg"
_________________
https://wiki.gentoo.org/wiki/User:Pietinger
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Installing Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum