user64745: I have an electrum 2FA wallet. 
When I list my addresses I get a list of around 30 addresses. (commnand below)
electrum -w /path/to/my/wallet/file/default1 listaddresses

Then I use the below command to obtain private keys from a particular address:
electrum getprivatekeys -w /path/to/my/wallet/file/default1 "myaddress"

Which private key is the one that I should get, so that I can import it to bitcoin-qt wallet? Is this even the right approach?
I tried first two of mentioned 27 addresses but none of them worked.
UPDATE:
Also when I export my master private key from electrum:
electrum getmasterprivate -w /home/path/to/my/wallet

However, I get Invalid private key encoding (code -5) error from bitcoin-qt when trying to import my master private key.( into bitcoin gold core wallet)
UPDATE 2:
I tried to get private keys from all (27)addresses and then run this command to import them all:
importprivkey  L3285rshf9LgkMfaNogEARoJpGhGVMMKd1dQgRgrtGd7EQ8F4qW '' false
importprivkey  L3285rshf9LgkMfaNogEARoJpGhGVMMKd1dQgRgrtGd7EQ8F4qW '' false
importprivkey  L3285rshf9LgkMfaNogEARoJpGhGVMMKd1dQgRgrtGd7EQ8F4qW '' true

output of command was 'null', yet my coins were not imported. Balance is still zero.

user64745: here is very detailed tutorial on how to salvage your bitcoin gold coins from 2FA electrum wallet.

64745: <p>I have an electrum 2FA wallet. </p>

<p>When I list my addresses I get a list of around 30 addresses. (commnand below)</p>

<pre><code>electrum -w /path/to/my/wallet/file/default1 listaddresses
</code></pre>

<p>Then I use the below command to obtain private keys from a particular address:</p>

<pre><code>electrum getprivatekeys -w /path/to/my/wallet/file/default1 "myaddress"
</code></pre>

<p>Which private key is the one that I should get, so that I can import it to bitcoin-qt wallet? Is this even the right approach?</p>

<p>I tried first two of mentioned 27 addresses but none of them worked.</p>

<p>UPDATE:</p>

<p>Also when I export my master private key from electrum:</p>

<pre><code>electrum getmasterprivate -w /home/path/to/my/wallet
</code></pre>

<p>However, I get <strong>Invalid private key encoding (code -5)</strong> error from bitcoin-qt when trying to import my master private key.( into bitcoin gold core wallet)</p>

<p>UPDATE 2:</p>

<p>I tried to get private keys from all (27)addresses and then run this command to import them all:</p>

<pre><code>importprivkey  L3285rshf9LgkMfaNogEARoJpGhGVMMKd1dQgRgrtGd7EQ8F4qW '' false
importprivkey  L3285rshf9LgkMfaNogEARoJpGhGVMMKd1dQgRgrtGd7EQ8F4qW '' false
importprivkey  L3285rshf9LgkMfaNogEARoJpGhGVMMKd1dQgRgrtGd7EQ8F4qW '' true
</code></pre>

<p>output of command was 'null', yet my coins were not imported. Balance is still zero.</p>
 64745: <p><a href="https://bitcointalk.org/index.php?topic=2424484.0" rel="nofollow noreferrer">here</a> is very detailed tutorial on how to salvage your bitcoin gold coins from 2FA electrum wallet.</p>
