Last active
July 24, 2017 16:06
-
-
Save craftyguy/9ef9c93ddcbaf402a5f648e49e97b5a0 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
localhost:~# ./start_plasma.sh | |
./start_plasma.sh: line 29: dbus-launch: not found | |
export DISPLAY=':0' | |
export HOME='/root' | |
export KDE_FULL_SESSION='1' | |
export KDE_SESSION_VERSION='5' | |
export KSCREEN_BACKEND='QScreen' | |
export LOGNAME='root' | |
export MAIL='/var/mail/root' | |
export OLDPWD='/home/user' | |
export PATH='/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin' | |
export PS1='\h:\w\$ ' | |
export PWD='/root' | |
export QT_QPA_PLATFORM='wayland' | |
export QT_QPA_PLATFORMTHEME='KDE' | |
export QT_WAYLAND_DISABLE_WINDOWDECORATION='1' | |
export SHELL='/bin/ash' | |
export SHLVL='2' | |
export SUDO_COMMAND='/bin/su' | |
export SUDO_GID='12345' | |
export SUDO_UID='12345' | |
export SUDO_USER='user' | |
export TERM='xterm-termite' | |
export USER='root' | |
export USERNAME='root' | |
export XDG_CURRENT_DESKTOP='KDE' | |
export XDG_RUNTIME_DIR='/tmp/0-runtime-dir' | |
Failed to create display (No such file or directory) | |
No backend specified through command line argument, trying auto resolution | |
kglobalaccel-runtime: Failed to register service org.kde.kglobalaccel |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/ash | |
if test -z "${XDG_RUNTIME_DIR}"; then | |
# https://wayland.freedesktop.org/building.html | |
export XDG_RUNTIME_DIR=/tmp/$(id -u)-runtime-dir | |
if ! test -d "${XDG_RUNTIME_DIR}"; then | |
mkdir "${XDG_RUNTIME_DIR}" | |
chmod 0700 "${XDG_RUNTIME_DIR}" | |
fi | |
# Weston autostart on tty1 (Autologin on tty1 is enabled in | |
# if [ $(tty) = "/dev/tty1" ]; then | |
export DISPLAY=:0 | |
export QT_QPA_PLATFORM=wayland | |
export QT_QPA_PLATFORMTHEME=KDE | |
export QT_WAYLAND_DISABLE_WINDOWDECORATION=1 | |
export XDG_CURRENT_DESKTOP=KDE | |
export KSCREEN_BACKEND=QScreen | |
export KDE_FULL_SESSION=1 | |
export KDE_SESSION_VERSION=5 | |
export $(dbus-launch) | |
/usr/bin/kded5 & | |
#exec /usr/bin/plasmashell -p org.kde.satellite.phone | |
kwin_wayland | |
# fi | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment