Shell confusion

Matthew Flaschen matthew.flaschen at gatech.edu
Fri Mar 13 01:49:29 UTC 2009


Dave Bolt IT Solutions wrote:
> When I start a terminal as dave I get a prompt [dave at Test-Host ~]$
> When I do su amandabackup I get a prompt bash-3.2$
>> From the first prompt I can launch gedit, from the second I get an
>> error, No 
> protocol specified, gedit:4724, Gtk-WARNING ** cannot open display.
> Since both of these users are apparently configured for bash, can anyone
> explain what is happening?

You should not run GUI apps under a root shell.  Do:

sudo gedit

or better yet:

sudoedit /etc/the_config.ext

Matt Flaschen




More information about the fedora-list mailing list