Disabling local cursor when using Guacamole VNC - vnc

I'm using Guacamole VNC web client viewer and I want to hide the local browser cursor, because otherwise you see two cursors and it is confusing.
I can hide the browser mouse using simple style: cursor:none;
But this is not so good because when some connection exception occurs, I need the browser mouse in order to close the error window etc.
Any solution?

What you want is to hide the remote cursor not the local one. The VNC protocol allows you to hide the remote cursor. Most VNC clients support this. For example, in noVNC (a HTML5 VNC client) there is a "Local Cursor" option to hide the remote cursor so that you only see one cursor.
Unfortunatley, you can't do this right now in Guacamole. There is a long standing bug in Guacamole to add this support: http://guac-dev.org/trac/ticket/33
Update: the option has been fixed in Guacamole.

Related

Script solution for tabs in bash wanted

i'm in search for a solution for the following situation:
I am working for a customer who only allows accessing the linux servers
by putty (from a Windows Terminal Server).
Unfortunately i need multiple Session to work properly and effective.
Tmux and Screen are not a good option for me, because i need a visual
"tab" to keep track of all the stuff im doing.
Is this even possible or am i lost here?
Best regards.
MremoteNG does tabs and uses Putty (Putty comes with it). If you have RDP or console access to Windows server, you can upload MremoteNG portable.
Perfectly possible in screen: How to open tabs windows in GNU screen – DevSolar
Perfectly solved my problem! Thanks DevSolar!
If you're using PuTTY, you can simply open two sessions at once. Open your first session, then right-click on the PuTTY icon in your taskbar, click "PuTTY" from the context menu, and it'll open a new instance of the program. Unfortunately, this won't result in a second tab, but instead it will result in a second window and you can swap back and forth between windows.
Other SSH clients do have actual tabs as a feature - one example is MobaXTerm, which is free and doesn't require admin privileges to use on your computer, and which is indeed tabbed. It can also import your existing PuTTY configurations, so setting it up is pretty quick.
You can get this application that allows you to have mulptiple tabs in putty. you dont need to "install" it so your lack of permissions wont be an issue :
http://ttyplus.com/multi-tabbed-putty/
Regarding your auth issue, I would recommend read this :
https://www.digitalocean.com/community/tutorials/how-to-set-up-ssh-keys--2
Note - Dont worry about being lost, everybody learns at different speeds.
Regards!

How to open terminal from browser in mac?

I want to open a terminal window from browser. The web application displays an ssh command and ssh password for logging into some server.
I want this command to be pasted into a terminal window with a button click in the webpage. Anyone has any idea about how we can do this?
For security reasons you cannot open arbitrary applications from a webpage.
So, you are left with few options:
Ask them to open a terminal window, copy the text by a button click to their clipboard and ask them to paste it at required place. See here https://stackoverflow.com/a/30810322/2328165
If users are novice and all machines are under your control (newbies at training institute, where being proficient in opening a terminal is not required), you can write a custom protocol handler with a command and a validating parameter for something like term:uri-encoded-command&secret=some-hash and install them. Be careful though, might be a risk.
Use websocket based VNC/SSH such as https://github.com/aluzzardi/wssh
Coming late to this thread.
Safari and OSX support:
ssh://username#10.0.0.1
style URIs so that you can create links that launch terminal. These are simple and clean.
At the moment this seems to work for IPv4 addresses, names that resolve to IPv4 or IPv6 addresses, but there doesn't seem to be support for naked IPv6 addresses. If anyone knows the magic runes for the IPv6 It'd be great to know.

Kiosk Mode - Browser Full Screen - Restrict everything else except the opened window

I am working on asp.net application which is used in one specific machine. On launching this website, the website will be opened in full screen. Now, I should restrict user to use only this window. I should not allow user to open any window, app, anything else by keyboard, mouse.
Please help me in designing this.
Thanks,
Fayaz
Some trial and error helped me. Posting here so that would be helpful for who are looking for same...
Quoting from http://www.pcmag.com/article2/0,2817,1858713,00.asp
You can lock down these subversive key combinations using restrictions in the Registry. Launch RegEdit from the Start menu's Run dialog; navigate to HKEY_LOCAL_MACHINE\SOFTWARE\
Policies\Microsoft Internet Explorer\Restrictions; and find or create each of the following DWORD values, setting its data to 1 to enable the restriction:
NoBrowserClose (disables closing the browser window)
NoBrowserContextMenu (disables right-click context menu)
NoFileOpen (disables use of Ctrl-O or Ctrl-L to launch an arbitrary URL)
NoOpenInNewWnd (disables opening a link in a new window via Ctrl-N or Shift-click)
And below url helps in blocking other functionality
http://blogs.technet.com/b/askpfeplat/archive/2013/10/28/how-to-setup-assigned-access-in-windows-8-1-kiosk-mode.aspx

Disable global hotkeys for window

I am making RDP GUI for myself and i would like all key combinations handled by RDP session. I use freerdp for handling RDP stuff, it has handy flag where i specify winId() of qt widged to embed RDP window to. Everything works except for few keys. For example window key still opens menu on host, not start menu in RDP session. Also alt-f2 opens gnome start screen instead of performing bound action in application inside RDP session. Is it possible to somehow make all key combinations to be handled only by embedded RDP window and not xserver?
I have tried following (Xlib/python):
window.change_attributes(do_not_propagate_mask=X.KeyPress | X.KeyRelease)
However that does not seem to change anything. I also tried disabling key events in qt without much luck. Truth to be told i do not know exactly if this has to be done at qt or X level. Any help would be greatly appreciated.

Ubuntu linux server wont let me scroll/page up

Everything on my server works perfectly through ssh, using putty. However on both putty and even directly on the servers keyboard I cant page/scroll up using shift+page up. It goes up about half a page then automatically goes back to the bottom where the flashing text entry cursor is.
Using SSH, the system automatically scrolls down. To review the text view the server log in pico.

Resources