Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sudo umake android studio returns dconf: Cannot spawn a message bus when setuid #456

Closed
yehia67 opened this issue Jun 14, 2017 · 11 comments
Closed

Comments

@yehia67
Copy link

yehia67 commented Jun 14, 2017

after installing Android studio using this command sudo umake android android-studio it give me that error dconf-WARNING **: failed to commit changes to dconf: Cannot spawn a message bus when setuid

@yehia67 yehia67 changed the title after installing Android studio using this command sudo umake android android-studio after installing Android studio using this command sudo umake android android-studio it give me that error dconf-WARNING **: failed to commit changes to dconf: Cannot spawn a message bus when setuid Jun 14, 2017
@LyzardKing
Copy link
Collaborator

Please read the issue guidelines and do not type the whole issue in the title!
That said, I'd say the issue is that you're running umake with sudo.
Try running "umake android android-studio"

@yehia67
Copy link
Author

yehia67 commented Jun 15, 2017

sorry i am new in open source and programming,,, i wrote the following command in the terminal to install android studio $ sudo umake android-studio, after the installation is done the terminal give me that error dconf-WARNING **: failed to commit changes to dconf: Cannot spawn a message bus when setuid.

@LyzardKing
Copy link
Collaborator

No problem, it's just that the title is really long and the body of the issue contains only the template.
Do you need to install in a system directory? If you don't you can just run without sudo (the "intended" way)

@LyzardKing LyzardKing changed the title after installing Android studio using this command sudo umake android android-studio it give me that error dconf-WARNING **: failed to commit changes to dconf: Cannot spawn a message bus when setuid sudo umake android studio returns dconf: Cannot spawn a message bus when setuid Jun 15, 2017
@LyzardKing
Copy link
Collaborator

I changed the title and copied the error message in the body of the issue, if something is wrong let me know.
What version of umake are you running (run umake --version)

@yehia67
Copy link
Author

yehia67 commented Jun 15, 2017

17.03

@LyzardKing
Copy link
Collaborator

Did you try installing without sudo? or do you need android-studio to be in a system directory?

@LyzardKing
Copy link
Collaborator

If you do you can try this, but I'm not sure it'll work: #79 (comment)

umake is mainly meant to install in the user directory (without sudo)

@yehia67
Copy link
Author

yehia67 commented Jun 15, 2017

i need it to be in system directory

@LyzardKing
Copy link
Collaborator

The issue might be that it can't switch user when it needs to install the requirements...
You could try and install them manually, then try again.
The requirements are:
"openjdk-7-jdk or openjdk-8-jdk", "libncurses5:i386", "libstdc++6:i386", "zlib1g:i386"
Sorry, I'm not sure what the solution is.
If you try these let me know

@LyzardKing
Copy link
Collaborator

@yehia67 Any updates?

@LyzardKing
Copy link
Collaborator

LyzardKing commented Oct 12, 2017

Closing.
Please open if this needs more work.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants