source: other-projects/trunk/gs3-release-maker/tasks/sshtaskdef/src/mindbright/FAQ@ 14627

Last change on this file since 14627 was 14627, checked in by oranfry, 17 years ago

initial import of the gs3-release-maker

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