Giter Club home page Giter Club logo

mremoteng_to_remmina's Introduction

mremoteng_to_remmina

Can be used to convert mremoteng xml backups to remmina files. Handles RDP, SSH, VNC

Doesnt really handle Telnet connections as Remmina doesnt support Telnet . Telnet is possible with Simple terminal but I dont like using telnet and neither should you. Anyways , option is given to convert telnet sessions to ssh sessions while converting.

Please note that mremoteng has a gazillion options per connection. Only options needed for basic connectivity are converted. Rest of them are set to default. Pease check skeleton variables in remmina_mremoteng_convertor.py file.

Mremoteng group structure will be preserved in remmina.

Requirements:

I used python3.8 for development and testing. But it might most probably work with lower python3 versions also. Please do not use python2. Added requirements.txt file with the needed modules. Please use 'python3 -m pip install -r requirements.txt' to install the needed modules.

You would need a couple of keys for decrypting mremoteng passwords and encrypting remmina password.

Remmina secret: Ideally located in ~/.config/remmina/remmina.pref file. This file location might change depending on how you installed remmina. You can probably do a 'find / -iname remmina.pref 2>/dev/null' to search in all the folders. In this file, there will be a field called secret=xxxxxxxxxx. The xxxxxxxxx would be the remmina key.

Mremoteng secret: Optional. Defaulted to "mR3m"

Originally written for my personal usage. Sharing here as it might help others. Might not address all scenarios but hopefully script will get you started.

Usage:

remmina_mremoteng_convertor.py -f mremoteng_backup.xml -rk remmina_key -mk mremoteng_key

script will create a folder called 'remmina_converted' and stores all the newly created remmina files in this. Copy these files into the remmina data folder where all the session files are stored. This path is ideally '~/.local/share/remmina/'. This folder location might change depending on how you installed remmina. Please check https://gitlab.com/Remmina/Remmina/-/issues/2178 for more info. Or else you can open remmina, go to preferences -> options -> Remmina data folder. Copy the converted files to this folder and restart remmina. Converted session files should show up.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.