LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   gconf, gnome problem (https://www.linuxquestions.org/questions/linux-newbie-8/gconf-gnome-problem-799301/)

frida kiriakos 04-01-2010 02:32 AM

gconf, gnome problem
 
Hello everyone,

i am having these problems for almost 3 days, i am trying to add a keyboard layout using gconftool-2, when i execute the commands i dont have any problem, the commands are:
#gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s /desktop/gnome/peripherals/keyboard/kbd/layouts -t list --list-type string '[us,ara]'

#gconftool-2 --direct --config-source=xml:readwrite:/etc/gconf/gconf.xml.defaults -s /desktop/gnome/peripherals/keyboard/kbd/options -t list --list-type string '[altwin altwin:super_win,grp_led grp_led:scroll,grp grp:alt_shift_toggle,terminate terminate:ctrl_alt_bksp]'

but the layout its not working, when i want to change between layouts.
if i try to run:

#gconftool-2 --get /desktop/gnome/peripherals/keyboard/kbd/layouts

i get this error message: Failed to get value for `/desktop/gnome/peripherals/keyboard/kbd/layouts': Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: 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.

i tried many things and looked over the internet i didnt find any answers

if i run "gnome-terminal" command i get these error messages: ** (gnome-terminal:3095): WARNING **: Failed to connect to the session manager: None of the authentication protocols specified are supported

Failed to get the session bus: 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.
Falling back to non-factory mode.
Failed to summon the GConf demon; exiting. Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: 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.)

could use help
Thanks

Tuttle 04-01-2010 06:38 PM

I've never tried 'gconftool2' command line editing... have you tried to diagnose this in the graphical editor 'gconf-editor'? It's cheating I know but still... :P

frida kiriakos 04-02-2010 12:30 PM

Quote:

Originally Posted by Tuttle (Post 3920990)
I've never tried 'gconftool2' command line editing... have you tried to diagnose this in the graphical editor 'gconf-editor'? It's cheating I know but still... :P


well i did try to use it but i get the same errors:
Failed to contact configuration server; some possible causes are that you need to enable TCP/IP networking for ORBit, or you have stale NFS locks due to a system crash. See http://projects.gnome.org/gconf/ for information. (Details - 1: Failed to get connection to session: 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.

Tuttle 04-03-2010 08:26 PM

Have you tried emptying out your /tmp?
Sometimes there is stale stuff there...
I always mount my /tmp directory as a 'tmpfs' with this entry in my /etc/fstab:
Code:

tmpfs            /tmp            tmpfs      defaults        0  0
That way is is wiped on every reboot, plus all temporary files get held in RAM or swap space!

PS. you can also move your ~/.gconf directory to see if there are errors there somewhere, it'll be regenerated on next login... or simply make a test user for troubleshooting


All times are GMT -5. The time now is 07:44 AM.