Message “Cannot find the default environment. Please contact your system administrator” on latest Slackware Forums / NoMachine for Linux / Message “Cannot find the default environment. Please contact your system administrator” on latest Slackware Tagged: Slackware current headless kde plasma Cannot find the default environment This topic has 4 replies, 3 voices, and was last updated 10 months ago by Britgirl. Viewing 5 posts - 1 through 5 (of 5 total) Author Posts November 27, 2021 at 17:47 #36459 EelislandParticipant Hello, I’m running latest version of Slackware -current with Plasma KDE on a computer without monitor in runlevel 3. With previous version of KDE, NoMachine client (both Windows and Linux) was able to start the display, but now I get this error message: Cannot find the default environment. Please contact your system administrator. I have done a fresh install of nxserver # tar -C /usr/ -xzf nomachine_7.7.4_1_x86_64.tar.gz # /usr/NX/nxserver –install slackware Is anyone already figure this out ? December 2, 2021 at 17:45 #36529 kroyContributor Hi Please edit /usr/NX/etc/node.cfg and set following key: DefaultDesktopCommand "/usr/bin/env XDG_CONFIG_DIRS=/etc/xdg:/etc/kde/xdg /usr/bin/dbus-launch --sh-syntax --exit-with-session /usr/bin/startplasma-x11" December 2, 2021 at 19:17 #36538 EelislandParticipant Hi Kroy, Thank you for your help, works perfectly. December 5, 2021 at 21:02 #36555 EelislandParticipant Still on latest Slackware current if sound streaming is not working in runlevel 4 (KDE started from inittab): Set “autospawn = no” in /etc/pulse/client.conf December 7, 2021 at 13:39 #36589 BritgirlKeymaster This will be useful for others, I’m sure. Thanks for posting. Author Posts Viewing 5 posts - 1 through 5 (of 5 total) This topic was marked as closed, you can't post.