[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Shell confusion



Dave Bolt IT Solutions wrote:
> When I start a terminal as dave I get a prompt [dave 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]