Quantcast
Channel: openSUSE Forums
Viewing all 40713 articles
Browse latest View live

LEAP 15.1 Fstab - choosing the correct option for remote share that may not be reachable

$
0
0
I have searched in this forum, the man pages, SuSE documentation, and elsewhere, but have not found a definitive answer to my question.

I have a laptop which may not always be connected to the NFS network where an fstab-listed share resides. In the past, I have had a PC fail to boot because an external drive listed in fstab was not available.

One of the fstab options mentioned is nofail. And I have seen references to others.

I would appreciate a suggestion and perhaps a link to a reliable resource identifying the option. As an aside, one unofficial reference that I have found quite helpful is from the University of Alberta:
https://sites.ualberta.ca/~clange/Li...5_install.html and a companion site: https://sites.ualberta.ca/~clange/Li...SE15_user.html

LEAP 15.1 How to resolve HTTP server document root conflict?

$
0
0
Hi all,
When I want to click on localhost in my browser
I saw different thing than my defined route in YAST > HTTP server route

my defined route OUTPUT is
Code:

(/srv/www/htdocs)> ls -lat
total 32
drwxr-xr-x 9 root root 4096 Sep  6 00:34 phpMyAdmin
drwxr-xr-x 3 root root 4096 Sep  6 00:34 .
-rw-r--r-- 1 root root  22 Sep  6 00:30 index.php
drwxr-xr-x 6 root root 4096 Aug 28 17:19 ..
-rw-r--r-- 1 root root  26 Aug 28 12:49 robots.txt
-rw-r--r-- 1 root root  537 Jan 18  2019 50x.html
-rw-r--r-- 1 root root  45 Jun 11  2007 index.html
-rw-r--r-- 1 root root  302 Mar 13  2006 favicon.ico

but in browser I see
Index of /

Name Last modified Size Description
yast2/ 2019-08-12 14:08 -



I cannot understand what is the matter!?








please help me everyone that can help

TUMBLEWEED Run a script after every kernel update?

$
0
0
How can I set a script to be run after every kernel update? Supposedly in other distros you can do it by adding a script to /etc/kernel/postinst.d/. The problem is that path does not exist in openSUSE.

Just to make it clear, what I am trying to accomplish is to have special symlinks to the latest vmlinuz and initrd which reside in a separate boot partition which is shared among multiple distros. Yeah opensuse already create them, but I want them to have a unique suffix, like 'vmlinuz-tw'. Basically I'm trying to implement this answer in opensuse.

TUMBLEWEED Multi-boot with encryption: How to handle bootloader

$
0
0
In a multi-boot setup where every distro is encrypted separately, what is the best way to handle the bootloader?

- A single separate boot partition which is unencrypted and is shared among all the distros,

- Multiple (separate) boot partitions which are unencrypted, each for every distro; or

- Some magic setup that can handle multiple encrypted /boots (each inside its encrypted root)?

If it's the second choice above, then is this a good idea to have a single separate boot partition and use LVM to create multiple logical volumes for bootloaders of different distros?

LEAP 15.1 Access forbbiden in accessing moodle page on web server

$
0
0
Hi.

After upgrading Opensuse leap 42.3 to 15.1 I tried to access to my moodle server through http://localhost/moodle and I got a complete blank screen.
My web server works, other pages on the server load ok.
I have been researching and it seems it may be a problem with php7 not working well with moodle, so I downgraded to php 5.6. After that, connecting to http://localhost/moodle returns

Access forbidden!

You don't have permission to access the requested directory. There is either no index document or the directory is read-protected.


/srv/www/htdocs/moodle is drwxrwxr-x+ 46 root root


with
Code:

fperal@tutatis:/srv/www/htdocs> getfacl moodle
# file: moodle
# owner: root
# group: root
user::rwx
user:wwwrun:rwx
user:fperal:rwx
group::r-x
mask::rwx
other::r-x
default:user::rwx
default:user:wwwrun:rwx
default:user:fperal:rwx
default:group::r-x
default:mask::rwx
default:other::r-x




There is no index.html in moodle, but index.php

Code:

fperal@tutatis:/srv/www/htdocs/moodle> ls -l
total 576
drwxrwxr-x+ 11 root root  4096 ene 19  2016 admin
drwxrwxr-x+ 19 root root  4096 sep 22  2013 auth
drwxrwxr-x+  7 root root  4096 sep 22  2013 backup
drwxrwxr-x+  5 root root  4096 sep 22  2013 badges
-rw-rwxr--+  1 root root  354 sep 22  2013 behat.yml.dist
drwxrwxr-x+ 43 root root  4096 nov 30  2018 blocks
drwxrwxr-x+  3 root root  4096 sep 22  2013 blog
-rw-rwxr--+  1 root root  1162 sep 22  2013 brokenfile.php
drwxrwxr-x+  6 root root  4096 sep 22  2013 cache
drwxrwxr-x+  6 root root  4096 sep 22  2013 cache.bak
drwxrwxr-x+  4 root root  4096 sep 22  2013 calendar
drwxrwxr-x+  3 root root  4096 sep 22  2013 cohort
drwxrwxr-x+  2 root root  4096 sep 22  2013 comment
drwxrwxr-x+  4 root root  4096 sep 22  2013 completion
-rw-rwxr--+  1 root root  296 sep 22  2013 composer.json
-rw-rwxr--+  1 root root 32438 sep 22  2013 config-dist.php
-rw-rwxr--+  1 root root  744 nov  9  2018 config.php
-rw-rwxr--+  1 root root 35147 sep 22  2013 COPYING.txt
drwxrwxr-x+  7 root root  4096 sep 22  2013 course
-rw-rwxr--+  1 root root  2594 sep 22  2013 draftfile.php
drwxrwxr-x+ 17 root root  4096 sep 22  2013 enrol
drwxrwxr-x+  2 root root  4096 sep 22  2013 error
-rw-rwxr--+  1 root root  3923 sep 22  2013 file.php
drwxrwxr-x+  3 root root  4096 sep 22  2013 files
drwxrwxr-x+ 14 root root  4096 sep 22  2013 filter
drwxrwxr-x+  8 root root  4096 sep 22  2013 grade
drwxrwxr-x+  3 root root  4096 sep 22  2013 group
-rw-rwxr--+  1 root root  1423 sep 22  2013 help_ajax.php
-rw-rwxr--+  1 root root  1761 sep 22  2013 help.php
-rw-rwxr--+  1 root root 13203 sep 22  2013 index.php
drwxrwxr-x+  3 root root  4096 sep 22  2013 install
-rw-rwxr--+  1 root root 24004 sep 22  2013 install.php
drwxrwxr-x+  3 root root  4096 sep 22  2013 iplookup
drwxrwxr-x+  3 root root  4096 sep 22  2013 lang
drwxrwxr-x+ 41 root root  4096 sep 22  2013 lib
drwxrwxr-x+  2 root root  4096 sep 22  2013 local
drwxrwxr-x+  2 root root  4096 sep 22  2013 login
-rw-rwxr--+  1 root root 50620 sep 22  2013 mdeploy.php
-rw-rwxr--+  1 root root 10838 sep 22  2013 mdeploytest.php
drwxrwxr-x+  4 root root  4096 sep 22  2013 message
drwxrwxr-x+  4 root root  4096 sep 22  2013 mnet
drwxrwxr-x+ 25 root root  4096 nov 30  2018 mod
drwxrwxr-x+  2 root root  4096 sep 22  2013 my
drwxrwxr-x+  3 root root  4096 sep 22  2013 notes
-rw-rwxr--+  1 root root  5054 sep 22  2013 phpunit.xml.dist
drwxrwxr-x+ 13 root root  4096 sep 22  2013 pix
drwxrwxr-x+  2 root root  4096 sep 22  2013 plagiarism
-rw-rwxr--+  1 root root  1376 sep 22  2013 pluginfile.php
drwxrwxr-x+  8 root root  4096 sep 22  2013 portfolio
drwxrwxr-x+  7 root root  4096 sep 22  2013 question
drwxrwxr-x+  3 root root  4096 sep 22  2013 rating
-rw-rwxr--+  1 root root  760 sep 22  2013 README.txt
drwxrwxr-x+ 15 root root  4096 sep 22  2013 report
drwxrwxr-x+ 23 root root  4096 sep 22  2013 repository
drwxrwxr-x+  2 root root  4096 sep 22  2013 rss
drwxrwxr-x+  2 root root  4096 sep 22  2013 tag
-rw-rwxr--+  1 root root  935 sep 22  2013 tags.txt
drwxrwxr-x+ 26 root root  4096 sep 22  2013 theme
-rw-rwxr--+  1 root root  1334 sep 22  2013 TRADEMARK.txt
drwxrwxr-x+  7 root root  4096 sep 22  2013 user
drwxrwxr-x+  2 root root  4096 sep 22  2013 userpix
-rw-rwxr--+  1 root root  1635 sep 22  2013 version.php
drwxrwxr-x+  7 root root  4096 sep 22  2013 webservice
fperal@tutatis:/srv/www/htdocs/moodle>

