Feed aggregator

LXer: ALT Linux 8.1 Workstation Released with Linux Kernel 4.4.34, MATE and KDE Desktops

LinuxQuestions.org latest posts - Sat, 11/26/2016 - 07:18
Published at LXer:

On Thanksgiving day, BaseALT Ltd, through Michael Shigorin, proudly announced the release and general availability of the ALT Linux 8.1 Workstation distribution aimed for personal and corporate desktop use.

Read More...

How do I get linux to actually shutdown and turn off the PC?

LinuxQuestions.org latest posts - Sat, 11/26/2016 - 07:04
I'm using linux mint xfce

When I tried the livedisk and even on install I always briefly saw something about ACPI. And because it always locked up on me, I made sure to disable ACPI in the BIOS and as the option when installing Mint (I also used nomodeset option as I read that causes lock ups also).

Doing that helped me install Mint succesfully and it works great.

But I'd like to have Mint turn off my PC when I tell it to shutdown, but instead it does some "halt.." or something and requires me to turn off the power manually.

Is there anyway to get this fixed? I'm worried if I turn on ACPI in the BIOS or try to install it somehow, which i think might be required for this fix, that Mint will lockup on me constantly like it did with the livecd or when i tried to install it originally.

Right Click for stylus - on old tablet pc (pre ipad days)

LinuxQuestions.org latest posts - Sat, 11/26/2016 - 06:56
I have a tablet pc (from 2005/6 before the iPad) and it uses a stylus (no touchscreen). The stylus works like a mouse fine in linux, click, holding the button then tapping does a right click, eraser works like the mouse (which is how Windows XP 2005 Tablet PC Edition did it - it only picked up the eraser to work differently in some programs).

Anyway a few things I'm missing on this old Acer Travelmate C200.
  • Holding the stylus down for 2 seconds makes a circle grow and when complete it takes it as you want to right click
  • being able to push/scroll the screen with a flick of the pen

I forgot to test the screen rotation also (its a button on my tablet, I'm thinking it is just hardware based, but not sure.

Anyway I know not many people have these type of tablets as they were only out there for a few years before the iPad killed them off and touchscreen was decided the way to go, once Apple showed a better way to handle the UI.

Does anyone know of anyway to get a right click by holding the pen down for awhile? I know I can hold the button on the side of the pen and tap the pen on the screen but its just handier to just hold it most of the time.

Also do you know of anything that will let you just flick to scroll through textboxes or browsers or other windows?

For firefox I use "Toggle Grab and Drag mode" on WinXP as IE was originally one of few apps that did it natively w the stylus.

I've only tested on Linux Mint, so far.

Thanks

Postfix - fix "Your MX supports plain text auth"

LinuxQuestions.org latest posts - Sat, 11/26/2016 - 06:46
So for reasons I have been required to submit an audit of my Postfix server using the site http://emailsecuritygrader.com . At the moment, I am receiving an 85%, with the following error being the one needing fixing:

Code:
Why are we testing it?

A mail exchange server is more vulnerable to abuse if the system is not configured to a) authenticate and verify local users before allowing them to submit messages to the SMTP server, and b) to encrypt the login criteria using a Secure Socket Layer (SSL) connection between the mail client and the server.

Risk factors:

Spammers can potentially hack users' accounts by collecting passwords that are transmitted to the server in clear text via PLAIN or AUTH LOGIN mechanisms.

What are we testing?

This test attempts to connect to the mail server on ports 25 and 465. For each connection it checks the list of available authentication (AUTH) methods.

The server will receive the lowest score if PLAIN or AUTH LOGIN are supported on port 25. The highest score is awarded if SMTP SSL is enabled, and the PLAIN and AUTH LOGIN mechanisms are not available on port 25. Note that if AUTH is not supported, your MX passes the test as plain text passwords cannot be sniffed.

        Your MX(s) supports plain text AUTH Here is my /etc/postfix/master.cf :

Code: smtp    inet  n      -      n      -      -      smtpd
  -o smtpd_sender_restrictions=check_sender_access,hash:/etc/postfix/unauth_sender_access
  -o cleanup_service_name=$msa_cleanup_service_name
  -o smtpd_sasl_auth_enable=no
  -o smtp_sasl_auth_enable=no
submission    inet  n      -      n      -      -      smtpd
  -o syslog_name=postfix/submission
  -o smtpd_tls_security_level=encrypt
  -o smtpd_enforce_tls=yes
  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_sender_restrictions=permit_sasl_authenticated,reject
#  -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
  -o smtpd_reject_unlisted_recipient=yes
  -o milter_macro_daemon_name=ORIGINATING

msa_cleanup    unix    n      -      n      -      0      cleanup
        -o header_checks=$msa_header_checks
        -o body_checks=$msa_body_checks

#smtp      inet  n      -      n      -      -      smtpd
#smtp      inet  n      -      n      -      1      postscreen
#smtpd    pass  -      -      n      -      -      smtpd
#dnsblog  unix  -      -      n      -      0      dnsblog
#tlsproxy  unix  -      -      n      -      0      tlsproxy
#submission inet n      -      n      -      -      smtpd
#  -o syslog_name=postfix/submission
#  -o smtpd_tls_security_level=encrypt
#  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_reject_unlisted_recipient=no
#  -o smtpd_client_restrictions=$mua_client_restrictions
#  -o smtpd_helo_restrictions=$mua_helo_restrictions
#  -o smtpd_sender_restrictions=$mua_sender_restrictions
#  -o smtpd_recipient_restrictions=permit_sasl_authenticated,reject
#  -o milter_macro_daemon_name=ORIGINATING
465    inet  n      -      n      -      -      smtpd
#  -o syslog_name=postfix/smtps
  -o smtpd_tls_wrappermode=yes
  -o smtpd_sasl_auth_enable=yes
#  -o smtpd_client_restrictions=permit_sasl_authenticated,reject
#  -o smtpd_reject_unlisted_recipient=no
#  -o smtpd_client_restrictions=$mua_client_restrictions
#  -o smtpd_helo_restrictions=$mua_helo_restrictions
#  -o smtpd_sender_restrictions=$mua_sender_restrictions
#  -o smtpd_recipient_restrictions=permit_sasl_authenticated,permit_mynetworks,reject
#  -o milter_macro_daemon_name=ORIGINATING
#628      inet  n      -      n      -      -      qmqpd
pickup    unix  n      -      n      60      1      pickup
cleanup  unix  n      -      n      -      0      cleanup
qmgr      unix  n      -      n      300    1      qmgr
#qmgr    unix  n      -      n      300    1      oqmgr
tlsmgr    unix  -      -      n      1000?  1      tlsmgr
rewrite  unix  -      -      n      -      -      trivial-rewrite
bounce    unix  -      -      n      -      0      bounce
defer    unix  -      -      n      -      0      bounce
trace    unix  -      -      n      -      0      bounce
verify    unix  -      -      n      -      1      verify
flush    unix  n      -      n      1000?  0      flush
proxymap  unix  -      -      n      -      -      proxymap
proxywrite unix -      -      n      -      1      proxymap
smtp      unix  -      -      n      -      -      smtp
relay    unix  -      -      n      -      -      smtp
#      -o smtp_helo_timeout=5 -o smtp_connect_timeout=5
showq    unix  n      -      n      -      -      showq
error    unix  -      -      n      -      -      error
retry    unix  -      -      n      -      -      error
discard  unix  -      -      n      -      -      discard
local    unix  -      n      n      -      -      local
virtual  unix  -      n      n      -      -      virtual
lmtp      unix  -      -      n      -      -      lmtp
anvil    unix  -      -      n      -      1      anvil
scache    unix  -      -      n      -      1      scache I've tried every way to disable auth on port 25 ("smtp" in the master.cf), so I don't know why this test is still saying it is still available?

So Xubuntu Lubuntu install codecs now?

LinuxQuestions.org latest posts - Sat, 11/26/2016 - 06:12
I tried out Xubuntu (wow, not sure what it is but it looks better than MacOS), Lubuntu (very nice) and Mint xfce.

