Quantcast
Channel: Ubuntu Forums
Viewing all 82528 articles
Browse latest View live

[ubuntu] Installing 18.04 as dual boot, need to get into kernel boot options to act. nomodeset

$
0
0
I booted up to the 18.04 install usb to install 18.04 as a dual boot. When 18.04 booted up from the installation usb, I got a screen filled with multicolored distortion, rather than the desktop. I think what I need to do is get into kernel options and activate nomodeset. This I had done earlier with 14.04 installation usb, and it worked perfectly. But I have forgotten how to open the screen where I can select this. Please kindly see below, the directions which I used in the past for this. But I am not getting the purple screen with a keyboard logo as described below, in the current computer.

Quote:

How to enable kernel options on the livecd (before install)

If you boot ubuntu from a livecd (or USB stick), right after the bios splash screen you will get a purple screen with a keyboard logo at the bottom. Press any key at that moment to access a menu. Select your language with the arrow keys, press enter and you will see a menu. If you press the F6 key, a menu at the bottom will open allowing you to set kernel options with the space bar or enter key. You can close the menu with escape key and resume booting by selecting the option “try ubuntu without installing” (please note that session does allow you to install ubuntu once you found the kernel options cured your problem).

[lubuntu] RAM recognized in BIOS and in Lubuntu 18.10, but not available for use.

$
0
0
Hey there!

I'm running Lubuntu 18.10 on an old Dell Dimension E510 Desktop Computer.

I've installed 6 gigabytes of DDR2 RAM into the machine, two 1 GB sticks and two 2 GB sticks.

The BIOS recognizes all of the RAM, as does Lubuntu.

The operating system does not seem to want to give me full access to all of my RAM, however.

Here's the output of
Code:

sudo lshw - class memory
Code:

tim@tim-pc:~$ sudo lshw -class memory
  *-firmware               
      description: BIOS
      vendor: Dell Inc.
      physical id: 0
      version: A05
      date: 03/31/2006
      size: 64KiB
      capacity: 448KiB
      capabilities: pci pnp apm upgrade shadowing cdboot bootselect edd int13floppytoshiba int5printscreen int9keyboard int14serial int17printer acpi usb ls120boot biosbootspecification netboot
  *-cache:0
      description: L1 cache
      physical id: 700
      size: 16KiB
      capacity: 16KiB
      capabilities: internal write-back data
      configuration: level=1
  *-cache:1
      description: L2 cache
      physical id: 701
      size: 2MiB
      capacity: 2MiB
      capabilities: internal varies unified
      configuration: level=2
  *-memory
      description: System Memory
      physical id: 1000
      slot: System board or motherboard
      size: 6GiB
    *-bank:0
          description: DIMM DDR Synchronous 533 MHz (1.9 ns)
          product: VS1GB667D2
          vendor: 7F7F9E0000000000
          physical id: 0
          serial: 00000000
          slot: DIMM_1
          size: 1GiB
          width: 64 bits
          clock: 533MHz (1.9ns)
    *-bank:1
          description: DIMM DDR Synchronous 533 MHz (1.9 ns)
          product: V02D2LF2GB1881880
          vendor: 0000000000000000
          physical id: 1
          serial: 00000000
          slot: DIMM_3
          size: 2GiB
          width: 64 bits
          clock: 533MHz (1.9ns)
    *-bank:2
          description: DIMM DDR Synchronous 533 MHz (1.9 ns)
          product: V02D2LF2GB1881880
          vendor: 0000000000000000
          physical id: 2
          serial: 00000000
          slot: DIMM_2
          size: 2GiB
          width: 64 bits
          clock: 533MHz (1.9ns)
    *-bank:3
          description: DIMM DDR Synchronous 533 MHz (1.9 ns)
          product: VS1GB667D2
          vendor: 7F7F9E0000000000
          physical id: 3
          serial: 00000000
          slot: DIMM_4
          size: 1GiB
          width: 64 bits
          clock: 533MHz (1.9ns)