and accessing http://localhost/moodle/index.php returns a "you have chosen to open index.php" and options "open with" "save as.." (firefox)

So, maybe is a problem with php configuration?



best regards

TUMBLEWEED latest update kills PLASMA

$
0
0
hi,

with system as detailed below PLASMA is totally a none goer

laptop boots ok into tui and there runs ok

with PLASMA running the laptop response time is very slow with lots of disk activity.
inputs from keyboard or mouse only accepted perhaps every 100 seconds

laptop performance using iceWM is rock solid

any hints for a resolution welcomed

cheers
======

2019-09-06 11:02:59
System: Host: g7-2246sg Kernel: 5.2.11-1-default x86_64 bits: 64 Desktop: IceWM 1.5.4 Distro: openSUSE Tumbleweed 20190904
Machine: Type: Laptop System: Hewlett-Packard product: HP Pavilion g7 Notebook PC v: 088B110000305910000620100 serial: <filter>
Mobo: Hewlett-Packard model: 184B v: 57.50 serial: <filter> UEFI: Insyde v: F.17 date: 11/02/2012
CPU: Topology: Quad Core model: AMD A8-4500M APU with Radeon HD Graphics bits: 64 type: MCP L2 cache: 2048 KiB
Speed: 1345 MHz min/max: 1400/1900 MHz Core speeds (MHz): 1: 1194 2: 1369 3: 1372 4: 1381
Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Trinity [Radeon HD 7640G] driver: radeon v: kernel
Display: x11 server: X.org 1.20.5 driver: radeon FAILED: ati unloaded: fbdev,modesetting,vesa resolution: <xdpyinfo missing>
OpenGL: renderer: AMD ARUBA (DRM 2.50.0 / 5.2.11-1-default LLVM 8.0.1) v: 4.3 Mesa 19.1.5

ps. Radeon driver installed and running ok
above failure indication is due to a failure in inxi.

TUMBLEWEED amarok 2.9.70 no more manual update?

$
0
0
Hello,

Seems that with the last update for amarok a lot of things changed.
All lyrics that I had manually recorded are gone, same things for the album covers >:(
Worse it is no longer possible to add updates manually.>:)
Can somebody confirm that this problem is present?

I use a external mysql (mariadb) data base. During the last updates of mariadb I had some problem with the update and I wonder if this is related.
When I test the connection to the database in amarok I receive a confirm that the connection is available.
With myslq I can look in the amarokdb and I see data in tables "lyrics" and "tracks" but these data are never displayed in amarok.

Many thanks in advance
Philippe

TUMBLEWEED "White dots" on screen

$
0
0
I'm having a very odd issue with openSUSE (well, Linux in general) on one of my laptops and I'm hoping someone has an idea of how to resolve this or troubleshoot it further. I am running openSUSE on a Dell G7 7588 (i7-8750H, 8GB of RAM and Nvidia GTX 1060/Intel UHD 630 Optimus graphics). I'm currently running Tumbleweed with KDE, but I have seen the issue on other distributions live systems (Ubuntu/Kubuntu, Manjaro Xfce).

The issue I am experiencing is "white dots" moving around my screen. I have not been able to take a video where they actually show up since they are rather dim, but essentially it looks like individual pixels are turning white for a fraction of a second. It's similar to this video, but much, much less severe. It's really only visible on a dark or black background and the pixels are not nearly as bright even with the backlight up all the way. The issue is not visible in grub, but as soon as the system starts loading (whether with plymouth enabled or disabled), even before X starts up, I can see the issue.

I've done some google'ing that has led me down a couple paths, but here's what I have so far:


  • The system is not overheating - the GPU and CPU are both hovering around 50-55C with peaks around 65C, but the issue occurs consistently.
  • This occurs whether I'm using nouveau or nvidia, and whether I have suse-prime set to use the Intel or Nvidia graphics.
  • This seems to be a problem only with the internal display. I cannot capture it in a screenshot/video capture. I've connected an HDMI display, and even when mirroring the display I can see the problem on my laptop display but not on the external display.
  • The issue does not occur in Windows, so I do not think the cable or the internal display itself is failing.


Any suggestions as to what I can do to troubleshoot this further? Thank you!

TUMBLEWEED Boot stuck

LEAP 15.1 How to get AMD Adrenalin to download?

$
0
0
Hi

Is there a way to download the AMD Adrenalin software?

Or any other program that will allow me to edit the overclock and undervolt settings for my Vega56?

Regards and thanks.

TUMBLEWEED Help with Sound Card Issues

$
0
0
I just switched from Leap 42.2 to Tumbleweed about a week ago. It has been a while since I've had to troubleshoot any Linux issues (luckily openSUSE is a great plug-n-play distro; partially why I use it) so I'll try my best to explain what's going on. My integrated sound card seems to be having issues detecting the correct audio profile. When I login or restart pulseaudio, things default to a "digital output" profile as my audio default. The problem is that it seems like analog stereo output is the only channel that works here (there is no sound otherwise). I can modify this after startup by using pavucontrol and changing the config profile here. The problem is that this setting gets reset every time I restart or restart pulse for some reason. Is there a way to get this to stick or perhaps get the digital audio channel to work?

Thanks, here are some specs:
Model: "Intel 5 Series/3400 Series Chipset 4 port SATA IDE Controller"
...
Driver Info #0:
Driver Status: ata_piix is active
Driver Activation Cmd: "modprobe ata_piix"
Driver Info #1:
Driver Status: ata_generic is active
Driver Activation Cmd: "modprobe ata_generic"
Driver Info #2:
Driver Status: pata_acpi is not active
Driver Activation Cmd: "modprobe pata_acpi"
Config Status: cfg=no, avail=yes, need=no, active=unknown

LEAP 15.1 does anybody use freeoffice?

LEAP 15.1 Encrypted Swap with suspend to disk?

$
0
0
can't recover after suspending to disk with encrypted swap. This is what I have done:

Code:

cryptsetup luksFormat /dev/vg/swap --type=plain --key-file=/swap.enc
cryptsetup open /dev/vg/swap --type=plain --key-file=/swap.enc swapcrypt
mkswap /dev/mapper/swapcrypt

Then I add the following to /etc/crypttab:
Code:

swapcrypt /dev/vg/swap /swap.enc plain
And add to /etc/ftab:
Code:

