Go to advanced search

by fbe
Sun Apr 21, 2019 4:47 pm
Forum: General discussion
Topic: Change new user privileges
Replies: 12
Views: 254

Re: Change new user privileges

... And finally, add user john to /etc/polkit-1/localauthority.conf.d/60-desktop-policy.conf sudo nano /etc/polkit-1/localauthority.conf.d/60-desktop-policy.conf [Configuration] AdminIdentities=unix-user:pi;unix-user:0 ;unix-user:john ... Or replace unix-user:pi by unix-group:sudo [Configuration] A...
by fbe
Sun Apr 21, 2019 5:44 am
Forum: Networking and servers
Topic: Can't view mysql data on to a html page
Replies: 3
Views: 95

Re: Can't view mysql data on to a html page

Look into /var/log/apache2/error.log.
by fbe
Sat Apr 20, 2019 6:26 pm
Forum: For sale
Topic: Host Your Own Website : Looking for Beta Users
Replies: 4
Views: 171

Re: Host Your Own Website : Looking for Beta Users

I couldn't find anything I could test without paying 99.99$.
by fbe
Fri Apr 19, 2019 9:40 am
Forum: Beginners
Topic: Delete pi user in Raspbian
Replies: 8
Views: 5432

Re: Delete pi user in Raspbian

Edit /etc/polkit-1/localauthority.conf.d/60-desktop-policy.conf

Hasn't got as much pi in it as pi egg sausage and pi, has it?

Replace "unix-user:pi" by "unix-group:sudo"

Code: Select all

AdminIdentities=unix-group:sudo;unix-user:0
by fbe
Wed Apr 17, 2019 5:20 pm
Forum: Networking and servers
Topic: [SOLVED]How to get a RDBMS server to "connect" with a web server?
Replies: 4
Views: 122

Re: How to get a RDBMS server to "connect" with a web server?

The server itself needs to listen for requests from the web server and you edit my.cnf and set the bind-address = 192.168.1.10 (again the IP address of the web server) Wrong. It needs to be an IP address of the machine, where MySQL/MariaDB server is running or 0.0.0.0 (what means that the server wi...
by fbe
Sun Apr 14, 2019 4:29 pm
Forum: Deutsch
Topic: Raspberrry Pi 3 Model B Plus, Ubuntu Mate installation error: "driver 'sdhost-bcm2835' already registered"
Replies: 9
Views: 239

Re: Raspberrry Pi 3 Model B Plus, Ubuntu Mate installation error: "driver 'sdhost-bcm2835' already registered"

Was mir zur Sache noch einfällt: Vermeide es, Reparaturversuchen zuzustimmen, die Windows Dir macht. Das Problem ist die Fehlermeldung "EXT4-fs (mmcblk0p2): error loading journal" Der Bootvorgang bricht ab, weil die zweite Partition auf der SD-Karte nicht geladen werden kann und die hat ein Dateisys...
by fbe
Sun Apr 14, 2019 2:50 pm
Forum: Deutsch
Topic: Raspberrry Pi 3 Model B Plus, Ubuntu Mate installation error: "driver 'sdhost-bcm2835' already registered"
Replies: 9
Views: 239

Re: Raspberrry Pi 3 Model B Plus, Ubuntu Mate installation error: "driver 'sdhost-bcm2835' already registered"

Wenn Vorurteile einmal in der Welt sind, hat man es schwer, das wieder auszuräumen. Ich würde nie auf die Idee kommen, dass ein Image, das ohne Dekomprimierung auf einen Datenträger geschrieben wird, überhaupt so weit bootet, dass man eine Fehlermeldung bekommt. Ein ISO-Image für den Raspberry Pi is...
by fbe
Thu Apr 11, 2019 5:46 pm
Forum: Networking and servers
Topic: LAMP Webserver Image
Replies: 5
Views: 161

Re: LAMP Webserver Image

DougieLawson wrote:
Thu Apr 11, 2019 10:44 am
Quickest route to a lamp stack is

sudo apt install apache2 phpmyadmin

That will pull in everything you need.
This installs LA-P only. phpmyadmin doesn't depend on mariadb-server.
by fbe
Sun Apr 07, 2019 9:20 pm
Forum: Beginners
Topic: Can't get a virtual keyboard to work at login with the official touchscreen
Replies: 2
Views: 173

Re: Can't get a virtual keyboard to work at login with the official touchscreen

... I've edited /etc/lightdm/lightdm-gtk-greeter.conf and added the following: show-indicators=~language;~a11y;~session;~power keyboard=florence And I still have zero keyboard at the login prompt. Tips? Ideas? sudo apt remove pi-greeter This removes the pi-greeter login screen and enables the light...
by fbe
Sat Apr 06, 2019 9:37 pm
Forum: Beginners
Topic: Installing MariaDB on Stretch
Replies: 7
Views: 176

Re: Installing MariaDB on Stretch

You can even omit the "-u root" option. sudo mysql should login you as root@localhost to your MariaDB server on your Raspberry Pi. Several web references said that during the install I would be prompted for the password for the MariaDB root user. That did not happen. Is there a good tutorial (MariaD...
by fbe
Wed Apr 03, 2019 8:13 pm
Forum: Deutsch
Topic: Problem: Virtuelle Tastatureingaben mit uinput
Replies: 5
Views: 263

Re: Problem: Virtuelle Tastatureingaben mit uinput

Die Einrückungen sind schon da, werden aber nicht gezeigt. Mit code-tags ( [ code ] Dein code [ code/ ] ) würde das so aussehen. ... Hier mal das Script: import RPi.GPIO as GPIO import time import uinput import os GPIO.setmode(GPIO.BCM) GPIO.setup(19, GPIO.IN, pull_up_down=GPIO.PUD_UP) GPIO.setup(20...
by fbe
Wed Mar 27, 2019 9:07 pm
Forum: Deutsch
Topic: Rasp verzögert ausschalten
Replies: 7
Views: 347

Re: Rasp verzögert ausschalten

Hab mal folgendes versucht:

Code: Select all

<html><body>
<?php
exec("(sleep 10; echo hello >> /var/www/test.log) > /dev/null &");
echo("OK");
?>
</body></html>
Blockiert nicht. www-data muss aber in /var/www/test.log schreiben können, damit man was sieht,
by fbe
Mon Mar 11, 2019 7:38 pm
Forum: Raspbian
Topic: Large partition sizes, Raspbian and Windows
Replies: 49
Views: 1721

Re: Large partition sizes, Raspbian and Windows

AirFiero wrote:
Mon Mar 11, 2019 7:12 pm
Another question, do we know the maximum size a boot partition can be under Raspbian?
The Limit is about 2TB. The boot partition should be on a drive with MBR partition table (GPT makes trouble) and must have a FAT32 filesystem (exFAT doesn't work).
by fbe
Mon Mar 11, 2019 6:49 pm
Forum: Deutsch
Topic: Raspian neu aufsetzen
Replies: 6
Views: 304

Re: Raspian neu aufsetzen

Gibt es alternativen zu Exagear womit ich meinen kleinen "Testserver" doch noch zum laufen bekomme? Kannst ja mal hier reinschauen: https://www.raspberrypi.org/forums/viewtopic.php?p=1389850 . Da scheint jemand was "wie ExaGear" zum Laufen bekommen zu haben. TS3 gibt es auch für Linux. QEMU ohne Wi...
by fbe
Sun Mar 10, 2019 11:34 am
Forum: Beginners
Topic: Talking to Rpi via SSH but Running pygame on rpi's HDMI screen
Replies: 6
Views: 324

Re: Talking to Rpi via SSH but Running pygame on rpi's HDMI screen

Maybe this works:

Code: Select all

sudo XAUTHORITY=/home/pi/.Xauthority DISPLAY=:0 /usr/bin/python3 PGen.py
But I wouldn't run games with root privileges.

And of course if the game needs input from keyboard or mouse, these have to be connected to your Raspberry Pi.
by fbe
Thu Mar 07, 2019 8:41 pm
Forum: Deutsch
Topic: Neuer Pi 3 B + / Kann nur Noobs auf die Karte Packen
Replies: 16
Views: 612

Re: Neuer Pi 3 B + / Kann nur Noobs auf die Karte Packen

Hab die Version von KonstaKang zum laufen bekommen. ... Läuft "langsam" und träge :D Klär uns bitte mal auf. Suchst Du ein Betriebssystem für Deinen Raspberry Pi oder suchst Du ein Gerät auf dem Android läuft? Ist ja nicht so, dass wir hier Leute, die Android mögen, nicht haben wollen. Aber Android...
by fbe
Mon Mar 04, 2019 5:58 pm
Forum: General discussion
Topic: Help needed to run script at boot up...
Replies: 6
Views: 194

Re: Help needed to run script at boot up...

... and make sure that /home/user/openvpn/${host}.ovpn exists. (Replace "${host}" by the value, you assign to host). There is no other occurance of ${host}. If this is the whole script, you may skip the assignment statement and simply supply the configuration file name to the openvpn command. E.g. o...
by fbe
Mon Mar 04, 2019 5:29 pm
Forum: General discussion
Topic: Help needed to run script at boot up...
Replies: 6
Views: 194

Re: Help needed to run script at boot up...

Hasn't got as much sudo in it as sudo, egg, sausage and sudo, has it?
by fbe
Wed Feb 27, 2019 8:14 pm
Forum: Beginners
Topic: Play sound over PHP
Replies: 11
Views: 264

Re: Play sound over PHP

You should not execute long running commands from your webserver. Even if you are able to start mpg321 from apache, your browser will show an hourglass until the file or playlist is finished or a timeout error occurs. Your solution will only work for very short sounds. Don't use it for music playing.
by fbe
Tue Feb 26, 2019 9:08 pm
Forum: General discussion
Topic: Using the Keybord Logitech MK620
Replies: 2
Views: 74

Re: Using the Keybord Logitech MK620

... I3 Change Keyboard Layout Keyboard model: / Tastaturmodell: Select "Generic 105-key (Intl) PC" / "Generische Tastatur mit 105 Tasten (Intl)" <Return> Keyboard layout: / Tastaturbelegung: If no german layout is shown select "Other" / "Andere" <Return> Country of origin for the keyboard: Select "G...
by fbe
Tue Feb 26, 2019 7:07 pm
Forum: Beginners
Topic: Default Password for Cacti not working
Replies: 3
Views: 140

Re: Default Password for Cacti not working

"sudo" is needed if you have an unmodified MariaDB installation. "-u root -p" is not needed in this case.
by fbe
Tue Feb 26, 2019 6:51 pm
Forum: Deutsch
Topic: Putty verbindet sich nicht mehr
Replies: 23
Views: 1055

Re: Putty verbindet sich nicht mehr

Bekommst Du denn wenigstens ein ordentliches "abgelehnt", wenn Du im PuTTY einen falschen Benutzernamen oder ein falsches Passwort eingibst?
by fbe
Tue Feb 12, 2019 9:08 pm
Forum: Networking and servers
Topic: Wordpress website
Replies: 8
Views: 352

Re: Wordpress website

Apache2 should work out of the box on all network interfaces.
Did you somewhere use "localhost" in an URL for your dynamic contents?
by fbe
Mon Feb 11, 2019 8:06 pm
Forum: Raspberry Pi Desktop for PC and Mac
Topic: Will this trash my laptop?
Replies: 3
Views: 636

Re: Will this trash my laptop?

Last time, when I installed it, my HW-clock was set to UTC. This is not what Windows 10 expects by default.
by fbe
Sun Feb 10, 2019 6:41 am
Forum: Italiano
Topic: Upgrade
Replies: 1
Views: 485

Re: Upgrade

No

Go to advanced search