Go to advanced search

by Bosse_B
Tue Feb 04, 2020 10:25 am
Forum: General discussion
Topic: VNC cannot login to desktop on RPi4B, why?
Replies: 4
Views: 632

VNC cannot login to desktop on RPi4B, why?

My RPi4 is set to show a user login before starting the desktop on the monitor. Now I have tried to use VNC to interact with the RPi4 but all I get is a message in a small black box: "Cannot currently show the desktop" I am using a Windows 10 laptop with RealVNC Viewer ver 6.19.1115 (r42122) x64 I t...
by Bosse_B
Sat Feb 01, 2020 12:28 pm
Forum: General discussion
Topic: RPi4B with VNC, how to reduce terminal font size?
Replies: 5
Views: 777

Re: RPi4B with VNC, how to reduce terminal font size?

HawaiianPi wrote:
Sat Feb 01, 2020 12:15 pm
The default terminal in Raspbian is LXTerminal, and you can change the font and font size under Edit > Preferences.
Thanks a bunch!
I am so used to terminals having no menus that I did not even look there...
Now I have "Monospace Regular" size 10 and I am much more comfortable with this.
by Bosse_B
Sat Feb 01, 2020 11:24 am
Forum: General discussion
Topic: RPi4B with VNC, how to reduce terminal font size?
Replies: 5
Views: 777

RPi4B with VNC, how to reduce terminal font size?

When I use the desktop of the RPi4 via VNC and start a terminal session the font inside it is ridiculously BIG so my command lines do not fit when I have navigated a bit into the dir structure.
Is there any way to set a small font for Terminal such that it becomes usable?
I cannot find anything...
by Bosse_B
Fri Jan 31, 2020 3:10 pm
Forum: Raspberry Pi OS
Topic: RTC DS3231 on line, what do I do with fake-hwclock?
Replies: 6
Views: 943

Re: RTC DS3231 on line, what do I do with fake-hwclock?

DougieLawson wrote:
Fri Jan 31, 2020 1:09 pm
You can set an alias to change the defaults for the plain date command.
Thanks, that solved it for me! :)
by Bosse_B
Fri Jan 31, 2020 12:55 pm
Forum: Raspberry Pi OS
Topic: RTC DS3231 on line, what do I do with fake-hwclock?
Replies: 6
Views: 943

Re: RTC DS3231 on line, what do I do with fake-hwclock?

OK! Just a final question: How can I make the date command in terminal display a sensible ISO formatted string? Right now I am getting this junk: $ date Fri 31 Jan 2020 01:49:45 PM CET I would very much prefer the ISO standard display like: 2020-01-31 13:49:45 I have tried a lot of things and the on...
by Bosse_B
Fri Jan 31, 2020 9:50 am
Forum: Raspberry Pi OS
Topic: RTC DS3231 on line, what do I do with fake-hwclock?
Replies: 6
Views: 943

Re: RTC DS3231 on line, what do I do with fake-hwclock?

So that means I should uninstall fake-hwclock then? Does this not pose a problem if the RTC (which is sitting on an add-on board on the GPIO pin header) is later removed... Is there not a way to make fake-hwclock execution on startup depend on a failed detection of the hardware RTC? Something like (...
by Bosse_B
Thu Jan 30, 2020 10:30 pm
Forum: Raspberry Pi OS
Topic: RTC DS3231 on line, what do I do with fake-hwclock?
Replies: 6
Views: 943

RTC DS3231 on line, what do I do with fake-hwclock?

I have added a board to my RPi4B running Raspbian Buster, which contains an RTC circuit (DS3231 + battery). I have added the following line to the end of /boot/config.txt: dtoverlay=i2c-rtc,ds3231 Then rebooted the RPi4. Using this command I found that linux uses my RTC chip: pi@rpi4-gui:~ $ sudo i2...
by Bosse_B
Thu Jan 30, 2020 2:38 pm
Forum: Raspberry Pi OS
Topic: Apache2 virtual host configuration without dns?
Replies: 5
Views: 416

Re: Apache2 virtual host configuration without dns?

If you are setting the Raspberry Pi up as an IPv4 access point, then these instructions would help: https://www.raspberrypi.org/documentation/configuration/wireless/access-point.md For your use-case, just skip the part about the packet forwarding and the Raspberry Pi will remain stand-alone. Where ...
by Bosse_B
Thu Jan 30, 2020 10:54 am
Forum: Raspberry Pi OS
Topic: Apache2 virtual host configuration without dns?
Replies: 5
Views: 416

Re: Apache2 virtual host configuration without dns?

Another option would be port-based vhosts. Excellent suggestion! :) Did not think about that before... The url itself would then contain a :portnumber part and then it would be all right! The sites are for use and config of an RPi-based control system where the RPi must provide a WiFi Access Point ...
by Bosse_B
Thu Jan 30, 2020 9:21 am
Forum: Raspberry Pi OS
Topic: Apache2 virtual host configuration without dns?
Replies: 5
Views: 416

Apache2 virtual host configuration without dns?

I want to use apache2 virtual host configuration without also setting up (dynamic) dns... I like to set up apache2 on my RPi4 to serve a couple of named sites, but the howto:s I have found state that I must do the following to access them: - Create the virtual host configs in sites-available and ena...
by Bosse_B
Tue Jan 28, 2020 11:09 pm
Forum: Raspberry Pi OS
Topic: Apache2 website permissions???
Replies: 4
Views: 371

Re: Apache2 website permissions???

Thanks!
I will go over the whole deployment plan tomorrow and make changes to file permissions then.
Hopefully it will work.

I also need to make notes for duplication purposes, hopefully I can build myself a deb package to simplify installation on new systems.
by Bosse_B
Tue Jan 28, 2020 2:19 pm
Forum: Raspberry Pi OS
Topic: Apache2 website permissions???
Replies: 4
Views: 371

Re: Apache2 website permissions???

The command "ps -ef" ( or "ps aux" ) will list all processes on your system and show which user runs them in the first column. pi@rpi4-gui:/var/www $ ps aux |grep apache2 root 557 0.0 0.4 191652 16964 ? Ss Jan27 0:03 /usr/sbin/apache2 -k start www-data 3488 0.0 0.1 191996 6536 ? S 00:00 0:00 /usr/s...
by Bosse_B
Tue Jan 28, 2020 10:18 am
Forum: Raspberry Pi OS
Topic: Apache2 website permissions???
Replies: 4
Views: 371

Apache2 website permissions???

I am setting up a configuration website on my RPi4 where I will host a web application through which the user can set up the system I am developing. So far I have just worked on the code in a dir inside /home/pi and symlinked into /var/www/html/cgi-bin and seemingly it works. My web app can send bac...
by Bosse_B
Thu Jan 23, 2020 10:24 am
Forum: Raspberry Pi OS
Topic: How to install self created software in Raspbian?
Replies: 4
Views: 298

Re: How to install self created software in Raspbian?

Following my read of the suggested page I found that this ubuntu howto is good for the basics. However, this only handles the way to put the package files onto the target system... Say that the files have been successful put in place, then remains the following actions: 1- activate the newly configu...
by Bosse_B
Wed Jan 22, 2020 11:36 pm
Forum: Raspberry Pi OS
Topic: How to install self created software in Raspbian?
Replies: 4
Views: 298

Re: How to install self created software in Raspbian?

What build system do you use for your application "make" "CMake" something else ? I am using FreePascal with Lazarus as the IDE. Builds for a whole lot of target operating systems. Will the program run as root ? Not necessarily, but I am running it as user pi. The user must have gpio permissions, t...
by Bosse_B
Wed Jan 22, 2020 4:34 pm
Forum: Raspberry Pi OS
Topic: How to install self created software in Raspbian?
Replies: 4
Views: 298

How to install self created software in Raspbian?

I am developing software for a control board I will attach to the 40-pin header. The software will communicate with an external data collection system through relays and RS232 connections on the interface board. The board itself has just been readied and I am thinking ahead on how to duplicate the s...
by Bosse_B
Tue Jan 21, 2020 11:28 am
Forum: General discussion
Topic: what does "-bash: fg: no job control" on login mean?
Replies: 18
Views: 1397

Re: what does "-bash: fg: no job control" on login mean?

So I still need history to weed out what was installed at the experimentation time...
by Bosse_B
Tue Jan 21, 2020 9:40 am
Forum: General discussion
Topic: what does "-bash: fg: no job control" on login mean?
Replies: 18
Views: 1397

Re: what does "-bash: fg: no job control" on login mean?

Next time you need to reinstall, have a look at (cd /mnt/oldroot && dpkg --get-selections) | dpkg --set-selections apt-get dselect-upgrade as this gets you all the packages you've previously installed, and removes any you removed. QUESTIONS: 1) In your command you use ( ) to enclose the first part,...
by Bosse_B
Mon Jan 20, 2020 1:20 pm
Forum: General discussion
Topic: what does "-bash: fg: no job control" on login mean?
Replies: 18
Views: 1397

Re: what does "-bash: fg: no job control" on login mean?

Might be a copy-paste problem that happened, but I will never know... Anyway removing the line made the offending output go away. :D It all happened when I was resurrecting my setup after I had made WiFi on my RPi4 no longer work a couple of months back. So I used history by dumping its output to a ...
by Bosse_B
Sun Jan 19, 2020 11:39 pm
Forum: General discussion
Topic: what does "-bash: fg: no job control" on login mean?
Replies: 18
Views: 1397

Re: what does "-bash: fg: no job control" on login mean?

Thanks for your suggestions! First, a couple of bits of meta-question: 1) Is it causing you any actual reduction in utility? This is not meant to minimize the importance of it, but it helps to contextualize whether this is just a "That's weird; why is it doing this?" vs. "This is stopping me from ge...
by Bosse_B
Sun Jan 19, 2020 8:27 pm
Forum: General discussion
Topic: what does "-bash: fg: no job control" on login mean?
Replies: 18
Views: 1397

Re: what does "-bash: fg: no job control" on login mean?

No-one really knows, right?
It is very irritating every time I log on via PuTTY.
It also happens whenever I open a new terminal window in the Raspbian GUI.

How can I get rid of this strange message?????
by Bosse_B
Fri Jan 03, 2020 11:26 pm
Forum: General discussion
Topic: what does "-bash: fg: no job control" on login mean?
Replies: 18
Views: 1397

Re: what does "-bash: fg: no job control" on login mean?

How can I find out what it is? There is no % or ` inside /etc/profile or ~/.profile These are the files I found in /etc/profile.d: $ ls -l /etc/profile.d/ total 20 -rw-r--r-- 1 root root 95 Apr 29 2019 at-dbus-fix.sh -rw-r--r-- 1 root root 664 Mar 1 2019 bash_completion.sh -rw-r--r-- 1 root root 324...
by Bosse_B
Fri Jan 03, 2020 8:59 pm
Forum: General discussion
Topic: what does "-bash: fg: no job control" on login mean?
Replies: 18
Views: 1397

what does "-bash: fg: no job control" on login mean?

I have an RPi4B box with the latest Raspbian Buster and I access it both via VNC for development and SSH (PuTTY) for management. Now when I log in I see this at the end of the greeting message: Last login: Thu Dec 26 10:25:55 2019 from 192.168.119.166 -bash: fg: no job control Never seen it before. ...
by Bosse_B
Mon Dec 23, 2019 10:19 am
Forum: General discussion
Topic: How can I install and use an openvpn client GUI on Raspbian_
Replies: 2
Views: 1926

Re: How can I install and use an openvpn client GUI on Raspbian_

You should be able to start and stop the tunnel via systemd I believe. It will do the kill for you. https://www.raspberrypi.org/forums/viewtopic.php?f=36&t=249396&p=1522848 That, because installing an alternate network manager could be a wild goose chase. OK, I have stumbled through the linked thre...
by Bosse_B
Sat Dec 21, 2019 12:03 am
Forum: Networking and servers
Topic: Cannot get openVPN client config to start @ boot
Replies: 11
Views: 1735

Re: Cannot get openVPN client config to start @ boot

Man, read or if not copy-paste what DougieLawson gave you.. “openssl rsa -in ...” I am blushing in humiliation!!! :o :shock: You are absolutely correct in that I did not see the rsa word in the command! Command executes OK when correctly written and produces a new ovpn file. However, I made another...

Go to advanced search