Installing BitMessage issue

Hi Cottonwoodhill

Sorry for the double post but I think I figured out why you are not able to find ~/PyBitmessage/src/bitmessagemain.py. However I will need conformation from you.

Did you run all the commands from the BitMessage install instructions from a root promt ( e.g. root@host: ) ? If so, I think this is your problem. When I followed the instructions exactly as they are written in the the wiki, everything went smothly. When I ran the install commands logged on as root@host; then exited to user@host and ran the command ~/PyBitmessage/src/bitmessagemain.py . I get this output:

user@host:~$ ~/PyBitmessage/src/bitmessagemain.py
bash: /home/user/PyBitmessage/src/bitmessagemain.py: No such file or directory

If this is the problem the resolution would be to follow the instructions exactly as they are printed. If you are using Non-Qubes Whonix it is recommended that you use VM Snapshots for the security benefits but also if you make a mistake you can revert back to a prior mistake-free VM image.

Related:

I’ve noticed in your other posts that you frequently run commands as root. The Whonix wiki documentation doesn’t instruct users to log on as root user( root@host ) all that often and only for very specific tasks. In the wiki sudo is used instead. The reason is twofold:

  1. Running fewer commands as root increases security. Logging in as root (root@host promt ) runs all commands as root, A regular user (user@host promt) only runs commands as root if sudo is used. ( Note: the security benefits of using sudo are disputed by some)

  2. Using sudo and having to type in a password only when you want root privileges helps prevent system wide accidents like removing your / filesystem or important protected directories (/etc, /bin, /lib ..... )

It should be noted you can do damage even when not using root privileges ( i.e. sudo )

Somethings can’t easily be fixed but using Snapshots and making regular backups can be a lifesaver!!

4 Likes