Starting gftp
What do I need to type at the command line to start gftp. I have already installed it but when I try to run it I get that is is disabled.
Thank you. Bill Mann |
gftp can't be "disabled", it's just an ftp client. what actually happens? if you're typing in "gftp" in a console then copy and paste here the whole console activity.
|
gftp-text has been disabled
[root@ip-72-167-52-157 username]# gftp
Sorry, gftp-text has been disabled. [root@ip-72-167-52-157 username]# |
It looks like gftp can't open in the current X environment (if any) and tries to run in text mode. On recent distributions the text mode has been disabled, so the only option is to compile from source. Anyway, are you trying to run gftp on a remote machine? What is the output of
Code:
echo $DISPLAY |
hmm, I would have thought you'd have gotten an X refusal as well as any fall out if it was trying to do that. maybe your as yet unnamed distro has an additional package like gftp-gtk like ubuntu does.
|
Don't know for other distros, but on fedora the gftp command is a shell wrapper which checks for DISPLAY and launches the gtk or the text version accordingly:
Code:
#!/bin/sh |
ahh, yeah that makes sense. wonder where that actual message would come from then? surely you'd just not have the check in the first place... developers eh?
|
Quote:
Quote:
acid_kewpie said: Quote:
--------------- Steve Stites |
Quote:
Code:
#!/bin/sh Quote:
|
i'd guess at running as root meself.
|
gftp-gtk
When I run gftp-gtk I get the following:
(gftp-gtk:5412): Gtk-WARNING **: cannot open display: Does this shed more light on the problem? Thank you. Bill |
not really, we know that that would be the error if you ran it directly, but you've not confirmed how you are running it to comment further. My money is still on you incorrectly trying to run it as root when you've logged into X with a normal user account, in xhost case "xhost +localhost" will sot you out, but better still, don't run any user applications as root.
|
I am running into the same exact problem. I am running it as user (not root). I hope the log below is clear and answers any of your previous questions.
My system is a Red Hat Fedora: 2.6.27.38-170.2.113.fc10.i686 [alnaumf@fraklinux bin]$ gftp Sorry, gftp-text has been disabled. [alnaumf@fraklinux bin]$ cat ./gftp #!/bin/sh prefix=/usr exec_prefix=/usr if [ "$DISPLAY " != " " ] && [ -f /usr/bin/gftp-gtk ]; then exec /usr/bin/gftp-gtk ${1+"$@"} elif [ -f /usr/bin/gftp-text ]; then exec /usr/bin/gftp-text ${1+"$@"} else echo "Error: Can't find gFTP binaries installed in /usr/bin" fi [alnaumf@fraklinux bin]$ gftp-gtk (gftp-gtk:15738): Gtk-WARNING **: cannot open display: |
please do not hijack dead threads.
|
All times are GMT -5. The time now is 04:59 PM. |