Remmina - The GTK+ Remote Desktop Client
v1.4.2
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 | _RemminaPluginSshData |
The SSH plugin implementation. More... | |
Typedefs | |
typedef struct _RemminaPluginSshData | RemminaPluginSshData |
The SSH plugin implementation. More... | |
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 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_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... | |
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_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_close_connection (RemminaProtocolWidget *gp) |
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 color 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] |
struct { | |
const GdkRGBA * palette | |
} | remminavte |
static RemminaPluginService * | remmina_plugin_service = NULL |
static gpointer | ssh_auth [] |
Array of key/value pairs for SSH auth type. 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 [] |
Array of RemminaProtocolSetting for basic settings. More... | |
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 |
The SSH plugin implementation.
enum color_schemes |
Enumerator | |
---|---|
LINUX | |
TANGO | |
GRUVBOX | |
SOLARIZED_DARK | |
SOLARIZED_LIGHT | |
XTERM | |
CUSTOM |
Definition at line 67 of file remmina_ssh_plugin.c.
|
static |
Definition at line 1103 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 885 of file remmina_ssh_plugin.c.
|
static |
Definition at line 832 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 551 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 221 of file remmina_ssh_plugin.c.
|
static |
Definition at line 350 of file remmina_ssh_plugin.c.
|
static |
Definition at line 360 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 811 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 506 of file remmina_ssh_plugin.c.
|
static |
|
static |
Definition at line 378 of file remmina_ssh_plugin.c.
void remmina_plugin_ssh_vte_copy_clipboard | ( | GtkMenuItem * | menuitem, |
gpointer | vte | ||
) |
Definition at line 411 of file remmina_ssh_plugin.c.
void remmina_plugin_ssh_vte_paste_clipboard | ( | GtkMenuItem * | menuitem, |
gpointer | vte | ||
) |
Definition at line 422 of file remmina_ssh_plugin.c.
void remmina_plugin_ssh_vte_save_session | ( | GtkMenuItem * | menuitem, |
RemminaProtocolWidget * | gp | ||
) |
Definition at line 429 of file remmina_ssh_plugin.c.
void remmina_plugin_ssh_vte_select_all | ( | GtkMenuItem * | menuitem, |
gpointer | vte | ||
) |
Definition at line 403 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 312 of file remmina_ssh_plugin.c.
|
static |
Send a keystroke to the plugin window.
Definition at line 468 of file remmina_ssh_plugin.c.
void remmina_ssh_plugin_load_terminal_palettes | ( | gpointer * | ssh_terminal_palette_new | ) |
Definition at line 1109 of file remmina_ssh_plugin.c.
gboolean remmina_ssh_plugin_popup_menu | ( | GtkWidget * | widget, |
GdkEvent * | event, | ||
GtkWidget * | menu | ||
) |
Definition at line 478 of file remmina_ssh_plugin.c.
void remmina_ssh_plugin_register | ( | void | ) |
Definition at line 1202 of file remmina_ssh_plugin.c.
const GdkRGBA gruvbox_palette[PALETTE_SIZE] |
Definition at line 111 of file remmina_ssh_plugin.c.
const GdkRGBA linux_palette[PALETTE_SIZE] |
16 color palettes in GdkRGBA format (red, green, blue, alpha).
Text displayed in the first 8 colors (0-7) is meek (uses thin strokes). Text displayed in the second 8 colors (8-15) is bold (uses thick strokes).
Definition at line 73 of file remmina_ssh_plugin.c.
|
static |
Definition at line 1029 of file remmina_ssh_plugin.c.
const GdkRGBA* palette |
Definition at line 189 of file remmina_ssh_plugin.c.
|
static |
Definition at line 208 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 1074 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 998 of file remmina_ssh_plugin.c.
|
static |
Array of RemminaProtocolSetting for advanced settings.
Definition at line 1050 of file remmina_ssh_plugin.c.
|
static |
Array of RemminaProtocolSetting for basic settings.
Definition at line 1017 of file remmina_ssh_plugin.c.
struct { ... } remminavte |
const GdkRGBA solarized_dark_palette[PALETTE_SIZE] |
Definition at line 130 of file remmina_ssh_plugin.c.
const GdkRGBA solarized_light_palette[PALETTE_SIZE] |
Definition at line 149 of file remmina_ssh_plugin.c.
|
static |
Array of key/value pairs for SSH auth type.
Definition at line 919 of file remmina_ssh_plugin.c.
|
static |
Charset list.
Definition at line 930 of file remmina_ssh_plugin.c.
|
static |
Definition at line 982 of file remmina_ssh_plugin.c.
const GdkRGBA tango_palette[PALETTE_SIZE] |
Definition at line 92 of file remmina_ssh_plugin.c.
const GdkRGBA xterm_palette[PALETTE_SIZE] |
Definition at line 168 of file remmina_ssh_plugin.c.