Announcement

Collapse
No announcement yet.

Experiences installing in a VM

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Experiences installing in a VM

    VBox 6.0.12
    Host: Win10-1803
    Guest: kubuntu-18.04.3-desktop-amd64

    VBox defaults to 800x600. Since I have a 4K display, I changed scale to 200% in order to read the text that the Kubuntu installer was putting up, but aspact cannot be changed in VBox until the Guest Additions are run in the Guest (in Kubuntu). As a result of the installer having a display aspect wider than 4:3, the button to continue each install step was offscreen. To continue the install, I had to tab around and guess at what tab the Continue button (or Next or whatever it's called) was highlighted and then hit 'Enter'. I succeeded, but the install really shouldn't be designed for displays with an aspect ratio other than 4:3 -- afterall, it's just an installer.

    Following installation, when I rebooted, the display was still too wide (wider than 4:3). I ran the 'Display and Monitor' setup and was given no choices. I knew that I needed to run the VBox Guest Additions to get a better display.

    When I tried to install the Guest Additions via the VBox menu's 'Devices' 'Insert Guest Additions CD Image...', the GA was mounted but I was not given the opportunity to run them and was not prompted for a password. Instead, I had to open the (virtual) CD in a file browser. When I double-clicked on the GA install script and ran it in Konsole, I got this: "This program must be run with administrator privileges. Aborting". Yes, I know what that means and I know to use 'sudo', but I was not given the opportunity to do that, and there was no context choice to run the script via 'sudo'. The same operation goes flawlessly in Linux Mint ...just saying.

    I managed to run the VBox GA, but it wasn't easy and it required several swipe-copy operations to construct a /path/file string (which I then pasted into Konsole prefixed by 'sudo'). The display immediately fleshed out, not to what I expected: 3840x1986, but to only 1920x993. When I changed scale in 'Display and Monitor' the mouse position report to the system and the mouse cursor became disconnected/uncoordinated and I wasn't able to successfully click on anything.

    I rebooted (which again was not easy since the mouse cursor and the actual mouse position report to the system were uncoordinated).

    When Kubuntu rebooted, I attempted to fix the display size. No matter what I set 'Display and Monitor' 'Displays' 'Resolution' to, when I clicked 'Apply' it went back to 1920x993 and the utility appeared to crash.

    While I was doing all this, the network spontaneously disconnected and reconnected. That has also started happening in Mint since I upgraded from 18 to 19.2 -- the reason I must abandon Mint -- and the fact that it's also happening in Kubuntu is not good. The VM is configured as a bridge connection (to bypass the Windows Host firewall) and it appears that the problem must be with the Linux kernel that both Mint 19 & Kubuntu 18 are using. The network spontaneously disconnecting/reconnecting many times has gotten me banned on several vital IRC channels though no fault of mine, and I simply can't afford to use a computer OS that exhibits such behavior. I hope you understand. The Mint folks weren't able to help, and you probably won't be able to help, either. I'm in deep dispair.

    My programmer's editor, my heavy duty file manager, and my video software all run in Windows. I protect those mission critical programs by not allowing Windows on the Internet -- that's why I run VMs (as a super sandbox). If Linux fails me, I don't know of any alternatives ...well, maybe BSD (ugh!).

    I'm going to have to go back to Mint 18 and wait out an answer. I hope that what I've written here regarding my installation experience will prompt somone to show compassion and maybe help me. I assume you see that I'm not a complete newbie.

    Regards,
    Mark.

    PS: As I attempt to shut down Kubuntu via the menu (via 'Leave'), I see that the mouse cursor position and the mouse coordinate report to the system are still uncoordinated. I will shut down via VBox's 'ACPI Shutdown' menu choice.

    Note: I wrote the above while actually running Kubuntu (using Notepad in the Windows Host), however, I'm pasting it into this forum while running my Mint 18 VM. Kubuntu seems a bust.

    #2
    I have installed several versions of Kubuntu including several 18.04 installs over the past year. Never had a single issue. My experience does not match your conclusion. Since the primary difference between your failed attempt and my successes is that my host is Linux and yours is Windows maybe the problem lies with your host OS and you would be better served to look to a Windows forum for help. I'm curious as to why you conclude Linux folks would be best able to help you with what seems to be a Windows problem.

    Based on your description it seems you overscaled or enlarged the screen beyond usability or there was some disconnect between the host and client. It seems more logical that the issue is with VirtualBox handling scaling and/or 4K not the client OS you're installing. It's also obvious that most Linux distros don't yet handle 4k very well at boot time and especially installation (I have two 4K computers running Linux) so maybe Mint does a better job initially so you didn't run into that issue.

    As far as the failed attempt to use the Extensions install script, I've never had any trouble with that either. If you execute the correct script using sudo to begin with there's no need for a pop-up window to help you. Also obvious, if you weren't able to install the extension you're not going to be successful

    When you add-in your networking issues to all it seems you need a wholly different solution. Personally, it seems counter intuitive to use Windows as your host OS when even you realize it needs to be sand-boxed to keep you safe.

    My best suggestion is to find a VirtualBox forum or some experts to help you if you want to try to install Kubuntu again that way. It seems like most of your above problems are VBox related not Linux related.

    Please Read Me

    Comment


      #3
      Thank you, oshunluvr. Hmm... "oshunluvr", eh? Is that Hungarian? How do you pronounce it?

      Originally posted by oshunluvr View Post
      ... the primary difference between your failed attempt and my successes is that my host is Linux and yours is Windows maybe the problem lies with your host OS and you would be better served to look to a Windows forum for help.
      You're making a joke, right?

      Based on your description it seems you overscaled or enlarged the screen beyond usability or there was some disconnect between the host and client.
      I'm sorry. I guess I didn't make it clear. VBox defaults to 800x600 and that 4:3 aspect ratio cannot be changed until the Guest Additions are installed. The Kubuntu installer defaults to a screen aspect wider than 4:3 so the right side is cut off (pretty significantly I'd say). I don't think that's VBox's fault and no way can I see that as a Windows problem. I did not enlarge the Kubuntu screen directly. I enlarged the VM window that VBox controls to 2x. That was successful, but the right side of the Kubuntu install was still cut off because VBox does not change the aspect ratio of the Guest. I hope that's clear now. You just need to change the installer's aspect ratio to 4:3 and all will be joy.

      The disconnect between where Kubuntu showed the mouse to be and where the mouse actually was came later, after I installed the GA and after I changed the display properties in Kubuntu. VBox was not involved in any of that. After a Kubuntu reboot, most windows and the menu seemed to catch up with the change in screen size so that the mouse was where it appeared to be and all was normal, except when I tried to shutdown. In the shutdown dialog, the mouse was not where it appeared to be and I had to use other methods to shut down.

      As far as the failed attempt to use the Extensions install script, I've never had any trouble with that either. If you execute the correct script using sudo ...
      Yes, yes, of course. [...I know that you mean Additions, not Extensions ...they are two different things...] My point is that Mint handles that elegently. When I double-click on the GA, Mint asks if I want to install it. Then it prompts for password like any admin app would and runs the script and installs the GA. I don't have to open Konsole at all.

      When you add-in your networking issues to all it seems you need a wholly different solution. Personally, it seems counter intuitive to use Windows as your host OS ...
      Why do you say that? I have mission critical programs that run solely in Windows. (...You must have missed that part.)

      And the networking problems are new, and they're why I have to leave Mint.

      My best suggestion is to find a VirtualBox forum or some experts to help you if you want to try to install Kubuntu again that way. It seems like most of your above problems are VBox related not Linux related.
      VBox didn't malfunction. Why would I go to the VBox forum and tell them about my experiences installing Kubuntu?

      I'm just trying to pass along my experiences. I'm just trying to be a good netcitizen and a good Kubuntun. The problems I had are not show stoppers and they are not to be 'solved' because I did install Kubuntu and therefore my experiences are in the past, probably never to be repeated by me.

      The roughness of the install gives newbies a bad 1st impression of Kubuntu, that's all.

      If you think this is all a waste of time, you're the admin... delete it.

      Comment


        #4
        As to the Kubuntu installer presenting it's screen 'oversized' and not moveable (from within a VirtualBox session for installation), I can concur that that is the case; I've experienced this myself on my VirtualBox. It is 'odd' that Kubuntu (and yes, I agree that it is Kubuntu) does this, but I guess that's because there simply weren't enough/any testers trying out Kubuntu in VirtualBox. For a complete 'newb', this would be very disconcerting.

        I guess that this issue could be described as a 'bug', albeit one that is obscure (due to insufficient testing in that environment). Documenting the problem and reporting it to the Kubuntu Developers might be the way to go. I'd likely start with https://kubuntu.org/the-kubuntu-team/
        Windows no longer obstructs my view.
        Using Kubuntu Linux since March 23, 2007.
        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

        Comment


          #5
          Never a waste of time; debate and differences of option are what forums are all about. It's how we learn.

          Your post is lengthy and covered several topics so I glossed over a couple details I think. However, I absolutely was not joking about windows being a poor choice for a mission critical host. If you host Windows as a client on a Linux VM you have the ability to backup and restore and snapshot Windows with ease. Additionally, clients are easily transported from one system to another. Assuming you kept a proper backup of your Windows VM, your system could die in a fire but you could install Linux in 10 minutes on any system and import the Windows VM and be up and running in less than 20 minutes. No way is that possible the other way around. Plus the added security of the Linux host would make daily life easier. As far as networking issues, until you install the Linux host (whatever you choose) on bare metal and do some actual trouble-shooting of a network issue it's impossible to knwo what the outcome would be. THat's wby I suggested looking at VBox experts for help since the network devices you're attempting to use are virtual.

          I state the above with some experience. I am responsible maintaining, upgrading, training users, and more for more than 90 systems operating nation wide comprised of over 600 PCs in network groups. The only time I have to use Windows as a host OS is when a piece of Windows software requires direct hardware access (almost always graphics card and little else). Unfortunately the ability to expose bare hardware to a VM client is difficult to configure and has spotty results regardless of how well configured so I'm stuck with that crappy OS way too often. Hopefully, not forever.

          Now down to Kubuntu and your experience - there are many hundred users on here that will tell you Kubuntu is by far the best KDE/Plasma 5 distro there is. Not many Mint users here but many that have converted from Mint. If you really want to try and use Kubuntu - either in a VM or natively - you're just going to have to roll up your sleeves and get to some real troubleshooting to figure out what you've missed or need to change. Most of your first post seemed like conclusions rather than asking for help so it seems like you've already decided against Kubuntu - which is fine of course. No one here will flame you for it (and I'll censor them if they do ) but you might find we have a large community of helpful and knowledgeable users ready to help if you ask.

          I would suggest that you break your issues into separate related problems. I.e. networking and screen resolution are wildly different problems and need separate threads.

          If you're just looking to vent, then consider yourself vented, LOL. You might try Manjaro KDE if you're looking to really change the playing field. Mint is 90%+ Kubuntu which might explain why the networking issues appeared in both. Manjsro seemed really polished last time I tried it. Totall different beast than the *buntu products so might work better for you. Good luck either way.

          Please Read Me

          Comment


            #6
            Yeah I've seen the window thing but it's movable and goes full screen easily enough if you drag it to the top of the installer window. It does start really small on a 4K screen but my monitor is large enough to see it just fine.

            Please Read Me

            Comment


              #7
              Originally posted by Snowhog View Post
              As to the Kubuntu installer presenting it's screen 'oversized' and not moveable (from within a VirtualBox session for installation),
              Other way round. The installer is too small (not its fault, not VBox's fault) but what the problem is: Its the wrong aspect. It needs to be 4:3 (e.g., 640x480, 800x600, etc.) so it fits in VBox's initial Guest screen. After installing the GA, the Guest window can be resized and reproportioned, but not until after installation and 1st boot. Point is: Since it's the wrong aspect (too wide), the button that continues from install waypoint to waypoint is offscreen to the right and can't be clicked.

              Originally posted by oshunluvr View Post
              ... Your post is lengthy and covered several topics so I glossed over a couple details I think.
              I intended it as verbatum testimony, not a trouble report

              However, I absolutely was not joking about windows being a poor choice for a mission critical host.
              I have no choice.

              If you host Windows as a client on a Linux VM you have the ability to backup and restore and snapshot Windows with ease.
              I do incremental image backups of the Windows Host. The Linux Guests (I have several VHDs), I simply copy with the image backups. Windows has to be the Host because of my work.

              Additionally, clients are easily transported from one system to another. Assuming you kept a proper backup of your Windows VM, your system could die in a fire but you could install Linux in 10 minutes on any system and import the Windows VM and be up and running in less than 20 minutes. No way is that possible the other way around.
              Of course it is. We disagree.

              Plus the added security of the Linux host would make daily life easier.
              I don't allow Windows through the Windows Firewall.

              As far as networking issues, until you install the Linux host (whatever you choose) on bare metal and do some actual trouble-shooting of a network issue it's impossible to knwo what the outcome would be. THat's wby I suggested looking at VBox experts for help since the network devices you're attempting to use are virtual.
              I've posted to VBox. They can't help. I think the problem is the newer Linux kernels. I ran for years with no problems, boom-boom, love me long time. With the new kernel, problems. Newest Mint, newest Kubuntu, same thing, so it has to be the common factor: the kernel (or perhaps the Extensions or the kernel mods in Guest Additions, but my money is on the kernel, itself -- it seems to be doing something to my gateway router, to which its bridged, not NATed).

              I state the above with some experience. I am responsible maintaining, upgrading, training users, and more for more than 90 systems operating nation wide comprised of over 600 PCs in network groups. The only time I have to use Windows as a host OS is when a piece of Windows software requires direct hardware access (almost always graphics card and little else). Unfortunately the ability to expose bare hardware to a VM client is difficult to configure and has spotty results regardless of how well configured so I'm stuck with that crappy OS way too often. Hopefully, not forever.
              Win10 is a fine operating system. The GUI is much more complete, but we can disagree on that, no?

              Now down to Kubuntu and your experience - there are many hundred users on here that will tell you Kubuntu is by far the best KDE/Plasma 5 distro there is.
              Oh, dear. I was hoping that KDE would be more like WinXP.

              ... Most of your first post seemed like conclusions rather than asking for help ...
              It was just testimony. I'm trying to be helpful.

              ... so it seems like you've already decided against Kubuntu ...
              Not at all.

              ... you might find we have a large community of helpful and knowledgeable users ready to help if you ask.
              That's good to know, it's critical.

              I would suggest that you break your issues into separate related problems.
              When it comes to problems, I'll do just that.

              ,,, You might try Manjaro KDE if you're looking to really change the playing field. Mint is 90%+ Kubuntu which might explain why the networking issues appeared in both. Manjsro seemed really polished last time I tried it. Totall different beast than the *buntu products so might work better for you. Good luck either way.
              Well, now we're down to wants. What I want in an operating system is a simple, extensible menu that's not just a program laucher, but a real menu that can mix applications with documents and unlimited submenus that are all file-based much like WinXP. What I want is complete system dialogs that have all features enabled and on the face of the dialog so that they're quick to submit. The Linux Mint Cinnamon dialogs, for example, are awful and really slow down usage of the OS.

              Originally posted by oshunluvr View Post
              Yeah I've seen the window thing but it's movable and goes full screen easily enough if you drag it to the top of the installer window.
              That's not possible in a VBox VM until the Guest Additions are run in the Guest (which is not possible during the installation).

              It does start really small on a 4K screen but my monitor is large enough to see it just fine.
              My gaming laptop is 4K with a 17 inch screen. The installer screens were way too small, but VBox can enlarge them -- I chose 200% -- so that's not really the issue. What is the issue was the installers aspect ratio being too wide.

              I hope I've clarified my testimony. Thank you for your time and your kind attention.

              Comment


                #8
                I'm a little confused. If you are trying to limit Windows access to the internet, wouldn't it be better to have it within a VM and Linux as the host? If I'm reading it correctly, it sounds the other way around. I was the same and not wanting to have Windows access to the internet and at the time had mission critical programs and it was easier to sandbox it as a guest VM then as a host. I also had a video editor that I need to use back then as well (Premier) and I was able to use it just fine in a VM, but that does depend on the specs of the computer as well.

                I do run Neon as a VM as that's where I do a lot of my developer work (mainly as a hobby for in house solutions) and I haven't had the issue that you are describing, however, I will say that Kubuntu does have one quirk with Vbox when it's the host and using a multimonitor display (I run 3 monitors) that is directly related to display and going full screen (not maximized, but truly full screen).

                You shouldn't actually need the Guest Extensions to go full screen and not deal with that default VM size in any modern Linux distro as a guest as I do believe the Linux kernel does incorporate those drivers within Linux itself. Or atleast a set of drivers that when it "knows" it's in a VM and recognizes that it has a protocol to use. Now I think that applies to say 18.04 and later, I don't think say Mint 18 (which is 16.04 based) would have that, but I could be wrong, I've actually only dealt with Mint 17 and Mint 19.2 in recent memory. I've never installed Guest Additions on any Linux VM in the last 2 yrs.

                I must say, I do prefer in most instances Kubuntu over Neon as a host and VMing Windows, but both have their what I will call "finishing" quirks. They are rough around the edges with some visual aspects.
                Last edited by WWDERW; Oct 02, 2019, 02:07 AM.
                Lenovo Thinkstation: Xeon E5 CPU 32GB ECC Ram KDE Neon

                Comment


                  #9
                  Have you tried the pre-installed images osboxes provide?

                  Comment


                    #10
                    Yeah I've seen the window thing but it's movable and goes full screen easily enough if you drag it to the top of the installer window.

                    That's not possible in a VBox VM until the Guest Additions are run in the Guest (which is not possible during the installation).
                    Well, it accepts the change to full screen which causes it to offset to the left instead of the right. Meaning the hidden part is the left half of the column of "Installation Steps" is hidden instead of the part you need to do the install. It's been that way for as long as I remember, several years I think. Hasn't stopped my from installing Kubuntu in a VM even once.

                    Prior to relocating window:
                    Click image for larger version

Name:	Screenshot_20191002_092226.jpg
Views:	1
Size:	68.8 KB
ID:	644330

                    After:
                    Click image for larger version

Name:	Screenshot_20191002_092332.jpg
Views:	1
Size:	65.0 KB
ID:	644331
                    Click image for larger version

Name:	Screenshot_20191002_092643.jpg
Views:	1
Size:	107.1 KB
ID:	644332

                    Please Read Me

                    Comment


                      #11
                      So, the problem(s) I related in my first install is/are known and old. Oh, my. That's not a good sign. I guess I wasted my time documenting my experiences. That makes me a little bitter.

                      Comment


                        #12
                        Documenting ones experience of a 'problem' is never wasted. Getting it to the right people is the challenge (it seems). I refer you (again) to my comment in post #4.
                        Windows no longer obstructs my view.
                        Using Kubuntu Linux since March 23, 2007.
                        "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                        Comment


                          #13
                          Known yes, but again not a waste of time. Documenting issue for the next noob is always a good thing. Also a couple devs hang around here so maybe they'll jump in and fix it!

                          Please Read Me

                          Comment


                            #14
                            Originally posted by oshunluvr View Post
                            Also a couple devs hang around here so maybe they'll jump in and fix it!
                            I'll admit that that isn't likely, but maybe -- maybe -- those here will bring it to the attention of those who 'could' fix it.
                            Windows no longer obstructs my view.
                            Using Kubuntu Linux since March 23, 2007.
                            "It is a capital mistake to theorize before one has data." - Sherlock Holmes

                            Comment


                              #15
                              Virtualbox changed their emulated graphics adapter in version 6.x. The new default on Linux VMs does not always work well. It looks like they dropped the ball badly on testing their changes.

                              See various threads on: https://forums.virtualbox.org/viewforum.php?f=3

                              Some people have had luck changing the new 'Graphics Controller' option in VM settings to an alternative.

                              Virtualbox 5.x works well here.
                              Last edited by acheron; Oct 04, 2019, 01:28 AM.
                              On #kubuntu-devel & #kubuntu on libera.chat - IRC Nick: RikMills - Launchpad ID: click

                              Comment

                              Working...
                              X