Thanks Mike, I am new to Apache Guacamole. I am learning and implementing features of Guacamole. Whenever I came across any situation where stuff doesn't work I went through the JIRA tickets and forum. If still I doesn't get any help then I find suitable enough to send mail for your help.
I am not aware about how this thread works therefore I put all questions in the same thread. I am really apologize for not being patient. I will definitely try to more patient. I really appreciate for your help and valuable feedback. Thanks and Regards, Amarjeet Singh Punjab, India On Tue, Sep 5, 2017 at 11:03 PM, Mike Jumper <[email protected]> wrote: > On Tue, Sep 5, 2017 at 5:40 AM, Amarjeet Singh <[email protected]> > wrote: > >> ... >> >> 2. I have given *sftp-directory* as /tmp but it is pointing to */ (root) >> directory* always --> *NOT RESOLVED* >> >> The "sftp-directory" parameter does not control the root directory of the >>> SFTP filesystem, but rather the default upload directory for files uploaded >>> via drag-and-drop. From the section covering RDP + SFTP in the manual [1]: >>> "sftp-directory - The directory to upload files to if they are simply >>> dragged and dropped, and thus otherwise lack a specific upload location. >>> This parameter is optional. If omitted, the default upload location of the >>> SSH server providing SFTP will be used." >> >> >> >> -* I am not trying to control the root directory. I have configured >> sftp-directory as /tmp* >> >> <param name="enable-sftp">true</param> >>> <param name="sftp-hostname">162.16.1.25</param> >>> <param name="sftp-port">22</param> >>> <param name="sftp-username">vpnsadmin</param> >>> <param name="sftp-password">123</param> >>> <param name="sftp-directory">/tmp</param> >> >> >> > This will only affect the directory used for uploads by default. It will > not limit access in any way (please see the description above). > > >> >> *- Now, It is not showing /tmp directory in Guacamole menu. Please refer >> the screenshot.* >> >> > > Correct. The "sftp-directory" does not control this. It only affects > drag-and-drop uploads. > > - >> * It is showing / directory as sftp-directory. User is able to access >> all the directories of the SSH server and upload in any directory. I want >> the user to upload only in the directory defined in sftp-directory >> parameter.* >> >> > The "sftp-directory" parameter does not control this. It only controls the > default upload directory for drag-and-drop uploads. Only the > "sftp-root-directory" parameter controls which directory is exposed via > SFTP. > > >> 3. when I configure both *enable-drive* ad *enable-sftp*, then DRAG and >> DROP does not work ( though Guacamole client shows that file is >> transferred successfully ). When I use only enable-drive, then it works >> fine. >> >> > If you enable both traditional drive redirection and SFTP, file transfer > via drag-and-drop will use drive redirection. The upload will go over SFTP > only if that is the only file transfer mechanism enabled, or if you > explicitly upload via SFTP using the Guacamole menu. > > 4. When I am configuring only SFTP transfer , then also drag and drop >> doesn't work ( though Guacamole client shows that file is transferred >> successfully ). >> >> > When transferring via drag-and-drop, the file will be transferred to the > location specified within "sftp-directory" (this is the purpose of that > parameter). Based on the configuration information you've provided, you > should find the uploaded file within /tmp on your Guacamole server. > > 5. Do Guacamole supports virtual channels or dynamic channels ? >> >> > You already have a thread open for this. Rather than duplicating your > question, please be patient. To anyone encountering this thread while > searching for an answer to this question, the original thread is here: > > https://lists.apache.org/thread.html/f9b04626a3c972f7a34003b851739e > c4f31402d05b8f5ed9491105de@%3Cuser.guacamole.apache.org%3E > > 6. I tried to copy image but it didn't worked. I digged into guacamole.js >> where it do support copy of image. >> >> > Guacamole currently only supports copy/paste of plain text. > > Amarjeet - this is an awful lot of questions, some of which do not deal > with the original topic. If you have additional questions which do not > relate to the original subject of the thread (your issues opening the > virtual drive within the RDP session), please open a new thread. > > - Mike > >
