Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

not able to boot into KDE Plasma

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
10 posts • Page 1 of 1
Author
Message
frevo
n00b
n00b
User avatar
Posts: 6
Joined: Wed Dec 18, 2024 7:25 pm

not able to boot into KDE Plasma

  • Quote

Post by frevo » Wed Dec 18, 2024 9:33 pm

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
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Wed Dec 18, 2024 10:30 pm

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: Select all

# 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 --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
Hu
Administrator
Administrator
Posts: 24385
Joined: Tue Mar 06, 2007 5:38 am

  • Quote

Post by Hu » Wed Dec 18, 2024 11:34 pm

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?
Top
frevo
n00b
n00b
User avatar
Posts: 6
Joined: Wed Dec 18, 2024 7:25 pm

  • Quote

Post by frevo » Wed Dec 18, 2024 11:59 pm

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
Top
frevo
n00b
n00b
User avatar
Posts: 6
Joined: Wed Dec 18, 2024 7:25 pm

  • Quote

Post by frevo » Thu Dec 19, 2024 12:04 am

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
Top
bstaletic
Guru
Guru
Posts: 517
Joined: Sat Apr 05, 2014 5:46 pm

  • Quote

Post by bstaletic » Thu Dec 19, 2024 12:40 am

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.
Top
frevo
n00b
n00b
User avatar
Posts: 6
Joined: Wed Dec 18, 2024 7:25 pm

  • Quote

Post by frevo » Thu Dec 19, 2024 1:59 am

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
Top
pietinger
Administrator
Administrator
Posts: 6620
Joined: Tue Oct 17, 2006 5:11 pm
Location: Bavaria

  • Quote

Post by pietinger » Thu Dec 19, 2024 5:34 am

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: Select all

# eselect profile show
# eselect profile list
If it is NOT profile 28, then change it with

Code: Select all

# 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: Select all

# 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 --> https://wiki.gentoo.org/wiki/User:Pieti ... _at_Gentoo
Top
frevo
n00b
n00b
User avatar
Posts: 6
Joined: Wed Dec 18, 2024 7:25 pm

  • Quote

Post by frevo » Sat Dec 21, 2024 5:19 pm

Sorry for the delay, the command

Code: Select all

emerge -vD xorg-server 
lasted for a hole day :).

Code: Select all

 eselect profile show
Shows default/linux/amd64/23.0/desktop/plasma/systemd

And

Code: Select all

 eselect profile list
shows as "*" on the 28th line.


After following your advices I am now able to boot into a GUI, however still unable to boot into the desktop environment.
Despite login into my user, the display turns black for a few seconds and them comes back to login GUI.

https://bpa.st/4SRQ -> emerge --info

https://bpa.st/2IQA -> dmesg
Top
frevo
n00b
n00b
User avatar
Posts: 6
Joined: Wed Dec 18, 2024 7:25 pm

  • Quote

Post by frevo » Sat Dec 21, 2024 5:48 pm

guys, executing the following command as root I was able to boot into KDE :):

Code: Select all

dbus-launch --exit-with-session startplasma-wayland 
However, I really don't know what was the root cause of why I was not able to boot before.
Specially because you guys helped me installing "X" related software and I boot into plasma via wayland (?).
Top
Post Reply

10 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic