<poq>
i seem to have broken X somehow, after running a sysup
<poq>
no issue on my main computer, but on a laptop /usr/bin/X has disappeared
<poq>
(sorry to come in asking for help straight away, too)
<elderK>
I believe Xorg is the binary?
<poq>
that's what I assumed, nothing shows up for /usr/bin/X with an fsearch
<poq>
i tried symlinking Xorg to X, but none of my input devices work then and I have to do a hard reboot
<elderK>
Are you sure you've installed the correct X ports?
<elderK>
I have no binaries called X. Only Xorg.
<elderK>
As far as I've been aware, Xorg has been the standard for quite some time.
<elderK>
poq: Are you launching X directly or using something like xinit / startx?
<poq>
i use startx, which gives me a 'xinit: unable to run server "/usr/bin/X": No such file or directory'
<poq>
it was working fine until this morning, so i'm assuming i have the correct ports installed. i've rebuilt any i had installed since then but still no luck
<elderK>
You might want to check that all dependencies of the various ports are installed.
<elderK>
Sometimes, you can update a port and it's gained new deps.
<elderK>
I'm looking into why startx is looking for /usr/bin/X - I've never had that issue.
<elderK>
Has your machine been updated from prior Crux versions?
<poq>
revdep gives me xorg-server, so i'll check the deps for that, thank you
<poq>
no, installed straight from 3.6
<poq>
i really appreciate this, thank you
<elderK>
You might want to prt-get -fr update xorg-server
<elderK>
Generally when you update, you'll want to run revdep and rejmerge.
<poq>
hadn't heard of rejmerge, i'll give that a go as well
<poq>
update -fr xorg-server doesn't seem to have worked, manually going and checking dependcies
<elderK>
prt-get -fr update xorg-server
<elderK>
If it didn't work, the question is why and what error you received :)
<poq>
yes sorry, i was just lazy and didn't want to type the whole thing
<poq>
and it worked as in it rebuilt it, but hasn't fixed the issue with startx
<poq>
sorry should have clarified
<elderK>
NP.
<elderK>
Actually: I have the same issue and I didn't notice!
<poq>
oh joy!
dusk_ has joined #crux
Guest93 has joined #crux
<elderK>
Might be worth looking at man startx
<elderK>
xserverrc and such.
<elderK>
I added a file, ~/.xserverrc that execs /usr/bin/Xorg with a few options.
<elderK>
Hopefully the more experienced users can give us a hand :)
poq has quit [Read error: Connection reset by peer]
poq has joined #crux
<elderK>
jaeger: Are we meant to symlink /usr/bin/X to Xorg or something? Or just provide an .xserverrc as I have done?
<poq>
i've never had an .xserverrc, if that's any help, just an .xinitrc
<elderK>
Create one. It will be called to start the X server.
<elderK>
you could either symlink /usr/bin/X to /usr/bin/Xorg
<elderK>
Or you can provide a ~/.xserverrc that starts Xorg.
<elderK>
I've tried the ~/.xserverrc route in case there's a package update that fixes this issue.
<elderK>
poq: I'm afraid I have to run, man. Dinner and stuff :)
<elderK>
Hopefully others will be around soon can help out.
<elderK>
My .xserverrc is very simple:
<elderK>
#!/bin/sh
<elderK>
exec /usr/bin/Xorg "$@" vt$XDG_VTNR
<elderK>
That should get you up and running :)
poq has quit [Read error: Connection reset by peer]
poq has joined #crux
<poq>
that starts it, but no input still
<poq>
progress though! thank you
<dusk_>
anyone have experience with wireguard? I'm trying to setup Mullvad and all the guides you find assume a systemd/networkmanager setup so I'm at a loss at how to make this work
Guest93 has left #crux [#crux]
<elderK>
Hey poq
<elderK>
Try this: startx -- /usr/bin/Xorg
<elderK>
That got it running for me, too.
<elderK>
If in doubt, take a peek at startx's man page.