I know years ago I read Linux Mint gives you flash and other codecs, but when I tried to install Lubuntu and Xubuntu (it took me awhile before I realized why they all 3 locked up) I noticed they all had options to install codecs and stuff.

So with that in mind, has Mint lost its uniqueness?

Why can't compress files into target directory?

LinuxQuestions.org latest posts - Sat, 11/26/2016 - 05:52
Code: pwd
/home/debian8
rar a  /tmp/imitation.rar  /home/imitation

RAR 4.20  Copyright (c) 1993-2012 Alexander Roshal  9 Jun 2012
Trial version            Type RAR -? for help

Evaluation copy. Please register.

ERROR: Bad archive /tmp/imitation.rar

rar a  imitation.rar  /home/imitation

ls  /home/debian8
imitation.rar rar command can compress files into current directory.
Code: rar a  imitation.rar  /home/imitation
#execute rar command can't compress files into target directory,
Code: rar a  /tmp/imitation.rar  /home/imitation
#can't execute Why?

LXer: An Everyday Linux User Review Of Q4OS 1.8.1

LinuxQuestions.org latest posts - Sat, 11/26/2016 - 05:47
Published at LXer:

Q4OS is a light weight Linux distribution which looks much like Windows of old. Don't let that put you off however as it is easy to install and easy to use with all the major top applications catered for.

Read More...

After slackpkg upgrade-all startx fails with libXfont2.so.2 error

LinuxQuestions.org latest posts - Sat, 11/26/2016 - 05:39
RPI3, Slackware ARM current.

After a couple, maybe 3-4 weeks I did the slackpkg update and then slackpkg upgrade-all and there was a fair amount of stuff but no errors or anything.

After logging in as regular user and typing startx I get:
Code: /usr/libexec/Xorg: error while loading shared libraries: libXfont2.so.2: Cannot open shared object file: No such file or directory
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error I've checked and the file doesn't exist anywhere on the system and Google isn't being much help.

I can ssh -Y in and get a firefox or thunar window but startx is dead. I tried a reinstall of all the xfce packages and also tried startx as root with the same (non-) results

What have I borked this time?

Install mysql qiery browser Ubuntu

LinuxQuestions.org latest posts - Sat, 11/26/2016 - 05:11
Install mysql query browser. Pretty new to linux. I have Ubuntu 16.04 installed on two machines. One I purchased from Dell. The other I installed on a new hard drive. Mysql query browser is a no longer supported program that can still be used. I feel comfortable with it. Installed on the Ubuntu system on the separate hard drive and it seems to be working fine. I tried inbstalling it on the Dell with not so successful results. I tried using something called WINE on the Dell. The interface is tiny and so are the fonts. I'm not sure what I did on the separate hard drive but don't think I'm using WINE. It works on the Dell but is hard to see. Any ideas

LXer: How to manage multiple WordPress sites from a single place using the MainWP plugin

LinuxQuestions.org latest posts - Sat, 11/26/2016 - 03:33
Published at LXer:

In this tutorial, we will show you how to install two WordPress instances on separate virtual servers with Ubuntu 16.04 OS and Apache, PHP and MySQL installed on them, and how to manage them from a single place using the MainWP WordPress plugin.

Read More...

Claws-Mail Segmentation Faults

LinuxQuestions.org latest posts - Sat, 11/26/2016 - 02:49
After months of trouble-free use, Claws-Mail has started to segfault on Mint 17 on my Zareason Strata laptop.

One thing I should point out it that I am currently stranded at my brother's place because of car trouble, and he has very slow wireless internet, because he lives in a rural area with no wired internet service. It's so slow that I have not been able to send an email from Claws; Claws errors on send. I have to log into webmail to send, though not to receive.

Nothing else has changed.

Here's some information about my system:

Code: $ uname -a
Linux barracuda 3.13.0-92-generic #139-Ubuntu SMP Tue Jun 28 20:42:26 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$ DISTRIB_ID=LinuxMint
DISTRIB_RELEASE=17.1
$ claws-mail -v
Claws Mail version 3.9.3 All updates have been consistently applied to my install.

I have no clues. Does anyone have one to share?

PyQt4

LinuxQuestions.org latest posts - Sat, 11/26/2016 - 01:54
hi
I an trying to get a global variable(string) to display in a textbox using PyQt4 it works in a script but not in an object orientened fashion

This is the problem line of code
Code:
textbox = QtGui.QLineEdit(self, glogal_variable)
textbox.move(100,100) This is the error
Code: TypeError: argument does not match any overload call Thank you for your help

LXer: Want to Know if the Election was Hacked? Look at the Ballots

LinuxQuestions.org latest posts - Sat, 11/26/2016 - 01:37
Published at LXer:

Let me set the record straight about what I and other leading election security experts have actually been saying to the campaign and everyone else who’s willing to listen.

Read More...

pulse audio volume defaults

LinuxQuestions.org latest posts - Sat, 11/26/2016 - 01:30
Slackware 14.2: How do I set pulse audio default volume levels for user & system?

Wine 1.9.24

tuxmachines.org - Sat, 11/26/2016 - 00:05
  • Wine Announcement

    The Wine development release 1.9.24 is now available.

  • Wine 1.9.24 Ships With More Fixes & Improvements

    Wine 1.9.24 is out as the newest bi-weekly development release of this program for running Windows binaries on Linux and other operating systems.

    Wine 1.9.24 isn't the most exciting release by far in recent memory but does have support for unordered access views in Direct3D, fixes to regression tests, improvements in HID support, and various bug-fixes. In total there are 28 known bug-fixes with this new version.

read more

LXer: A look at PyCharm - The Best Python IDE For Linux

LinuxQuestions.org latest posts - Fri, 11/25/2016 - 23:33
Published at LXer:

PyCharm is an IDE brought to you from the same people that create IntelliJ and Resharper. It is possibly the best Python IDE available for Linux with intellisense, code refactoring and debugging options.

Read More...

sd# device files from one boot to another

LinuxQuestions.org latest posts - Fri, 11/25/2016 - 23:22
If I boot from a live USB image for an install can I count on the devices listed in the install menu to be the same as they are on the existing system? For instance, if /dev/sda1 is mounted at / & /dev/sdc is mounted on /home/me can I count on the same devices names (sd#) to be pointing at the same physical drives in the install menu as they are on my desktop when booted into it's native OS?

Print number of files in working directory

LinuxQuestions.org latest posts - Fri, 11/25/2016 - 23:15
Hi, I'm a complete newbie here, sorry about that. This code doesn't impress anyone but what this program does is count files, symbolic links and directories. What I can't make work is getting the program to count only in the working directory when I give the program one of the options: either -f, -L or -d.

Any help would be highly appreciated.



Code: #!/bin/bash

usage () {
        echo "$PROGNAME: usage: $PROGNAME [-f file | -L Link | -d]"
        return
}

tell () {
        antall_filer=$(find $1 -type f | wc -l)
        antall_symblenker=$(find $1 -type l | wc -l)
        antall_kataloger=$(find $1 -type d | wc -l)
        return
}

skriv () {
        if [ -z $1 ]; then
                echo "Resultat i arbeidskatalogen: " $antall_filer filer, $antall_symblenker symbolske lenker, $antall_kataloger kataloger, totalt $(($antall_filer+$antall_symblenker+$antall_kataloger))
        elif [ $1 == -f ]; then
                echo "Antall filer i $2: $antall_filer filer"
        elif [ $1 == -L ]; then
                echo "Antall symbolske lenker i $2: $antall_symblenker symbolske lenker"
        elif [ $1 == -d ]; then
                echo "Antall kataloger i $2: $antall_kataloger kataloger"
        else
                echo "Resultat i $1: " $antall_filer filer, $antall_symblenker symbolske lenker, $antall_kataloger kataloger, totalt $(($antall_filer+$antall_symblenker+$antall_kataloger))
        fi
        return
}

PROGNAME=$(basename $0)

opsjoner=
kataloger=

if [[ -z $1 ]]; then

        tell
        skriv
 else
        while [ $# -gt 0 ]; do
                case $1 in
                        -f)                        opsjoner=-f
                                                ;;
                        -L)                        opsjoner=-L
                                                ;;
                        -d)                        opsjoner=-d
                                                ;;
                        -h)                        usage
                                                exit
                                                ;;
                        *)                        kataloger="$@"
                                                break
                                                ;;
                esac
                shift
        done

        for katalog in $kataloger; do
                tell $katalog
                skriv $opsjoner $katalog
        done
