How can i solve this problem?EggSMClient-WARNING **: Failed to connect to the session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
** (gedit:9722): WARNING **: Could not connect to session bus
Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230
[SOLVED]Gedit problem as superuser in terminal.
[SOLVED]Gedit problem as superuser in terminal.
Hello. I'm using Debian Wheezy 7.1 with Gnome3 and when i try to open Gedit as super user in a terminal, i get the following message:
Last edited by robgeek on 2013-10-19 21:06, edited 1 time in total.
-
- Posts: 1403
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: Gedit problem as superuser in terminal.
It is normal, it is better not run gui-application as root.
Use any console editor in terminal. vim, nano, mcedit, joe, le, fte.
Peter.
Use any console editor in terminal. vim, nano, mcedit, joe, le, fte.
Peter.
Re: Gedit problem as superuser in terminal.
Why is normal? Why in Debian Squeeze 6 with Gnome 2 i can do this?
Re: Gedit problem as superuser in terminal.
You are not supposed to run gui apps such as gnome terminal, nautilus, gedit, etc as root.
Whether it worked or not in gnome 2 in squeeze is irrelevant.
If you want to get around this you will have to read up on launching these apps through pkexec or you can try gksu and see if that still works.
Whether it worked or not in gnome 2 in squeeze is irrelevant.
If you want to get around this you will have to read up on launching these apps through pkexec or you can try gksu and see if that still works.
Re: Gedit problem as superuser in terminal.
Use gksu in terminal as normal user, not as super user.robgeek wrote:Hello. I'm using Debian Wheezy 7.1 with Gnome3 and when i try to open Gedit as super user in a terminal, i get the following message:How can i solve this problem?EggSMClient-WARNING **: Failed to connect to the session manager: Authentication Rejected, reason : None of the authentication protocols specified are supported and host-based authentication failed
** (gedit:9722): WARNING **: Could not connect to session bus
Code: Select all
$ gksu gedit
Jessie/Xfce
-
- Posts: 9
- Joined: 2013-07-20 22:35
Re: Gedit problem as superuser in terminal.
I had the same issue. Is a real pain trying to edit source list without this. For me is the only way I know how to do it.
-
- Posts: 1939
- Joined: 2006-04-21 11:19
- Location: Sol Sector
- Has thanked: 1 time
- Been thanked: 2 times
Re: Gedit problem as superuser in terminal.
Never mind....
Last edited by pcalvert on 2013-07-21 11:38, edited 1 time in total.
Freespoke is a new search engine that respects user privacy and does not engage in censorship.
Re: Gedit problem as superuser in terminal.
Code: Select all
$ gksu gedit
Code: Select all
(gedit:6126): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported
Code: Select all
$ su -
Password:
Code: Select all
root@localhost:~# gedit /etc/apt/sources.list
Code: Select all
$ su -l
Code: Select all
$ su --login
DebianStable
Code: Select all
$ vrms
No non-free or contrib packages installed on debian! rms would be proud.
-
- Posts: 1403
- Joined: 2009-09-10 20:15
- Location: Saint-Petersburg, Russian Federation
- Been thanked: 11 times
Re: Gedit problem as superuser in terminal.
There are else two variants.
1) As user enter command
After that root will be able ran gedit from terminal.
2) To copy user's .Authority to /root.
Peter.
1) As user enter command
Code: Select all
xhost local:root
2) To copy user's .Authority to /root.
Peter.
-
- Posts: 1939
- Joined: 2006-04-21 11:19
- Location: Sol Sector
- Has thanked: 1 time
- Been thanked: 2 times
Re: Gedit problem as superuser in terminal.
There is also sux. Although I don't know why, the folks at aptosid seem to have a preference for that one.
Phil
Phil
Freespoke is a new search engine that respects user privacy and does not engage in censorship.