You are not logged in.

#1 2008-06-04 17:21:25

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

How to start gvim with root privileges? [SOLVED]

Subj

Last edited by Llama (2008-06-04 17:36:10)

Offline

#2 2008-06-04 17:24:04

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: How to start gvim with root privileges? [SOLVED]

sudo gvim

works flawlessly here. I guess

su -c gvim

would work for you if you don't have sudo installed.


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

#3 2008-06-04 17:30:46

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: How to start gvim with root privileges? [SOLVED]

[root@rimfirebox alexey]# su -c gvim
No protocol specified
E233: cannot open displayNo protocol specified
No protocol specified
No protocol specified

Press ENTER or type command to continue

As a result it starts vim

Offline

#4 2008-06-04 17:33:13

bender02
Member
From: UK
Registered: 2007-02-04
Posts: 1,328

Re: How to start gvim with root privileges? [SOLVED]

Offline

#5 2008-06-04 17:35:18

Llama
Banned
From: St.-Petersburg, Russia
Registered: 2008-03-03
Posts: 1,379

Re: How to start gvim with root privileges? [SOLVED]

Thanks!

Offline

#6 2008-06-04 18:58:20

finferflu
Forum Fellow
From: Manchester, UK
Registered: 2007-06-21
Posts: 1,899
Website

Re: How to start gvim with root privileges? [SOLVED]

I guess you can't tell I haven't used the root account for a long time tongue


Have you Syued today?
Free music for free people! | Earthlings

"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery

Offline

Board footer

Powered by FluxBB