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

[ubuntu] Computer Building Woes

$
0
0
I am in the process of building a Ryzen computer. I started off with a problem. The standoffs (included with the case) would not thread into the case. I will be returning the case. This is my question. Is there any danger in testing the components outside of the case while I am waiting for a new case?

Display issues

$
0
0
Hello,

I have a HP Z400 workstation with Asus R7 and dual monitor. I have Ubuntu 17.10 installed. I have been using the PC for quite some time without any real issues. Yesterday morning I turned it on, and realised that the grub boot screen looks like:



https://photos.app.goo.gl/dZ8VJZkH6DsgispE3

I am able to boot properly, but Ubuntu no longer recognises the monitors. It detects a single unknown monitor, and the second monitor mirrors the main display.

Booting from usb or in win7 works 100% properly with dual monitor perfectly ok.

I got no idea where and what to start looking for. Any ideas or directions are kindly welcome.

[HELP] cannot install application / package error "Newbie here"

$
0
0
Platform: laptop acer emd443 (x64-supported)
OS: Xubuntu 32 Bit (x86)

Problem: cannot install application / package
error:
Code:

E: The package viber:amd64 needs to be reinstalled, but I can't find an archive for it.
what I did before this happen:

1. Download viber (without knowing that its not available for x86 platform)
2. search for a solution:https://unix.stackexchange.com/quest...-system-ubuntu
3. and use this command:
Code:

dpkg --add-architecture amd64
now I cannot install anything and I don't know how restore it. and there is a red circle with horizontal white line between my wfi and volume applet
please help. thanks

[ubuntu] limit ddos attacks

$
0
0
now i have this line of code to prevent DDoS attacks but i and my colleges think it will limit access to the website as well the code is as following:
Code:

$IPTABLES -A INPUT -p tcp -i eth1 -m multiport --dports 20,21,53,69,80,119,443,8080 -m limit --limit 60/minute --limit-burst 125 -j ACCEPT
now we already suspect it might be for too many ports already, but the main concern is that we might block everyone instead of just DDoS attacks

we also have a code to prevent SSH attacks which we know will work since we took that from a LAN network which also provided internet access to the users, the code of it is as following:
Code:

#trusted SSh IPs
$IPTABLES -N SSH_WHITELIST
$IPTABLES -A SSH_WHITELIST -s <ip of trusted pc> -m recent --remove --name SSH -j ACCEPT
#brute force SSH blocker
$IPTABLES -A INPUT -p tcp --dport 22 -m state --state NEW -m recent --set --name SSH -j ACCEPT
$IPTABLES -A INPUT -p tcp --dport 22 -m state --state NEW -j SSH_WHITELIST
$IPTABLES -A INPUT -p tcp -i eth1 -m multiport --dport 22,220 -m state --state NEW -m recent --update --seconds 60 --hitcount 4 --rttl --name SSH -j DROP

we hope you the comunity can help us out with this issue

[ubuntu] Blinking cursor after Boot

$
0
0
WEIRD PROBLEM | Hi. I am new to Ubuntu and was trying to install 17.1 in a new system alongside windows. During install, I chose the option to install alongside, but then went on to choose from advanced options. I saw that some of my drive partitions had existing data, so I rebooted to take a backup before I proceed. But now when I try to boot into windows, it shows me nothing but a blinking cursor.

Moreover, the volume where windows was installed earlier (the whole drive, not just the windows partition) is not accessible from Ubuntu live cd (it shows as 'lvm2 pv' in gparted though). I cannot even boot from another windows disk :(

Here is some data from boot-repair. not sure if it is any use.

http://paste.ubuntu.com/p/BCXsp4M93q/

Any help would be much appreciated. I am using an HP pavilion g4.

fstab mount nfs and smb v3 from QNAP not working

$
0
0
Hi guys,

I have latest Ubuntu Linux ubuntu 4.13.0-36-generic #40-Ubuntu SMP Fri Feb 16 20:07:48 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

I have QNAP NAS where I have several shares via SMB v3 and NFS. I would like to mount those shares during boot time so they are always accessible.
SMB mount attempt
Code:

//192.168.255.117/Seriale /media/seriale cifs username=wojcieh,password=password,iocharset=utf8,sec=ntlm 0 0
//192.168.255.117/Movies /media/movies cifs username=wojcieh,password=password,iocharset=utf8,sec=ntlm 0 0

When I try to mount via sudo mount -a I receive following error.

Code:

Mar 13 11:38:55 ubuntu kernel: [942160.880516] CIFS VFS: Unable to select appropriate authentication method!
Mar 13 11:38:55 ubuntu kernel: [942160.880522] CIFS VFS: Send error in SessSetup = -22
Mar 13 11:38:55 ubuntu kernel: [942160.880845] CIFS VFS: cifs_mount failed w/return code = -22
Mar 13 11:38:55 ubuntu kernel: [942160.905738] CIFS VFS: Unable to select appropriate authentication method!
Mar 13 11:38:55 ubuntu kernel: [942160.905745] CIFS VFS: Send error in SessSetup = -22
Mar 13 11:38:55 ubuntu kernel: [942160.916577] CIFS VFS: cifs_mount failed w/return code = -22


When i try to mount via nfs, after mount -a it times out without error.

Code:

192.168.255.117:Seriale /media/seriale nfs username=wojcieh,password=password
192.168.255.117:Movies /media/movies nfs username=wojcieh,password=password

Code:

wojcieh@ubuntu:~$ sudo mount -a
/etc/host.conf: line 4: bad command `nospoof on'
mount.nfs: Connection timed out
mount.nfs: Connection timed out

What am I doing wrong?

[ubuntu] Hard disk partition in ubuntu 16.04

$
0
0
Sir i have dual boot ubuntu with win 7.i am new to ubuntu and done partition of hard disk,but i do not know whether partition is ok or not, i donot know about partition ,if not ok plz guide to solve.
Attached Images

[ubuntu] System using more ram


Running android emulator in vmware

$
0
0
When I run the Android emulator as I make it use the host GPU. the screen gets black when I navigate to anything and in my terminal, I get this error:

context mismatch in svga_surface_destroy
context mismatch in svga_surface_destroy
context mismatch in svga_sampler_view_destroy
context mismatch in svga_sampler_view_destroy

How could I solve this Vmware problem?

[ubuntu] not able to install ubuntu 16.04.3

$
0
0
I have a Dell XPS laptop with intel i7 processor, 7th gen. I am not able to install ubuntu in this laptop. There is windows already installed in this laptop.

The screen gets stuck at first page when I try installing ubuntu. The screen has UBUNTU written on it with dots below. I tried searching online for support but could not have any successful solution. Can anyone help.

Update/Upgrade

$
0
0
I am fairly new to Linux and Ubuntu, so this may be a common question. I run Ubuntu on my HTPC and everytime I sign on I run update and upgrade in terminal. Should I be doing that? If not, why and what should I be doing to keep the OS current?

Apache server not working

$
0
0
I read a lot of threads and none of them is helping me. I installed apache server and everything was working fine but then I did something (which i don't remember what) and it is since showing error
please help me. My apache server is not running and I getting these outputs for following commands

sudo service apache2 status
1.png

sudo service apache2 restart
2.png


apache2ctl /etc/apache2/configtest


what should I do? Please help.
Steps I have already taken:
1. Removed all apache2 files multiple times to hard uninstall it and reinstalled it again and again
Attached Images

[lubuntu] LibreOffice Base Crashes

$
0
0
I am not sure if this is the best place to get this problem solved. Maybe I should ask in the LibreOffice forum. If so, just tell me.

I wanted to create a database using LibreOffice 5.1.6.2 that I have installed in Lubuntu. I created the database that I wanted but then when I clicked on Forms, the program froze. I then created the database again using LibreOffice 5.1.6.2 that I have installed in Windows XP. There the database works well.

I reboot to my Lubuntu and open the database that I created under Windows. Again, if I click on Tables, Queries, Forms, or Reports the program freezes.

All my other components of LibreOffice work as expected.

Any help will be gratefully received and faithfully applied.

Error system

[ubuntu] Why does the Snap folder have two folders with every root folder?

$
0
0
Hi, I ran a anti-virus scan with Sophos and it reported no viruses but said 47 errors and they were all messages saying could not open folders. Here is a small sample:

Could not open /snap/core/4110/etc/alternatives/awk
Could not open /snap/core/4110/etc/alternatives/jsondiff
Could not open /snap/core/4110/usr/sbin/dpkg-divert
Could not open /snap/core/4110/usr/sbin/dpkg-statoverride
Could not open /snap/core/current/etc/hostname
Could not open /snap/core/current/etc/mtab
Could not open /snap/core/current/usr/sbin/dpkg-statoverride
Could not open /snap/core/current/usr/share/doc/openssl/copyright

Because Sophos said no virus detected I feel quite confident there is nothing wrong but this is just bugging me. I read about the Snap folder and it's supposed to be somewhere files go for programs you install go?

What is puzzling me is inside the Snap folder are another three /bin /chromium /core and a README file.
The chromium folder has quite a small copy of root folders. However the /bin and /core folders have absolutely everything that is in the root folder.

Is this normal? It seems like a lot of duplication for no specific program because chromium is the only thing I installed from Ubuntu Software.

Thanks for any advice, I appreciate your time.

[ubuntu] Unable to boot + unable to save bios changes

$
0
0
All,

last October 2017, I installed ubuntu 17.10 on my Lenovo yoga 300.
The installation was fine and working properly.
Two days later, I was unable to boot my laptop. The start screen kept popping up. I tried to boot from usb, but this was not possible.
Later, I found that there is an issue with ubuntu 17.10 on lenovo laptops and usb boot (https://bugs.launchpad.net/ubuntu/+s...x/+bug/1734147)

Since my laptop was still under warranty, I send it back for repair.
Two months later, I got my laptop back, with the message that my hard drive had crashed and that they were unable to restore my pc because there is a password on my bios (which isn't).

After I got it back, I bought a new hd and installed Zorin OS on it using another laptop.
I did this using a bootable usb and then installing Zorin on the hd (connected through usb).
I was able to boot from this hd using my other laptop.

Then I installed this hd in my lenovo and tried to boot. No result however.
I'm completely stuck now.
I taught about booting from lan, but this option is not available in my boot menu.
Also, I'm still unable to save changes in the bios. So setting the bios to boot from lan, will not work.
I tried resetting the bios using the bios menu and by unplugging the cmos battery (and laptop battery).
However, the result remains the same. Unplugging the cmos battery had reset the time. So it seems the battery is still ok.

Summary:
My hard drive had crashed.
Because of this ubuntu 17.10 issue I cannot boot from usb.
I'm unable to boot my new HD.

Does anybody have any idea how I can get my lenovo working again?

Thanks

Peter

[ubuntu] NO ENTRY SIGN - Broken dependencies

$
0
0
Hi I have packages with broken dependencies and it has brought up a no entry sign in the top right corner
Is this sloweing my machine down?
how do I delete the packags
I think it is robably from when I tried to get dvds to play

many thanks in advanced

Robert

[ubuntu] change network interface names

$
0
0
well now i got a fun problem for you guys, on my ubuntu server i have four network interfaces two of which are built in and are properly called eth1 and eth2 but the other two are called some long line of gibberish (not super long like 23 characters). all i want is to change their names to be like the built in ones, nice and short

now i know for a fact that the following code isn't the solution:
Code:

nano /etc/network/interfaces
that let's me just activate the interfaces so that i can use the as a network interface that can connect to the internet, no what i want is to adjust how they are called (i know i might be repeating myself).
so i hope someone knows how to do this

[ubuntu] Need help with apt-get --force-overwrite

$
0
0
I am trying to install wine 3.3 devel and found there is an error with one of the dependent packages, libsane1. A bug was filed 6 months ago and a work around was posted in the bug which I do not really understand and can't get to work (error message says 1 option does not work with the other options). Bug [HTMLhttps://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1725928][/HTML]

Specifically, I don't know how "sudo apt-get -o Dpkg::Options:

":="--force-overwrite" install --reinstall libsane1:i386 (or your real package name)"

should be written to actually install libsane1 using apt-get. I have the repository and update under control.

Thanks

[ubuntu] Bluetooth not detecting headset devices

$
0
0
Hi all,

I hope I'm not duplicating a topic but after scrolling through pages and not being able to find the same issue I'm having I decided to post a new thread.

I have 2 Bluetooth headsets that used to work with Fedora OS. I decided to switch to Ubuntu 16, and although Bluetooth works and discovers devices, for some reason it won't detect either of my headsets. I tried to use a Bluetooth dongle my husband doesn't need any more. With that plugged in headsets are detected but after connecting I can't get the sound to go through them. Any ideas what I can do to resolve it (ideally getting bluetooth working without having to have additional dongle plugged in)? I've tried reinstalling Bluetooth, changed AutoEnable to true in /etc/bluetooth/main.conf, and unmuted headphones via alsamixer. Don't really know what else I can try/google. Thanks in advance for any advice. :-)
Viewing all 82528 articles
Browse latest View live


Latest Images

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