Search results for work


J2ME functions that aren't included - but should be
Untrusted Java apps - and suspicious end users
The digital radio scam
HVR1110 working in Linux
Linux driver support
Security Threat Level
Nokia N95 - from a developer's point of view
Let a friend use your IP address to get access to a machine that you can access, but he can't
How to run two instances of Tomcat on your machine
New site
A better round-robin DNS server
Howto: Forward your SSH port
Journey efficiency
Nasty code
Apache vs nginx?
Software patents
Recording Real Audio streams in Linux
Suddenly, the commute takes longer
Morality test
Empanadas de carpincho
Iran makes plans to sell oil in Euros
Linux and multimedia
Save Parliament
The Da Vinci Code film
Postfix Antispam
Encoding with ffmpeg for the Nokia N80
Email blacklists
How to update your Nokia N80 to the N80 Internet Edition firmware
The Wikipedia Game
Running Firefox as another user, using sudo
Stream your CD collection to work
Amazon's bad move
Root to bind ports under 1024?
Amateur radio
Buying a Linux laptop - without paying the Microsoft Tax
Acer TravelMate 5720 4GB running Linux
New York, 2010
Russian sayings
On-demand streaming audio server
HOWTO: Linux and iSCSI
[Solved] Random hangs on HP EliteBook 8530W in Linux
Java logging
Thailand 2012
Table football
When things go wrong on Linux
Exposing a soundcard on a KVM host to a guest
jconsole remote connections
One time pads
Enjoyable development
Safe browsing
Compiling gqrx on CentOS
Let's Encrypt
Offsite backup with iSCSI
Downloading Scala
Quick virtualisation guide
Live Amateur Radio contacts
Gaming in the cloud
2020 laptop
Asus Zenfone 8 - Waiting for flashing full ramdump...
Recommended hardware
Playing with software defined networking


in centos, worked. Thanks.

from root user's gnome-desktop's terminal window, i had to do this:

sudo -u ff -H xhost

sudo -u ff -H firefox

how can i run firefox, xchat, etc multiple internet applications by using a same non root username (for example, username: 'InternetApps') ?

Give a man a fish; you have fed him for today. Teach a man to fish, and he will never come back to church. (works in Africa)
Nice. Not as safe as "chrooting" firefox but should work.
"xhost" or "xhost localhost" didn't work for me on Debian stable (lenny). "xhost local:" did.
I copied the "/usr/bin/firefox" script, then renamed that(copy) to "/usr/bin/firefox-InternetApps".

Using the visudo, add this '/usr/bin/firefox-InternetApps' into the NOPASSWD line.

If someone wants to further modify the 'firefox-InternetApps' script, then they can do so.

Now create a Firefox Profile inside firefox for 'InternetApps' user :

sudo -u InternetApps -H firefox-InternetApps -profilemanager -no-remote &

A window will appear, to allow you to add new Profile(s), create 'InternetApps'.

Start firefox & then exit from it.

Now following command will start firefox & take us inside the 'InternetApps' profile :

sudo -u InternetApps -H firefox-InternetApps -p InternetApps -no-remote &

I copied the "/usr/bin/firefox" script (not a link) file, then renamed that (copied) file to "firefox-ia", open "firefox-ia" with a text editor, keep only the top two lines, delete all other lines, then add our commandline, it should look like this:



sudo -u InternetApps -H firefox-InternetApps -p InternetApps -no-remote &

# end of file

Then simply type : "firefox-ia" , (without the quote symbols,) to run firefox (under a non root user and with a different firefox profile).

... This process worked on centos 5.6 firefox 3.6.17. ~ Bry8Star.

try using kdesu instead of su, it'll work without any of the other hacks, plus allowing anyone on 127.1 to connect to X isnt secure
wow...the second works fine!!!

How do i call the method, say i already have "double Weight" computed and need to be aproximated to two decimal places and it appears in different functions...

Teach a man to fish and he will quit work.
Teach your wife to work and fish. Then you can sit on the river bank drink beer and watch her catch the big one.
Teach a man to fish and he will buy up all the places to fish depriving his fellow fishermen the opportunity to fish for themselves, unless you go to work for them. (Walmart)
You don't need sudo rights and you don't have to edit sudoers file to archieve this now.

(Maybe this is easier in 2020. I tried in ~2012 to make this work, but without succes)

Now you need to add this line to "ff":s .bashrc

export DISPLAY=:0.0

and run as your normal user this:

xhost +local:

then just write: su ff

and then when you have a terminal as ff, you can start firefox or any other program, by: