Problems running ethereal

Filipe Bonjour fbonjour at urbanet.ch
Sun Mar 26 11:52:11 UTC 2006


Hi,

Not sure what's going on there, but if you run the command as you show 
it, the two export commands won't be executed within the root shell, 
rather when you exit it:

    user at dirac 1 $ echo $HOME; echo $DISPLAY
    /home/user
    :0.0
    user at dirac 2 $ su - ; export HOME=/home/stan ; export DISPLAY=0:0
    Password:
    root at dirac 1 $ echo $HOME; echo $DISPLAY
    /root

    root at dirac 2 $ exit
    logout
    user at dirac 3 $ echo $HOME; echo $DISPLAY
    /home/stan
    0:0

That's probably not what you want. You have to either run the command 
with sudo or:

1. Disable X security ("xhost +")
2. su to root
3. Set the environment variable
4. Run ethereal.

Filipe






More information about the ubuntu-users mailing list