You are not logged in.
Hi!
I'm trying to create a 2GB NTFS encrypted volume but when he ask me to enter the user or admin pass, after I click in Format(and get 100% format done), I get the following error message:
Bad file descriptor
VeraCrypt::CoreService::StartElevated:517
And then i get back to the previous screen, the Volume Format screen.
I'm running Veracrypt as user. I tried both user and admin pass and didn't work. I added this line in my visudo I don't know if this information is helpful for you: "claudio ALL=(ALL) ALL".
How can i fix that?
Last edited by claudiogc (2017-09-29 16:51:11)
Offline
Please see this thread:
https://sourceforge.net/p/veracrypt/dis … /f8dbb975/
Does that resolve the issue?
...also, please consider removing that line from your "sudoers" file! Especially if you don't need it, or if you don't know what it does...
EDIT: I copied the relevant information here, for reference:
The error was due to Linux not being able to find the localhost machine name. It was fixed by modifying "/etc/hosts".
Last edited by drcouzelis (2017-09-26 12:56:59)
Offline
So, i've read that before create this thread. The problem is I don't know what to change in there.
Here the content of /etc/hosts.
#
# /etc/hosts: static lookup table for host names
##<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost
::1 localhost.localdomain localhost# End of file
please consider removing that line from your "sudoers" file! Especially if you don't need it, or if you don't know what it does
I want to give all su permitions to my user. Only I use this notebook.
Offline
What is the name of your computer, in "/etc/hostname"? If my computer was named "scoobydoo" then I would make this change:
#
# /etc/hosts: static lookup table for host names
#
#<ip-address> <hostname.domain.org> <hostname>
127.0.0.1 localhost.localdomain localhost scoobydoo
::1 localhost.localdomain localhost scoobydoo
# End of file
Does that allow you to use VeraCrypt?
Last edited by drcouzelis (2017-09-27 12:39:55)
Offline
Unfortunately did'nt work.
I've read an interesting thing here:
http://veracrypt2.rssing.com/chan-19067 … _p202.html
This happens only when I call veracrypt as a normal user and Veracrypt asks through graphical sudo for a password. When this happens, there appear two sudo processes. When it displays mentioned error, one process is shown as defunct. AFter I click OK, both processes disappear. When I run veracrypt with sudo before the actual command, there is no problem. Another thing I discovered is, that this happens whenever you start a new terminal session, so it is not true that it happens only first time after starting up the computer.
So, started it with sudo and it worked fine! Then i installed gksu and tried to run it through gksu and worked fine too.
I would like to know if is there any security problem running Veracrypt through gksu because I read I shouldn't start GUI programs as super user.
Offline