This forum has been archived. All content is frozen. Please use KDE Discuss instead.

how to launch kf5...

Tags: None
(comma "," separated)
User avatar
kde-feelgood
Registered Member
Posts
32
Karma
0

how to launch kf5...

Sat Sep 20, 2014 1:13 pm
hi there!

J'm running Arch, and used to use TTY to start session...can't launch KF5 some commands I did:

Code: Select all
# startkde

command not found

# /opt/kf5/bin/startkde

$DISPLAY is not set or cannot connect to X server

# kdeinit5

$DISPLAY is not set ...

# /usr/bin/kdeinit5

kdeinit5: Abortin  $DISPLAY is not set

# eval dbus-launch

shows some numbers  and letters...


I have installed:
Code: Select all
baloo-frameworks 5.0.1-3
breeze 5.0.1-1
kactivities-frameworks 5.2.0-2
kapidox 5.2.0-1
karchive 5.2.0-1
kauth 5.2.0-1
kbd 2.0.2-1
kbookmarks 5.2.0-1
kbproto 1.0.6-2
kcmutils 5.2.0-1
kcodecs 5.2.0-1
kcompletion 5.2.0-1
kconfig 5.2.0-1
kconfigwidgets 5.2.0-1
kcoreaddons 5.2.0-1
kcrash 5.2.0-1
kdbusaddons 5.2.0-1
kde-cli-tools 5.0.1-1
kdeclarative 5.2.0-1
kded 5.2.0-1
kdelibs4support 5.2.0-1
kdesignerplugin 5.2.0-1
kdesu 5.2.0-1
kdewebkit 5.2.0-1
kdnssd 5.2.0-1
kdoctools 5.2.0-1
kemoticons 5.2.0-1
keyutils 1.5.9-1
kfilemetadata5 5.0.1-1
kglobalaccel 5.2.0-1
kguiaddons 5.2.0-1
khelpcenter 5.0.1-1
khotkeys 5.0.1-1
khtml 5.2.0-1
ki18n 5.2.0-1
kiconthemes 5.2.0-1
kidletime 5.2.0-1
kimageformats 5.2.0-1
kinfocenter 5.0.1-1
kinit 5.2.0-1
kio 5.2.0-1
kio-extras 5.0.1-1
kitemmodels 5.2.0-1
kitemviews 5.2.0-1
kjobwidgets 5.2.0-1
kjs 5.2.0-1
kjsembed 5.2.0-1
kmenuedit 5.0.1-1
kmod 18-1
knewstuff 5.2.0-1
knotifications 5.2.0-1
knotifyconfig 5.2.0-1
kparts 5.2.0-1
kplotting 5.2.0-1
kpty 5.2.0-1
krb5 1.12.2-1
krunner 5.2.0-1
kservice 5.2.0-1
ksysguard 5.0.1-1
ktexteditor 5.2.0-1
ktextwidgets 5.2.0-1
kunitconversion 5.2.0-1
kwallet 5.2.0-1
kwidgetsaddons 5.2.0-1
kwin 5.0.2-1
kwindowsystem 5.2.0-1
kxmlgui 5.2.0-1
plasma-framework 5.2.0-1
plasma-workspace 5.0.1-1
qt4 4.8.6-1
qt5-base 5.3.2-1
qt5-declarative 5.3.2-1
qt5-graphicaleffects 5.3.2-1
qt5-location 5.3.2-1
qt5-multimedia 5.3.2-1
qt5-quickcontrols 5.3.2-1
qt5-script 5.3.2-1
qt5-sensors 5.3.2-1
qt5-svg 5.3.2-1
qt5-tools 5.3.2-1
qt5-translations 5.3.2-1
qt5-webkit 5.3.2-1
qt5-x11extras 5.3.2-1
qt5-xmlpatterns 5.3.2-1
qtchooser 41-1
and some others...

If I try to install kdm:

Code: Select all
 pacman -S kdebase-workspace
resolving dependencies...
:: There are 2 providers available for phonon-qt4-backend:
:: Repository extra
   1) phonon-qt4-gstreamer  2) phonon-qt4-vlc

Enter a number (default=1): 2
looking for inter-conflicts...
:: kdebase-workspace and kwin are in conflict. Remove kwin? [y/N]


tia!

Last edited by kde-feelgood on Fri Sep 26, 2014 12:23 am, edited 1 time in total.
jinliu
Registered Member
Posts
6
Karma
0

Re: how to launch kf5...

Sat Sep 20, 2014 3:44 pm
Install sddm:
Code: Select all
$ su
# pacman -S sddm
# systemctl install sddm
User avatar
kde-feelgood
Registered Member
Posts
32
Karma
0

Re: how to launch kf5...

Sat Sep 20, 2014 10:07 pm
Thx man...but as I said I use to login as root so sddm don't serve me...in fact I had installed but like I run as root, SDDM didn't show nada, I mean in blank NO user NO root...

btw: it is
Code: Select all
 yaourt -S sddm


and

Code: Select all
systemctl enable sddm.service
User avatar
kde-feelgood
Registered Member
Posts
32
Karma
0

Re: how to launch kf5...

Sun Sep 21, 2014 4:08 pm
no one?

Need to show KF5 to the principal of an school...
User avatar
google01103
Manager
Posts
6668
Karma
25

Re: how to launch kf5...

Sun Sep 21, 2014 5:11 pm
might be an Arch issue with their packages or your install

- shouldn't the command be startkde5, not startkde ?
- have looked at this for installation https://sudopacman.wordpress.com/2014/0 ... /#more-177
- why aren't you using the KDM login screen?
- as Arch is a bit different as to how things are packaged then other distros have you perused their forums

If you need to do a demo and you can't get Arch working try a livecd such as the Project Neon one http://kshadeslayer.wordpress.com/2013/ ... on-5-isos/


OpenSuse Leap 42.1 x64, Plasma 5.x

User avatar
kde-feelgood
Registered Member
Posts
32
Karma
0

Re: how to launch kf5...

Sun Sep 21, 2014 7:08 pm
google01103 wrote:
- shouldn't the command be startkde5, not startkde ?

- why aren't you using the KDM login screen?


If I try to install kdebase-workspace where is kdm I get this: :: kdebase-workspace and kwin are in conflict. Remove kwin? [y/N]

Code: Select all
# startkde5

command not found
User avatar
kde-feelgood
Registered Member
Posts
32
Karma
0

Re: how to launch kf5...

Mon Sep 22, 2014 9:25 pm
.
mbohlender
KDE Developer
Posts
47
Karma
0
OS

Re: how to launch kf5...

Mon Sep 22, 2014 10:56 pm
Do you want to run Plasma 5 on Arch? (KF5 is just the libraries we use to build KDE software)
There are currently no official Plasma 5 Packages for Arch. You need to install it from AUR. It is not very stable though.
If you just want to show off Plasma5 then I suggest you use a live cd/usb from Kubuntu.
User avatar
kde-feelgood
Registered Member
Posts
32
Karma
0

Re: how to launch kf5...

Tue Sep 23, 2014 12:15 am
mbohlender wrote:Do you want to run Plasma 5 on Arch? (KF5 is just the libraries we use to build KDE software)
There are currently no official Plasma 5 Packages for Arch. You need to install it from AUR


Thx 4 the reply man!

yep I want to run Plasma 5 on Arch...

what packages exactly I need to install?
mbohlender
KDE Developer
Posts
47
Karma
0
OS

Re: how to launch kf5...

Tue Sep 23, 2014 12:25 am
Like I said. There is NO package at the moment. You will need to compile it and its dependencies yourself.
Take a look at https://wiki.archlinux.org/index.php/AUR
The PKGBUILD you need you are looking for is called plasma-desktop.
Be warned. It was pretty unstable when I last tested it and it was not co-installable with plasma from KDE 4.
User avatar
kde-feelgood
Registered Member
Posts
32
Karma
0

Re: how to launch kf5...

Tue Sep 23, 2014 12:38 am
mbohlender wrote:The PKGBUILD you need you are looking for is called plasma-desktop


I've got this error:

Code: Select all
# yaourt -S plasma-desktop
==> WARNING: Building package as root is dangerous.
 Please run yaourt as a non-privileged user.

==> Downloading plasma-desktop PKGBUILD from AUR...
x .AURINFO
x PKGBUILD
Comment by Perry3D  (2014-08-12 21:18)
5.0.1 is out: http://kde.org/announcements/plasma-5.0.1.php

Comment by xico  (2014-08-13 17:52)
Would be nice to get 5.0.1.

Comment by alumni  (2014-08-15 18:27)
For some time, the whole shell is not working anymore. If I try to use the hot corners, everything would freeze for about 10 seconds. The bottom panel is useless: if I click the launcher icon the same freeze would happen, and running apps are not displayed even if I start them from krunner (ALT+F2). Also, ALT+F1 doesn't show the launcher either. Any reason why would this happen? (Compositor is enabled - OpenGL 3.1 / GLX)

