You are not logged in.

#1 2014-12-04 05:23:31

maxmackie
Member
From: Ottawa, Canada
Registered: 2012-05-13
Posts: 6
Website

[solved] startx fails after installing Arch as a virtualbox guest

I followed the instructions here: https://wiki.archlinux.org/index.php/Vi … nux_guests

However, when I type "startx", my window resizes, goes black for a split second, then goes back to being small and drops me back to the command line.

Here's a screenshot of what I get after that happens: http://imgur.com/a0KscTv

Something which seems odd is that I don't have an /etc/rc.d directory.

Last edited by maxmackie (2014-12-04 13:37:39)

Offline

#2 2014-12-04 06:28:25

Kopkins
Member
Registered: 2012-07-01
Posts: 189

Re: [solved] startx fails after installing Arch as a virtualbox guest

Did you put anything in your .xinitrc file?

Arch linux uses systemd so you shouldn't have an rc.d directory.

Last edited by Kopkins (2014-12-04 06:29:07)

Offline

#3 2014-12-04 08:07:31

Resauce
Member
Registered: 2014-11-26
Posts: 20

Re: [solved] startx fails after installing Arch as a virtualbox guest

what desktop environment are you using?

Offline

#4 2014-12-04 13:35:08

maxmackie
Member
From: Ottawa, Canada
Registered: 2012-05-13
Posts: 6
Website

Re: [solved] startx fails after installing Arch as a virtualbox guest

The only .xinitrc file on the system is the default one in /etc/skel.

I'm trying to use dwm. I've already compiled it to ~/dwm but running "exec dwm" just gives me a new login prompt.

Got it!

I copied over the .xinitrc file and added "exec dwm" to it. Thanks!

Last edited by maxmackie (2014-12-04 13:37:13)

Offline

#5 2014-12-04 13:37:27

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 29,797
Website

Re: [solved] startx fails after installing Arch as a virtualbox guest

mod note: Moved to newbie corner.

@maxmackie, all the information you need is in the wiki page you claim to have read (or in pages linked directly from it).  Please follow those instructions more carefully.  This page might help: https://wiki.archlinux.org/index.php/Xinit


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

Board footer

Powered by FluxBB