Installing VBox Guest Additions when there is no X-serverHow to change font-size, number of rows / columns in...

Why do things cool down?

How often is duct tape used during crewed space missions?

Lead Amalgam as a Material for a Sword

The relationship of noch nicht and the passive voice

Why is it called a Blood Knot?

rule-based deletions from string list

How is underwater propagation of sound possible?

What are sources for Magic Items that are not adventure-specific?

How to influence manager to not schedule team meetings during lunch?

Do household ovens ventilate heat to the outdoors?

Removing rows containing NA in every column

Simulate a 1D Game-of-Life-ish Model

Is there a connection between IT and Ghostbusters?

Minimize taxes now that I earn more

Why are there two bearded faces wearing red hats on my stealth bomber icon?

Is Zack Morris's 'time stop' ability in "Saved By the Bell" a supernatural ability?

How to count the number of function evaluations in NIntegrate

Are lay articles good enough to be the main source of information for PhD research?

Microservices and Stored Procedures

All numbers in a 5x5 Minesweeper grid

What did the controller say during my approach to land (audio clip)?

Make Interviewee Comfortable in Potentially Intimate Environment

4h 40m delay caused by aircraft inspection, Norwegian refuses EU 261/2004 compensation because it turned out there was nothing wrong with the aircraft

Is the name of an interval between two notes unique and absolute?



Installing VBox Guest Additions when there is no X-server


How to change font-size, number of rows / columns in the consoleVirtualBox guest hangs when starting vbox additionsInstall Guest Additions CentOS 64 (guest), Win 8 (host)Installing VirtualBox Guest Additions on Ubuntu Server 10.04Installed OS on EFI system crashes on grub shellVirtualbox on Slackware: Failed to set up vboxadd






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty{ margin-bottom:0;
}







8















I'm using Virtual Box on my windows 8.1 host machine. I have installed CentOS & Ubuntu in 'Graphical Mode' and had sufficient practice. But now I wanted to switch to 'Command Line Mode" completely. Therefore created a machine for that purpose and installed 'CentOS6.6 Basic Server'/'CentOS7 Minimal.



On Graphical Mahines, I could easily install VBox Guest Additions with these few commands.



yum update
yum install gcc
yum install kernel-devel
sh VBoxLinuxAdditions.run (From mounted Location For CDrom)


But since I installed CLI machine and when tried same commands on it, it does not install properly, gives this error: Could not find X.Org or Xfree86 Window System, skipping.










share|improve this question



























  • Maybe there is some way to install the non-X-server based bits from the Guest Addition. Try running the command as follows: ./VBoxLinuxAdditions.run --nox11

    – shivams
    May 30 '15 at 14:18











  • Does askubuntu.com/questions/299975/… (look at the answer from David) help?

    – guntbert
    May 30 '15 at 14:54











  • That's not an error, it's a warning. Ignore it, you have correctly installed guest additions.

    – terdon
    May 30 '15 at 14:58











  • @guntbert I tried smiliar commands with yum, but it says nothing to do after searching repo database, indicating no such packages found.

    – Sollosa
    May 30 '15 at 15:07


















8















I'm using Virtual Box on my windows 8.1 host machine. I have installed CentOS & Ubuntu in 'Graphical Mode' and had sufficient practice. But now I wanted to switch to 'Command Line Mode" completely. Therefore created a machine for that purpose and installed 'CentOS6.6 Basic Server'/'CentOS7 Minimal.



On Graphical Mahines, I could easily install VBox Guest Additions with these few commands.



yum update
yum install gcc
yum install kernel-devel
sh VBoxLinuxAdditions.run (From mounted Location For CDrom)


But since I installed CLI machine and when tried same commands on it, it does not install properly, gives this error: Could not find X.Org or Xfree86 Window System, skipping.










share|improve this question



























  • Maybe there is some way to install the non-X-server based bits from the Guest Addition. Try running the command as follows: ./VBoxLinuxAdditions.run --nox11

    – shivams
    May 30 '15 at 14:18











  • Does askubuntu.com/questions/299975/… (look at the answer from David) help?

    – guntbert
    May 30 '15 at 14:54











  • That's not an error, it's a warning. Ignore it, you have correctly installed guest additions.

    – terdon
    May 30 '15 at 14:58











  • @guntbert I tried smiliar commands with yum, but it says nothing to do after searching repo database, indicating no such packages found.

    – Sollosa
    May 30 '15 at 15:07














8












8








8


1






I'm using Virtual Box on my windows 8.1 host machine. I have installed CentOS & Ubuntu in 'Graphical Mode' and had sufficient practice. But now I wanted to switch to 'Command Line Mode" completely. Therefore created a machine for that purpose and installed 'CentOS6.6 Basic Server'/'CentOS7 Minimal.



On Graphical Mahines, I could easily install VBox Guest Additions with these few commands.



yum update
yum install gcc
yum install kernel-devel
sh VBoxLinuxAdditions.run (From mounted Location For CDrom)


But since I installed CLI machine and when tried same commands on it, it does not install properly, gives this error: Could not find X.Org or Xfree86 Window System, skipping.










share|improve this question
















I'm using Virtual Box on my windows 8.1 host machine. I have installed CentOS & Ubuntu in 'Graphical Mode' and had sufficient practice. But now I wanted to switch to 'Command Line Mode" completely. Therefore created a machine for that purpose and installed 'CentOS6.6 Basic Server'/'CentOS7 Minimal.



On Graphical Mahines, I could easily install VBox Guest Additions with these few commands.



yum update
yum install gcc
yum install kernel-devel
sh VBoxLinuxAdditions.run (From mounted Location For CDrom)


But since I installed CLI machine and when tried same commands on it, it does not install properly, gives this error: Could not find X.Org or Xfree86 Window System, skipping.







centos command-line virtualbox virtual-machine






share|improve this question















share|improve this question













share|improve this question




share|improve this question








edited Mar 9 at 14:58









Rui F Ribeiro

41.6k16 gold badges96 silver badges158 bronze badges




41.6k16 gold badges96 silver badges158 bronze badges










asked May 30 '15 at 13:26









SollosaSollosa

5971 gold badge9 silver badges20 bronze badges




5971 gold badge9 silver badges20 bronze badges
















  • Maybe there is some way to install the non-X-server based bits from the Guest Addition. Try running the command as follows: ./VBoxLinuxAdditions.run --nox11

    – shivams
    May 30 '15 at 14:18











  • Does askubuntu.com/questions/299975/… (look at the answer from David) help?

    – guntbert
    May 30 '15 at 14:54











  • That's not an error, it's a warning. Ignore it, you have correctly installed guest additions.

    – terdon
    May 30 '15 at 14:58











  • @guntbert I tried smiliar commands with yum, but it says nothing to do after searching repo database, indicating no such packages found.

    – Sollosa
    May 30 '15 at 15:07



















  • Maybe there is some way to install the non-X-server based bits from the Guest Addition. Try running the command as follows: ./VBoxLinuxAdditions.run --nox11

    – shivams
    May 30 '15 at 14:18











  • Does askubuntu.com/questions/299975/… (look at the answer from David) help?

    – guntbert
    May 30 '15 at 14:54











  • That's not an error, it's a warning. Ignore it, you have correctly installed guest additions.

    – terdon
    May 30 '15 at 14:58











  • @guntbert I tried smiliar commands with yum, but it says nothing to do after searching repo database, indicating no such packages found.

    – Sollosa
    May 30 '15 at 15:07

















Maybe there is some way to install the non-X-server based bits from the Guest Addition. Try running the command as follows: ./VBoxLinuxAdditions.run --nox11

– shivams
May 30 '15 at 14:18





Maybe there is some way to install the non-X-server based bits from the Guest Addition. Try running the command as follows: ./VBoxLinuxAdditions.run --nox11

– shivams
May 30 '15 at 14:18













Does askubuntu.com/questions/299975/… (look at the answer from David) help?

– guntbert
May 30 '15 at 14:54





Does askubuntu.com/questions/299975/… (look at the answer from David) help?

– guntbert
May 30 '15 at 14:54













That's not an error, it's a warning. Ignore it, you have correctly installed guest additions.

– terdon
May 30 '15 at 14:58





That's not an error, it's a warning. Ignore it, you have correctly installed guest additions.

– terdon
May 30 '15 at 14:58













@guntbert I tried smiliar commands with yum, but it says nothing to do after searching repo database, indicating no such packages found.

– Sollosa
May 30 '15 at 15:07





@guntbert I tried smiliar commands with yum, but it says nothing to do after searching repo database, indicating no such packages found.

– Sollosa
May 30 '15 at 15:07










5 Answers
5






active

oldest

votes


















10
















I just installed this on my Ubuntu CLI VM using these commands:



sudo mount /dev/cdrom /mnt
sudo /mnt/VBoxLinuxAdditions.run


I found a page suggesting installing dkms first but I seem to have had that already installed. If you don't, run this command before those above (this should work on the Ubuntu, but you can probably find the equivalent yum command):



sudo apt-get install dkms


Now, this ran correctly. I also got the error you mention ("Cannot find the X.Org or XFree86 Window System, skipping) but that's just a warning. That's why it says "skipping". It simply skipped installing the parts of the guest additions that deal with X. The rest was installed correctly.






share|improve this answer


























  • I read about dkms and other packages too on ubuntu, will check it on a ubuntu server machine later. this was the detailed command on ubuntu though. # sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r) but for now, I can't figure it out for centos version 6 or 7. I tried yum with same package names but it mostly says nothing to do after searching repo database. oh and it did not resize after skipping as you suggesting.

    – Sollosa
    May 30 '15 at 15:04











  • @Sollosa it wasn't supposed to resize. If I understand you correctly, what you want is to change the resolution of your CLI guest system. That won't be done by installing guest additions. This is how you install guest additions from the CLI and you have probably already done so. I suggest you ask a new question explaining what your final objective is and see if anyone can help.

    – terdon
    May 30 '15 at 15:12











  • ok sorry I thought installing Vbox guesst additions help resize screen of host machine, it used to do for my graphical machines, so it's how I used to think about it. Looks like I was wrong.

    – Sollosa
    May 30 '15 at 15:24











  • @Sollosa The VB guest additions have features for X11 (such as clipboard synchronization and resizing based on the size of the VB window) but not for the Linux console. Nobody cares about the Linux console. If you only want a command line, just use SSH.

    – Gilles
    May 30 '15 at 23:17



















3
















As per the question, OP wants to install the Guest Addition so that he can change the resolution of his Guest. This is not possible. Guest Additions can only change the resolution when there is an X-server installed.



To quote from Wikipedia:




The Guest Additions for Windows, Linux, Solaris, OpenSolaris, or OS/2 guests include a special video-driver that increases video performance and includes additional features, such as automatically adjusting the guest resolution when resizing the VM window or desktop composition via virtualized WDDM drivers .




However, if you do want to install the Guest Addition, you can try this command:



./VBoxLinuxAdditions.run --nox11


But then again, even if it works, it is not going to solve your problem. Because you wouldn't be able to change the resolution of your non-graphical guest OS.



UPDATE



However, if you want to work on the command line in a bigger resolution, you can just ssh into your virtual machine using putty. This is the standard procedure.






share|improve this answer




























  • of course my machine is a guest operating system, as I'm using it on Virtual Box. So isn't there a way to install guest additions on a 'CLI' based machine or is there a way around?

    – Sollosa
    May 30 '15 at 13:56











  • The real question is why do you want to install Guest Addition? It provides no benefit (as far as I know) on a Guest which has no graphical user interface (i.e. X-server).

    – shivams
    May 30 '15 at 13:57











  • thank you shivams! I want to know about it so that I could resize the resolution of my guest operating system. why else would I be asking or searching for it?

    – Sollosa
    May 30 '15 at 13:59








  • 1





    @Sollosa : Okay. But unfortunately, this is not how Guest Addition works. It can not resize the resolution of a non-graphical guest OS. It is able to do only when there is some graphical system installed.

    – shivams
    May 30 '15 at 14:03











  • For example, even when you have a graphical system installed and when you are booting, you might notice that the resolution is low and window size is small. It gets enlarged only when you reach on the login prompt of your graphical OS.

    – shivams
    May 30 '15 at 14:03



















2
















The solution posted here addresses the problem. The solution is to change the terminal window size within the VM machine.



If setting in grub2 using this solution the entries as:



GRUB_TERMINAL_OUTPUT="gfxterm"
GRUB_GFXMODE=1024x768x32
GRUB_GFXPAYLOAD=keep
GRUB_GFXPAYLOAD_LINUX=keep


did only change the Grub menu resolution (even if putting the 1024x768x32 on the PAYLOAD entries) and did not solve the problem.
I had to add the vga=0x344 to the GRUB_CMDLINE_LINUX






share|improve this answer



































    1
















    I know that this is not an answer to the question above but it is an answer to the problem that Sollosa actually wanted to address.



    If you are on a computer with a very high resolution screen, the VirtualBox window and the font on the terminal can be tiny!



    I have a very easy solution to this problem. You could simply use the shortcut:
    CTRL + C



    Then, you will be able to stretch the VirtualBox window and, as a result, increase the font size.



    If your "Host Key" is something else, you will have to replace the "CTRL" key with your "Host Key".






    share|improve this answer

































      0
















      I want Vbox Guest Additions so on a non-gui interface so I can automount a folder from my Host system.






      share|improve this answer








      New contributor



      huyz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
      Check out our Code of Conduct.
























        Your Answer








        StackExchange.ready(function() {
        var channelOptions = {
        tags: "".split(" "),
        id: "106"
        };
        initTagRenderer("".split(" "), "".split(" "), channelOptions);

        StackExchange.using("externalEditor", function() {
        // Have to fire editor after snippets, if snippets enabled
        if (StackExchange.settings.snippets.snippetsEnabled) {
        StackExchange.using("snippets", function() {
        createEditor();
        });
        }
        else {
        createEditor();
        }
        });

        function createEditor() {
        StackExchange.prepareEditor({
        heartbeatType: 'answer',
        autoActivateHeartbeat: false,
        convertImagesToLinks: false,
        noModals: true,
        showLowRepImageUploadWarning: true,
        reputationToPostImages: null,
        bindNavPrevention: true,
        postfix: "",
        imageUploader: {
        brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
        contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/4.0/"u003ecc by-sa 4.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
        allowUrls: true
        },
        onDemand: true,
        discardSelector: ".discard-answer"
        ,immediatelyShowMarkdownHelp:true
        });


        }
        });















        draft saved

        draft discarded
















        StackExchange.ready(
        function () {
        StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f206505%2finstalling-vbox-guest-additions-when-there-is-no-x-server%23new-answer', 'question_page');
        }
        );

        Post as a guest















        Required, but never shown

























        5 Answers
        5






        active

        oldest

        votes








        5 Answers
        5






        active

        oldest

        votes









        active

        oldest

        votes






        active

        oldest

        votes









        10
















        I just installed this on my Ubuntu CLI VM using these commands:



        sudo mount /dev/cdrom /mnt
        sudo /mnt/VBoxLinuxAdditions.run


        I found a page suggesting installing dkms first but I seem to have had that already installed. If you don't, run this command before those above (this should work on the Ubuntu, but you can probably find the equivalent yum command):



        sudo apt-get install dkms


        Now, this ran correctly. I also got the error you mention ("Cannot find the X.Org or XFree86 Window System, skipping) but that's just a warning. That's why it says "skipping". It simply skipped installing the parts of the guest additions that deal with X. The rest was installed correctly.






        share|improve this answer


























        • I read about dkms and other packages too on ubuntu, will check it on a ubuntu server machine later. this was the detailed command on ubuntu though. # sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r) but for now, I can't figure it out for centos version 6 or 7. I tried yum with same package names but it mostly says nothing to do after searching repo database. oh and it did not resize after skipping as you suggesting.

          – Sollosa
          May 30 '15 at 15:04











        • @Sollosa it wasn't supposed to resize. If I understand you correctly, what you want is to change the resolution of your CLI guest system. That won't be done by installing guest additions. This is how you install guest additions from the CLI and you have probably already done so. I suggest you ask a new question explaining what your final objective is and see if anyone can help.

          – terdon
          May 30 '15 at 15:12











        • ok sorry I thought installing Vbox guesst additions help resize screen of host machine, it used to do for my graphical machines, so it's how I used to think about it. Looks like I was wrong.

          – Sollosa
          May 30 '15 at 15:24











        • @Sollosa The VB guest additions have features for X11 (such as clipboard synchronization and resizing based on the size of the VB window) but not for the Linux console. Nobody cares about the Linux console. If you only want a command line, just use SSH.

          – Gilles
          May 30 '15 at 23:17
















        10
















        I just installed this on my Ubuntu CLI VM using these commands:



        sudo mount /dev/cdrom /mnt
        sudo /mnt/VBoxLinuxAdditions.run


        I found a page suggesting installing dkms first but I seem to have had that already installed. If you don't, run this command before those above (this should work on the Ubuntu, but you can probably find the equivalent yum command):



        sudo apt-get install dkms


        Now, this ran correctly. I also got the error you mention ("Cannot find the X.Org or XFree86 Window System, skipping) but that's just a warning. That's why it says "skipping". It simply skipped installing the parts of the guest additions that deal with X. The rest was installed correctly.






        share|improve this answer


























        • I read about dkms and other packages too on ubuntu, will check it on a ubuntu server machine later. this was the detailed command on ubuntu though. # sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r) but for now, I can't figure it out for centos version 6 or 7. I tried yum with same package names but it mostly says nothing to do after searching repo database. oh and it did not resize after skipping as you suggesting.

          – Sollosa
          May 30 '15 at 15:04











        • @Sollosa it wasn't supposed to resize. If I understand you correctly, what you want is to change the resolution of your CLI guest system. That won't be done by installing guest additions. This is how you install guest additions from the CLI and you have probably already done so. I suggest you ask a new question explaining what your final objective is and see if anyone can help.

          – terdon
          May 30 '15 at 15:12











        • ok sorry I thought installing Vbox guesst additions help resize screen of host machine, it used to do for my graphical machines, so it's how I used to think about it. Looks like I was wrong.

          – Sollosa
          May 30 '15 at 15:24











        • @Sollosa The VB guest additions have features for X11 (such as clipboard synchronization and resizing based on the size of the VB window) but not for the Linux console. Nobody cares about the Linux console. If you only want a command line, just use SSH.

          – Gilles
          May 30 '15 at 23:17














        10














        10










        10









        I just installed this on my Ubuntu CLI VM using these commands:



        sudo mount /dev/cdrom /mnt
        sudo /mnt/VBoxLinuxAdditions.run


        I found a page suggesting installing dkms first but I seem to have had that already installed. If you don't, run this command before those above (this should work on the Ubuntu, but you can probably find the equivalent yum command):



        sudo apt-get install dkms


        Now, this ran correctly. I also got the error you mention ("Cannot find the X.Org or XFree86 Window System, skipping) but that's just a warning. That's why it says "skipping". It simply skipped installing the parts of the guest additions that deal with X. The rest was installed correctly.






        share|improve this answer













        I just installed this on my Ubuntu CLI VM using these commands:



        sudo mount /dev/cdrom /mnt
        sudo /mnt/VBoxLinuxAdditions.run


        I found a page suggesting installing dkms first but I seem to have had that already installed. If you don't, run this command before those above (this should work on the Ubuntu, but you can probably find the equivalent yum command):



        sudo apt-get install dkms


        Now, this ran correctly. I also got the error you mention ("Cannot find the X.Org or XFree86 Window System, skipping) but that's just a warning. That's why it says "skipping". It simply skipped installing the parts of the guest additions that deal with X. The rest was installed correctly.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered May 30 '15 at 14:57









        terdonterdon

        143k35 gold badges295 silver badges472 bronze badges




        143k35 gold badges295 silver badges472 bronze badges
















        • I read about dkms and other packages too on ubuntu, will check it on a ubuntu server machine later. this was the detailed command on ubuntu though. # sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r) but for now, I can't figure it out for centos version 6 or 7. I tried yum with same package names but it mostly says nothing to do after searching repo database. oh and it did not resize after skipping as you suggesting.

          – Sollosa
          May 30 '15 at 15:04











        • @Sollosa it wasn't supposed to resize. If I understand you correctly, what you want is to change the resolution of your CLI guest system. That won't be done by installing guest additions. This is how you install guest additions from the CLI and you have probably already done so. I suggest you ask a new question explaining what your final objective is and see if anyone can help.

          – terdon
          May 30 '15 at 15:12











        • ok sorry I thought installing Vbox guesst additions help resize screen of host machine, it used to do for my graphical machines, so it's how I used to think about it. Looks like I was wrong.

          – Sollosa
          May 30 '15 at 15:24











        • @Sollosa The VB guest additions have features for X11 (such as clipboard synchronization and resizing based on the size of the VB window) but not for the Linux console. Nobody cares about the Linux console. If you only want a command line, just use SSH.

          – Gilles
          May 30 '15 at 23:17



















        • I read about dkms and other packages too on ubuntu, will check it on a ubuntu server machine later. this was the detailed command on ubuntu though. # sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r) but for now, I can't figure it out for centos version 6 or 7. I tried yum with same package names but it mostly says nothing to do after searching repo database. oh and it did not resize after skipping as you suggesting.

          – Sollosa
          May 30 '15 at 15:04











        • @Sollosa it wasn't supposed to resize. If I understand you correctly, what you want is to change the resolution of your CLI guest system. That won't be done by installing guest additions. This is how you install guest additions from the CLI and you have probably already done so. I suggest you ask a new question explaining what your final objective is and see if anyone can help.

          – terdon
          May 30 '15 at 15:12











        • ok sorry I thought installing Vbox guesst additions help resize screen of host machine, it used to do for my graphical machines, so it's how I used to think about it. Looks like I was wrong.

          – Sollosa
          May 30 '15 at 15:24











        • @Sollosa The VB guest additions have features for X11 (such as clipboard synchronization and resizing based on the size of the VB window) but not for the Linux console. Nobody cares about the Linux console. If you only want a command line, just use SSH.

          – Gilles
          May 30 '15 at 23:17

















        I read about dkms and other packages too on ubuntu, will check it on a ubuntu server machine later. this was the detailed command on ubuntu though. # sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r) but for now, I can't figure it out for centos version 6 or 7. I tried yum with same package names but it mostly says nothing to do after searching repo database. oh and it did not resize after skipping as you suggesting.

        – Sollosa
        May 30 '15 at 15:04





        I read about dkms and other packages too on ubuntu, will check it on a ubuntu server machine later. this was the detailed command on ubuntu though. # sudo apt-get install -y dkms build-essential linux-headers-generic linux-headers-$(uname -r) but for now, I can't figure it out for centos version 6 or 7. I tried yum with same package names but it mostly says nothing to do after searching repo database. oh and it did not resize after skipping as you suggesting.

        – Sollosa
        May 30 '15 at 15:04













        @Sollosa it wasn't supposed to resize. If I understand you correctly, what you want is to change the resolution of your CLI guest system. That won't be done by installing guest additions. This is how you install guest additions from the CLI and you have probably already done so. I suggest you ask a new question explaining what your final objective is and see if anyone can help.

        – terdon
        May 30 '15 at 15:12





        @Sollosa it wasn't supposed to resize. If I understand you correctly, what you want is to change the resolution of your CLI guest system. That won't be done by installing guest additions. This is how you install guest additions from the CLI and you have probably already done so. I suggest you ask a new question explaining what your final objective is and see if anyone can help.

        – terdon
        May 30 '15 at 15:12













        ok sorry I thought installing Vbox guesst additions help resize screen of host machine, it used to do for my graphical machines, so it's how I used to think about it. Looks like I was wrong.

        – Sollosa
        May 30 '15 at 15:24





        ok sorry I thought installing Vbox guesst additions help resize screen of host machine, it used to do for my graphical machines, so it's how I used to think about it. Looks like I was wrong.

        – Sollosa
        May 30 '15 at 15:24













        @Sollosa The VB guest additions have features for X11 (such as clipboard synchronization and resizing based on the size of the VB window) but not for the Linux console. Nobody cares about the Linux console. If you only want a command line, just use SSH.

        – Gilles
        May 30 '15 at 23:17





        @Sollosa The VB guest additions have features for X11 (such as clipboard synchronization and resizing based on the size of the VB window) but not for the Linux console. Nobody cares about the Linux console. If you only want a command line, just use SSH.

        – Gilles
        May 30 '15 at 23:17













        3
















        As per the question, OP wants to install the Guest Addition so that he can change the resolution of his Guest. This is not possible. Guest Additions can only change the resolution when there is an X-server installed.



        To quote from Wikipedia:




        The Guest Additions for Windows, Linux, Solaris, OpenSolaris, or OS/2 guests include a special video-driver that increases video performance and includes additional features, such as automatically adjusting the guest resolution when resizing the VM window or desktop composition via virtualized WDDM drivers .




        However, if you do want to install the Guest Addition, you can try this command:



        ./VBoxLinuxAdditions.run --nox11


        But then again, even if it works, it is not going to solve your problem. Because you wouldn't be able to change the resolution of your non-graphical guest OS.



        UPDATE



        However, if you want to work on the command line in a bigger resolution, you can just ssh into your virtual machine using putty. This is the standard procedure.






        share|improve this answer




























        • of course my machine is a guest operating system, as I'm using it on Virtual Box. So isn't there a way to install guest additions on a 'CLI' based machine or is there a way around?

          – Sollosa
          May 30 '15 at 13:56











        • The real question is why do you want to install Guest Addition? It provides no benefit (as far as I know) on a Guest which has no graphical user interface (i.e. X-server).

          – shivams
          May 30 '15 at 13:57











        • thank you shivams! I want to know about it so that I could resize the resolution of my guest operating system. why else would I be asking or searching for it?

          – Sollosa
          May 30 '15 at 13:59








        • 1





          @Sollosa : Okay. But unfortunately, this is not how Guest Addition works. It can not resize the resolution of a non-graphical guest OS. It is able to do only when there is some graphical system installed.

          – shivams
          May 30 '15 at 14:03











        • For example, even when you have a graphical system installed and when you are booting, you might notice that the resolution is low and window size is small. It gets enlarged only when you reach on the login prompt of your graphical OS.

          – shivams
          May 30 '15 at 14:03
















        3
















        As per the question, OP wants to install the Guest Addition so that he can change the resolution of his Guest. This is not possible. Guest Additions can only change the resolution when there is an X-server installed.



        To quote from Wikipedia:




        The Guest Additions for Windows, Linux, Solaris, OpenSolaris, or OS/2 guests include a special video-driver that increases video performance and includes additional features, such as automatically adjusting the guest resolution when resizing the VM window or desktop composition via virtualized WDDM drivers .




        However, if you do want to install the Guest Addition, you can try this command:



        ./VBoxLinuxAdditions.run --nox11


        But then again, even if it works, it is not going to solve your problem. Because you wouldn't be able to change the resolution of your non-graphical guest OS.



        UPDATE



        However, if you want to work on the command line in a bigger resolution, you can just ssh into your virtual machine using putty. This is the standard procedure.






        share|improve this answer




























        • of course my machine is a guest operating system, as I'm using it on Virtual Box. So isn't there a way to install guest additions on a 'CLI' based machine or is there a way around?

          – Sollosa
          May 30 '15 at 13:56











        • The real question is why do you want to install Guest Addition? It provides no benefit (as far as I know) on a Guest which has no graphical user interface (i.e. X-server).

          – shivams
          May 30 '15 at 13:57











        • thank you shivams! I want to know about it so that I could resize the resolution of my guest operating system. why else would I be asking or searching for it?

          – Sollosa
          May 30 '15 at 13:59








        • 1





          @Sollosa : Okay. But unfortunately, this is not how Guest Addition works. It can not resize the resolution of a non-graphical guest OS. It is able to do only when there is some graphical system installed.

          – shivams
          May 30 '15 at 14:03











        • For example, even when you have a graphical system installed and when you are booting, you might notice that the resolution is low and window size is small. It gets enlarged only when you reach on the login prompt of your graphical OS.

          – shivams
          May 30 '15 at 14:03














        3














        3










        3









        As per the question, OP wants to install the Guest Addition so that he can change the resolution of his Guest. This is not possible. Guest Additions can only change the resolution when there is an X-server installed.



        To quote from Wikipedia:




        The Guest Additions for Windows, Linux, Solaris, OpenSolaris, or OS/2 guests include a special video-driver that increases video performance and includes additional features, such as automatically adjusting the guest resolution when resizing the VM window or desktop composition via virtualized WDDM drivers .




        However, if you do want to install the Guest Addition, you can try this command:



        ./VBoxLinuxAdditions.run --nox11


        But then again, even if it works, it is not going to solve your problem. Because you wouldn't be able to change the resolution of your non-graphical guest OS.



        UPDATE



        However, if you want to work on the command line in a bigger resolution, you can just ssh into your virtual machine using putty. This is the standard procedure.






        share|improve this answer















        As per the question, OP wants to install the Guest Addition so that he can change the resolution of his Guest. This is not possible. Guest Additions can only change the resolution when there is an X-server installed.



        To quote from Wikipedia:




        The Guest Additions for Windows, Linux, Solaris, OpenSolaris, or OS/2 guests include a special video-driver that increases video performance and includes additional features, such as automatically adjusting the guest resolution when resizing the VM window or desktop composition via virtualized WDDM drivers .




        However, if you do want to install the Guest Addition, you can try this command:



        ./VBoxLinuxAdditions.run --nox11


        But then again, even if it works, it is not going to solve your problem. Because you wouldn't be able to change the resolution of your non-graphical guest OS.



        UPDATE



        However, if you want to work on the command line in a bigger resolution, you can just ssh into your virtual machine using putty. This is the standard procedure.







        share|improve this answer














        share|improve this answer



        share|improve this answer








        edited May 30 '15 at 14:50

























        answered May 30 '15 at 13:45









        shivamsshivams

        3,0561 gold badge14 silver badges30 bronze badges




        3,0561 gold badge14 silver badges30 bronze badges
















        • of course my machine is a guest operating system, as I'm using it on Virtual Box. So isn't there a way to install guest additions on a 'CLI' based machine or is there a way around?

          – Sollosa
          May 30 '15 at 13:56











        • The real question is why do you want to install Guest Addition? It provides no benefit (as far as I know) on a Guest which has no graphical user interface (i.e. X-server).

          – shivams
          May 30 '15 at 13:57











        • thank you shivams! I want to know about it so that I could resize the resolution of my guest operating system. why else would I be asking or searching for it?

          – Sollosa
          May 30 '15 at 13:59








        • 1





          @Sollosa : Okay. But unfortunately, this is not how Guest Addition works. It can not resize the resolution of a non-graphical guest OS. It is able to do only when there is some graphical system installed.

          – shivams
          May 30 '15 at 14:03











        • For example, even when you have a graphical system installed and when you are booting, you might notice that the resolution is low and window size is small. It gets enlarged only when you reach on the login prompt of your graphical OS.

          – shivams
          May 30 '15 at 14:03



















        • of course my machine is a guest operating system, as I'm using it on Virtual Box. So isn't there a way to install guest additions on a 'CLI' based machine or is there a way around?

          – Sollosa
          May 30 '15 at 13:56











        • The real question is why do you want to install Guest Addition? It provides no benefit (as far as I know) on a Guest which has no graphical user interface (i.e. X-server).

          – shivams
          May 30 '15 at 13:57











        • thank you shivams! I want to know about it so that I could resize the resolution of my guest operating system. why else would I be asking or searching for it?

          – Sollosa
          May 30 '15 at 13:59








        • 1





          @Sollosa : Okay. But unfortunately, this is not how Guest Addition works. It can not resize the resolution of a non-graphical guest OS. It is able to do only when there is some graphical system installed.

          – shivams
          May 30 '15 at 14:03











        • For example, even when you have a graphical system installed and when you are booting, you might notice that the resolution is low and window size is small. It gets enlarged only when you reach on the login prompt of your graphical OS.

          – shivams
          May 30 '15 at 14:03

















        of course my machine is a guest operating system, as I'm using it on Virtual Box. So isn't there a way to install guest additions on a 'CLI' based machine or is there a way around?

        – Sollosa
        May 30 '15 at 13:56





        of course my machine is a guest operating system, as I'm using it on Virtual Box. So isn't there a way to install guest additions on a 'CLI' based machine or is there a way around?

        – Sollosa
        May 30 '15 at 13:56













        The real question is why do you want to install Guest Addition? It provides no benefit (as far as I know) on a Guest which has no graphical user interface (i.e. X-server).

        – shivams
        May 30 '15 at 13:57





        The real question is why do you want to install Guest Addition? It provides no benefit (as far as I know) on a Guest which has no graphical user interface (i.e. X-server).

        – shivams
        May 30 '15 at 13:57













        thank you shivams! I want to know about it so that I could resize the resolution of my guest operating system. why else would I be asking or searching for it?

        – Sollosa
        May 30 '15 at 13:59







        thank you shivams! I want to know about it so that I could resize the resolution of my guest operating system. why else would I be asking or searching for it?

        – Sollosa
        May 30 '15 at 13:59






        1




        1





        @Sollosa : Okay. But unfortunately, this is not how Guest Addition works. It can not resize the resolution of a non-graphical guest OS. It is able to do only when there is some graphical system installed.

        – shivams
        May 30 '15 at 14:03





        @Sollosa : Okay. But unfortunately, this is not how Guest Addition works. It can not resize the resolution of a non-graphical guest OS. It is able to do only when there is some graphical system installed.

        – shivams
        May 30 '15 at 14:03













        For example, even when you have a graphical system installed and when you are booting, you might notice that the resolution is low and window size is small. It gets enlarged only when you reach on the login prompt of your graphical OS.

        – shivams
        May 30 '15 at 14:03





        For example, even when you have a graphical system installed and when you are booting, you might notice that the resolution is low and window size is small. It gets enlarged only when you reach on the login prompt of your graphical OS.

        – shivams
        May 30 '15 at 14:03











        2
















        The solution posted here addresses the problem. The solution is to change the terminal window size within the VM machine.



        If setting in grub2 using this solution the entries as:



        GRUB_TERMINAL_OUTPUT="gfxterm"
        GRUB_GFXMODE=1024x768x32
        GRUB_GFXPAYLOAD=keep
        GRUB_GFXPAYLOAD_LINUX=keep


        did only change the Grub menu resolution (even if putting the 1024x768x32 on the PAYLOAD entries) and did not solve the problem.
        I had to add the vga=0x344 to the GRUB_CMDLINE_LINUX






        share|improve this answer
































          2
















          The solution posted here addresses the problem. The solution is to change the terminal window size within the VM machine.



          If setting in grub2 using this solution the entries as:



          GRUB_TERMINAL_OUTPUT="gfxterm"
          GRUB_GFXMODE=1024x768x32
          GRUB_GFXPAYLOAD=keep
          GRUB_GFXPAYLOAD_LINUX=keep


          did only change the Grub menu resolution (even if putting the 1024x768x32 on the PAYLOAD entries) and did not solve the problem.
          I had to add the vga=0x344 to the GRUB_CMDLINE_LINUX






          share|improve this answer






























            2














            2










            2









            The solution posted here addresses the problem. The solution is to change the terminal window size within the VM machine.



            If setting in grub2 using this solution the entries as:



            GRUB_TERMINAL_OUTPUT="gfxterm"
            GRUB_GFXMODE=1024x768x32
            GRUB_GFXPAYLOAD=keep
            GRUB_GFXPAYLOAD_LINUX=keep


            did only change the Grub menu resolution (even if putting the 1024x768x32 on the PAYLOAD entries) and did not solve the problem.
            I had to add the vga=0x344 to the GRUB_CMDLINE_LINUX






            share|improve this answer















            The solution posted here addresses the problem. The solution is to change the terminal window size within the VM machine.



            If setting in grub2 using this solution the entries as:



            GRUB_TERMINAL_OUTPUT="gfxterm"
            GRUB_GFXMODE=1024x768x32
            GRUB_GFXPAYLOAD=keep
            GRUB_GFXPAYLOAD_LINUX=keep


            did only change the Grub menu resolution (even if putting the 1024x768x32 on the PAYLOAD entries) and did not solve the problem.
            I had to add the vga=0x344 to the GRUB_CMDLINE_LINUX







            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Apr 13 '17 at 12:37









            Community

            1




            1










            answered Sep 23 '15 at 12:21









            pbrandaopbrandao

            212 bronze badges




            212 bronze badges


























                1
















                I know that this is not an answer to the question above but it is an answer to the problem that Sollosa actually wanted to address.



                If you are on a computer with a very high resolution screen, the VirtualBox window and the font on the terminal can be tiny!



                I have a very easy solution to this problem. You could simply use the shortcut:
                CTRL + C



                Then, you will be able to stretch the VirtualBox window and, as a result, increase the font size.



                If your "Host Key" is something else, you will have to replace the "CTRL" key with your "Host Key".






                share|improve this answer






























                  1
















                  I know that this is not an answer to the question above but it is an answer to the problem that Sollosa actually wanted to address.



                  If you are on a computer with a very high resolution screen, the VirtualBox window and the font on the terminal can be tiny!



                  I have a very easy solution to this problem. You could simply use the shortcut:
                  CTRL + C



                  Then, you will be able to stretch the VirtualBox window and, as a result, increase the font size.



                  If your "Host Key" is something else, you will have to replace the "CTRL" key with your "Host Key".






                  share|improve this answer




























                    1














                    1










                    1









                    I know that this is not an answer to the question above but it is an answer to the problem that Sollosa actually wanted to address.



                    If you are on a computer with a very high resolution screen, the VirtualBox window and the font on the terminal can be tiny!



                    I have a very easy solution to this problem. You could simply use the shortcut:
                    CTRL + C



                    Then, you will be able to stretch the VirtualBox window and, as a result, increase the font size.



                    If your "Host Key" is something else, you will have to replace the "CTRL" key with your "Host Key".






                    share|improve this answer













                    I know that this is not an answer to the question above but it is an answer to the problem that Sollosa actually wanted to address.



                    If you are on a computer with a very high resolution screen, the VirtualBox window and the font on the terminal can be tiny!



                    I have a very easy solution to this problem. You could simply use the shortcut:
                    CTRL + C



                    Then, you will be able to stretch the VirtualBox window and, as a result, increase the font size.



                    If your "Host Key" is something else, you will have to replace the "CTRL" key with your "Host Key".







                    share|improve this answer












                    share|improve this answer



                    share|improve this answer










                    answered Mar 2 '17 at 19:29









                    DrupalFeverDrupalFever

                    1181 gold badge1 silver badge5 bronze badges




                    1181 gold badge1 silver badge5 bronze badges


























                        0
















                        I want Vbox Guest Additions so on a non-gui interface so I can automount a folder from my Host system.






                        share|improve this answer








                        New contributor



                        huyz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                        Check out our Code of Conduct.


























                          0
















                          I want Vbox Guest Additions so on a non-gui interface so I can automount a folder from my Host system.






                          share|improve this answer








                          New contributor



                          huyz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                          Check out our Code of Conduct.
























                            0














                            0










                            0









                            I want Vbox Guest Additions so on a non-gui interface so I can automount a folder from my Host system.






                            share|improve this answer








                            New contributor



                            huyz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.









                            I want Vbox Guest Additions so on a non-gui interface so I can automount a folder from my Host system.







                            share|improve this answer








                            New contributor



                            huyz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.








                            share|improve this answer



                            share|improve this answer






                            New contributor



                            huyz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.








                            answered 56 mins ago









                            huyzhuyz

                            1




                            1




                            New contributor



                            huyz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.




                            New contributor




                            huyz is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                            Check out our Code of Conduct.




































                                draft saved

                                draft discarded



















































                                Thanks for contributing an answer to Unix & Linux Stack Exchange!


                                • Please be sure to answer the question. Provide details and share your research!

                                But avoid



                                • Asking for help, clarification, or responding to other answers.

                                • Making statements based on opinion; back them up with references or personal experience.


                                To learn more, see our tips on writing great answers.




                                draft saved


                                draft discarded














                                StackExchange.ready(
                                function () {
                                StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f206505%2finstalling-vbox-guest-additions-when-there-is-no-x-server%23new-answer', 'question_page');
                                }
                                );

                                Post as a guest















                                Required, but never shown





















































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown

































                                Required, but never shown














                                Required, but never shown












                                Required, but never shown







                                Required, but never shown







                                Popular posts from this blog

                                Taj Mahal Inhaltsverzeichnis Aufbau | Geschichte | 350-Jahr-Feier | Heutige Bedeutung | Siehe auch |...

                                Baia Sprie Cuprins Etimologie | Istorie | Demografie | Politică și administrație | Arii naturale...

                                Nicolae Petrescu-Găină Cuprins Biografie | Opera | In memoriam | Varia | Controverse, incertitudini...