Results 1 to 7 of 7

Thread: Error opening terminal with root privilege in suse

  1. #1
    chavanak NNTP User

    Unhappy 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

  2. #2

    Default Re: Error opening terminal with root privilege in suse

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

  3. #3
    chavanak NNTP User

    Default Re: Error opening terminal with root privilege in suse

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

  4. #4
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Error opening terminal with root privilege in suse

    Quote Originally Posted by chavanak View Post
    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
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

  5. #5
    chavanak NNTP User

    Default Re: Error opening terminal with root privilege in suse

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

  6. #6
    mulgau NNTP User

    Smile Re: Error opening terminal with root privilege in suse

    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.

  7. #7
    Join Date
    Mar 2008
    Location
    Oz
    Posts
    11,727
    Blog Entries
    2

    Default Re: Error opening terminal with root privilege in suse

    Quote Originally Posted by mulgau View Post
    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. 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.
    Leap 42.3 & 15.1(Beta) &KDE
    FYIs from the days of yore

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •