You are not logged in.
hi!
this is not my first time I try to install arch under virtualbox, and the results I get are the same.
Installation was pretty obvious: installed arch, added user to lp,wheel,games,video,audio,optical,storage,scanner,power,users groups, installed xorg (all group), installed virtualbox-guest-utils, added vboxvideo vboxsf and vboxguest to /etc/modules-load.d/virtualbox.conf. Also installed mesa and xf86-video-vesa.
Then I edited .xinitrc and added there /usr/bin/VboxClient-all line.
In result, when I try to launch X by typing startx, desktop changes resolution to a bigger one, then blank screen and the resolution changes back to previous, displaying the following:
If I try to launch any de (like bspwm or xfce4) I het a message saying "Can't open the default display".
The weirdest part is that if i change user to root, I can startx and the ugly twm will start, but if I try to launch de, I get the same error message.
Now, what have I missed during the installation which in result gives me what I get?
Thank you.
Offline
Hi,
If you use startx, and twm appears , X is launched by /etc/X11/xinit/xinitrc. This the test-screen to see if your video-driver is working.
The good news is, the video-driver seems to work. The bad is that your .xinitrc is being ignored.
After copying .xinitrc from /etc/skel/ to your /home/<user>/ directory did you change the permissions?
EDIT: fixed stupid typo.
Last edited by henk (2013-10-19 15:04:47)
Offline
Hi,
If you use startx, and twm appears , X is launched by /etc/X11/xinit/xinitrc. This the test-screen to see if your video-driver is working.
The good news is, the video-driver seems to work. The bad is that your .xinitrc is being ignored.
After copying .xinitrc from /etc/skel/ to your /home/<user>/ directory did you change the permissions?EDIT: fixed stupid typo.
well, the permissions on the files can be seen below:
and they seems to be ok, right?
And btw, I didn't copy .xinitrc to my ~, it was there already.
Last edited by MrQuest (2013-10-19 17:24:21)
Offline
I'm a complete noob so I probably don't know what I'm saying but the last line in .xinitrc should be "exec *command to start your DE or whatever*" I think. Maybe you forgot the exec and that causes the problem?
Offline
Please post your actual .xinitrc. The output in your screenshots indicates that X exited normally, without error. In other words, nothing went wrong, it did what it was told to do, you just likely have not told it to do what you want.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Please post your actual .xinitrc. The output in your screenshots indicates that X exited normally, without error. In other words, nothing went wrong, it did what it was told to do, you just likely have not told it to do what you want.
good thing is that i actually installed xfce4 and uncommented the corresponding line in the .xinitrc and the xfce4 launced successfully. Maybe I was frustrated because under root I got something, and under user - failures.
The bad thing is that when I want now to launch bspwm with the following .xinitrc
I get a completely black screen with no response
Offline
Remove the exec from the VBox line. Then read `man exec`.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline