Xfce Forum

Sub domains
 

You are not logged in.

#1 2011-03-25 13:27:11

jeanpierreaubry
Member
Registered: 2011-03-25
Posts: 6

impossible to launch a program after typing su in a terminal

hello

i have been using xfce for almots 15 yeras now
for the first time a problem which i cannot solve

when i type su to connect as root in a terminal and the launch gedit
i get the following message
that is from SuSE 11.4 and Xfce 4.8
while ti works ok from SuSE 11.3 and Xfce 4 Desktop Environmentversion 4.7.0 (Xfce 4.6)

error occurs while trying to launch any program that way

this way of launching works ok under twm

is anybody having a clue?

thanks

jean pierre aubry

dedalus@stephen:~> su
Mot de passe : 
stephen:/home/dedalus # gedit

(gedit:1255): 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

**
GLib-GIO:ERROR:gdbusconnection.c:2279:initable_init: assertion failed: (connection->initialization_error == NULL)
Abandon
stephen:/home/dedalus # 

Offline

#2 2011-03-25 13:33:09

Nick
Dev
From: ~
Registered: 2005-02-17
Posts: 1,144
Website

Re: impossible to launch a program after typing su in a terminal

Not related to Xfce but rather a change in Gnome's/Gedit's session handling. I think starting like "gedit --sm-client-disable" or maybe --sm-disable will solve the problem.

Offline

#3 2011-03-25 13:40:40

jeanpierreaubry
Member
Registered: 2011-03-25
Posts: 6

Re: impossible to launch a program after typing su in a terminal

hello

thanks for this almost instantaneous question

Nick wrote:

Not related to Xfce but rather a change in Gnome's/Gedit's session handling. I think starting like "gedit --sm-client-disable" or maybe --sm-disable will solve the problem.

i agree that is a gnome problem not Xfce, but trying to get info from gnome is quite a task!
i must say that this occurs with any gnome application with a similar msg
however your hints do not change anything!!

jean pierre aubry

Offline

#4 2011-04-01 06:47:55

Sideburns
Member
From: Trinidad, CO
Registered: 2011-03-30
Posts: 467
Website

Re: impossible to launch a program after typing su in a terminal

I use Fedora and have seen this question asked on their help forum several times.  One answer is to use su - instead of simply su.


Registered Linux user #470359
Permanently recovered BOFH
Any advice in this post is worth exactly what you paid for it.

Offline

#5 2011-04-04 13:31:50

jeanpierreaubry
Member
Registered: 2011-03-25
Posts: 6

Re: impossible to launch a program after typing su in a terminal

hello

Sideburns wrote:

I use Fedora and have seen this question asked on their help forum several times.  One answer is to use su - instead of simply su.

many thanks!!
of course it works

jean pierre aubry

Offline

#6 2011-04-12 19:09:05

escapingsummer
Member
From: D.C. Metro Area
Registered: 2010-12-14
Posts: 34

Re: impossible to launch a program after typing su in a terminal

Although it has been answered, I found that using sudo instead of su for instance, sudo gedit instead of su <enter> <insert password> gedit. I have run into many applications where this is the case and this was my fix.

As Nick stated above it isn't something in Xfce its something in Gnome (perhaps it's policykit or maybe its keychain) but I know that running the commands with sudo prevents this error. I found that even if you have become super user and it still wont launch a program, that simply tacking the sudo in front of  the command will launch the program without having to leave superuser i.e.

$su
password:
#sudo gedit

Last edited by escapingsummer (2011-04-13 01:29:53)


"True sophistication and ingenuity comes from trying to solve complicated things by the simplest of means."

Desktop- Fedora XFCE x86_64
Netbook- Modified Fedora 14 security spin -fluxbox/Fedora XFCE

Offline

Registered users online in this topic: 0, guests: 1
[Bot] ClaudeBot

Board footer

Powered by FluxBB
Modified by Visman

[ Generated in 0.012 seconds, 10 queries executed - Memory usage: 532.98 KiB (Peak: 533.82 KiB) ]