>>> On Fri, Feb 1, 2008 at 1:53 PM, in message <[EMAIL PROTECTED]>, Kim Goldenberg <[EMAIL PROTECTED]> wrote: -snip- > Mark - I still get "Gtk-WARNING **: cannot open display: " with a "sudo > gedit foo" command that works when I use "gedit foo". > > This all works fine under SLES9x. Any thoughts?
>From SLES9 to SLES10, Defaults env_reset was added to /etc/sudoers. This >wipes out almost all of the invoking user's environment variables. This was >done for security reasons. If you want to make this particular thing work, >add Defaults env_keep=DISPLAY to /etc/sudoers, and realize that you're >possibly creating a security exposure for yourself. The order of the >statement in relationship to env_reset doesn't matter. >From my perspective, it might be better to bite the bullet and learn some >basic vi commands. I tend to (almost) never invoke X-enabled commands on my >System z Linux images. Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [EMAIL PROTECTED] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390