Results 1 to 9 of 9

Thread: Gedit problem

  1. #1
    Join Date
    Mar 2011
    Location
    Greece
    Posts
    50

    Default Gedit problem

    I'm running 12.1 gnome.
    When from the terminal try to run gedit as root, i get a " (gedit:6547): WARNING **: Could not connect to session bus "
    The problem occurs only when i am root. As a user gedit starts normally.

    Thank you.

  2. #2
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Smile Re: Gedit problem

    Quote Originally Posted by openbillys View Post
    I'm running 12.1 gnome.
    When from the terminal try to run gedit as root, i get a " (gedit:6547): WARNING **: Could not connect to session bus "
    The problem occurs only when i am root. As a user gedit starts normally.

    Thank you.
    If you want to run gedit as root, do not open a terminal session but while in the gnome desktop do the following:

    Alt-F2: gnomesu gedit [filename] <enter>

    The Alt-F2 opens up a window, you type in gnomesu gedit and you can include the name of a file to edit as root if you wish and then press the enter key.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  3. #3
    Join Date
    Mar 2011
    Location
    Greece
    Posts
    50

    Default Re: Gedit problem

    Done!!!!

    I appreciate your fast response.
    Thank you.

  4. #4
    Join Date
    Mar 2010
    Location
    Austin - Texas
    Posts
    10,140
    Blog Entries
    48

    Default Re: Gedit problem

    Quote Originally Posted by openbillys View Post
    Done!!!!

    I appreciate your fast response.
    Thank you.
    Very happy to be of help to you.

    Thank You,
    My Blog: https://forums.opensuse.org/blogs/jdmcdaniel3/

    Software efficiency halves every 18 months, thus compensating for Moore's Law

    Its James again from Austin, Texas

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Gedit problem

    On 2012-01-12 23:56, openbillys wrote:
    >
    > I'm running 12.1 gnome.
    > When from the terminal try to run gedit as root,


    How exactly?
    Copy paste the terminal session here, between code tags (advanced editor,
    '#' button), from before being root, to the output of the call to gedit and
    the error.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  6. #6
    Join Date
    Mar 2011
    Location
    Greece
    Posts
    50

    Default Re: Gedit problem

    Quote Originally Posted by robin_listas View Post
    On 2012-01-12 23:56, openbillys wrote:
    >
    > I'm running 12.1 gnome.
    > When from the terminal try to run gedit as root,


    How exactly?
    Copy paste the terminal session here, between code tags (advanced editor,
    '#' button), from before being root, to the output of the call to gedit and
    the error.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)
    Code:
     new:/home/Billys/Επιφάνεια εργασίας # gedit
    
    ** (gedit:5033): WARNING **: Could not connect to session bus

  7. #7
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Gedit problem

    On 2012-01-13 09:56, openbillys wrote:
    >
    > robin_listas;2429752 Wrote:
    >> On 2012-01-12 23:56, openbillys wrote:
    >>>
    >>> I'm running 12.1 gnome.
    >>> When from the terminal try to run gedit as root,

    >>
    >> How exactly?
    >> Copy paste the terminal session here, between code tags (advanced
    >> editor,
    >> '#' button), from before being root, to the output of the call to gedit
    >> and the error.


    > Code:
    > --------------------
    > *new:/home/Billys/Επιφάνεια εργασίας #* gedit
    >
    > ** (gedit:5033): WARNING **: Could not connect to session bus
    >
    > --------------------


    It does not show how you got yourself root, which I asked for. Still, I'm
    guessing you used "su". Don't. Use "su -". Se man su for the reason. Or
    search the archive of this forum.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

  8. #8
    Join Date
    Mar 2011
    Location
    Greece
    Posts
    50

    Default Re: Gedit problem

    I'm sorry for the confusion. I was using
    Code:
     su
    at all the previous versions in the terminal and had no problem.

    Thank you for your notice.

  9. #9
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: Gedit problem

    On 2012-01-13 12:06, openbillys wrote:
    >
    > I'm sorry for the confusion. I was using
    > Code:
    > --------------------
    > su
    > --------------------
    > at all the previous versions in the terminal and had no problem.


    "Su" and "su -" are different. Get yourself accustomed to type that dash
    always, except when you need not to (and you know why). As if the default
    were to use the dash.


    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.4 x86_64 "Celadon" at Telcontar)

Posting Permissions

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