faild to open session

Discussions about using Linux guests in VirtualBox.
Post Reply
omerbsh
Posts: 4
Joined: 4. Jul 2011, 17:14
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: fedora 14

faild to open session

Post by omerbsh »

i try to run win xp on my fedora 14(and 15) and its dump me an error message..
what i need to do?
look my screen shoot:
the screen shot
the screen shot
j.jpg (102.71 KiB) Viewed 1795 times
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: faild to open session

Post by Perryg »

Did you do what the message states to do?
omerbsh
Posts: 4
Joined: 4. Jul 2011, 17:14
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: fedora 14

Re: faild to open session

Post by omerbsh »

what to install? and how?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: faild to open session

Post by Perryg »

Do you know how to run commands on your Fedora Host?
The top message is telling you what to do.

In a terminal as root run: /etc/init.d/vboxdrv setup
omerbsh
Posts: 4
Joined: 4. Jul 2011, 17:14
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: fedora 14

Re: faild to open session

Post by omerbsh »

this is what i get in the console

Code: Select all

[root@localhost log]# /etc/init.d/vboxdrv setup
Stopping VirtualBox kernel modules                         [  OK  ]
Uninstalling old VirtualBox DKMS kernel modules            [  OK  ]
Trying to register the VirtualBox kernel modules using DKMS[FAILED]
  (Failed, trying without DKMS)
Recompiling VirtualBox kernel modules                      [FAILED]
  (Look at /var/log/vbox-install.log to find out what went wrong)

and when i try to open the log file this what i get:

Code: Select all


[root@localhost log]# more vbox-install.log
Makefile:169: *** Error: unable to find the sources of your current Linux kernel. Specify KERN_DIR=<directory> and ru
n Make again.  Stop.


what should i do?
Perryg
Site Moderator
Posts: 34369
Joined: 6. Sep 2008, 22:55
Primary OS: Linux other
VBox Version: OSE self-compiled
Guest OSses: *NIX

Re: faild to open session

Post by Perryg »

Chapter 2 of your VirtualBox users manual explains what and how to install the necessary packages for your host.

64-bit host

Code: Select all

yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-devel
32-bit host

Code: Select all

yum install dkms binutils gcc make patch libgomp glibc-headers glibc-devel kernel-headers kernel-pae-devel
Then after a reboot of the host run the /etc/init.d/vboxdrv setup again.
omerbsh
Posts: 4
Joined: 4. Jul 2011, 17:14
Primary OS: Fedora other
VBox Version: OSE Fedora
Guest OSses: fedora 14

Re: faild to open session

Post by omerbsh »

Thanks! :D
Post Reply