Comment by pinak  (2014-09-19 17:18)
It can't be installed along with kde4 anymore? Since it conflicts with kdebase-workspace.

Comment by arojas  (2014-09-19 17:19)
@pinak can't be installed with kde4 workspace, no

plasma-desktop 5.0.2-1  (Wed May 14 15:05:19 CST 2014)
( Unsupported package: Potentially dangerous ! )
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> plasma-desktop dependencies:
 - kemoticons (already installed)
 - kitemmodels (already installed)
 - qt5-graphicaleffects (already installed)
 - libxkbfile (already installed)
 - libusb-compat (already installed)
 - libcanberra (already installed)
 - systemsettings (already installed)
 - ksysguard (already installed)
 - powerdevil (already installed)
 - oxygen (already installed)
 - kmenuedit (already installed)
 - kinfocenter (already installed)
 - extra-cmake-modules (already installed)
 - kdoctools (already installed)


==> Continue building plasma-desktop ? [Y/n]
==> ----------------------------------------
==>
==> Building and installing package
==> Making package: plasma-desktop 5.0.2-1 (Mon Sep 22 18:34:24 CST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Downloading plasma-desktop-5.0.2.tar.xz...
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   360  100   360    0     0    737      0 --:--:-- --:--:-- --:--:--   737
100 5930k  100 5930k    0     0   200k      0  0:00:29  0:00:29 --:--:--  201k
==> Validating source files with md5sums...
    plasma-desktop-5.0.2.tar.xz ... Passed
==> Extracting sources...
  -> Extracting plasma-desktop-5.0.2.tar.xz with bsdtar
==> Starting prepare()...
==> Starting build()...
-- The C compiler identification is GNU 4.9.1
-- The CXX compiler identification is GNU 4.9.1
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
-- Looking for __GLIBC__
-- Looking for __GLIBC__ - found
-- Performing Test _OFFT_IS_64BIT
-- Performing Test _OFFT_IS_64BIT - Success
-- Found KF5Auth: /usr/lib64/cmake/KF5Auth/KF5AuthConfig.cmake (found version "5.2.0")
-- Found KF5Plasma: /usr/lib64/cmake/KF5Plasma/KF5PlasmaConfig.cmake (found version "5.2.0")
-- Found KF5PlasmaQuick: /usr/lib64/cmake/KF5PlasmaQuick/KF5PlasmaQuickConfig.cmake (found version "5.2.0")
-- Found KF5DocTools: /usr/lib64/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.2.0")
-- Found Gettext: /usr/bin/msgmerge (found version "0.19.2")
-- Found PythonInterp: /usr/bin/python (found version "3.4.1")
-- Found KF5I18n: /usr/lib64/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.2.0")
-- Found KF5KCMUtils: /usr/lib64/cmake/KF5KCMUtils/KF5KCMUtilsConfig.cmake (found version "5.2.0")
-- Found KF5NewStuff: /usr/lib64/cmake/KF5NewStuff/KF5NewStuffConfig.cmake (found version "5.2.0")
-- Found KF5KDELibs4Support: /usr/lib64/cmake/KF5KDELibs4Support/KF5KDELibs4SupportConfig.cmake (found version "5.2.0")
-- Found KF5NotifyConfig: /usr/lib64/cmake/KF5NotifyConfig/KF5NotifyConfigConfig.cmake (found version "5.2.0")
-- Found KF5Attica: /usr/lib64/cmake/KF5Attica/KF5AtticaConfig.cmake (found version "5.2.0")
-- Found KF5Wallet: /usr/lib64/cmake/KF5Wallet/KF5WalletConfig.cmake (found version "5.2.0")
-- Found KF5Runner: /usr/lib64/cmake/KF5Runner/KF5RunnerConfig.cmake (found version "5.2.0")
-- Found KF5: success (found version "5.2.0") found components:  Auth Plasma PlasmaQuick DocTools I18n KCMUtils NewStuff KDELibs4Support NotifyConfig Attica Wallet Runner
CMake Error at CMakeLists.txt:44 (find_package):
  Could not find a package configuration file provided by "LibKWorkspace"
  with any of the following names:

    LibKWorkspaceConfig.cmake
    libkworkspace-config.cmake

  Add the installation prefix of "LibKWorkspace" to CMAKE_PREFIX_PATH or set
  "LibKWorkspace_DIR" to a directory containing one of the above files.  If
  "LibKWorkspace" provides a separate development package or SDK, be sure it
  has been installed.


-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-root/aur-plasma-desktop/src/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build plasma-desktop.
==> Restart building plasma-desktop ? [y/N]
==> ---------------------------------------
==>
==> Edit PKGBUILD ? [Y/n] ("A" to abort)
==> ------------------------------------
==> n

==> plasma-desktop dependencies:
 - kemoticons (already installed)
 - kitemmodels (already installed)
 - qt5-graphicaleffects (already installed)
 - libxkbfile (already installed)
 - libusb-compat (already installed)
 - libcanberra (already installed)
 - systemsettings (already installed)
 - ksysguard (already installed)
 - powerdevil (already installed)
 - oxygen (already installed)
 - kmenuedit (already installed)
 - kinfocenter (already installed)
 - extra-cmake-modules (already installed)
 - kdoctools (already installed)


==> Continue building plasma-desktop ? [Y/n]
==> ----------------------------------------
==>
==> Building and installing package
==> Making package: plasma-desktop 5.0.2-1 (Mon Sep 22 18:36:32 CST 2014)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Found plasma-desktop-5.0.2.tar.xz
==> Validating source files with md5sums...
    plasma-desktop-5.0.2.tar.xz ... Passed
==> Extracting sources...
  -> Extracting plasma-desktop-5.0.2.tar.xz with bsdtar
==> Starting prepare()...
==> Removing existing pkg/ directory...
==> Starting build()...
CMake Error at CMakeLists.txt:44 (find_package):
  Could not find a package configuration file provided by "LibKWorkspace"
  with any of the following names:

    LibKWorkspaceConfig.cmake
    libkworkspace-config.cmake

  Add the installation prefix of "LibKWorkspace" to CMAKE_PREFIX_PATH or set
  "LibKWorkspace_DIR" to a directory containing one of the above files.  If
  "LibKWorkspace" provides a separate development package or SDK, be sure it
  has been installed.


-- Configuring incomplete, errors occurred!
See also "/tmp/yaourt-tmp-root/aur-plasma-desktop/src/build/CMakeFiles/CMakeOutput.log".
==> ERROR: A failure occurred in build().
    Aborting...
==> ERROR: Makepkg was unable to build plasma-desktop.
==> Restart building plasma-desktop ? [y/N]
==> ---------------------------------------
==>


tia!
User avatar
kde-feelgood
Registered Member
Posts
32
Karma
0

Re: how to launch kf5...

Wed Sep 24, 2014 1:41 pm
.

Last edited by kde-feelgood on Thu Sep 25, 2014 2:11 pm, edited 1 time in total.
User avatar
Mamarok
Manager
Posts
6071
Karma
16
OS

Re: how to launch kf5...

Thu Sep 25, 2014 10:38 am
kde-feelgood wrote:Thanks 4 NADA !!!

: >:( :

How very kind and patient of you... I suggest in the mean time you read the forum policy :)


Running Kubuntu 22.10 with Plasma 5.26.3, Frameworks 5.100.0, Qt 5.15.6, kernel 5.19.0-23 on Ryzen 5 4600H, AMD Renoir, X11
FWIW: it's always useful to state the exact Plasma version (+ distribution) when asking questions, makes it easier to help ...
User avatar
kde-feelgood
Registered Member
Posts
32
Karma
0

Re: how to launch kf5...

Thu Sep 25, 2014 11:49 pm
.
User avatar
awesomehaircut
Registered Member
Posts
2
Karma
0
OS

Re: how to launch kf5...

Thu Feb 12, 2015 12:10 am
The way to login as root to kf5 is by modifying MinimumUid to 0
in /etc/sddm.conf (or creating it with sddm --example-config and moving it to /etc/sddm.conf)
Code: Select all
....

# Maximum user id for displayed users
MaximumUid=65000

# Minimum user id for displayed users
MinimumUid=1000
...

set it to
Code: Select all
....

# Maximum user id for displayed users
MaximumUid=65000

# Minimum user id for displayed users
MinimumUid=0 ####ZERO FOR ROOT USER
...


I can't believe this was never addressed. And I hate bumping old threads so sorry.


Bookmarks



Who is online

Registered users: bancha, Bing [Bot], Google [Bot], Sogou [Bot]