1 | MindTerm FAQ
|
---|
2 | ------------
|
---|
3 | Q1) I can't get the tunnels to work in the applet, what's wrong?
|
---|
4 | A1) Only if you are running a signed applet, or otherwise have disabled the
|
---|
5 | security restrictions the browser/appletviewer puts on applets can you use
|
---|
6 | tunnels.
|
---|
7 |
|
---|
8 | Q2) I can't connect to the host 'hostname1' from the applet (though I can
|
---|
9 | connect to 'hostname2' which incidentally is the same host as the web-server
|
---|
10 | serving the applet).
|
---|
11 | A2) Only if you are running a signed applet, or otherwise have disabled the
|
---|
12 | security restrictions the browser/appletviewer puts on applets can you connect
|
---|
13 | to arbirtrary hosts from it.
|
---|
14 |
|
---|
15 | Q3) I can't run the applet in Netscape on my Macintosh, what's wrong?
|
---|
16 | A3) The Netscape on Macintosh does not contain a complete java 1.1.x runtime,
|
---|
17 | you will have to use the MRJ runtime (found here: http://www.apple.com/java/)
|
---|
18 | and use it as a plugin (see README). Or you can use Internet Explorer for the
|
---|
19 | Macintosh.
|
---|
20 |
|
---|
21 | Q4) I just get "Applet mindbright.application.MindTerm class
|
---|
22 | mindbright.application.MindTerm could not be loaded", what am I doing wrong?
|
---|
23 | A4) This can depend on many things, for example:
|
---|
24 | o You are running from an outdated browser which does not contain a complete
|
---|
25 | java 1.1.x runtime (e.g. Netscape v4.05 or less)
|
---|
26 | o See "A3"
|
---|
27 | o You have installed a html-page containing an APPLET tag referring a
|
---|
28 | jar-file that does not exist (tag: "<applet archive="mindtermfull.jar"
|
---|
29 | ..." should thus have a file mindtermfull.jar in the doc-root of the
|
---|
30 | web-server)
|
---|
31 | o There is some class missing in the jar-file that have been accidentally
|
---|
32 | removed, check the java-console in the browser to see which class it tries
|
---|
33 | to load. If it says it can't load a class that is apparently allready in
|
---|
34 | the jar-file, try enabling more output in the java-console of the browser
|
---|
35 | to see if it gives more hints.
|
---|
36 | o You are running the signed binary which is specifically compiled for
|
---|
37 | Netscape browsers
|
---|
38 |
|
---|
39 | Q5) When I start the applet in Netscape under Linux the terminal-window get's
|
---|
40 | displaced off the screen so I can't see the window-title.
|
---|
41 | A5) This seems to be a bug in the Netscape java-runtime in Linux. Workaround:
|
---|
42 | don't enable "Window position" in dialog "Terminal Settings" in menu Settings,
|
---|
43 | also don't give a window-position in the 'gm' parameter either.
|
---|
44 |
|
---|
45 | Q6) I would like the tunnels I define to be used when reconnecting to the same
|
---|
46 | ssh-server again.
|
---|
47 | A6) This is done automatically by default. If you disable "Auto Save Settings"
|
---|
48 | and/or "Auto Load Settings", you must save and/or load settings manually though.
|
---|
49 |
|
---|
50 | Q7) When I load the signed applet it can still not connect to any host and I'm
|
---|
51 | not able to use tunnels in it.
|
---|
52 | A7) When a signed applet is loaded that was previously loaded as a non-signed
|
---|
53 | applet in the same instance of the browser, the browser seems to "remember" that
|
---|
54 | it was previously unsigned and don't give it the right permissions. Workaround:
|
---|
55 | close the browser and restart it.
|
---|
56 |
|
---|
57 | Q8) I can't get the ftp-tunneling to work, what's wrong?
|
---|
58 | A8) Have you created the tunnel with an ftp-plugin? In the "Basic Tunnels
|
---|
59 | Setup", select protocol "ftp" when creating it, the tunnel should show up in the
|
---|
60 | text-area with the label "Current local tunnels" and should have the string
|
---|
61 | "(plugin: ftp)" in the end of the description-string in this text-area. Other
|
---|
62 | things to check for is of course that the given server really has a ftpd
|
---|
63 | running.
|
---|
64 |
|
---|
65 | Q9) I am trying to use a ftp-client through a ftp-tunnel with "ftp PORT
|
---|
66 | commands" enabled but it does not seem to work.
|
---|
67 | A9) First of all, proxying ftp PORT-commands is not recomended, if at all
|
---|
68 | possible use a client which supports "passive mode" ftp, most do. If that is not
|
---|
69 | possible, check that the "Real sshd address" in the "SSH Settings" dialog is the
|
---|
70 | ip-address (not hostname) of the machine running the sshd, this will not
|
---|
71 | necessarily be the case if the sshd is running behind a firewall which is doing
|
---|
72 | address-translations.
|
---|
73 |
|
---|
74 | Q10) After I have disconnected from the ssh-server and reconnect the last
|
---|
75 | session seems not to have closed properly, i.e. a file seems locked or some
|
---|
76 | such.
|
---|
77 | A10) The preferred way to disconnect from the ssh-server is to simply logout
|
---|
78 | from the shell or exit the application running as a single-command, otherwise
|
---|
79 | the ssh-server might keep the session open causing this behaviour. The logout
|
---|
80 | procedure can not be done automatically by MindTerm since the way to do it
|
---|
81 | varies between situations/platforms.
|
---|
82 |
|
---|
83 | Q11) What does the "Send keep-alive" option do? Are ssh-connections timed-out?
|
---|
84 | A11) It just sends a message (which is ignored by the ssh-server) on the given
|
---|
85 | interval (in seconds). This will keep the connection alive both if there is an
|
---|
86 | idle-timeout set on the ssh-server and if "something" inbetween the client and
|
---|
87 | the server is timing out (such as a address-translating firewall).
|
---|
88 |
|
---|
89 | Q12) I'm trying to tunnel X-connections but it does not seem to work, what's
|
---|
90 | wrong?
|
---|
91 | A12) By default X-tunneling is turned off in MindTerm (unlike e.g. the
|
---|
92 | "standard" unix-ssh-client). Enable it in the "SSH Settings" dialog, also
|
---|
93 | assure that the X-server on the MindTerm side answers on the given DISPLAY
|
---|
94 | (e.g. if "Local X11-display" is set to localhost:0 then the X-server should
|
---|
95 | listen on port 6000 on the same machine as MindTerm is running on).
|
---|
96 |
|
---|
97 | Q13) Why is there a "Basic.." and an "Advanced..." tunnels dialog? And what are
|
---|
98 | remote tunnels anyway?
|
---|
99 | A13) Normally one would only want to set up simple local tunnels, such as to use
|
---|
100 | imap, smtp etc. on the ssh-server or another server behind it. An advanced user
|
---|
101 | though might need to set up tunnels going back to the machine running MindTerm,
|
---|
102 | those are referred to as remote tunnels.
|
---|
103 |
|
---|
104 | Q14) I created my RSA-identity but I still can't log in to the ssh-server with
|
---|
105 | it, it says "Server refused our key", why would he want to do that?
|
---|
106 | A14) Did you read all the instructions in the text-box in the "Create RSA
|
---|
107 | Identity" dialog? (hint: put the contents of the identity.pub file into the
|
---|
108 | file ~/.ssh/authorized_keys on the ssh-server).
|
---|
109 |
|
---|
110 | Q15) I don't seem to get a menu-bar in the applet eventhough I wanted to, what's
|
---|
111 | wrong?
|
---|
112 | A15) When running inside the browser-window (i.e. as opposed to in a separate
|
---|
113 | frame), it is not possible to have a menu-bar. This is a limitation of java and
|
---|
114 | can not (easily) be fixed.
|
---|
115 |
|
---|
116 | Q16) The terminal seems to have quirks, such as giving reverse video, strange
|
---|
117 | looking output or wrong settings in general, what's causing this?
|
---|
118 | A16) There could be a mismatch between the terminal setting in the shell on the
|
---|
119 | server and in MindTerm, the ssh-server should e.g. set the TERM environment
|
---|
120 | variable to the right string upon login, but sometimes it gets set to something
|
---|
121 | else by login-scripts etc. Check that the TERM environment variable is really
|
---|
122 | set to the same as the "Terminal type" in the "Terminal Settings" dialog in
|
---|
123 | MindTerm. Another possibility is of course that MindTerm has a bug, in which
|
---|
124 | case I would be glad if you gave an as detailed report as possible of
|
---|
125 | what/when/how/where this happened. A third possibility is that the
|
---|
126 | terminal-libraries on the server is either buggy or does not think the same
|
---|
127 | about the terminal mode used as MindTerm try with different terminal modes to
|
---|
128 | see what happens.
|
---|
129 |
|
---|
130 | Q17) Backspace/Delete does not seem to work, what's wrong?
|
---|
131 | A17) Backspace (and Delete) can be sent using different ascii-codes, try
|
---|
132 | changing what is sent with the "Backspace sends Delete" and vice versa in the
|
---|
133 | "Terminal Misc..." dialog. (see also Q16)
|
---|
134 |
|
---|
135 | Q18) I get strange terminal behaviour with a ssh-server running Digital Unix,
|
---|
136 | what's wrong? (e.g. scrolling does not seem to work within VI)
|
---|
137 | A18) There seems to be something wrong with using terminal mode vt100 on Digital
|
---|
138 | Unix, if possible use another terminal mode. Also see Q17.
|
---|
139 |
|
---|
140 | Q19) When MindTerm is started in Netscape on Linux the window resizes and then
|
---|
141 | it seems to hang?
|
---|
142 | A19) It has not hung, it just lost keyboard focus, there seems to be something
|
---|
143 | strange with the focus-handling here, click terminal to get focus back.
|
---|
144 |
|
---|
145 | Q20) When adding tunnels, what's the deal, it functions the same whether I'm
|
---|
146 | connected or not?
|
---|
147 | A20) When not connected, adding a tunnel just adds it to the current
|
---|
148 | settings. If you add it while connected it is also opened and fully operational
|
---|
149 | as soon as you have added it.
|
---|
150 |
|
---|
151 | Q21) I have a tunnel configured, it shows up in Basic/Advanced tunnel-dialogs
|
---|
152 | but the current connections dialog is empty, where did it go?
|
---|
153 | A21) The current connections dialog just shows open connections through the
|
---|
154 | tunnels, not the tunnels themselves.
|
---|
155 |
|
---|
156 | Q22) The clipboard does not seem to work, I can only copy/paste within
|
---|
157 | MindTerm, what's wrong?
|
---|
158 | A22) There are two explanations here:
|
---|
159 | o When running as an unsigned applet MindTerm do not have access
|
---|
160 | to the system-clipboard but instead uses its own "local"
|
---|
161 | clipboard instead
|
---|
162 | o The java runtime does not support copy/paste to/from the system-
|
---|
163 | clipboard. This is the case in Netscape on Linux for example.
|
---|
164 |
|
---|
165 | Q23) I configure a tunnel when running MindTerm in Netscape, the tunnel is added
|
---|
166 | without errors yet it is not there, why is this?
|
---|
167 | A23) There seems to be a bug in the java-runtime in Netscape that makes the
|
---|
168 | socket call successful eventhough it should have thrown an exception.
|
---|
169 |
|
---|
170 | Q24) When I do a really long directory-listing or 'cat' a large file MindTerm
|
---|
171 | hangs for a while and then it only shows the end of the listing/file, huh?
|
---|
172 | A24) With some java-runtimes there is a thread-scheduling lag that starves the
|
---|
173 | updating thread while sending lot's of text to the terminal having the
|
---|
174 | effect that the window don't get updated until all of the text is sent to
|
---|
175 | the terminal. The whole text has been written to the terminal though most
|
---|
176 | of it has scrolled off the screen without showing. Look in the scrollback
|
---|
177 | buffer for it.
|
---|
178 |
|
---|
179 | Q25) When I do "select all" MindTerm hangs, what sort of a feature is that!?
|
---|
180 | A25) It does not hang, it just takes a very long time, be patient. Actually what
|
---|
181 | really takes time is to copy the selected area, if you disable the "VT Option"
|
---|
182 | "Copy On Select" it is much quicker.
|
---|
183 |
|
---|
184 | Q26) I try to run a single command but MindTerm just exits, why?
|
---|
185 | A26) When running a single command with MindTerm (as with the unix ssh-client),
|
---|
186 | you have to allocate a PTY if you are going to run a command that uses other
|
---|
187 | than a dumb tty (this is done with command-line option '-forcpty true' or as an
|
---|
188 | applet parameter as: '<param name=forcpty value="true">'. Note, when running a
|
---|
189 | single command Mindterm will typically exit immediately if the command is not
|
---|
190 | found.
|
---|
191 |
|
---|
192 | Q27) I try to run MindTerm as an applet in Opera, is Opera not supported?
|
---|
193 | A27) I have now tried Opera version 3.61 (on win32) with Sun java-plugin v1.1.3
|
---|
194 | (go to http://www.opera.com/support/instplug.htm#java to get it) and it can run
|
---|
195 | MindTerm without problems. This is only tested with win32 (Linux version of
|
---|
196 | Opera does not support plugins yet). (NOTE: with Opera you don't need to use a
|
---|
197 | plugin-specific html-page it uses the normal APPLET tags for launching the
|
---|
198 | plugin).
|
---|
199 |
|
---|
200 | Q28) I don't see a -C flag equivalent for doing compression, is it not
|
---|
201 | supported?
|
---|
202 | A28) The java.util.zip package contains the code to do this, however the right
|
---|
203 | (native) interface is not exposed so it can't be used with ssh right now (hence
|
---|
204 | it is not supported in MindTerm). Doing it in pure java is too painful IMHO. A
|
---|
205 | feature-request (id: 4255743) is submitted to Javasoft so maybe in the (far?)
|
---|
206 | future this can be implemented.
|
---|
207 |
|
---|
208 | Q29) When I use MindTerm in Netscape on Linux with black background the popup-menu
|
---|
209 | can't be used since it's black-on-black, how can I fix this?
|
---|
210 | A29) There is a bug in Netscape on Linux making the popup inherit the black
|
---|
211 | background from the main-window while keeping the text black . I don't know how
|
---|
212 | to fix this.
|
---|
213 |
|
---|
214 | Workaround (from D Roland Walker <[email protected]>):
|
---|
215 | netscape -xrm "netscape*drawingArea*canvas.canvas.XmMenuShell*XmRowColumn*foreground:lightgray"
|
---|
216 | OR
|
---|
217 | Make it permanent by adding the following to your ~/.Xdefaults file:
|
---|
218 | netscape*drawingArea*canvas.canvas.XmMenuShell*XmRowColumn*foreground:lightgray"
|
---|
219 | Note that you may have to substitute "netscape" with one of the following:
|
---|
220 | Netscape
|
---|
221 | netscape-communicator
|
---|
222 | netscape-navigator
|
---|
223 |
|
---|
224 | Q30) When I use MindTerm on Internet Explorer or standalone with Microsoft's
|
---|
225 | jview JVM (e.g. version 4.79.2435) I get a tiny/unusable window and the message
|
---|
226 | in the console: BorderLayout: cannot add to layout: unknown constraint: null
|
---|
227 | A30) Ok, this seems to be a bug (I can't think of anything else) in the jview of
|
---|
228 | certain versions. Try upgrading to a newever jview (found at
|
---|
229 | http://www.microsoft.com/java/)
|
---|
230 |
|
---|
231 | Q31) I'm trying to transfer to/from a (local) file which have spaces in it's
|
---|
232 | name with the SCP File Transfer but it fails!
|
---|
233 | A31) README 4.1.9: ...if a name contains a space enclose it in quotes like: "a
|
---|
234 | file with spaces"...
|
---|
235 |
|
---|
236 | Q32) When starting MindTerm as an applet in Internet Explorer all I get is a
|
---|
237 | minimal window which is empty when I enlarge it, and nothing seems to work.
|
---|
238 | A32) This was due to a bug in the Microsoft JVM (jview), it was fixed in
|
---|
239 | MindTerm v1.2pre1 and later. It occurred in version "4.0 Release 4.79.0.2424" of
|
---|
240 | jview.
|
---|
241 |
|
---|
242 | Q33) On linux when using ibm-jdk1.1.8 or jdk117v3 I can't get a tilde on swedish
|
---|
243 | (international) keyboard!
|
---|
244 | A33) This seems to be a bug in the keyhandling code of these jdk's
|
---|
245 |
|
---|
246 | Q34) I get an error when connecting saying "Address already in use", why's that?
|
---|
247 |
|
---|
248 | A34) This occurs because the same tunnels Due to how sockets behave it might be needed to exit the JVM to
|
---|
249 | release sockets properly.
|
---|