[SOLVED] xmonad on virtualbox guest does not work

I'm trying to install xmonad on an arch guest in virtualbox.
I'm referencing both the Beginner's Guide and the VirtualBox doc. The beginner's guide says to install X a different way and points the virtualbox guide, which doesn't mention X.
So here's what I do:
$ pacman -S xorg-server xorg-xinit xorg-utils xorg-server-utils virtualbox-archlinux-additions mesa
$ modprobe -a vboxguest vboxsf vboxvideo
Looking online, I get the impression that virtualbox-archlinux-additions includes a video driver, so I don't install one (not sure which driver would work anyways).
After installing "xorg-twm xorg-xclock xterm dbus" startx works. However, when I exit, the output says something about pixman: 0.24.0 and complains
(EE) Failed to load module "vesa" (module does not exist, 0)
(EE) Failed to load module "fbdev" (module does not exist, 0)
(EE) AIGLX error: vboxvideo does not export required DRI extension
(EE) AIGLX: reverting to software rendering
(EE) VirtualBox USB Tablet: failed to initialize for relative axes
xinit: connection to X server lost
There is no default ~/.xinitrc (it does not exist)
I then install xmonad and xmonad-contrib. There is no default ~/.xmonad/xmonad.hs
I then do
$ cp /etc/skel/.xinitrc .
Then I append "xmonad" (I also tried exec xmonad) and run "startx" and I get a black screen that hangs. I can't quit the environment, so I'm forced to close the virtual machine. Adding ~/.xmonad/xmonad.hs doesn't help either.
Can someone tell me what's going on? Am I missing a video driver?
Last edited by whotemp (2011-12-09 07:02:46)

Hmm, so I now get:
$ xmonad
xmonad-i386-linux: user error (openDisplay)
with
$ cat ~/.xmonad/xmonad.hs
import XMonad
main = xmonad $ defaultConfig

Similar Messages

  • Time capsule Wifi (for guest) does not work

    Using the last model of airport time capsule, i faced an issue with the guest wifi. I see the guest wifi on the available wifi list, then i digit the password (system accept it) but i cannot abtain any connection. I tried several time by making several set up (also without protection) but the connection does not work. Only the main wifi is working well (i mean the wifi without any restriction..used by administrator). Someone could help me? thx Marco

    The TC must be in router mode.. if it is in bridge even though it looks like guest network is available and even though Apple says it now works.. it doesn't.

  • Virtualbox: Compositing does not work, compiz crashes

    So, here's my problem:
    After installing a fresh Arch Linux, the first thing I did was install Xorg and Virtualbox guest modules. After doing all that, and running Xfce, it worked just fine... except there was no compositing.
    When I installed Compiz and tried to run it, it just crashed, closing every program and just leaving me with the wallpaper, forcing me to killall X
    Is there a way to fix this? I don't have a xorg.conf file in /etc/X11, and xorg :0 -configure gives me the error "No output drivers"

    sq10,
    You have now bumped this thread twice.  Our Policy addresses this.  Please read it.
    These forums are very active.  If no one jumps in with help or, at least, a suggestion, it should be a clear indication you have not done a good job of forming a question.  Rather than empty bumps, which will likely just yield the same mil results, give us more information. Tell us what you have read. Tell us what you have learned in your own self study of the problem.
    Thanks.

  • [SOLVED] Warcraft 3 (with Wine) does not work in Arch

    Okay. I played a lot Warcraft III The Frozen Throne with Wine in Ubuntu. When I started to use Arch, of course I wanted to continue playing.
    But, when I started the game for the first time it gets into main screen (with 800x600 resolution, it is default when you start the game for the first time, my xorg.conf supports it) but freezes after about 2 secs. And I have to kill X. But now it even does not start (it changes resolution from 1920x1200 to 800x600, but does not continue)! I'm using KDE4.1 - is this somehow related to nVidia driver bug (I'm using nVidia GeForce 8800 Ultra)?
    Arch 64bit KDE4.1
    Wine 1.1.3 (installed with this, but also tested this - same problem)
    WC3 patched 1.22 - installed MS Visual C 2005 Runtimes in order to get it work (see http://appdb.winehq.org/objectManager.p … n&iId=3126 )
    I'm running the game from NTFS partition.
    Edit: Tested with emulated desktop. Problem remains.
    Edit2: Solved problem with 32bit Arch. Works like a charm!
    Last edited by Exitium (2008-10-07 19:04:01)

    moljac024 wrote:If you're a hardcore gamer then I'll just advise you to keep Windows installed for your gaming needs. There's nothing wrong with dual-booting for that
    I have (nLited) WinXP for games. But WC3 works fine with Wine, that's why I want to play it with Linux. It's faster just click a shortcut without rebooting.
    Rokixz wrote:The best solution for Hardgamers is to buy a xbox360
    I don't prefer consoles. And FPS games (which I play most) are crap on consoles.
    Dheart wrote:Now that I think of...
    Let me guess: You are using hardware acceleration set to "Emulation" and Driver emulation with alsa.
    For some reason WarCraft III doesn't like those (Hardware acceleration in particular...) Set Hardware acceleration to Basic or Full and the game will launch...
    It's set to "Full". And as I said, game launches but freezes after a few secs. But music continues even if a screen is frozen.
    Last edited by Exitium (2008-09-06 10:49:29)

  • CHROME is not compatible. Problem Solved: PayPal's new interface does not work with CHROME.

    I've been trying to withdraw funds for days on my Chrome browser.  I was about to throw my laptop out of the 3rd story window when I thought to try Firefox and it worked. I pray that someone in programming reads this.  Note to Developers:  PLEASE don't do major interface overhauls if your site is funcitonal. I have never seen a site get better after an upgrade. We don't care if PayPal looks hip. We want it to be a reliable tool for our businesses. 

    Yes... BUT there is large "Chrome" oriented large yellow note at the top of your accounts page that says ... this site uses Silverlight which will soon not be supported...  So if you are using Chrome what are you doing when they remove Silverlight support?  RSVP to my email on my account please. or... Post a note of yours that tells all of us what you recommend... go back to IE? 

  • [SOLVED] After qemu update: KVM does not work anymore

    Hi,
    I used to use qemu-kvm, as in
    qemu-kvm \
    -net nic,vlan=1 -net user,vlan=1 \
    -drive file=/home/flash-vm/hdd0,if=virtio,cache=writethrough \
    -vga std -vnc localhost:2 -usbdevice tablet \
    -m 1024
    However, now qemu-kvm has been removed. If I replace "qemu-kvm" with "qemu-system-x86_64" and try to run it with an extra argument  "-machine accel=kvm" or "-enable-kvm", what I get is
    Could not access KVM kernel module: Permission denied
    failed to initialize KVM: Permission denied
    The kernel modules are there:
    # lsmod | grep kvm
    kvm_intel 124064 0
    kvm 384721 1 kvm_intel
    and the processor is
    $ lscpu
    Architecture: x86_64
    CPU op-mode(s): 32-bit, 64-bit
    Byte Order: Little Endian
    CPU(s): 4
    On-line CPU(s) list: 0-3
    Thread(s) per core: 2
    Core(s) per socket: 2
    Socket(s): 1
    NUMA node(s): 1
    Vendor ID: GenuineIntel
    CPU family: 6
    Model: 37
    Stepping: 5
    CPU MHz: 1197.000
    BogoMIPS: 5321.24
    Virtualization: VT-x
    L1d cache: 32K
    L1i cache: 32K
    L2 cache: 256K
    L3 cache: 3072K
    NUMA node0 CPU(s): 0-3
    I have added my user to the group kvm as well, as instructed by pacman. Any help would be much appreciated!
    Last edited by ffcitatos (2013-03-07 06:47:06)

    Interestingly, mine worked without being in the new group. However, I think that's because I hadn't logged out since the update, so the session didn't know that I had been removed from the group. Though I could be missing something.

  • [SOLVED] set columns in vim does not work

    I would like to set the window size of my vim to 95 when working with markdown files, so put
    set columns=95
    into an autosourced file when opening Markdown files. Unfortunately this has no effect and when I look at
    set columns?
    the window size is still 179 characters long.
    When I try to do
    set columns=95
    with vim already open, vim very shortly resizes the text/window, but after a second return to the original size which is 179 character (screen width)
    I tried ot figure out if it is a problem of my .vimrc by temporaliy working with a new empty .vimrc but the problem remains the same. I tried it out in another terminal emulator, but the problem remains the same. I tried it out logged in as root user before starting the XServer and here it worked as expected. So my gues is it has to do or with a X setting or with my window manager or with my shell.
    I am using i3, urxvt and zsh in the context where it didn't work and the Arch install default setting in the context where it works. Still I have no clue what causes the problem.
    Last edited by cutuchiqueno (2013-12-05 12:18:36)

    x33a wrote:I believe you'll need to float urxvt in i3 to do that.
    Thanks, I haven't thought of that possibility and it works. Although what I wanted to achieve is not possible with this solution though I found the Vimroom plugin which did the job, so thanks again.

  • [SOLVED] Mounting /tmp as tmpfs does not work?

    Hi,
    running arch since a few days now, and began a bit of tweaking.
    I read, mounting the /tmp dir as a tmpfs adding the following line to my /etc/fstab should slightly increase performance. (plus removing the old /tmp mount rule)
    none /tmp tmpfs nodev,nosuid,noatime,size=1000M,mode=1777 0 0
    I have conky running showing my ram usage. Shouldn't the numbers increase if I copy something to the /tmp directory? I copied a large file to the dir. but nothing happened to the ram usage.
    Thank you in advance, Peter
    Last edited by phoenigs (2010-09-05 19:08:20)

    Hi again,
    Here the outputs of the two commands:
    [peter@phlap|~]$ mount
    proc on /proc type proc (rw,relatime)
    sys on /sys type sysfs (rw,relatime)
    udev on /dev type devtmpfs (rw,nosuid,relatime,size=10240k,nr_inodes=493581,mode=755)
    /dev/disk/by-uuid/4afd9796-b899-47a8-a4e0-04d70209a635 on / type ext4 (rw,relatime,barrier=1,data=ordered)
    devpts on /dev/pts type devpts (rw)
    shm on /dev/shm type tmpfs (rw,nosuid,nodev)
    /dev/sda4 on /home type ext4 (rw)
    /dev/sda1 on /boot type ext2 (rw)
    none on /tmp type tmpfs (rw,nosuid,nodev,noatime,size=1000M,mode=1777)
    [peter@phlap|~]$ df -h
    Filesystem Size Used Avail Use% Mounted on
    udev 10M 208K 9.8M 3% /dev
    /dev/disk/by-uuid/4afd9796-b899-47a8-a4e0-04d70209a635
    39G 3.4G 34G 10% /
    shm 1.9G 2.1M 1.9G 1% /dev/shm
    /dev/sda4 104G 1.1G 98G 2% /home
    /dev/sda1 99M 16M 79M 17% /boot
    none 1000M 661M 340M 67% /tmp
    (I know the / partition is chosen a bit too large)
    But here is another output:
    [peter@phlap|tmp]$ free -m
    total used free shared buffers cached
    Mem: 3858 1965 1892 0 28 1605
    -/+ buffers/cache: 330 3527
    Swap: 4502 0 4502
    As you can see, the mounting works properly. I have copied a 600mb file to /tmp, and it still says 330mb free ram. Or does the tmpfs count as "cached"?
    I just want the "proof" that my /tmp directory is in the ram now
    Last edited by phoenigs (2010-09-04 22:54:13)

  • Have just down loaded Yosemite over Mountain Lion, Indesign CS5 does not work ( Am dependant on it) although Bridge , Light Room and Elements operate OK How do I solve this rapidly. Can any one help on this issue. Thanks

    Have just down loaded Yosemite over Mountain Lion, Indesign CS5 does not work ( Am dependant on it) although Bridge , Light Room and Elements operate OK How do I solve this rapidly. Can any one help on this issue. Thanks

    Sorry to say it, but I think you can see from Bob's response that there's no way to solve this rapidly.
    Did you take an image of your Mountain Lion install before upgrading to Yosemite? Roll back to that. If you're not in the habit of taking a snapshot of your system before performing operating system upgrades - get in that habit. If you are dependent on anything at all on hour computer, having a reliable backup method in place is essential. If you don't have a Time Capsule, or some other way to run Time Machine onto a disk that's not in your computer, go set that up yesterday.
    If you can't just remove Yosemite and roll back to Mountain Lion for whatever reason, you can partition your drive so that you can install both Yosemite and Mountain Lion on the same drive, and then boot into Mountain Lion when you need to work in CS5. Or you can take your Mountain Lion disc (I assume you have one, no?) and then use it to create a virtual machine in something like VirtualBox to run Mountain Lion from inside Yosemite.

  • Solved rEFInd does not work after update

    Hello.
    Today, I updated rEFInd with yaourt.
    After the update, I copied the new files in /boot/efi.
    I rebooted and now rEFInd does not work.
    The only message I got is:
    rEFInd - Initializing
    After 2-3 minutes, the computer reboots and I got the same error message.
    To boot, I had to use the UEFI shell.
    First of all, is there a log file for rEFInd?
    It is not easy at all to debug it when we don't have any error messages.
    After that, I did the procedure to install rEFInd in /boot/efi twice without any success.
    Do you know what to do to solve my problem?
    Thanks for your help.
    Last edited by antoyo (2012-11-07 23:29:55)

    @antoyo: The old one is compiled using gnu-efi-libs, the new one is compiled using Tianocore UDK2010.
    Full package: http://dl.dropbox.com/u/9710721/refind- … pkg.tar.xz
    Src package: http://dl.dropbox.com/u/9710721/refind- … src.tar.gz (will compile only in x86_64 system)

  • I am trying to allow guests on windows to connect to shares on my Lion server but it keeps asking for a password for guest. I have allow guest users to access this share enabled but it still does not work.

    I am trying to allow guests on windows to connect to shares on my Lion server but it keeps asking for a password for guest. I have allow guest users to access this share enabled but it still does not work.

    Ditto. Guest accounts shouldn't have a password. No way to enter one in System Prefs...

  • I want to disable or remove Game center from my iphone. It's always pop up during i play hay day game. So i can not solve this problem. Any way i try to log in game center my several Apple id account but it does' not work. I am still stuck in log in page

    I want to disable or remove Game center from my iphone. It's always pop up during i play hay day game. So i can not solve this problem. Any way i try to log in game center my several Apple id account but it does' not work. I am still stuck in log in page

    The Game Center app is pre installed and cannot be removed from the device.
    Best thing to do is move it to the last available screen.
    Hold down the Game Center app until all the apps jiggle then sliide the Game Center app to the right from one screen to the next. This requires a bit of finesse, but it's doable.
    Press the Home button one time to stop the apps from jiggling.
    For the Apple ID issue, try resetting.
    Tap Settings > General > Reset > Reset All Settings
    Then try your Apple ID and password for the Game Center app.

  • Fire FTP does not work with Firesfox 4. It worked OK with version 3. How can I get a New Fire FTP? Last version of FTP does not solve the problem

    Fire FTP does not work with Firesfox 4. It worked OK with version 3. How can I get a New Fire FTP? Last version of FTP does not solve the problem

    I need to know if it's 64-bit or 32-bit.
    If it's 64-bit, try copying the mms.cfg file from C:\WINDOWS\syswow64\Macromed\Flash to C:\WINDOWS\system32\Macromed\Flash

  • My laptops QWERTY row of keys does not work for long periods at random intervals and only after pushing all the buttons on the row does it eventually turn back on and then will still cut out every now and again, anyone know how to solve this?

    My laptops QWERTY row of keys does not work for long periods at random intervals and only after pushing all the buttons on the row does it eventually turn back on and then will still cut out every now and again, anyone know how to solve this? If not is there any way to actually get a genuis appointment lol to get one of them to have a look at the hardware on the keyboard?

    Apple Support (formerly ExpressLane):
    https://getsupport.apple.com/GetproductgroupList.do
    https://getsupport.apple.com/GetSASO?SG=SG001&locale=en_US

  • I upgraded Safari in my Mac (10.6.8 Leopard) but the new version does not work with my system so that I now have not a working browser. How can I solve the problem and/or install back my previous Safari version?

    I have upgraded Safari in my Mac, but the new Safari does not work with my system. So I find myself without any working browser. How can I solve this problem and/or install my previous Safari version?

    Reinstall Safari 5.1.10 for OS X 10.6.8: http://support.apple.com/kb/dl1569. Might do the trick.
    But, frankly, I don't think that simply reinstalling the old Safari will work because of all the peripheral, under the hood changes that happen when you upgrade from one version of Safari to another. Reinstalling 5.1.10 may be insufficient to turn back the clock. (This is the moment where a Time Machine or another form of full backup would save your bacon.)
    While you're getting a copy of Safari 5.1.10, get a copy of Firefox (https://www.mozilla.org/en-US/firefox/desktop/), too, so that you have an alternate browser to use as you're sorting matters.

Maybe you are looking for

  • Error: Definition mx.core:RSLData could not be found.

    When i try to run this command : "mxmlc -static-link-runtime-shared-libraries=true -debug=true -load-config=C:\TestFlex4\flex-config1.xml -output=C:\TestFlex4\web\test1.swf c:\TestFlex4\web\test1.mxml" The follwing error stach trace shown: C:\TestFle

  • How would I create a screen with links after a person logs into their computer?

    I have been asked to create a custom welcome screen that would load after a person logs into their computer . This screen is to have links to a couple of items. but I need this to show after they log in and before they see their desktop. How do I do

  • Error wrt Ref Cursor.

    Hi all, I have a package, and I am using the ref Cursor in my procedure. Here it is ..... CREATE OR REPLACE PACKAGE BLABLA_PKG AS TYPE OUT_CURSOR IS REF CURSOR; PROCEDURE BLABLA_VIEW_PROCEDURE (BUS_ID IN VARCHAR2, XML_OUTPUT_CURSOR OUT OUT_CURSOR); E

  • Failed to start server domain and process scheduler in the App/Batch VM

    Hi, after the modification of /etc/tnsnames.ora in the App/Batch VM : [psadm2@psovmab LOGS]$ more /etc/tnsnames.ora H91TMPLT= (DESCRIPTION= (ADDRESS_LIST= (ADDRESS=(PROTOCOL=TCP)(HOST=192.168.1.133)(PORT=1521))) (CONNECT_DATA=(SERVER=DEDICATED)(SERVI

  • Collaboration Room in Top Level Navigation

    Hello, We want to link directly from the Top Level Navigation to a collaboration room, and not have to go via the collaboration room navigator. I know about the direct URL to a room but preferable I would want to navigate to an iView that kicks of th