/dev/mapper/swapcrypt swap swap defaults 0 0
Finally, add the key to initrd (also not sure if it's necessary):
Code:

echo -e 'install_items+=" /swap.enc "' | sudo tee --append /etc/dracut.conf.d/99-swap-key.conf > /dev/null
But I cannot recover after suspending to disk. Where am I wrong?

TUMBLEWEED Trying to get NitroKey Storage key to log in computer - needs libpam-polti - where can I get this

$
0
0
Following instructions from NitroKey Storage website for Linux Login. These are:-

Quote:

"Linux Login with PAM You have two options: pam_p11 or Poldi. Poldi 0.4.1 works flawlessly with Nitrokey for PAM authentication. Besides the installation of poldi (e.g. 'sudo apt-get install libpam-poldi' on Ubuntu) the following steps are needed to get it working. It is necessary to already have keys generated on the Nitrokey, as the authentication key is used by PAM. At first you need to find out the "Application ID" of your Nitrokey. You can use "gpg --card-status | grep Application" to find out what's yours. It looks like 'D00600012401020000000000xxxxxxxx' or similiar. Now you have to add a line to /etc/poldi/localdb/users which contains the following information ...."
Can anybody please advise where I get libpam-poldi.

TUMBLEWEED Trackpad does not work when installing on Macbook Pro 2018

$
0
0
Hi all,

I am trying to install TUMBLEWEED on my Macbook Pro 2018 by dual booting it. I get to the install part and I can't move my mouse at all and all of the keys are unresponsive. Is this normal? How do I fix this? I really want to get Linux installed on my computer.

TUMBLEWEED games in vm running windows

$
0
0
I'm not a gamer, but wondering if I can run games comfortably in a Win 10 vm. I use virtualbox for my vms.
Are there special instructions to follow?

ryzen 3900x cpu, 32gb ram, vega 64 gpu.

TUMBLEWEED Questions about openSUSE forum login with KeePassXC

$
0
0
I am starting to use KeePassXC for logging in to this forum. I have entered the username, password and the opensuse forum login url, (which comes up on the browser when I click on the Login button on the opensuse forum website and is very long and complex,) and saved the entry in the database.

Starting with a fresh window with only the keepassxc database opened, if I click on the url shown in the database entry for opensuse forum I am taken to the correct login page which is from the microfocus site.

The KeePassXC-Browser icon is shown but with a small red questionmark, however if I then use the shortcut Alt-Shift-U, the username and password are entered into the login page as hoped, however if I then select the the login button I am not taken to opensuse forum site but to an Error 404 page. However on this page there is also the url of the forum and if I select this I am taken to the forum and find I have been logged in.

My question is why do I have to go through the intermediate error 404 page, and BTW what is red question mark on the keepassxc browser button and also I thought opensuse was no longer part of Microfocus. Why is the micrfocus url so complex?

OTHER VERSION How install DraftSight

$
0
0
openSUSE Leap 42.3 and KDE

I want to install DraftDight program and it requires libaudio2 package
Where can I find this package?

LEAP 15.0 Connecting Nokia 6300 phone with gammu/wammu: Unknown, busy or no permissions

$
0
0
Hello there,

I know, this is an old technology, but my 11 years old mobile phone sick, broken screen.

For few days I try to connect to my phone with gammu (ver 1.39.0)/wammu (ver 0.44) but even with a lot of reading I failed.
My goal it to collect the data, at least the phone-book.

I run Linux box Opensuse 15.0. My phone is Nokia 6300 broken screen but I succeed to connect it through usb<>miniusb to my computer.
I get:
~> lsusb
Bus 009 Device 005: ID 0421:04f9 Nokia Mobile Phones 6300 (PC Suite mode)
~> dmesg
[10544.800648] usb 9-2: new full-speed USB device number 4 using ohci-pci
[10545.001508] usb 9-2: New USB device found, idVendor=0421, idProduct=04f9
[10545.001513] usb 9-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[10545.001516] usb 9-2: Product: Nokia 6300
[10545.001518] usb 9-2: Manufacturer: Nokia
[10545.055731] cdc_acm 9-2:1.1: ttyACM0: USB ACM device
[10545.058160] usb 9-2: bad CDC descriptors
[10545.058421] usb 9-2: bad CDC descriptors
~> gammu-detect -b
[gammu]
device = /dev/ttyACM0
name = Nokia Nokia_6300
connection = at

Computer setup:
~> groups
users dialout
~> getent group | grep users
users:x:100:lp
~> ls -l /dev/ttyACM0
crw-rw---- 1 root dialout 166, 0 Sep 7 08:54 /dev/ttyACM0

Maybe this next I should change something but I don't know what and how
~> ls -la /usr/bin/gammu
-rwxr-xr-x 1 root root 376504 Feb 16 2018 /usr/bin/gammu


I even tried to add a file in /etc/udev/rules/ directory, file name: 99-phone.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="0421", ATTRS{idProduct}=="04f9",
MODE="0666" , SYMLINK+="ttyACM0", GROUP="dialout"

Maybe I don't need this rule as I am the only user in my home computer.
Should I leave or remove it?

When I try with wammu with the wizard: Guided conf > USB cable > Nokia phone > AT based > Generic AT > ttyACM0
I get the error message
Description: Error opening device. Unknown, busy or no permissions.
Function: Init
Error code: 2


I have read "Did you check that you actually have permissions to access the device?"
I don't know how!

Could someone help me?
Thanks for your help

Nota: Gammu mailing list seems to be abandoned

LEAP 15.1 HAproxy kann privates Zertifikat nicht lesen -> Bug in 15.1

$
0
0
Hallo in die Runde,
offenbar gibt es in openSuSE Leap 15.1 (zumindest dort) einen kleinen Bug, der verhindert, dass das Programm startet, wenn man eine SSL Konfiguration anlegt. Beim Testen kam bei mir folgende Fehlermeldung:

lb01:/usr/src # haproxy -f /etc/haproxy/haproxy.cfg -c
[ALERT] 250/122406 (2374) : parsing [/etc/haproxy/haproxy.cfg:44] : 'bind 0.0.0.0:443' : unable to load SSL private key from PEM file '/etc/ssl/private/mydomain.pem'.
[ALERT] 250/122406 (2374) : Error(s) found in configuration file : /etc/haproxy/haproxy.cfg
[ALERT] 250/122406 (2374) : Fatal errors found in configuration.
lb01:/usr/src #


Es hat mich jetzt ein paar Stunden gekostet, was das eigentliche Problem ist, weil auch die Fehlermeldung von HAproxy mal echt sch... ist.
Der Grund ist, dass HAproxy das Zertifikat aufgrund fehlender Rechte in AppArmor nicht lesen kann. Unglücklicherweise sieht die Fehlermeldung in HAproxy anders aus, wenn das Zertifikat aufgrund von OS Rechten nicht gelesen werden kann bzw. gar nicht vorhanden ist. Aber wenn man sich die Konfig in AppArmor für HAproxy ansieht, dann wird klar, dass das nicht funzen kann:

lb01:/etc/apparmor.d # cat usr.sbin.haproxy
#include <tunables/global>

/usr/sbin/haproxy {
#include <abstractions/base>
#include <abstractions/nameservice>
capability net_bind_service,
capability setgid,
capability setuid,
capability kill,
capability sys_resource,
capability sys_chroot,

# those are needed for the stats socket creation
capability chown,
capability fowner,
capability fsetid,

network inet tcp,
network inet6 tcp,

/etc/haproxy/* r,

/usr/sbin/haproxy rmix,

/var/lib/haproxy/stats rwl,
/var/lib/haproxy/stats.*.bak rwl,
/var/lib/haproxy/stats.*.tmp rwl,
/{,var/}run/haproxy.pid rw,

# Site-specific additions and overrides. See local/README for details.
#include <local/usr.sbin.haproxy>
}
lb01:/etc/apparmor.d #


Je nachdem, wo man die Zertifikate speichert, muss der Pfad mit drinstehen. Im Standard sollte man Zertifikate in /etc/ssl/private speichern, zumindest dieser Pfad sollte also oben mit drinstehen. Ich hab' den Pfad jetzt in der lokalen Konfigdatei nachgeholt, AppArmor neu gestartet und siehe da - jetzt geht's :-). Die lokale Datei sieht so aus:

lb01:/etc/apparmor.d/local # cat usr.sbin.haproxy
# Site-specific additions and overrides for usr.sbin.haproxy.apparmor
/etc/ssl/private/* r,
lb01:/etc/apparmor.d/local #



So, vielleicht habe ich dem einen oder anderen ja etwas Aufwand gespart.... in diesem Sinne - sauber bleiben!
Viewing all 40713 articles
Browse latest View live


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