fi

WiFi problem

LinuxQuestions.org latest posts - Fri, 11/25/2016 - 22:51
Hello,

I have recently installed Dragora on my laptop (easily thanks to the installation guide) however WiFi is not working. How can I fix that ?

Here are the lspci infos about my WiFi card :

24:00.0 Network controller: Broadcom Corporation BCM4313 802.11b/g/n Wireless LAN Controller (rev 01)
Subsystem: Hewlett-Packard Company Device 145c
Flags: bus master, fast devsel, latency 0, IRQ 19
Memory at d4400000 (64-bit, non-prefetchable) [size=16K]
Capabilities: [40] Power Management version 3
Capabilities: [58] Vendor Specific Information: Len=78 <?>
Capabilities: [48] MSI: Enable- Count=1/1 Maskable- 64bit+
Capabilities: [d0] Express Endpoint, MSI 00
Capabilities: [100] Advanced Error Reporting
Capabilities: [13c] Virtual Channel
Capabilities: [160] Device Serial Number 00-00-7a-ff-ff-3d-20-10
Capabilities: [16c] Power Budgeting <?>
Kernel driver in use: bcma-pci-bridge
Kernel modules: bcma

I would appreciate any help that you can provide.

OSS Leftovers

tuxmachines.org - Fri, 11/25/2016 - 21:52
  • Deepstream: an Open-source Server for Building Realtime Apps

    Realtime apps are getting really popular, but they’re also hard to build. Wolfram Hempel introduces deepstream, an open-source server he co-founded to make data-sync, request-response and publish-subscribe a whole lot easier.

  • Open Source Email Marketing with phpList

    Email marketing has been exploding in popularity. You might have heard of the likes of MailChimp and Emma advertising the use of their services to send a whole bunch of messages for prospects and profit. The number of ways to promote goods online is forever growing, and research shows emails are still the most effective. I like to compare it with the “desktop is dead” myth; while mobile is on the rise, desktop is here to stay. I believe the same about email.

    Having said that, it’s no surprise that the number of services competing in the field have mushroomed in recent years, capitalising on demand from firms of all sizes to get access to that most personal of places, the email inbox.

    While big brand proprietary platforms and their sponsorship deals have been busy establishing themselves, an Open Source alternative has been minding its own business, making regular releases and accumulating a committed base of users since the year 2000. Enter phpList, the email marketing app you can run yourself without paying for messages, subscribers, or additional features.

  • 3 alternative reasons why you should test Nextcloud 11 Beta

    And many of the folks about to be put in power by President-elect Trump favor more spying, including on US citizens, expansion of the NSA, a crackdown on whistleblowers and more. Trump's pick for CIA director calls for Snowden's execution. For, what I can only guess must be giving proof of illegal government spying to dangerous terrorists like the Washington Post and the Guardian, who proceeded to win a Pulitzer prize by disclosing this information irresponsibly to the US public.

  • Mickey Mouse Open Source, Close Call at WordPress, and More…

    These days we’re seeing a lot of companies that aren’t officially in the software business releasing code developed in-house for internal use under open source licenses. You can now add Disney to that list, which includes Capital One, Walmart and others.

    This was pointed out on Wednesday by InfoWorld’s Paul Krill, who notes that in addition to Mickey Mouse, Pinocchio and Nemo, the company has given us advanced image projects such as OpenEXR, as well as DevOps tools for the Mac, such as Munki. More information on Disney’s open source projects can be found on its GitHub page.

read more

Syndicate content