29

Is there a way to do a bulk copy or export of all my Remmina connections? I have the option to export one by one, but with 50 connections this seems ridiculous. I tried looking for a connections file, or conf file, or something similar but cannot find anything.

sudo find / -name 'remmina' only returns four results:

/usr/share/menu/remmina
/usr/share/doc/remmina
/usr/bin/remmina
/usr/lib/remmina

...but none of them contain any connection files/entries :(

6
  • You mean like your past connections etc? What format would like the it to be in - is this so you can use remmina with the same data elsewhere?
    – Wilf
    Feb 14 '14 at 20:04
  • 2
    Have you searched your home directory? find /home/USER -iname "*remmina*"
    – chaos
    Feb 14 '14 at 20:08
  • Well, I mean any connections that I've created and saved in the Remmina remote desktop client. The same way you can copy a folder in Windows that contains many .RDP files from one Windows cpu to another, I'm trying to find a way to do that on my Ubuntu 13.10 installations.
    – 00fruX
    Feb 14 '14 at 20:08
  • 1
    Thanks @chaos! I was a victim of hidden files/folders. I found all the .remmina files in my home folder. Happy camper :D
    – 00fruX
    Feb 14 '14 at 20:12
  • 1
    As a tip for the next time: your find command finds only files or dir named exactly remmina. Try find / -iname "*remmina*" or better (faster for these searches for files that do not change a lot) locate -i remmina. HTH. (oops --- missed @chaos comment before --- leave this for locate)
    – Rmano
    Feb 14 '14 at 21:19
34

The files you need should be either in ~/.remmina (the hidden .remmina folder in your home directory) or in ~/.local/share/remmina (for newer versions).

For SSH, the known hosts are stored in ~/.ssh/known_hosts..

All your user settings, preferences, etc for your user are stored in your home directory, as that is the only folder you by default have permissions to access.

5
  • 9
    This doesn't seem to be the case today. I have Remmina 1.2.0 installed and after creating a session, there is no Remmina folder, hidden or not, in my home folder. The Wiki confirms what you're saying but I found them in ~/.local/share/remmina
    – user533063
    May 1 '16 at 0:25
  • I am just now coming back to Ubuntu for another check on it's integrity. I installed Skype a year or two ago (on Ubuntu 12.04 LTS) and it broke my entire OS installation; had to reformat and lose a bunch of data so I've been using Windoh's again ever since with RDP (flawlessly, of course). Hopefully either Remmina or a similar product will work better in Ubuntu 16.04 LTS... cause I'm not a fan of Windoh's, I just use it because it lets me be productive.
    – 00fruX
    May 2 '16 at 18:40
  • Didn't know RDP could be got in windows to work flawlessly (probably just graphics drivers for me :) Anyway, the files are probably there now so it complies with the XDG spec. Also skype and other third party proprietary binary packages will work with Ubuntu etc - just if possible DO NOT use the .run, .tar.gz, tar.bz2 etc packages provided and try and find a package for your distro (.deb file) that works.
    – Wilf
    May 3 '16 at 16:34
  • @00fruX perhaps now Skype has hit 'beta' for linux it may work better theregister.co.uk/2017/03/02/skype_for_linux_reaches_beta :/
    – Wilf
    Apr 10 '17 at 7:16
  • @Wilf, maybe Skype will work. Either way. Just set up a new 16.04 server, finally figured out how to partition/format/mount a new 8 TB drive. Installed webmin, now SSH doesn't let remote connections and webmin itself stopped working. Not using ufw, ssh is running, and listening on 22. Webmin even says running on 10000, and again, no firewall here, but the server responds to nothing. BRB in another 2 years....
    – 00fruX
    Apr 17 '17 at 22:19
8

Installed remmina on Ubuntu 16.04 and had to reinstall Ubuntu after a while because it wasn't running the best. On my first install the location of all the remmina connection files was /home/gm/.local/share/remmina/ folder.

After I reinstalled my new setup of Ubuntu put all the connection files in the same location /home/gm/.local/share/remmina/ and started up remmina I had no connection. After reading this post I created a new connection and seen a new folder created under /home/gm/.remmina/ with that connection, so I copied all my connections into that folder /home/gm/.remmina/.

sudo cp -r /home/gm/.local/share/remmina/* /home/gm/.remmina/

I am just backing up @Wilf

Hope this helps others!

G

0
7

For users of the flatpak build of Remmina, you can find the connection settings at:

~/.var/app/org.remmina.Remmina/data/remmina/
3

For Remmina 1.4.8 on Ubuntu 20.04 LTS the location of Remmina configuration was (for me):

~/snap/remmina/4460/.local/share/remmina

Today, I converted from a PPA install (which is no longer supported after 1.4.8) to a snap install. I copied all files from the old to new location. Other than passwords, it worked well after:

sudo apt remove remmina # uninstalls program, leaves config information files
sudo snap install remmina --edge # install the snap remmina
sudo snap connect remmina:avahi-observe :avahi-observe # servers discovery
sudo snap connect remmina:cups-control :cups-control # printing
sudo snap connect remmina:mount-observe :mount-observe # mount management
sudo snap connect remmina:password-manager-service :password-manager-service # password manager

cp ~/.remmina/* ~/snap/remmina/4460/.local/share/remmina # copy profiles to new location for snap install
2
  • This was helpful for me. Thank you. For me though my old connections were saved in the ~.local/share/remmina directory. I had to copy them all to the ~/snap/remmina/4460/.local/share/remmina directory. Afterwhich I exited and started Remmina again, and they all showed up. Nov 22 '20 at 10:47
  • I used this: cp .remmina/* ~/snap/remmina/current/.local/share/remmina/ Dec 5 '20 at 4:42
2

Backup with: $ cd ~ $ tar -czf remmina_backup.tgz .local/share/remmina/ .config/remmina/ .local/share/keyrings .ssh/


Restore with: $ cd ~ $ tar -xf remmina_backup.tgz


Snap users Backup with: $ cd ~ $ tar -czf remmina_backup.tgz snap/remmina/<version>/.local/share/remmina/ snap/remmina/<version>/.config/remmina/ .local/share/keyrings .ssh/

1
  • Be careful you don't overwrite and lose existing data in .ssh/ and .local/share/keyrings/ during restore. A merge may be required.
    – Scott P.
    Oct 26 '18 at 22:21
0

For Remmina 1.2 on Ubuntu 16.10 LTS the location of Remmina configuration is:

~/snap/remmina/

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.