viking777 Posted January 27, 2009 Report Share Posted January 27, 2009 I have never been a keen command line enthusiast, although I do use it now and then, and I thought I might try 'Fish' to see if it was any better than 'Bash'. I installed it on Linux Mint first and I did find it to be slightly better so I then tried it on Mandriva but came unstuck. It is my normal practice to have shortcuts to programs I use often in a sidebar, particularly root instances of shells and file managers. The shortcuts contain commands such as 'gksu terminal' for example. Trouble is that as soon as I installed 'Fish' this functionality died. Every time I click the shortcut I get the warning 'failed to communicate with gksu-run-helper'. The strange thing is that if I open a user mode terminal and type the same command it loads the root instance normally. The user mode instance runs correctly as well it is only the root mode that wont work as I want it to. If I return the shell to bash, the shortcut works again. It also works normally in Mint. This behaviour is beyond me perhaps someone here can understand it. Quote Link to comment Share on other sites More sharing options...
tyme Posted January 28, 2009 Report Share Posted January 28, 2009 what are the contents of the shortcut file? (open it with a text editor) have you tried recreating the short cuts while fish is selected (instead of bash)? Quote Link to comment Share on other sites More sharing options...
viking777 Posted January 29, 2009 Author Report Share Posted January 29, 2009 what are the contents of the shortcut file? (open it with a text editor) Before I could answer that I would have to know where the shortcut file lived - and I don't (the shortcut is a launcher that lives in an xfce4-panel, but thinking about it that probably doesn't make much difference because if I use Alt/F2 followed by 'gksu terminal' that fails as well - unless I am using a bash shell) have you tried recreating the short cuts while fish is selected (instead of bash)? I hadn't before, but I have now and it makes no difference. Thanks for trying anyway tyme. Quote Link to comment Share on other sites More sharing options...
tyme Posted January 29, 2009 Report Share Posted January 29, 2009 (edited) if I use Alt/F2 followed by 'gksu terminal' that fails as well - unless I am using a bash shellThen the shortcuts definitely don't have anything to do with it. I don't really know a lot about fish - perhaps it has something analogous to BASH's environment variables, and you need to set those up properly. Try giving the full path to the gksu binary - I'm not sure what it would be on Mandriva (whereis gksu should tell you), but assuming /usr/bin/gksu do something like: /usr/bin/gksu terminal and see if that works. Edited January 29, 2009 by tyme Quote Link to comment Share on other sites More sharing options...
viking777 Posted January 30, 2009 Author Report Share Posted January 30, 2009 Thank you once again for replying tyme. Your suggestion was interesting and gave me the following results. Unfortunately I can't actually decode what they mean, perhaps you can. /usr/bin/gksu terminal GConf Error: Failed to contact configuration server; some possible causes are th at you need to enable TCP/IP networking for ORBit, or you have stale NFS locks d ue to a system crash. See http://www.gnome.org/projects/gconf/ for information. (Details - 1: Failed to get connection to session: Did not receive a reply. Pos sible causes include: the remote application did not send a reply, the message b us security policy blocked the reply, the reply timeout expired, or the network connection was broken.) Quote Link to comment Share on other sites More sharing options...
Guest Cid_Campeador Posted March 6, 2009 Report Share Posted March 6, 2009 Better use gksudo, not gksu. The situation is explained here: http://linuxgator.org/forums/viewtopic.php?f=31&t=1563 Quote Link to comment Share on other sites More sharing options...
viking777 Posted March 7, 2009 Author Report Share Posted March 7, 2009 Better use gksudo, not gksu.The situation is explained here: http://linuxgator.org/forums/viewtopic.php?f=31&t=1563 That is an interesting post indeed, although I would have to read it more than once to take it all in. The only problem with it is that it isn't true. I am using a buntu base distro to post this (Linux Mint) and if I run: gksu thunar or gksudo thunar the result is exactly the same in both cases - I get a root instance of thunar. I do not get any warnings at all. (except the one that says 'be careful you are running this as root') Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.