What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-05 04:37:05
xrdp crashes after login
Try this: Stop xrdp with sudo service xrdp stop Edit the xrdp start script: sudo nano /etc/xrdp/startwm.sh In this file, replace the lines test -x /etc/X11/Xsession && exec /etc/X11/Xsession exec /bin/sh /etc/X11/Xsession with startxfce4 (You... Add solution -
Shell/Bash 2021-10-01 03:47:06
install dotnet on raspberry pi
# copy link for latest sdk & dotnet core runtime version from: # https://dotnet.microsoft.com/download/dotnet #example: # download for core runtime: sudo wget https://download.visualstudio.microsoft.com/download/pr/d464a46d-a904-4a0e-94f1-c2ccfc7a691... Add solution -
Other 2021-09-27 16:30:02
install gradle on ubuntu
sudo apt update sudo apt install openjdk-8-jdk -y java -version wget https://services.gradle.org/distributions/gradle-5.0-bin.zip -P /tmp sudo unzip -d /opt/gradle /tmp/gradle-*.zip ls /opt/gradle/gradle-5.0 sudo nano /etc/profile.d/gradle.sh ####/etc/p... Add solution -
Other 2021-09-21 20:30:03
execute bash script from anywhere
you can modify the PATH environment variable in your .bashrc file and use the “source” command in order to refresh your current Bash environment. $ sudo nano ~/.bashrc export PATH="<path_to_script>:$PATH" Exit the file and so... Add solution