You are not logged in.

#1 2008-10-14 14:08:01

rrodrigues
Member
Registered: 2008-08-08
Posts: 44

can't open any windows when i'm in root (su)

hi...
when i'm in my account then i need to open a window in su appears this message error:

#  konqueror .
No protocol specified
konqueror: cannot connect to X server :0.0

anyone can help me with this?

Offline

#2 2008-10-14 14:12:32

ezzetabi
Member
Registered: 2006-08-27
Posts: 947

Re: can't open any windows when i'm in root (su)

I am not sure I understood.
Do you log in as root, use su to become user and try to open a window or vice-versa you log in as user, use su to become root and try to open a window?

Offline

#3 2008-10-14 15:18:28

SiC
Member
From: Liverpool, England
Registered: 2008-01-10
Posts: 430

Re: can't open any windows when i'm in root (su)

ezzetabi wrote:

I am not sure I understood.
Do you log in as root, use su to become user and try to open a window or vice-versa you log in as user, use su to become root and try to open a window?

He's logging in as a user and then su'ing to root. Not sure as to the answer though.

Offline

#4 2008-10-14 15:31:56

lidewei
Member
From: The Netherlands
Registered: 2007-08-18
Posts: 27

Re: can't open any windows when i'm in root (su)

Try

kdesu konqueror

as a regular user. I think this is what you want to achieve, right?

Offline

#5 2008-10-14 15:32:14

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Offline

#6 2008-10-14 23:20:19

rrodrigues
Member
Registered: 2008-08-08
Posts: 44

Re: can't open any windows when i'm in root (su)

i want to logging as a user and then became root with su and open a window...

but i don't want do do kdesu konqueror (use konqueror like an example)...

i want to be able to open a window in root account in an time...

i try the command

xhost +

but i read that is no very good for security...
what i've to do?

Offline

Board footer

Powered by FluxBB