i3wm doesnt start after type startx
I have installed arch on virtualbox by following luke smith's video. I also make new user, edit sudoers via visudo, relogin with new user, install xorg-server, xorg-xinit, and i3-gaps by following another luke smith's video. I also have put exec i3 on new and blank ~/.xinitrc file (he write it like that in his video so I assumed this file should be on user's home).
after type startx and hit enter, this happen, and stuck forever.
I have tried :
- put shebang on ~/.xinitrc file
- copy xinitrc from /etc/X11/xinit/xinitrc to my home, comment last 5 lines, and add exec i3
- installed xf86-video-vesa driver (since I'm on VB, i guess)
- EDIT : I also tried startx /usr/bin/i3
so far still failed to start i3. any suggestions ?
EDIT 2 :
I successfully install arch by following the guide from wiki instead of from luke's video but this problem still persist.
EDIT 3 (june 01 2019) :
I tried installing arch again in virtualbox with 1 difference, I change graphic controller from VMSVGA to VboxVGA, type startx, it launch i3, but it look like this.
EDIT 4 :
problem solved guys. after EDIT 3, I just install xorg instead of just xorg-server
thanks to everyone that have replied
Edited 1 Jun 2019. We only hold this version.
About this post
- Posted
- Archived
- Edited
- Score
- 0 · 100% up
- Kind
- Gallery · 2 files
- ID
- btlu6m
17 comments
There's your problem.
Use the Arch Linux installation guide! Why would you install from some guys YouTube video? He won’t cover the specifics for your system.
Try starting it up with this command instead:
startx i3If it doesn't, then try deleting ~/.xinitrc and anything else that would be starting i3, so your X server would start dry with absolutely nothing, then run
startxand see what will happen.If it does the same thing, then this has nothing to do with i3 and your X server is goofed up.
If it fills the screen with black only with the mouse pointer to move around, X server is allright and something else is the culprit.
I tried
startx i3, doesnt help.then I tried deleting .xinitrc, it doesnt freeze like in the pic but shortly after that xorg start terminating itself, and back to shell
I also tried installing xorg-twm, xorg-xclock, and xterm (these 3 package are executed in original /etc/X11/xinit/xinitrc file) and same problem happens as before
This is correct behavior, as far as I know - launching X without any configuration files results in it starting and then closing down shortly after. From that I assume X is actually running well, but is simply not outputting to your display.
When it freezes, can you send CTRL+ALT+F2 to the VM and see if it goes to TTY2 successfully?
If so, does the log file mentioned in the screenshot at
/home/elhafiedz/.local/share/xorg/Xorg.0.logsay anything interesting?I'm thinking of you looking at the logs while the borked X server is running, so that you'd be able to know exactly what is the latest message(s).
Also, have you tried tinkering with VirtualBox's GPU settings? Maybe there's some fancy switch that would cause it to work.
I had a similar problem. Apparently, I was missing something from
xorg'cos installing the whole package group fixed it.I also tried installing whole xorg instead of just xorg-server but still not fixed
In a new tty (ctr/+alt+F2) run
cat /var/log/xini.0.log(I forget the exact path but it's around there or in a folder called X11). It will tell you the actual error that prevents the display from starting.Deleted before we saved it.
Hey did you fix this? I have the same error. I found what I think is the same bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1662057#c7
Have you installed the xf86-video-vesa package?
yes I have
Luke Smith might be part of your problem.
Can't you simply read what it show on your screen? In home dir create .Xauthority file
after reboot and do startx again those 2 line are not there anymore but the problem still persist. I check in my home and there is .Xauthority file which is not there the first time I boot fresh
1st and 2nd line on printscreen you posted...