EzDevInfo.com

14.10 interview questions

Top 14.10 frequently asked interview questions

Ubuntu 14.10 does not install in virtualbox

I'm currently running Windows 8.1 x64 (a problem in itself that I can't change sadly ;-P) with the latest version of VirtualBox (4.3.18 r96516). I managed to get the server version up and running with no issues but I cannot get the desktop version running.

I can boot to the menu and start the process (select the option to install and/or try) and it will get through the inital Ubuntu 14.10 loading screen (with the progess "bar/dots") but then we get to a nasty screen of distorted colors and that's it.

My hypothesis is that the display driver/server isn't working with VirtualBox and what I'm essentially seeing is the display in a crappy mode (16colors@62x24) because I am able to see a perfectly fine screen with cursor working and everything and then suddenly I'm in that nasty screen. The mouse does show up (nasty looking and filling the entire screen) but nothing else.

Here is a screenshot:

enter image description here

Here are my settings in an album (I can add more if desired but I put in what I thought were the most relevant):

enter image description here

enter image description here

enter image description here

enter image description here


Source: (StackOverflow)

How to Upgrade from 14.10 to 15.04 [closed]

I'm looking for a way to upgrade 14.10 to 15.04 - from the internet only (i.e. without using external media).

I've already tried apt-get dist-upgrade


Source: (StackOverflow)

Advertisements

L2TP IPsec VPN client on Ubuntu 14.10

I need to connect to a L2TP IPsec VPN using Ubuntu 14.10. I previously used L2TP IPsec VPN Manager 1.0.9 from Werner Jaeger in Ubuntu 14.04, and it worked great, but that no longer appears to be supported in 14.10. I have xl2tpd installed. I no longer see the option to add a L2TP Ipsec VPN connection under the VPN Connections menu in Network Connections. Any help or guidance is appreciated.


Source: (StackOverflow)

14.10: VirtualBox "No suitable module for running kernel found", Cannot Find Kernel Source

After the 14.10 update to VirtualBox, I can no longer run my boxes. Of note, running sudo service virtualbox status returns VirtualBox kernel module is not loaded and running sudo service virtualbox restart shows:

 * Stopping VirtualBox kernel modules                                    [ OK ] 
 * Starting VirtualBox kernel modules                                            
 * No suitable module for running kernel found
                                                                         [fail]

The VirtualBox GUI, when I try to run a box, pops up a dialog saying that I should run sudo /etc/init.d/vboxdrv setup, but there is no /etc/init.d/vboxdrv on my 14.10 installation.

This is reminiscent of this question. Per some of the answers, I tried uninstalling (with purge) and reinstalling VirtualBox. This did not help. However, I was unable to install:

linux-headers-`uname -r`

because there is no package named linux-headers-3.13.0-30-generic. I do have linux-headers-generic and linux-source installed, as well as dkms, but the reinstall still fails:

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Suggested packages:
  vde2
