- Create a new user with a command similar to:
Using you favorite text editor (gedit, vim/gvim, nano, ...) write a script similar to the next one:
#!/bin/bash xhost local: su -c "firefox 1>/dev/null 2>&1 &" internetBrowsingxhost local: will allow local users access to the X session.
Change 'firefox' by the name of your favorite browser (chrome, chromium-browser, opera, ...). (But don't forget that firefox is best than your favorite browser in such case :) ).
Save it and mark it as executable by executing in a terminal:
Add our new user to the audio group to allow it access to sound card. Edit the file '/etc/group' (in a terminal execute
sudo gedit /etc/groupand add the new user internetBrowsing to the audio group. The /etc/group file must look similar to:
cat /etc/group | grep firefox ... ... audio:x:29:pulse,internetBrowsing ... ...(WARN: Do not delete anything in this file, just add internetBrowsing to the audio group)
Finally just execute the script in a terminal by typing:
./launchBrowser.shor create a launcher in the desktop.
chmod u+x launchBrowser.sh