Como editar arquivos no Root com o Gedit

0

Eu preciso editar um arquivo para um laboratório, mas eu não tenho permissão, pois é apenas para o root e quando eu passo pela raiz, eu entendo isso

    ** (gedit:3530): WARNING **: The connection is closed

    (gedit:3530): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported


 ** (gedit:3530): WARNING **: Could not connect to session bus
[03/30/2017 16:30] root@ubuntu:/home/seed# ^C
[03/30/2017 16:31] root@ubuntu:/home/seed# gksudo gedit/etc/bind/named.config.options

 ** (gksudo:3539): WARNING **: The connection is closed

(gksudo:3539): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GConf Error: No D-BUS daemon running


(gksudo:3539): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GConf Error: No D-BUS daemon running


(gksudo:3539): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GConf Error: No D-BUS daemon running


(gksudo:3539): GConf-WARNING **: Client failed to connect to the D-BUS daemon:
Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
GConf Error: No D-BUS daemon running


(gksudo:3539): GConf-CRITICAL **: gconf_value_free: assertion 'value != NULL' failed

** (gedit:3542): WARNING **: The connection is closed

(gedit:3542): EggSMClient-WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported


** (gedit:3542): WARNING **: Could not connect to session bus

Este é o comando que eu usei quando recebi acesso root

[03/30/2017 16:32] root@ubuntu:/home/seed# gksudo gedit /etc/bind/named.config.options

Eu preciso adicionar um arquivo de despejo às opções. Como obtenho acesso?

    
por Tyler Hendrick 31.03.2017 / 01:40

1 resposta

0

Use CTRL + ALT + F1 para chegar ao tty

faça o login com seu usuário e ...

sudo su
startx

Inicie o Gedit

Quando terminar de sair

exit
exit

e use CTRL + ALT + F7

    
por userDepth 31.03.2017 / 02:29