Skip to content

i3wm doesnt start after type startx

1 / 2
Not downloaded yet
Not downloaded yet

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.

0 points17 comments
Open on Reddit
About this post
Posted
Archived
Edited
Score
0 · 100% up
Kind
Gallery · 2 files
ID
btlu6m

Author

1
posts
9
comments
2
media
View profile

17 comments

I have installed arch on virtualbox by following luke smith's video.

There's your problem.

12 points

Use the Arch Linux installation guide! Why would you install from some guys YouTube video? He won’t cover the specifics for your system.

10 points

Try starting it up with this command instead:

startx i3

If 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 startx and 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.

2 points

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

1 points

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.log say 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.

1 points

I had a similar problem. Apparently, I was missing something from xorg 'cos installing the whole package group fixed it.

1 points

I also tried installing whole xorg instead of just xorg-server but still not fixed

1 points

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.

1 points
unknown author

Deleted before we saved it.

1 points

Can't you simply read what it show on your screen? In home dir create .Xauthority file

-3 points

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

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

←or→
Previous / next file
↑or↓
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.