I am running 64-bit lubuntu
Code:

tim@tim-pc:~$ uname -m
x86_64


So I have a 64-bit version of the machine, the BIOS detects all 64 gigabytes of RAM, and Ubuntu can see all four RAM chips.

When I run
Code:

free -m
, I get:

Code:

tim@tim-pc:~$ free -m
total        used        free      shared  buff/cache  available
Mem:          3629        2108        632          23        888        1322

(The machine has Swap space, I just excluded that here)

However, when I run the command htop, it shows that I only have 3.54G of RAM, and when I run a .jar file in Java with a maximum and minimum amount of 4GB of RAM usage -- Beyond what htop is showing --, it crashes the machine.


Other than the change in memory, the machine is otherwise entirely stock.

Could somebody help me figure out what I'm missing, here? I've tried installing different ram chips, reseating the ram, changing the ports that the different ram chips are installed in and so on, and I have seen no change in the outputs to these commands.

Django module view has no attribute?

$
0
0
I’m taking a Udemy course by Nick Walter and rather than copying line by line, I’m trying to branch out and experiment on my own.

The purpose of the website I am creating is for a small blog, with the ability to redact string input (in an HTML form) from the user. There is also a word counter for the body content of the blog.

I got Django running but as soon as I started adding the code I wrote, Django stopped running properly.

Here is the traceback in full: https://pastebin.com/8HtdNwPP

The main issue shows at the bottom:

Quote:

File "/home/<user>/dev/projects/python/2018-and-2019/CC_Redact_Iter2/CC_Redact_Iter2/urls.py", line 28, in <module>
path('^james/', views.posts, name='james'),
AttributeError: module 'counters.views' has no attribute 'posts’


Based on this traceback, I gather I have probably misnamed a function or a file name or template but I can’t for the life of me figure which one or where.

My entire source code repo can be found here: https://github.com/Angeles4four/CC_Redact_Iter2

Here are some of the relevant files involved.

urls.py:
Code:

from django.contrib import admin
from django.urls import path
# from . import views
from posts import views
from redactors import views
from counters import views
urlpatterns = [
  path('admin/', admin.site.urls),
  path('^$', views.home, name='home'),
  path('^result/', views.result, name='result'),
  path('^seth/', views.counters, name='seth'),
  path('^james/', views.posts, name='james'),
  path('^james/', views.redactors, name='simon'),
]


counters/views.py:
Code:

from django.http import HttpResponse
from django.shortcuts import render
def home(request):
  if 'ccEntry' in request.GET:
      number = request.GET['ccEntry']
      redacted_num = 'xxxx xxxx xxxx {}'.format(number[-4:])
      return render(request, 'result.html', {'number':number, 'redacted_num':redacted_num})
  else:
      return render(request, 'home.html')
def result(request):
    return render(request, 'result.html')
def counters(request):
  return render(request, 'counters/james.html')

Here is my file tree: https://imgur.com/a/BUTKKEH

Contents of requirements.txt:
Quote:

Django==2.0.13
Pillow==5.4.1
psycopg2==2.7.7
psycopg2-binary==2.7.7
pytz==2018.9
If there are other files in my project that if you wish to view, you can click through the file tree as it appears on GitHub (linked to above).

[ubuntu] kdenlive permission problem (or kde environment in gnome problem)

$
0
0
This is a bit of a strange issue.

I have compiled kdenlive-18.12.3 in my Unity(gnome-based) Ubuntu 16.04 box. I built it in my $HOME without ever invoking sudo. But I am not able to access any folder from kdenlive because in Kdenlive's file open dialogue they are reported to be owned by root. In order to compile kdenlive I need up to date KF5, since kde5 in 16.04 is too old I compiled it myself too in my $HOME (again without sudo at any time)

I run kdenlive with a script that loads the kf5 environment:


Code:

export PREFIX=$HOME/opt/kdenlive
export KF5PREFIX=$HOME/opt/kf5
export LD_LIBRARY_PATH=$PREFIX/lib:$KF5PREFIX/lib:$KF5PREFIX/qt5/lib:$LD_LIBRARY_PATH
export PATH=$PREFIX/bin:$KF5PREFIX/bin:$KF5PREFIX/qt5/bin:$PATH
export  PKG_CONFIG_PATH=$PREFIX/lib/pkgconfig:$PREFIX/share/pkgconfig:$KF5PREFIX/lib/pkgconfig:$KF5PREFIX/qt5/lib/pkgconfig:$KF5PREFIX/share/pkgconfig:$PKG_CONFIG_PATH
export QT5DIR=$KF5PREFIX/opt/qt5

Where $HOME/opt/kf5 is where I installed KF5

I think my problem has to do with some weird permission problem stemming from running a kde environment (not just a kde app) in a gnome box (and my hardrive "ubuntu" shows up as a mounted device in kdenlive's open file menu)

How do I change the permission within the kde environment?

Thanks.
Attached Images

[ubuntu] Backup restore error...

$
0
0
Hi guys,

I backed up all my files but am having trouble restoring them using duplicity.

I get this error when i try to do it.

Error: g-io-error-quark: Error creating directory /media/seangreenhalgh/Backup/greenhalghhomepc-desktop: Permission denied (14)

How can i get it to pull my files?

Cheers,
Sean Greenhalgh

[SOLVED] Can GParted move a partition from one place to another on HDD

$
0
0
I am in the process of installing 18.04, and there is 4 GB of unallocated space on the other side of a restoration partition, from the partition where I will be installing 18.04. Can GParted move the restoration partition so that the 4 GB of unallocated space can be joined together with the partition where I'll install 18.04?

[UbuntuGnome] Old one AMD HD 7570 0n 18.04

$
0
0
I know that the old radion flx* drivers only went to 15.X.
Dose anyone know how well the open source drivers radeon or amdgpu work.

I have three options.
  • Install Ubuntu 18.04 and use open source drivers.
  • Install Ubuntu 15.04 and use proprietary drivers.
  • Install Windows 10, (I have an extra key).
    • The A8-3800 apu dose have HD6620 integ. graph.
    • The HD 7570 will run in dual graphics mode with it.


I cant decide will it be worthless to run the HD 7570 on the open source drivers. Hope you don't mind me asking for opinions!

Launcher and file explorer flickering

$
0
0
Hi, I have a problem that started recently where the desktop launcher and the sidebar of the file explorer (the area showing devices) keep flickering every few seconds, possibly showing a device that I do not recognize and don't know hot to get rid of.

The flashes are for less than a second and after managing to take a screen shot it looks like the icon shown in the launcher is of a mounted or external device, and in the file explorer list the title "4.1 KB Volume" is added. This "flickering" happens constantly, even if the files explorer isn't open, also when the files explorer is removed from the launcher.

Please see attached images for clarification, with and without the added items... Any idea how to remove this? Thank you!
Dana

[ubuntu] Newbie-ish... trying to upgrade to 18.4 but fails...

$
0
0
I am trying to upgrade and have been failing since 18.4 was released(I haven't bothered to upgrade seriously till now).I have synced Opera to my mobile and uninstalled on my Lenovo T-450. When I try to upgrade I get the following error and it reverts back to 17.1

W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:1W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:1
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:1
W: Target Translations (non-free/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:1
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:1
W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:1
W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:1
W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:1
W: Target Packages (non-free/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:2
W: Target Packages (non-free/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:2
W: Target Packages (non-free/binary-all/Packages) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:2
W: Target Translations (non-free/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:2
W: Target Translations (non-free/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11 (non-free/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11 (non-free/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:2
W: Target DEP-11-icons (non-free/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list.d/opera-stable.list:4 and /etc/apt/sources.list.d/opera.list:2


How do I get this resolved so I can upgrade to 18.4 and reinstall Opera... Thanks

[ubuntu] NO wifi adapter found in Asus laptop.

$
0
0
Hi there, I'm totally new to ubuntu and also in ubuntuforums. yesterday i installed ubuntu 18.04.2 LTS on my Asus vivobook x540ub laptop. everything is fine except it shows no wifi adapter found! this is my adapter rtl8821ce 802.11ac. I've followed many post's but they didn't worked for me. actually i don't even know what am i doing. please someone kindly help me. thank you.

Sharing files between wired connection with wireless network

$
0
0
My system is connected to wireless connection with one system and the same is connected using lan with other one. I want to connect with both the end working making my computers a router. How to do it?

Pls delet this

$
0
0
Please delete this account and randomize the name, thanks :smile:

Can I make this non-compatible (officially) hard drive work?

$
0
0
I use Ubuntu 18.04. Here it says Linux is not supported for the WD Passport Wireless Pro hard drive (or more specifically, only Windows/Mac is mentioned): https://www.wd.com/products/portable...eless-pro.html

On this page someone recommended preparing for a slightly different (non-wireless pro) passport hd by installing an ExFAT library: https://askubuntu.com/questions/7908...n-ubuntu-16-04

On this thread someone also mentioned using Rsync for something: https://community.wd.com/t/how-to-us...ntu-linux/9115


These other drives also do not appear to have linux drivers. Yet I think the posters might have gotten them to work.

Is it possible? What do i need to do or check for? Thanks for any pointers

[ubuntu] 'Error: BrokenCount>0'

$
0
0
The following message appeared on my Ubuntu 16.04 LTS:
An error ocurred, please run Package Manager from the right-click menu or apt-get in a terminal to see what's wrong. The error message was: 'Error: BrokenCount>0'

I ran sudo apt-get install -f and the output was the following:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
python3-qgis-common
The following NEW packages will be installed:
python3-qgis-common
0 upgraded, 1 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 0 B/4296 kB of archives.
After this operation, 14,6 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 261736 files and directories currently installed.)
Preparing to unpack .../python3-qgis-common_3.4.6+dfsg-1~xenial1_all.deb ...
Unpacking python3-qgis-common (3.4.6+dfsg-1~xenial1) ...
dpkg: error processing archive /var/cache/apt/archives/python3-qgis-common_3.4.6+dfsg-1~xenial1_all.deb (--unpack):
trying to overwrite '/usr/share/qgis/python/plugins/processing/script/ScriptAlgorithmProvider.py', which is also in package python-qgis-common 1:2.18.16+24xenial
dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
Errors were encountered while processing:
/var/cache/apt/archives/python3-qgis-common_3.4.6+dfsg-1~xenial1_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
Could you guys help fix this issue, since I'm a beginner on Linux? Thanks!
Attached Images

[all variants] NIS/NFS breaks xorg

$
0
0
Hi!

The clients on our network get authentication information from NIS and mount the home directory via NFS.
Since i updated the NIS/NFS server to debian 9 the login managers on the clients are basically broken. Sometimes the login works, sometimes it doesnt.
The nsswitch.conf:

Code:

passwd:        compat nis
group:          compat nis
shadow:        compat nis
gshadow:        files


hosts:          files mdns4_minimal [NOTFOUND=return] dns myhostname
networks:      files


protocols:      db files
services:      db files
ethers:        db files
rpc:            db files


netgroup:      nis

the autofs file:

Code:

* -fstype=nfs,default,vers=3,retry=0 10.0.0.3:/home/&
journalctl tells errors like:

Code:

Apr 02 13:11:46 AStA-SR-R kernel: i915 0000:00:02.0: firmware: failed to load i915/kbl_dmc_ver1_01.bin (-2)
Apr 02 13:11:46 AStA-SR-R kernel: i915 0000:00:02.0: Direct firmware load for i915/kbl_dmc_ver1_01.bin failed with error -2
Apr 02 13:11:46 AStA-SR-R kernel: i915 0000:00:02.0: Failed to load DMC firmware [https://01.org/linuxgraphics/intel-linux-graphics-firmwares], disabling runtime power

Apr 02 13:11:46 AStA-SR-R avahi-daemon[433]: chroot.c: open() failed: No such file or directory

(which dont seem related, but xorg stuff:)

Apr 02 13:11:47 AStA-SR-R /usr/lib/gdm3/gdm-x-session[514]: (EE) open /dev/fb0: Permission denied
Apr 02 13:11:47 AStA-SR-R /usr/lib/gdm3/gdm-x-session[514]: (WW) Falling back to old probe method for vesa
Apr 02 13:11:47 AStA-SR-R /usr/lib/gdm3/gdm-x-session[514]: (WW) VGA arbiter: cannot open kernel arbiter, no multi-card support

things i tried:
setting MINGID for YP to 0.
Removing any desktop environment generated configs from user home.
chmod 777 ~


Any ideas? Im using Ubuntu 18.04 on the clients.

[ubuntu] error while adding kali linux repositiory

$
0
0
Code:

1) Add kali linux repositories
2) Update
3) Remove all kali linux repositories
4) View the contents of sources.list file

                   
What do you want to do ?> 1
Executing: /tmp/apt-key-gpghome.SOxyljXRGy/gpg.1.sh --keyserver pgp.mit.edu --recv-keys ED444FF07D8D0BF6
gpg: keyserver receive failed: No data

[ubuntu] Did fresh install of 18.04: Can I overwrite home folder w/saved home fr my old 14.04?

$
0
0
Was running 14.04 till yesterday; I backed up my home folder, then removed the 14.04 partition and did a fresh install of 18.04. Can I now take the 14.04 home folder, copy it, and just overwrite the entire 18.04 folder with it? That would surely save a lot of time :). Or do I need to copy paste all the individual folders from my old 14.04 home folder into the 18.04 home folder?

archive.ubuntu.com (archive.ubuntu.com)|91.189.88.161

$
0
0
apt-get update is stuck at attempting connection with the server mentioned in the subject line.

I noticed this file link at the server: http://security.ubuntu.com/ubuntu/Archive-Update-in-Progress-ubuntu-yukinko

Is this just an issue while the archive is being updated?

[ubuntu] sudo apt-get update has no response

$
0
0
Dear Team,

The below command does not execute, it takes a very long time , the version of Ubuntu is 16.04

Code:

$ sudo apt-get update
It process hangs with the following:
Code:

Hit:1 http://download.virtualbox.org/virtualbox/debian xenial InRelease
Hit:2 https://download.docker.com/linux/ubuntu xenial InRelease                                     
Hit:3 http://ppa.launchpad.net/webupd8team/java/ubuntu xenial InRelease 
Ign:4 http://sg.archive.ubuntu.com/ubuntu xenial InRelease
Ign:5 http://sg.archive.ubuntu.com/ubuntu xenial-updates InRelease
0% [Waiting for headers]

I also tried with the ubuntu main server in the software update settings... still the same.

Can anyone help me out, please?

Thank you

vanchin

[ubuntu] How to install this: gnome-shell-extension-suspend-button

$
0
0
Using 18.04. Here is a nice, short article on How To Access The Suspend Button In Ubuntu 18.04 (Gnome Shell). There they also provide a link to a program which adds a permanently visible Suspend button in the Gnome Shell user menu. But I cannot seem to figure out how to get it installed. I downloaded the folder, opened a terminal window, changed directory (cd) to the folder, and gave the requested commands of make, and make install. But the terminal window did not accept the commands. Here is the page for this GNOME Shell Extension Suspend-Button. Should be so simple. Please help! Thanks.
Viewing all 82528 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>