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

Target not found: ttf_dejavu #120

Open
NoahVlncrt opened this issue Jun 29, 2016 · 6 comments
Open

Target not found: ttf_dejavu #120

NoahVlncrt opened this issue Jun 29, 2016 · 6 comments

Comments

@NoahVlncrt
Copy link

Not sure why or what's going on i'm following all the instructions and am using the florida mirror. Has anyone else had this problem?

@NoahVlncrt
Copy link
Author

Okay i've made some progress turns out all the font files are named ttf-dejavu without and underscore is there anyway to fix this? @elkangaroo

@elkangaroo
Copy link

Thanks for your report, Noah. From your email I got that you are on an ARM chromebook.
What's the exact command you run for installing chroagh (crouton), including the targets and mirror?

I don't see any of the fonts with underscore in the code, I wonder why it wants to install 'em that way?!

@NoahVlncrt
Copy link
Author

I know it's driving me nuts I can't figure it out either. I spent some time trying to tinker with the files had no success. Anyway here is my installation command!

sudo sh -e installer/main.sh -r arch -t xfce -m 'http://fl.us.mirror.archlinuxarm.org/armv7h/$repo'

that looks correct so i'm not sure what it going on. If we can work together and fix this it would be awesome :D

@elkangaroo
Copy link

I think I found something in target xorg (which is a requirement for your target xfce):

Can you please try to change line https://github.com/elkangaroo/chroagh/blob/master/targets/xorg#L194
install arch=ttf_dejavu into install arch=ttf-dejavu and see if that installs?

@NoahVlncrt
Copy link
Author

Okay all is good I have made the changes on my branch and guess what???? It installs which is fine and dandy. I can run sudo enter-chroot and that works! I run into problems when I try to run the desktop. On running sudo startxfce4 I get the following error

Entering /mnt/stateful_partition/crouton/chroots/arch...
chown: invalid user: 'messagebus:messagebus'
/usr/bin/startxfce4: Starting X server

/usr/lib/xorg-server/Xorg.wrap: Only console users are allowed to run the X server
/usr/bin/xinit: giving up
/usr/bin/xinit: unable to connect to X server: Connection refused
/usr/bin/xinit: server error
Unmounting /mnt/stateful_partition/crouton/chroots/arch...

@elkangaroo
Copy link

elkangaroo commented Jul 7, 2016

Good to hear the change fixes the install on your chromebook 👍

As for the error starting X (xorg-server): I got the same error on a x86_64 chromebook with a current arch mirror and I did not find a solution yet.
As far as I know, the root cause are the changes in xorg-server 1.16 (rootless X), that why it should work if you find an old mirror with an xorg-server < 1.16, but I don't know if there are any for Arch ARM.

I already spend several days trying to fix this for current versions of xorg-server, but my knowledge there is limited and I did not get it to work yet :(

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