The following NEW packages will be installed:
  virtualbox virtualbox-dkms virtualbox-qt
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/21.1 MB of archives.
After this operation, 87.6 MB of additional disk space will be used.
Selecting previously unselected package virtualbox.
(Reading database ... 253183 files and directories currently installed.)
Preparing to unpack .../virtualbox_4.3.18-dfsg-2ubuntu1_amd64.deb ...
Unpacking virtualbox (4.3.18-dfsg-2ubuntu1) ...
Selecting previously unselected package virtualbox-dkms.
Preparing to unpack .../virtualbox-dkms_4.3.18-dfsg-2ubuntu1_all.deb ...
Unpacking virtualbox-dkms (4.3.18-dfsg-2ubuntu1) ...
Selecting previously unselected package virtualbox-qt.
Preparing to unpack .../virtualbox-qt_4.3.18-dfsg-2ubuntu1_amd64.deb ...
Unpacking virtualbox-qt (4.3.18-dfsg-2ubuntu1) ...
Processing triggers for man-db (2.7.0.2-2) ...
Processing triggers for ureadahead (0.100.0-16) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...
Processing triggers for shared-mime-info (1.2-0ubuntu3) ...
Processing triggers for menu (2.1.47ubuntu1) ...
Processing triggers for bamfdaemon (0.5.1+14.10.20140925-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for desktop-file-utils (0.22-1ubuntu2) ...
Processing triggers for mime-support (3.55ubuntu1.1) ...
Processing triggers for gnome-menus (3.10.1-0ubuntu2) ...
Setting up virtualbox (4.3.18-dfsg-2ubuntu1) ...
 * Stopping VirtualBox kernel modules                                    [ OK ] 
 * Starting VirtualBox kernel modules                                            
 * No suitable module for running kernel found
                                                                         [fail]
invoke-rc.d: initscript virtualbox, action "restart" failed.
Processing triggers for ureadahead (0.100.0-16) ...
Setting up virtualbox-dkms (4.3.18-dfsg-2ubuntu1) ...
Loading new virtualbox-4.3.18 DKMS files...
First Installation: checking all kernels...
Building only for 3.13.0-30-generic
Module build for the currently running kernel was skipped since the
kernel source for this kernel does not seem to be installed.
 * Stopping VirtualBox kernel modules                                    [ OK ] 
 * Starting VirtualBox kernel modules                                            
 * No suitable module for running kernel found
                                                                         [fail]
invoke-rc.d: initscript virtualbox, action "restart" failed.
Setting up virtualbox-qt (4.3.18-dfsg-2ubuntu1) ...
Processing triggers for menu (2.1.47ubuntu1) ...

So... how do I get "kernel source for this kernel" (3.13.0-30-generic) or otherwise get VirtualBox to install properly?


Source: (StackOverflow)

Installing Steam in Ubuntu 14.10

I am currently using Ubuntu 14.10. Steam is showing up in the Ubuntu Software Center, but when I click on it it says:

Not found
There isn't a software package called "steam" in your current software sources.

enter image description here

Is there a fix for this? Am I the only one having this problem?


Source: (StackOverflow)

Why did my highlights turn pink/purple in Xubuntu 14.10?

Around the time of the start to testing of the second beta for Xubuntu 14.10, my highlights turned pink system-wide. What gives?

enter image description here enter image description here


Source: (StackOverflow)

OpenGL GLX context is not using direct rendering, which may cause performance problems. (steam) AMD DRIVER

When I start steam in a terminal, I get the following error messages

charlie@SteamMPL:~$ steam
rm: no se puede borrar «/home/charlie/.steam/steam»: Es un directorio
rm: no se puede borrar «/home/charlie/.steam/bin»: Es un directorio
Running Steam on ubuntu 14.04 64-bit
STEAM_RUNTIME is enabled automatically
[2014-08-03 11:50:13] Startup - updater built Jul 15 2014 18:14:26
Installing breakpad exception handler for appid(steam)/version(1405474565_client)
libGL error: failed to load driver: swrast
Looks like steam didn't shutdown cleanly, scheduling immediate update check
Installing breakpad exception handler for appid(steam)/version(1405474565_client)
[2014-08-03 11:50:14] Checking for update on startup
[2014-08-03 11:50:14] Buscando actualizaciones disponibles...
Installing breakpad exception handler for appid(steam)/version(1405474565_client)
[2014-08-03 11:50:14] Download skipped: /client/steam_client_ubuntu12 version 1405474565, installed version 1405474565
[2014-08-03 11:50:14] Nothing to do
[2014-08-03 11:50:14] Verificando instalación...
[2014-08-03 11:50:14] Performing checksum verification of executable files
[2014-08-03 11:50:15] Verification complete
Gtk-Message: Failed to load module "overlay-scrollbar"
Gtk-Message: Failed to load module "unity-gtk-module"
Installing breakpad exception handler for appid(steam)/version(1405474565_client)
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig error: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 70: non-double matrix element
Fontconfig warning: "/etc/fonts/conf.d/10-scale-bitmap-fonts.conf", line 78: saw unknown, expected number
[0803/115015:WARNING:proxy_service.cc(958)] PAC support disabled because there is no system implementation
libGL error: failed to load driver: swrast
Error: OpenGL GLX context is not using direct rendering, which may cause performance problems.

Hardware information:

  • CPU: AMD Athlon x4 760k
  • GPU: AMD Radeon R7 250 1 GB GDDR5 (Driver: Catalyst 14.4)
  • RAM: 8 GB DDR3 1600

What can I do to circumvent this issue?


Source: (StackOverflow)

kidle_inject causing very high load

When ever kidle_inject starts running on my system the load shoots up in general it only gets to a load of around this 5.23, 3.65, 2.54 but a lot of the time it jumps up past the 15 mark on each of them at that point the system grinds to a halt and I have to power it off.

This only happens when the kidle_inject process starts. How can I disable this process so my machine can work and I can get some work done.

Example top:

top - 12:43:48 up  3:02,  3 users,  load average: 6.57, 5.53, 3.33
Tasks: 256 total,   3 running, 253 sleeping,   0 stopped,   0 zombie
%Cpu(s):  5.9 us, 16.6 sy,  0.0 ni, 74.7 id,  0.5 wa,  0.0 hi,  2.3 si,  0.0 st
KiB Mem:   8080252 total,  7937856 used,   142396 free,   258904 buffers
KiB Swap:        0 total,        0 used,        0 free.  4061336 cached Mem

  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
13509 root     -51   0       0      0      0 S  54.7  0.0   3:29.47 kidle_inject/1
13511 root     -51   0       0      0      0 S  54.1  0.0   3:30.92 kidle_inject/3
13510 root     -51   0       0      0      0 S  48.8  0.0   3:11.60 kidle_inject/2
13508 root     -51   0       0      0      0 S  47.6  0.0   3:08.47 kidle_inject/0

Source: (StackOverflow)

APT way to get Adobe Flash Player latest version for Linux not working

I am running Ubuntu 14.10 and I am trying to get the latest version of Adobe Flash Player for Linux (which apparently is 11.2), I am selecting the option for APT for Ubuntu 10.04+ here:

Adobe Flash Player Download page

But when I click the Launch Application button after hitting the Download button: Launch Application Prompt

I just get this in the Ubuntu Software Center: Ubuntu Software Center Adobe Flash Player Not Found

So my main questions are, why is this happening? Can I fix this? And how can I get the latest version of Adobe Flash Player if I can't fix this?


Source: (StackOverflow)

Where to add the Pre-Shared Key for the Server Authentication with Network Manager for L2TP/IPSEC?

enter image description here

Previously, I was trying to figure out how to install the L2TP/IPSEC manager code. I guess Ubuntu/Canonical switched away from OpenSwan to StrongSwan, but didn't really announce it. So that was figured out in this AskUbuntu question: L2TP IPsec VPN client on Ubuntu 14.10

Since then, I've been trying to figure out how to use Pre-Shared Keys for Authentication to the Server. As shown in the screenshot, the Network Manager allows for a Certificate (.pem file), but not a Pre-shared key.

My network admin doesn't want to mess around with Certs because PSKs are good enough for the situation we're working with. I've already tested these PSKs with Windows and they work great.

He's given me 4 pieces of info.

  • Server name
  • PSK for said server
  • User name
  • password for said username

I can see on this screenshot where to put the server name and username, but cannot see where to put the PSK for the server, nor where to enter the password (maybe I'm prompted for that at connection time.)

Anyone know how to do this?

UPDATE: So I tried hackerb9's suggestion, but it didn't appear to do anything. I also tried alci's suggestion of downloading the 1.3.1 version of Network-Manager for L2TP and compiling manually. After installing a bunch of packages and re-running ./configure a few times, I eventually was able to "make" and then "make install" the code.

The plug-in for network manager now shows a Pre-shared Key option, but it still doesn't work. It now looks like this:

enter image description here

The problem with this is that the "Certificate" option is still being displayed (instaed of the Pre-shared key field.)

Where in this Ubuntu Network Manager plugin am I supposed to enter the Pre-shared Key for Server authentication?

As an example for contrast, in Windows 8, it has an option that looks like this:

enter image description here


Source: (StackOverflow)

WinUSB gives a exit code: 256

I have Ubuntu 14.10 with WinUSB and I have a Windows 8.1 Pro ISO with a 4GB SD Card with an empty FAT32 partition. Everytime I try to use it, it says "Installation failed, exit code: 256". How do I fix this?


Source: (StackOverflow)

"Distribution not supported" when trying to install Intel Graphics Installer in Ubuntu

My Ubuntu version is new, and Intel Graphics Installer doesn't allow me to install the Intel video drivers. It says "Distribution not supported" How can I resolve this problem?


Source: (StackOverflow)

Ubuntu freezes after I run video on the full screen on Chrome 40

After the last update, when I run video on a full screen(youtube, facebook video...) the cursor disappears, and the video works well. But when I close the video(with esc) the whole system freezes and I use RESUIB command to restart it. This happened after last chrome update. I use ubuntu 14.10, intel graphics 4000 and stock drivers, because there are no intel drivers for 14.10 yet. This happens aproximatily every second time I run full screen. Any ideas? Thanks!


Source: (StackOverflow)

How do I prevent a folder inside of /tmp from being cleaned up?

This question is about Ubuntu 14.10 on my developer laptop.

I've got a folder in /tmp that is used by an application to put temporary stuff in there. This application usually makes a temporary folder in my homedir and deletes it afterwards. For some reason that doesn't work when the homedir is encrypted. So instead, I made a symlink to /tmp/foo inside my homedir. My application can write there and make it's temporary subfolder.

Now /tmp/foo gets deleted every time I reboot my machine. Until now I've just recreated the folder manually after reboot. Now I learned in How is the /tmp directory cleaned up? that there is a job doing that.

I've looked at /etc/init/mounted-tmp.conf but my bashfu and especially my findfu are not sufficient to do what I want. Here's an excerpt from that file:

   EXCEPT='! -name .
            ! ( -path ./lost+found -uid 0 )
            ! ( -path ./quota.user -uid 0 )
            ! ( -path ./aquota.user -uid 0 )
            ! ( -path ./quota.group -uid 0 )
            ! ( -path ./aquota.group -uid 0 )
            ! ( -path ./.journal -uid 0 )
            ! ( -path ./.clean -uid 0 )
            ! ( -path "./...security*" -uid 0 )'

   # Remove all old files, then all empty directories
   find . -depth -xdev $TEXPR $EXCEPT ! -type d -delete
   find . -depth -xdev $DEXPR $EXCEPT -type d -empty -delete

What I want to do is add a condition that makes it delete everyting inside /tmp/foo, but not /tmp/foo itself. How do I do that?


Source: (StackOverflow)

Why are missing the frequency options on cpufreq-utils indicator?

I just upgraded to utopic and the indicator for cpufreq-utils just show two cpu frequency options: Power save and Performance.

Before in trusty:

14.04

Now in utopic:

enter image description here

Regards.


Source: (StackOverflow)