How to run Linux Remmina from the terminal?
Solution 1:
You have to create a remmina config file to specify connection parameters.
[el@rosewill bin ]$ remmina -?
Usage:
remmina [OPTION...] - The GTK+ Remote Desktop Client
Help Options:
-h, --help Show help options
Application Options:
-a, --about Show about dialog
-c, --connect=F Connect to a .remmina file F
-e, --edit=F Edit a .remmina file F
-n, --new Create a new connection profile
-p, --pref Show preference dialog
-x, --plugin=P Execute plugin P
-q, --quit Quit the application
-s, --server=S Use default server name S
-t, --protocol=T Use default protocol T
-i, --icon Start as tray icon
Create a remmina configuration file
- Run the command
remmina
from a user and press the button to "create a new desktop file". - Set up that configuration file so you can connect to it through the GUI.
- Save it and quit.
- Look in your user directory. In my case
/home/el/.remmina/
inside there you will find asomething.remmina
file. That is your configuration file. -
From the terminal, execute this:
remmina -c /home/el/.remmina/1375746771949.remmina
That should have brought up your desktop connection.
Contents of my configuration file:
[remmina]
disableclipboard=0
ssh_auth=0
clientname=
quality=0
ssh_charset=
ssh_privatekey=
console=0
resolution=1800x900
group=
password=supersecretpassword==
name=HostNameZeusCannon
ssh_loopback=0
shareprinter=0
ssh_username=
ssh_server=
security=
protocol=RDP
execpath=
sound=off
exec=
ssh_enabled=0
[email protected]
sharefolder=
domain=
server=192.168.13.106
colordepth=32
window_maximize=0
window_height=967
viewmode=1
window_width=1812
~
Then I can create a little bash script that calls it up:
remmina -c /home/el/.remmina/1375746771949.remmina
Then hook it onto my desktop so it brings up the other screen on a button click.