Remmina - The GTK+ Remote Desktop Client
v1.4.34
Remmina is a remote desktop client written in GTK+, aiming to be useful for system administrators and travellers, who need to work with lots of remote computers in front of either large monitors or tiny netbooks. Remmina supports multiple network protocols in an integrated and consistent user interface. Currently RDP, VNC, NX, XDMCP and SSH are supported.
|
Go to the source code of this file.
Data Structures | |
struct | _RemminaSshSearch |
The SSH plugin implementation. More... | |
struct | _RemminaPluginSshData |
Typedefs | |
typedef struct _RemminaSshSearch | RemminaSshSearch |
The SSH plugin implementation. More... | |
typedef struct _RemminaPluginSshData | RemminaPluginSshData |
Enumerations | |
enum | color_schemes { LINUX , TANGO , GRUVBOX , SOLARIZED_DARK , SOLARIZED_LIGHT , XTERM , CUSTOM } |
Functions | |
static gboolean | remmina_plugin_ssh_on_size_allocate (GtkWidget *widget, GtkAllocation *alloc, RemminaProtocolWidget *gp) |
static gboolean | valid_color (GdkRGBA const *color) |
static gpointer | remmina_plugin_ssh_main_thread (gpointer data) |
Remmina protocol plugin main function. More... | |
void | remmina_plugin_ssh_vte_terminal_set_encoding_and_pty (VteTerminal *terminal, const char *codeset, int master, int slave) |
static gboolean | remmina_plugin_ssh_on_focus_in (GtkWidget *widget, GdkEventFocus *event, RemminaProtocolWidget *gp) |
static void | remmina_plugin_ssh_set_vte_pref (RemminaProtocolWidget *gp) |
void | remmina_plugin_ssh_vte_select_all (GtkMenuItem *menuitem, gpointer vte) |
void | remmina_plugin_ssh_vte_decrease_font (GtkMenuItem *menuitem, gpointer vte) |
void | remmina_plugin_ssh_vte_increase_font (GtkMenuItem *menuitem, gpointer vte) |
void | remmina_plugin_ssh_vte_copy_clipboard (GtkMenuItem *menuitem, gpointer vte) |
void | remmina_plugin_ssh_vte_paste_clipboard (GtkMenuItem *menuitem, gpointer vte) |
void | remmina_plugin_ssh_vte_save_session (GtkMenuItem *menuitem, RemminaProtocolWidget *gp) |
static void | remmina_ssh_keystroke (RemminaProtocolWidget *gp, const guint keystrokes[], const gint keylen) |
Send a keystroke to the plugin window. More... | |
static void | jit_regex (VteRegex *regex, char const *pattern) |
static VteRegex * | compile_regex_for_search (char const *pattern, gboolean caseless, GError **error) |
static void | remmina_search_widget_update_sensitivity (RemminaSshSearch *search_widget) |
static void | remmina_search_widget_update_regex (RemminaPluginSshData *gpdata) |
static void | remmina_search_widget_wrap_around_toggled (GtkToggleButton *button, RemminaPluginSshData *gpdata) |
static void | remmina_search_widget_search_forward (RemminaPluginSshData *gpdata) |
static void | remmina_search_widget_search_backward (RemminaPluginSshData *gpdata) |
GtkWidget * | remmina_plugin_pop_search_new (GtkWidget *relative_to, RemminaProtocolWidget *gp) |
void | remmina_plugin_pop_search (GtkMenuItem *menuitem, RemminaProtocolWidget *gp) |
void | remmina_plugin_ssh_call_sftp (GtkMenuItem *menuitem, RemminaProtocolWidget *gp) |
gboolean | remmina_ssh_plugin_popup_menu (GtkWidget *widget, GdkEvent *event, GtkWidget *menu) |
void | remmina_plugin_ssh_popup_ui (RemminaProtocolWidget *gp) |
Remmina SSH plugin terminal popup menu. More... | |
static void | remmina_plugin_ssh_eof (VteTerminal *vteterminal, RemminaProtocolWidget *gp) |
static gboolean | remmina_plugin_ssh_close_connection (RemminaProtocolWidget *gp) |
static void | remmina_plugin_ssh_init (RemminaProtocolWidget *gp) |
Remmina SSH plugin initialization. More... | |
static gboolean | remmina_plugin_ssh_open_connection (RemminaProtocolWidget *gp) |
Initialize the main window properties and the pthread. More... | |
static gboolean | remmina_plugin_ssh_query_feature (RemminaProtocolWidget *gp, const RemminaProtocolFeature *feature) |
Not used by the plugin. More... | |
static void | remmina_plugin_ssh_call_feature (RemminaProtocolWidget *gp, const RemminaProtocolFeature *feature) |
Functions to call when an entry in the Tool menu in the Remmina Connection Window is clicked. More... | |
static gint | compare (gconstpointer a, gconstpointer b) |
void | remmina_ssh_plugin_load_terminal_palettes (gpointer *ssh_terminal_palette_new) |
void | remmina_ssh_plugin_register (void) |
Variables | |
const GdkRGBA | linux_palette [PALETTE_SIZE] |
16 colour palettes in GdkRGBA format (red, green, blue, alpha). More... | |
const GdkRGBA | tango_palette [PALETTE_SIZE] |
const GdkRGBA | gruvbox_palette [PALETTE_SIZE] |
const GdkRGBA | solarized_dark_palette [PALETTE_SIZE] |
const GdkRGBA | solarized_light_palette [PALETTE_SIZE] |
const GdkRGBA | xterm_palette [PALETTE_SIZE] |
static RemminaPluginService * | remmina_plugin_service = NULL |
static gpointer | ssh_auth [] |
Array of key/value pairs for SSH auth type libssh methods: More... | |
static gpointer | ssh_charset_list [] |
Charset list. More... | |
static gpointer | ssh_terminal_palette [] |
static RemminaProtocolFeature | remmina_plugin_ssh_features [] |
Array for available features. More... | |
static const RemminaProtocolSetting | remmina_ssh_basic_settings [] |
static gchar | log_tips [] |
static const RemminaProtocolSetting | remmina_ssh_advanced_settings [] |
Array of RemminaProtocolSetting for advanced settings. More... | |
static RemminaProtocolPlugin | remmina_plugin_ssh |
SSH Protocol plugin definition and features. More... | |
typedef struct _RemminaPluginSshData RemminaPluginSshData |
typedef struct _RemminaSshSearch RemminaSshSearch |
The SSH plugin implementation.
enum color_schemes |
Enumerator | |
---|---|
LINUX | |
TANGO | |
GRUVBOX | |
SOLARIZED_DARK | |
SOLARIZED_LIGHT | |
XTERM | |
CUSTOM |
Definition at line 81 of file remmina_ssh_plugin.c.
|
static |
Definition at line 1594 of file remmina_ssh_plugin.c.
|
static |
Definition at line 601 of file remmina_ssh_plugin.c.
|
static |
Definition at line 590 of file remmina_ssh_plugin.c.
void remmina_plugin_pop_search | ( | GtkMenuItem * | menuitem, |
RemminaProtocolWidget * | gp | ||
) |
Definition at line 772 of file remmina_ssh_plugin.c.
GtkWidget* remmina_plugin_pop_search_new | ( | GtkWidget * | relative_to, |
RemminaProtocolWidget * | gp | ||
) |
Definition at line 715 of file remmina_ssh_plugin.c.
|
static |
Functions to call when an entry in the Tool menu in the Remmina Connection Window is clicked.
In the Remmina Connection Window toolbar, there is a tool menu, this function is used to call the right function for each entry with its parameters.
At the moment it’s possible to:
Definition at line 1337 of file remmina_ssh_plugin.c.
void remmina_plugin_ssh_call_sftp | ( | GtkMenuItem * | menuitem, |
RemminaProtocolWidget * | gp | ||
) |
Definition at line 792 of file remmina_ssh_plugin.c.
|
static |
Definition at line 902 of file remmina_ssh_plugin.c.
|
static |
Definition at line 876 of file remmina_ssh_plugin.c.
|
static |
Remmina SSH plugin initialization.
This is the main function used to create the widget that will be embedded in the Remmina Connection Window. Initialize the terminal colours based on the user, everything is needed for the terminal window, the terminal session logging and the terminal popup menu.
Definition at line 942 of file remmina_ssh_plugin.c.
|
static |
Remmina protocol plugin main function.
First it starts the SSH tunnel if needed and then the SSH connection.
Definition at line 266 of file remmina_ssh_plugin.c.
|
static |
Definition at line 439 of file remmina_ssh_plugin.c.
|
static |
Definition at line 449 of file remmina_ssh_plugin.c.
|
static |
Initialize the main window properties and the pthread.
The call of this function is a requirement of remmina_protocol_widget_open_connection_real().
Definition at line 1288 of file remmina_ssh_plugin.c.
void remmina_plugin_ssh_popup_ui | ( | RemminaProtocolWidget * | gp | ) |
Remmina SSH plugin terminal popup menu.
This is the context menu that popup when you right click in a terminal window. You can than select, copy, paste text and save the whole buffer to a file. Each menu entry call back the following functions:
Definition at line 827 of file remmina_ssh_plugin.c.
|
static |
|
static |
Definition at line 467 of file remmina_ssh_plugin.c.
void remmina_plugin_ssh_vte_copy_clipboard | ( | GtkMenuItem * | menuitem, |
gpointer | vte | ||
) |
Definition at line 521 of file remmina_ssh_plugin.c.
void remmina_plugin_ssh_vte_decrease_font | ( | GtkMenuItem * | menuitem, |
gpointer | vte | ||
) |
Definition at line 507 of file remmina_ssh_plugin.c.
void remmina_plugin_ssh_vte_increase_font | ( | GtkMenuItem * | menuitem, |
gpointer | vte | ||
) |
Definition at line 514 of file remmina_ssh_plugin.c.
void remmina_plugin_ssh_vte_paste_clipboard | ( | GtkMenuItem * | menuitem, |
gpointer | vte | ||
) |
Definition at line 532 of file remmina_ssh_plugin.c.
void remmina_plugin_ssh_vte_save_session | ( | GtkMenuItem * | menuitem, |
RemminaProtocolWidget * | gp | ||
) |
Definition at line 539 of file remmina_ssh_plugin.c.
void remmina_plugin_ssh_vte_select_all | ( | GtkMenuItem * | menuitem, |
gpointer | vte | ||
) |
Definition at line 499 of file remmina_ssh_plugin.c.
void remmina_plugin_ssh_vte_terminal_set_encoding_and_pty | ( | VteTerminal * | terminal, |
const char * | codeset, | ||
int | master, | ||
int | slave | ||
) |
Definition at line 407 of file remmina_ssh_plugin.c.
|
static |
Definition at line 704 of file remmina_ssh_plugin.c.
|
static |
Definition at line 692 of file remmina_ssh_plugin.c.
|
static |
Definition at line 628 of file remmina_ssh_plugin.c.
|
static |
Definition at line 618 of file remmina_ssh_plugin.c.
|
static |
Definition at line 684 of file remmina_ssh_plugin.c.
|
static |
Send a keystroke to the plugin window.
Definition at line 577 of file remmina_ssh_plugin.c.
void remmina_ssh_plugin_load_terminal_palettes | ( | gpointer * | ssh_terminal_palette_new | ) |
Definition at line 1600 of file remmina_ssh_plugin.c.
gboolean remmina_ssh_plugin_popup_menu | ( | GtkWidget * | widget, |
GdkEvent * | event, | ||
GtkWidget * | menu | ||
) |
Definition at line 799 of file remmina_ssh_plugin.c.
void remmina_ssh_plugin_register | ( | void | ) |
Definition at line 1696 of file remmina_ssh_plugin.c.
|
static |
Definition at line 250 of file remmina_ssh_plugin.c.
const GdkRGBA gruvbox_palette[PALETTE_SIZE] |
Definition at line 125 of file remmina_ssh_plugin.c.
const GdkRGBA linux_palette[PALETTE_SIZE] |
16 colour palettes in GdkRGBA format (red, green, blue, alpha).
Text displayed in the first 8 colours (0-7) is meek (uses thin strokes). Text displayed in the second 8 colours (8-15) is bold (uses thick strokes).
Definition at line 87 of file remmina_ssh_plugin.c.
|
static |
Definition at line 1516 of file remmina_ssh_plugin.c.
|
static |
Definition at line 244 of file remmina_ssh_plugin.c.
|
static |
SSH Protocol plugin definition and features.
Array used to define the SSH Protocol plugin Type, name, description, version Plugin icon, features, initialization and closing functions.
Definition at line 1563 of file remmina_ssh_plugin.c.
|
static |
Array for available features.
The last element of the array must be REMMINA_PROTOCOL_FEATURE_TYPE_END.
Definition at line 1471 of file remmina_ssh_plugin.c.
|
static |
Array of RemminaProtocolSetting for advanced settings.
Definition at line 1537 of file remmina_ssh_plugin.c.
|
static |
Definition at line 1500 of file remmina_ssh_plugin.c.
const GdkRGBA solarized_dark_palette[PALETTE_SIZE] |
Definition at line 144 of file remmina_ssh_plugin.c.
const GdkRGBA solarized_light_palette[PALETTE_SIZE] |
Definition at line 163 of file remmina_ssh_plugin.c.
|
static |
Array of key/value pairs for SSH auth type libssh methods:
#define SSH_AUTH_METHOD_UNKNOWN 0x0000u #define SSH_AUTH_METHOD_NONE 0x0001u #define SSH_AUTH_METHOD_PASSWORD 0x0002u #define SSH_AUTH_METHOD_PUBLICKEY 0x0004u #define SSH_AUTH_METHOD_HOSTBASED 0x0008u #define SSH_AUTH_METHOD_INTERACTIVE 0x0010u #define SSH_AUTH_METHOD_GSSAPI_MIC 0x0020u
Definition at line 1392 of file remmina_ssh_plugin.c.
|
static |
Charset list.
Definition at line 1403 of file remmina_ssh_plugin.c.
|
static |
Definition at line 1455 of file remmina_ssh_plugin.c.
const GdkRGBA tango_palette[PALETTE_SIZE] |
Definition at line 106 of file remmina_ssh_plugin.c.
const GdkRGBA xterm_palette[PALETTE_SIZE] |
Definition at line 182 of file remmina_ssh_plugin.c.