LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-04-2008, 02:38 PM   #1
Raccoon1400
Member
 
Registered: Apr 2008
Distribution: Arch
Posts: 37

Rep: Reputation: 15
Can't go above resolution 1024x768, running slackware 12 in virtual box


I have tried reconfiguring the xserver, but
i can't get a better resolution. I have an nvidia graphics card. I need 1440x900 resolution. Now, all I can get is 1024x768.

Slackware is running over ubuntu in virtual box.

I am a beginner to Slackware, but not linux.
 
Old 04-04-2008, 02:48 PM   #2
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Have you installed the guest additions?
 
Old 04-04-2008, 02:50 PM   #3
Raccoon1400
Member
 
Registered: Apr 2008
Distribution: Arch
Posts: 37

Original Poster
Rep: Reputation: 15
Quote:
Originally Posted by pwc101 View Post
Have you installed the guest additions?
what are guest additions?

I installed off the DVD. I haven't added anything.
 
Old 04-04-2008, 02:59 PM   #4
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Guest additions are a VirtualBox creation that allow higher resolutions to be used (among other things -- I think you also need them to have seamless mouse integration). I'm not sure if they work with Slackware or not, but try starting the Virtual Machine and clicking Devices>Install Guest Additions in the menu. No OS will be able to achieve good resolution in VirtualBox without Guest Additions being installed as far as I know (I had to install the Guest Additions for Windows to use a high resolution in VirtualBox).
 
Old 04-04-2008, 03:00 PM   #5
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
The guest additions are part of VirtualBox. To install them, open the virtual machine, go to the Devices menu in your virtual machine (exit from fullscreen mode to see the Device menu), click on Install Guest Additions. You should then have a new CD loaded in Slackware which should show up on your desktop. Open a konsole, su to root, cd to the mounted CD directory, and then run sh ./VBoxLinuxAdditions.run.

That'll install a few components that'll improve your virtual experience, including seamless mouse integration, as well as a new graphics driver, which should allow you to achieve a higher resolution.
 
Old 04-04-2008, 03:35 PM   #6
Raccoon1400
Member
 
Registered: Apr 2008
Distribution: Arch
Posts: 37

Original Poster
Rep: Reputation: 15
Where is the image mounted? How do I get to it in terminal.
 
Old 04-04-2008, 03:41 PM   #7
Raccoon1400
Member
 
Registered: Apr 2008
Distribution: Arch
Posts: 37

Original Poster
Rep: Reputation: 15
actually, it won't mount. I get this error when I try.

A security policy in place prevents from sending this message to the recipient...
 
Old 04-04-2008, 03:45 PM   #8
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Try /mnt/cdrom or maybe a folder in /media. In an OpenSuse guest it appeared as "/media/VBOXADDITIONS_1.5.7_28266" upon automounting it, but that will change depending on the version of VirtualBox you are running. To get to a terminal in Slackware, it depends what window manager you are using. If you are using KDE, click the "K" menu, then go to "System">"Konsole". That'll open a terminal for you. If you run another desktop environment/window manager, tell us which one. If you can get a "Run" box to pop up, just run the program "xterm" and it should work (although xterm is not my favourite terminal). su to root (type `su`, then enter your root password when prompted) and navigate to the CD directory. Type `./VBoxLinuxAdditions.run`, as stated above.
 
Old 04-04-2008, 03:49 PM   #9
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Raccoon1400, that error is because you haven't added your user to the proper groups. Read the sticky about HAL at the top of this forum. In short, you must add your user to the plugdev, cdrom, audio and video groups. If you don't want to get automounting of cd images working, you could `su` to root and type `mount /dev/cdrom /mnt/cdrom` (make sure that the /mnt/cdrom directory exists) and then navigate to /mnt/cdrom and install the guest additions from there. Then, navigate out of /mnt/cdrom and type `umount /mnt/cdrom` and the CD image will be unmounted. I would recommend getting HAL setup properly though, just so you know more about what a standard Slackware install constitutes.
 
Old 04-04-2008, 04:23 PM   #10
Raccoon1400
Member
 
Registered: Apr 2008
Distribution: Arch
Posts: 37

Original Poster
Rep: Reputation: 15
I mounted it in /mnt/cdrom/

I can see the file, but I can't figure how to run it. I click on it and it opens in KWrite.
I tried running it in terminal, but when I try running it like I would in ubuntu, it says bad command or filename.
 
Old 04-04-2008, 04:25 PM   #11
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Code:
sh ./VBoxLinuxAdditions.run
As root.
 
Old 04-04-2008, 04:38 PM   #12
Raccoon1400
Member
 
Registered: Apr 2008
Distribution: Arch
Posts: 37

Original Poster
Rep: Reputation: 15
I got it installed. I can now get 1280x1024, but i need 1440x900(widescreen) I do not have an option for it under configure desktop.
 
Old 04-04-2008, 05:07 PM   #13
T3slider
Senior Member
 
Registered: Jul 2007
Distribution: Slackware64-14.1
Posts: 2,367

Rep: Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843Reputation: 843
Raccoon1400, I don't know if it's possible. Try going into fullscreen mode and see if it automatically adapts (or see if there is now an entry to configure the desktop). In real Slackware you can just edit /etc/X11/xorg.conf, but I don't think you can do this in VirtualBox without screwing it up completely. VirtualBox presents a fake graphics card to the guest OS, and hence it may not support 1440x900 resolution. A best-case scenario would be if I were totally wrong, a worst-case scenario would be if I were right.
 
Old 04-04-2008, 05:44 PM   #14
Raccoon1400
Member
 
Registered: Apr 2008
Distribution: Arch
Posts: 37

Original Poster
Rep: Reputation: 15
Got it!!
I added the 1440x900 mode to the config file
I was using the vesa driver, so I reconfigured X to try to get the nvidia one. Didn't work, so I went back to vesa.
The 1280 option disappeared, so I installed the additions again. Now it will go fullscreen!
Thanks!
 
Old 04-05-2008, 03:41 AM   #15
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Quote:
Originally Posted by Raccoon1400 View Post
I was using the vesa driver, so I reconfigured X to try to get the nVidia one.
Although your physical computer has an nVidia graphics card, your virtual machine has the VirtualBox virtual graphics adaptor (just like it has a virtual hard disk, virtual network card, virtual sound card etc.). Thus, the nVidia driver is not the correct one. Also, you won't get any 3D capabilities in your virtual machine because the virtual graphics adapter doesn't support it.

In fact, just about the only part of your physical machine your virtual machine accesses directly is the CPU. VirtualBox does it with some clever coding.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Cannot get resolution to go to 1024x768 no.4 Linux - Desktop 8 02-27-2008 06:51 PM
Windows XP running ubuntu 7.10 (on virtual box), cant get graphics card working chazman Linux - Hardware 2 02-11-2008 02:09 PM
Slackware installed in virtual box on Mandriva Spring bookie Mandriva 14 07-21-2007 12:03 PM
resolution 1024x768 hraposo Fedora 2 08-09-2006 09:06 AM
VNCServer Resolution Question - Running a 1280x1024 vnc session on a 1024x768 system sirejman Linux - Networking 4 08-02-2004 01:09 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 12:18 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration