Error opening terminal with root privilege in suse

Hi,
Recently I switched over from Ubuntu to open suse 11. Everything is
setup perfectly except for the fact that any command i run with root
privileges, I get this error:

(GEDIT:9295): GTK-WARNING **: CANNOT OPEN DISPLAY:

Can anyone please tell me the solution for this? A quick search in
google did not help me much.

Cheers


chavanak

chavanak’s Profile: http://forums.opensuse.org/member.php?userid=18184
View this thread: http://forums.opensuse.org/showthread.php?t=402959

How exactly you try to run the commands as root, within a terminal, with
su? Did you try sudo?


dcengija

dcengija’s Profile: http://forums.opensuse.org/member.php?userid=18047
View this thread: http://forums.opensuse.org/showthread.php?t=402959

Hi,
I tried the methods mentioned below:
sudo gedit
su–> passwd for root–> gedit
All within a terminal


chavanak

chavanak’s Profile: http://forums.opensuse.org/member.php?userid=18184
View this thread: http://forums.opensuse.org/showthread.php?t=402959

chavanak;1915189 Wrote:
> Hi,
> I tried the methods mentioned below:
> sudo gedit
> su–> passwd for root–> gedit
> All within a terminal
You should use this variant in openSUSE: gnomesu gedit


‘Enter the Xmas Naming Competition - It’s a
Hoot’ (http://tinyurl.com/5kr7qa)

swerdna’s Profile: http://forums.opensuse.org/member.php?userid=84
View this thread: http://forums.opensuse.org/showthread.php?t=402959

Thank you very much for the help. The problem is solved


chavanak

chavanak’s Profile: http://forums.opensuse.org/member.php?userid=18184
View this thread: http://forums.opensuse.org/showthread.php?t=402959

And a big thanks from me, am an Ubuntu user but have just installed SUSE
for a try and have been trolling the 'net all day looking for an answer
to this. Solved.


mulgau

mulgau’s Profile: http://forums.opensuse.org/member.php?userid=18672
View this thread: http://forums.opensuse.org/showthread.php?t=402959

mulgau;1918248 Wrote:
> And a big thanks from me, am an Ubuntu user but have just installed SUSE
> for a try and have been trolling the 'net all day looking for an answer
> to this. Solved.
It’s a tricky one. Imagine how frustrated I felt in Ubuntu typing
gnomesu gedit and nothing happened. lol! At least Ubuntui said the
package wasn’t installed which gave me a clue about sudo after a few
minutes.

And for the Kubuntu expats, “kdesu kwrite” is a big tip.


Vote out the old and Vote in the new: ‘Check it out for
openSUSE Forums’ (http://tinyurl.com/985fp2)

swerdna’s Profile: http://forums.opensuse.org/member.php?userid=84
View this thread: http://forums.opensuse.org/showthread.php?t=402959