| Welcome, Guest |
You have to register before you can post on our site.
|
| Forum Statistics |
» Members: 7,729
» Latest member: Sapper_28
» Forum threads: 9,426
» Forum posts: 62,205
Full Statistics
|
| Online Users |
There are currently 1820 online users. » 0 Member(s) | 1816 Guest(s) Applebot, Baidu, Bing, Google
|
| Latest Threads |
after install Linux Lite ...
Forum: Installing Linux Lite
Last Post: val
4 hours ago
» Replies: 10
» Views: 208
|
Sem som quando reinicia
Forum: Other
Last Post: di0lh0
6 hours ago
» Replies: 19
» Views: 227
|
Hello!!!
Forum: Introductions
Last Post: stevef
Today, 05:35 AM
» Replies: 1
» Views: 37
|
No authentication when i ...
Forum: Start up and Shutdown
Last Post: stevef
Today, 05:33 AM
» Replies: 1
» Views: 38
|
Problem updating lite 7.6...
Forum: Updates
Last Post: valtam
11-13-2025, 11:52 PM
» Replies: 5
» Views: 386
|
ASUS x206HA black screen ...
Forum: Installing Linux Lite
Last Post: Doceal
11-10-2025, 09:25 AM
» Replies: 6
» Views: 880
|
time synchronization
Forum: Other
Last Post: LL-user
11-09-2025, 12:18 AM
» Replies: 1
» Views: 196
|
Series to Series Upgrade ...
Forum: Linux Lite Software Development
Last Post: berrywhitetiger
11-07-2025, 05:43 AM
» Replies: 4
» Views: 4,233
|
Regarding the minimum sys...
Forum: Installing Linux Lite
Last Post: valtam
11-02-2025, 11:41 PM
» Replies: 3
» Views: 443
|
Can't test LinuxLite 7.6 ...
Forum: Installing Linux Lite
Last Post: valtam
11-02-2025, 05:51 AM
» Replies: 23
» Views: 7,371
|
|
|
| 1440x900 resolution with Radeon HD 4200 card / VG1930wm Monitor |
|
Posted by: stormvisions - 11-09-2018, 04:39 PM - Forum: Video Cards
- Replies (5)
|
 |
Raw noob here. No experience with Linux. Decided to try Linux on an old Dell OptiPlex 580 to see if I could use it to run some CAD programs for a small desktop CNC mill I just picked up.
There is a Radeon HD 4200 video card on this, and I have a VG1930wm monitor whose native resolution is 1440x900 which resolution was available on Windows. Right now the highest resolution available is 1024x768. I spent a few hours trying to sort out what to do but figured I'd save myself additional pain and ask. What would be the easiest way for me to allow this resolution given I have about 3 hours total Linux lifetime experience (and I'm older than dirt so don't want to drop dead before I sort it out)?
Your help appreciated.
|
|
|
| How to install clamav with on-access ability |
|
Posted by: alchemist - 11-08-2018, 05:34 PM - Forum: Tutorials
- No Replies
|
 |
HowTo install clamav with on-access scan.
The last stable version of Clamav, clamav-0.100.2, comes with a disactivated on-access scan capability.
The only on-access ability is to block the execution of a known virus and send a message to the clamav.log.
After an installation of clamav-daemon this can be done for example by inserting the following in the clamd.conf file:
--------------------------------------------------
User root
ScanOnAccess True
OnAccessIncludePath /"a_path_of_your_choise"
OnAccessPrevention true
--------------------------------------------------
The feature "VirusEvent" of clamd.conf that would permit to trigger an executable script that could delete a virus,
move it to a quarantine or send a message to the screen or to a log file, is not working.
The reason is found in the file "onaccess_fan.c" of the source (clamav-0.100.2.tar.gz).
(see https://bbs.archlinux.org/viewtopic.php?id=237489)
After extracting the source and opening "onaccess_fan.c" with an editor you can find at the line 81:
if (scan) {
if (onas_scan(fname, fmd->fd, &virname, tharg->engine, tharg->options, extinfo) == CL_VIRUS) {
/* TODO : FIXME? virusaction forks. This could be extraordinarily problematic, lead to deadlocks,
* or at the very least lead to extreme memory consumption. Leaving disabled for now.*/
//virusaction(fname, virname, tharg->opts);
res.response = FAN_DENY;
}
"virusaction" is commented out with two slashes // [ //virusaction(fname, virname, tharg->opts); ]
As the developer advises removing the two slashes can be problematic.
Taking a risk, I uncommented it and installed clamav on a Linux Lite 2.8 distribution based on Ubuntu 14.04 trusty, using a 3.19.0-80-generic kernel and it worked for me well as like with others (see link above).
It can now move viruses to a quarantine, delete them, send a message all ON-ACCESS.
Probably in the future the bug will be fixed but when and still for free? Who can be sure.
So for those interested and accept the risk, I offer a brief step by step installation guide, without taking any responsibility if any smoke arises from your machine.
1) Uninstall completely clamav and clamav-daemon if it was previously installed.
on my debian distribution:
dpkg purge clamav clamav-daemon (I prefer using the Synaptic Package Manager because it is more detailed)
2) Download the source.
https://www.clamav.net/downloads/product...0.2.tar.gz
3) Unpack it in a directory of your choise.
$ tar -xvf clamav-0.100.2.tar.gz
4) Download and install the following 3 packages if they are missing: check libxml2-dev libssl-dev (I did it through Synaptic)
5) Uncomment the "onaccess_fan.c" file.
- Enter the clamav-0.100.2 directory.
- Open the file clamd/onaccess_fan.c with an editor. (I use vim: $vim clamd/onaccess_fan.c)
- Remove the two slashes (//) in the line "//virusaction(fname, virname, tharg->opts);"
so it becomes: "virusaction(fname, virname, tharg->opts);"
- Save and exit the editor.
6) Install clamav from the source.
(see https://www.clamav.net/documents/installing-clamav)
I did the following:
- Enter the clamav-0.100.2 directory with the line command.
- Change to root (sudo su) and execute the following:
- ./configure
- ./make
- ./make check
- ./make install
7) Configure clamd. I give the following example (see the clamd.conf manual).
- Open the clamd.conf file with an editor and put or change the following features:
User root
ScanOnAccess true
OnAccessIncludePath /path_to_directory_to_protect
OnAccessExcludeUID 0
OnAccessPrevention true
OnAccessExtraScanning false
VirusEvent /opt/clamav-utils/clamd-response
- save and exit
8) Write the clamd-response script.
In this example it will give a virus notification to a log file, move the virus to a quarantine and a notification appears on the screen.
- make a directory /opt/clamav-utils/
- write with an editor the following in a file named "clamd-response" in the directory /opt/clamav-utils/ and save it.
----------------------------------
#!/bin/sh
echo "$(date) - $CLAM_VIRUSEVENT_VIRUSNAME > $CLAM_VIRUSEVENT_FILENAME" >> /var/log/clamav/infected.log
mv $CLAM_VIRUSEVENT_FILENAME /opt/clamav-utils/clamd_quarantine/
sudo -u MyUserName DISPLAY=:0.0 notify-send "Virus Found $CLAM_VIRUSEVENT_VIRUSNAME" "$CLAM_VIRUSEVENT_FILENAME has been moved to quarantine"
----------------------------------
ATTENTION: "MyUserName" must be changed to your user name!
9) make an empty file /var/log/clamav/infected.log
10) start the clamd daemon: # clamd start.
It is done!
But there is still a bug. The OnAccessScan does not scan the sub-directories.
The feature "OnAccessExtraScanning", even if set "true" doesn't work.
The following message appears in the clamav.log:
----------------------------------
ScanOnAccess: OnAccessExtraScanning was requested, but has been disabled due to a known issue with thread resource cleanup.
The OnAccessExtraScanning feature will be re-enabled in a future release when the issue is resolved.
For details, see: https://bugzilla.clamav.net/show_bug.cgi?id=12048
----------------------------------
So we hope it will soon be resolved.
|
|
|
| Having issues with Wi-Fi on LL 3.8 when previously never having issues |
|
Posted by: Vera - 11-08-2018, 04:26 PM - Forum: Network
- Replies (15)
|
 |
I'm intermittently having Wi-Fi issues on LL 3.8 when I never used to before. I've had 3.8 on my machine for a long time - since 3.8 came out in fact, so this is not a new install. :-\ The problem just started in the past week or two, which is odd. It happens most often after the session is suspended due to inactivity (not sure if I'm using the correct terminology? - in any case I mean it tends to happen after I log in again after so many minutes of inactivity - but not every time).
I can usually solve it by shutting down and re-starting computer, but it's frustrating to have to keep doing that. Occasionally it will take 2 re-boots for it to get Wi-Fi working again. Other machines continue to work fine on the same Wi-Fi during those times, and the other machines (one of which is LL 4.0) are further away from the Wi-Fi than the 3.8 machine, so it can't be a proximity issue.
I did NOT install any new software on my 3.8 machine for a long, long time (except for the "install updates" that I do through LL). There have been no changes to the Wi-Fi router either. On one of those problem times I powered down the router and powered it back up again, same for the LL3.8 machine, but that didn't prevent the issue from happening again. In any case, I don't think the router is the problem, as the other machines can connect just fine.
Does anyone have any suggestions for what I could do to either fix or troubleshoot the problem?
|
|
|
| Bookmarks in the FileManager disappeared |
|
Posted by: Tyrannocaster - 11-08-2018, 03:29 PM - Forum: Installing Software
- No Replies
|
 |
Just updated Linux Lite and my bookmarks in the Thunar file manager don't appear in the sidebar now, nor is there any option to add them in any of the menus. What might cause this? it's certainly inconvenient! Also, I cannot drag a desired folder into the sidebar to create the shortcuts again; it won't let me.
|
|
|
| Stop Desktop Icons Re-arranging |
|
Posted by: Yoru3 - 11-08-2018, 11:38 AM - Forum: Installing Linux Lite
- Replies (5)
|
 |
My migration from a main Windows 7 PC to a main Linux Lite 4.2 PC is going reasonably well.
But as I've gradually added programs with related desktop icons, the LL has suddenly started re-arranging some of the desktop Icons by itself, which I discover when I switch the machine back on.
I’ve used right-click “Desktop Settings” to adjust icon tips and font size etc., but cannot find anything that freezes the icon position, or stops the machine moving them without user action.
I guess it must be something I’ve missed, can anyone help.
Thank You
|
|
|
| Reconnecting to VPN |
|
Posted by: MossiX - 11-07-2018, 12:08 PM - Forum: Network
- Replies (1)
|
 |
Hello people,
Kindly I would like to share that I am really happy how my computer can automatically set-up a VPN connection whenever I connect to my local WLAN. However with the VPN Protocol 'Juniper/Pulse Network Connect' the connection clears every 6 hours or so. Then every time I have to manually connect again to the VPN. I was wondering what opportunities there are to automatically reactivate the VPN connection (after a couple of seconds for example) whenever the connection is cleared. For any questions please do let me know.
Thank you in advance ;D
|
|
|
| Ramdisk Slow Boot |
|
Posted by: paulshaffer - 11-07-2018, 02:31 AM - Forum: Start up and Shutdown
- No Replies
|
 |
Hi all,
I've searched web-wide and on here so I hope I'm not repeating existing posts.
When my laptop boots a "Loading initial ramdisk ..." message stays up for quite a long time...minutes?
Using systemd-analyze I've got "that portion" of the boot time down to 17s. I think the dmesg is reveals the issue.
I've attached everything I think may help.
Thanks a bunch.
|
|
|
|