Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Double-checking the .xinitrc content to start Plasma 5.4
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
lostpaperclips
n00b
n00b


Joined: 19 Jun 2011
Posts: 13
Location: United States

PostPosted: Fri Aug 28, 2015 4:50 pm    Post subject: Double-checking the .xinitrc content to start Plasma 5.4 Reply with quote

I am a long time KDE 4 user that is finally making the jump to plasma. I typically start my computer at run-level 3 & then start X myself due to some poor life decisions (i.e. I bought an ATI video card).

I was curious if I should adjust the content of my .xinitrc file:

Code:
exec ck-launch-session startkde


I was poking around and saw on some forum a recommendation for

Code:
kstart plasmashell


For me, the latter didn't work quite right.

Can anyone confirm or deny if I am using the correct contents for .xinitrc?
Back to top
View user's profile Send private message
eccerr0r
Watchman
Watchman


Joined: 01 Jul 2004
Posts: 7236
Location: almost Mile High in the USA

PostPosted: Fri Aug 28, 2015 9:44 pm    Post subject: Reply with quote

Disclaimer: I don't use KDE so I have no clue about what each kde command does.

What's it dong wrong is the first question?

I would imagine you would need to use something like:

Code:
exec ck-launch-session kstart plasmashell


(if kstart plasmashell is the correct way to start a kde session normall)

as you still need to launch a consolekit session. But since I don't know how kde works, if you forget to launch a consolekit session, it should still load up but anything that requires root access will probably break (like dealing with disks, network, etc.)

I have an ATI card and it can be used with graphical logins that have built-in consolekit support, it should work fine. Just gdm with systemd = death.
_________________
Intel Core i7 2700K@ 4.1GHz/HD3000 graphics/8GB DDR3/180GB SSD
What am I supposed watching?
Back to top
View user's profile Send private message
lostpaperclips
n00b
n00b


Joined: 19 Jun 2011
Posts: 13
Location: United States

PostPosted: Fri Aug 28, 2015 11:14 pm    Post subject: Reply with quote

Thanks for the suggestion, though that didn't quite work for me either as then I was missing a window manager. :(

I found on http://www.linuxfromscratch.org/blfs/view/systemd/kde5/starting.html a suggestion to try

Code:
exec dbus-launch --exit-with-session startkde


That appears to work well so far. The system seemed to load faster and for the first time I had a progress bar during the initial loading.
Back to top
View user's profile Send private message
davidbrooke
Guru
Guru


Joined: 03 Jan 2015
Posts: 341

PostPosted: Sun Aug 30, 2015 1:23 am    Post subject: Reply with quote

This what I use in both KDE4 and KDE5:
Code:
exec ck-launch-session dbus-launch --sh-syntax --exit-with-session startkde
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments 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