You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Example of setting up Session-Privacy-Messenger app in very secure, isolated way, running behind tor and ability to run multiple session accounts at once on Linux with dexsetup:
everything downloaded and configured by below example is very standard system packages installation/configuration or pure user-space-files thing in very isolated environment by firejail and tor by proxychains.
Installation
detect if tor is already configured, detect if to use sudo or su and install base packages.
download dexsetup.installer anonymously by tor and run it with pre-configured arguments to install/update session and setup profile name default.
# set base packages for anonymity from very beginning because we do not want even to gitbub to spy on us.
pkgs="proxychains4 tor torsocks wget";
# detect if tor is configured for user or not
groups | grep debian-tor > /dev/null && cfg_user_tor="echo 'Tor for ${USER} is already configured'" || cfg_user_tor="usermod -a -G debian-tor ${USER}";
# detect if to use sudo or su
sudo -v; (test $? != 0) && su_cmd="echo 'Please enter ROOT password'; su - -c" || su_cmd="echo 'Please enter ${USER} sudo password'; sudo sh -c";
# do necessary system update and install all needed packages
eval "${su_cmd} \"apt -y update; apt -y full-upgrade; apt -y install ${pkgs}; ${cfg_user_tor}; exit\""
#download installer and verify file checksum
branch="main" && mkdir -p ~/dexsetup && cd ~/dexsetup && rm -f installer.sh && rm -f installer.sha512 && proxychains4 wget "https://github.com/nnmfnwl/dexinstaller/raw/refs/heads/${branch}/installer.sh" && proxychains4 wget "https://github.com/nnmfnwl/dexinstaller/raw/refs/heads/${branch}/installer.sha512" && sha512sum installer.sh | grep `cat installer.sha512` && (echo "installer fingerprint verification success") || (sha512sum installer.sh; echo "installer fingerprint verification failed"; rm -f installer.sh)
# run installer with pre-configured arguments to use dexsetup.framework just to download/update session and make profile named default.
cd ~/dexsetup && bash installer.sh DEFAULT-N c-y dexsetup-update-y session-y session-profile-y session-update-y
Setting up multiple profiles
with dexsetup.framework you can setup any number of profiles just in second!
example how to setup profile named johnsmith
cd ~/dexsetup/dexsetup && ./setup.session.profile.sh johnsmith
Restore Session profile from old account
If you been using Session app before the old profile files could be found at ~/.config/Session/
You can very easy restore your session profile to be used secudrely by dexsetup as:
To make a link for specific session profile on Desktop, click with right mouse button and choose make a link and move file on your Desktop or use command: