• Breaking News

    [Android][timeline][#f39c12]

    Thursday, January 3, 2019

    Linux Meaning of '&' and How to Improve This Function

    Linux Meaning of '&' and How to Improve This Function


    Meaning of '&' and How to Improve This Function

    Posted: 03 Jan 2019 11:44 AM PST

    I've seen '&' placed at end of certain commands especially when launching a program. (E.g. xdg-open [some program] &) This seems to prevent the terminal from being occupied during the execution of the program. That is, it returns to prompting for user input immediately with the '&' included. Is this accurate? Does it do anything else? Also, I wrote this function: sr() { o https://duckduckgo.com/?q="$@"&ia=web & } as a kind of from-terminal DuckDuckGo search (o is an alias for xdg-open). But in order to search for things that are more than one word, I need to include them in quotes. Is there a way I can write the function to avoid that? Can the function be written better? Thanks!

    Edit: tried to improve inline code formatting

    Edit: ^ didn't seem to work.

    submitted by /u/The_Sre
    [link] [comments]

    Meaning of error message and where to find error messages within logs

    Posted: 03 Jan 2019 08:05 AM PST

    After clicking on the properties of a folder within my documents, just to check the size of said folder, an error message appeared pertaining to something like "error 205 (i think, might have been 204/244/or 255, should've payed more attention) mkdir..." appeared. Can i find this error message again within the var/log kern.log files? Also, what could said error have been prompted by?

    Thanks in advance for any answers

    submitted by /u/TheArchetypicalFelix
    [link] [comments]

    Choosing a Linux Distro for Your PC in 2019

    Posted: 02 Jan 2019 03:35 PM PST

    Video only being output on secondary monitor when using Ubuntu (works fine on Windows)

    Posted: 03 Jan 2019 12:36 PM PST

    I recently installed Ubuntu 18.10 on my HP ProBook 4545s laptop, and a problem I've observed is that if I connect my monitor to it, the display on my laptop turns black and only shows output on my monitor, which is configured to be the secondary monitor. If I set the monitor to be the primary monitor and the laptop display to be the secondary monitor, then it reverses, so regardless of what my settings are, it always only shows video on whichever I have set as the secondary monitor. What should I try in order to possibly fix this?

    submitted by /u/bowserthrows
    [link] [comments]

    Linux EXTREMELY slow boot

    Posted: 03 Jan 2019 06:21 AM PST

    I have hp pavillion dv6-6c13nr. I have linux mint 19 Tara. 6 out of 10 times it needs an infinite amount of time to boot, I force shut down it several times and then it boots. It's unbearable, what can I do?

    submitted by /u/mavinter
    [link] [comments]

    APT Library - Who owns it? Who can upload to it? Can packages contain malware?

    Posted: 03 Jan 2019 11:57 AM PST

    It seems like magic...

    I just installed GTK+ on my Windows 7 machine, using the MSYS2 installer... I don't think I used apt-get (?) but instead used Pacman that came with MSYS2.

    From where did I download GTK+?

    I find it odd that I'm not prompted where to install it on disk... Being a Windows user, I've only encountered a handful of programs that don't include a user-specifiable installation directory. From what I've seen in Linux, that's basically never seen... ? Or maybe I'm just watching the wrong Linux videos, where they're virtually exclusively using the command prompt... ?

    I think it would be awesome to have a centralized database of installable applications... I can't imagine how many hours... days... solid weeks of my life have been wasted simply looking for download links... lol. I just can't understand how such a database could stay secure, and free.

    submitted by /u/dracho
    [link] [comments]

    Dictation/recording/note-taking app on Linux ?

    Posted: 03 Jan 2019 09:41 AM PST

    Hello,

    Does anyone know of an app that will listen on the microphone of my system and record everything I speak with the output being a text file which I can read and copy/paste edit ?

    My use case is that I would like to go over my code and just do stream of consciousness explanations about it, I would then take the transcript and edit/tighten it up to serve as the script for some videos and live demonstrations I will do about my code.

    It would be cool if this is something that isn't web based and I could use without an internet connection.

    My OS is Lubuntu on my laptop and KDE Neon on my PC.

    Thank you.

    submitted by /u/Hero_Of_Shadows
    [link] [comments]

    Ethernet not working after install

    Posted: 03 Jan 2019 08:11 AM PST

    I just installed arch on my new rig and Ethernet won't work. I have a MSI b450m pro vdh mother board. lspci -v shows that it has drivers and whatnot but I cannot access the internet. Ethernet worked fine during install. Thanks JB advance for any help

    submitted by /u/Jpaino123
    [link] [comments]

    Ubuntu or Manjaro or Elementary OS. As the first Linux system.

    Posted: 03 Jan 2019 01:18 PM PST

    I choose from the above.

    I will need a driver for the printer (system requirements "Red Hat® Enterprise Linux® Desktop 5 / 6 / 7, Ubuntu® 10 / 11 / 12 / 13 / 14 / 15 / 16"), Microsoft office 2010 (then I'll change it, but first I need it).

    A system for working with documents, music and video.

    My pc: i3-3225 3.30, 8gb ram, amd 7750.

    submitted by /u/Z_Gen
    [link] [comments]

    Custom grub entry for Clonezilla

    Posted: 03 Jan 2019 11:13 AM PST

    The official website for CloneZilla recommends the following:

    set root=(hdX,Y) linux /live-hd/vmlinuz boot=live union=overlay username=user config components quiet noswap nolocales edd=on nomodeset ocs_live_run=\"ocs-live-general\" ocs_live_extra_param=\"\" keyboard-layouts= ocs_live_batch=\"no\" locales= vga=788 ip=frommedia nosplash live-media-path=/live-hd bootfrom=/dev/sdXY toram=filesystem.squashfs initrd /live-hd/initrd.img

    However, the problem arises when the boot order is messed up, and sda becomes sdb and so forth. Is there any way to do it using UUID?

    Also, I saw the loop option to boot directly from ISO file. Doesn't that come at a cost of performance?

    submitted by /u/Mycroft2046
    [link] [comments]

    New Linux installation reboots for no reason.

    Posted: 03 Jan 2019 03:06 AM PST

    Why are themes only partially working in XFCE?

    Posted: 03 Jan 2019 01:09 AM PST

    I've installed several themes from xfce looks and none of them are working properly. I've tried both, gtk2 and gtk3 themes and both of them give me the same result, which is only partially themeing. I'm running SUSE.

    For example, Seamonkey and the xfce panels appear to be themed correctly, but things like YaST, the settings manager and VLC aren't themed. I've already tried going into QT4 settings and changing the GUI style to GTK+, but that did nothing.

    [https://imgur.com/a/gx5rkUd] (This) shows what I'm talking about, VLC and the settings manager aren't themed, but everything else seems OK.

    submitted by /u/thrower65
    [link] [comments]

    SSH mystery connection cannot be made and getting the error.

    Posted: 03 Jan 2019 03:44 AM PST

    I have the PEM from AWS Linux machine and I am having a hard time understanding the issue

    I am trying on my windows machine and also tried in a machine in digital ocean Linux

    1. chmod 400 ELKT2large2.pem
    2. ssh -i "ELKT2large2.pem" ec2-user@ec2-3-8-156-116.eu-west-2.compute.amazonaws.com

    Error Log

    PS C:\Users\rifat\Downloads> ssh -i "ELKT2large2.pem" ec2-user@ec2-3-8-156-116.eu-west-2.compute.amazonaws.com ec2-user@ec2-3-8-156-116.eu-west-2.compute.amazonaws.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic). PS C:\Users\rifat\Downloads> ssh -i "ELKT2large2.pem" ec2-user@ec2-3-8-156-116.eu-west-2.compute.amazonaws.com -vvvv OpenSSH_for_Windows_7.6p1, LibreSSL 2.6.4 debug3: Failed to open file:C:\\Users\\rifat/.ssh/config error:2 debug3: Failed to open file:C:\\ProgramData\\ssh/ssh_config error:2 debug2: resolving "ec2-3-8-156-116.eu-west-2.compute.amazonaws.com" port 22 debug2: ssh_connect_direct: needpriv 0 debug1: Connecting to ec2-3-8-156-116.eu-west-2.compute.amazonaws.com [3.8.156.116] port 22. debug1: Connection established. debug3: Failed to open file:ELKT2large2.pem.pub error:2 debug1: key_load_public: No such file or directory debug1: identity file ELKT2large2.pem type -1 debug3: Failed to open file:ELKT2large2.pem-cert error:2 debug3: Failed to open file:ELKT2large2.pem-cert.pub error:2 debug1: key_load_public: No such file or directory debug1: identity file ELKT2large2.pem-cert type -1 debug1: Local version string SSH-2.0-OpenSSH_for_Windows_7.6 debug1: Remote protocol version 2.0, remote software version OpenSSH_7.4 debug1: match: OpenSSH_7.4 pat OpenSSH* compat 0x04000000 debug2: fd 3 setting O_NONBLOCK debug1: Authenticating to ec2-3-8-156-116.eu-west-2.compute.amazonaws.com:22 as 'ec2-user' debug3: hostkeys_foreach: reading file "C:\\Users\\rifat/.ssh/known_hosts" debug3: record_hostkey: found key type ECDSA in file C:\\Users\\rifat/.ssh/known_hosts:1 debug3: load_hostkeys: loaded 1 keys from ec2-3-8-156-116.eu-west-2.compute.amazonaws.com debug3: Failed to open file:C:\\Users\\rifat/.ssh/known_hosts2 error:2 debug3: Failed to open file:C:\\ProgramData\\ssh/ssh_known_hosts error:2 debug3: Failed to open file:C:\\ProgramData\\ssh/ssh_known_hosts2 error:2 debug3: order_hostkeyalgs: prefer hostkeyalgs: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521 debug3: send packet: type 20 debug1: SSH2_MSG_KEXINIT sent debug3: receive packet: type 20 debug1: SSH2_MSG_KEXINIT received debug2: local client KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,ext-info-c debug2: host key algorithms: ecdsa-sha2-nistp256-cert-v01@openssh.com,ecdsa-sha2-nistp384-cert-v01@openssh.com,ecdsa-sha2-nistp521-cert-v01@openssh.com,ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-ed25519-cert-v01@openssh.com,ssh-rsa-cert-v01@openssh.com,ssh-ed25519,rsa-sha2-512,rsa-sha2-256,ssh-rsa debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none debug2: compression stoc: none debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug2: peer server KEXINIT proposal debug2: KEX algorithms: curve25519-sha256,curve25519-sha256@libssh.org,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group16-sha512,diffie-hellman-group18-sha512,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha256,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1 debug2: host key algorithms: ssh-rsa,rsa-sha2-512,rsa-sha2-256,ecdsa-sha2-nistp256,ssh-ed25519 debug2: ciphers ctos: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc debug2: ciphers stoc: chacha20-poly1305@openssh.com,aes128-ctr,aes192-ctr,aes256-ctr,aes128-gcm@openssh.com,aes256-gcm@openssh.com,aes128-cbc,aes192-cbc,aes256-cbc,blowfish-cbc,cast128-cbc,3des-cbc debug2: MACs ctos: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: MACs stoc: umac-64-etm@openssh.com,umac-128-etm@openssh.com,hmac-sha2-256-etm@openssh.com,hmac-sha2-512-etm@openssh.com,hmac-sha1-etm@openssh.com,umac-64@openssh.com,umac-128@openssh.com,hmac-sha2-256,hmac-sha2-512,hmac-sha1 debug2: compression ctos: none,zlib@openssh.com debug2: compression stoc: none,zlib@openssh.com debug2: languages ctos: debug2: languages stoc: debug2: first_kex_follows 0 debug2: reserved 0 debug1: kex: algorithm: curve25519-sha256 debug1: kex: host key algorithm: ecdsa-sha2-nistp256 debug1: kex: server->client cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none debug1: kex: client->server cipher: chacha20-poly1305@openssh.com MAC: <implicit> compression: none debug3: send packet: type 30 debug1: expecting SSH2_MSG_KEX_ECDH_REPLY debug3: receive packet: type 31 debug1: Server host key: ecdsa-sha2-nistp256 SHA256:y1D1k8ShHrninNsTeE8p60+1+TIGbI35e6dn3jCFPu0 debug3: hostkeys_foreach: reading file "C:\\Users\\rifat/.ssh/known_hosts" debug3: record_hostkey: found key type ECDSA in file C:\\Users\\rifat/.ssh/known_hosts:1 debug3: load_hostkeys: loaded 1 keys from ec2-3-8-156-116.eu-west-2.compute.amazonaws.com debug3: Failed to open file:C:\\Users\\rifat/.ssh/known_hosts2 error:2 debug3: Failed to open file:C:\\ProgramData\\ssh/ssh_known_hosts error:2 debug3: Failed to open file:C:\\ProgramData\\ssh/ssh_known_hosts2 error:2 debug3: hostkeys_foreach: reading file "C:\\Users\\rifat/.ssh/known_hosts" debug3: record_hostkey: found key type ECDSA in file C:\\Users\\rifat/.ssh/known_hosts:1 debug3: load_hostkeys: loaded 1 keys from 3.8.156.116 debug3: Failed to open file:C:\\Users\\rifat/.ssh/known_hosts2 error:2 debug3: Failed to open file:C:\\ProgramData\\ssh/ssh_known_hosts error:2 debug3: Failed to open file:C:\\ProgramData\\ssh/ssh_known_hosts2 error:2 debug1: Host 'ec2-3-8-156-116.eu-west-2.compute.amazonaws.com' is known and matches the ECDSA host key. debug1: Found key in C:\\Users\\rifat/.ssh/known_hosts:1 debug3: send packet: type 21 debug2: set_newkeys: mode 1 debug1: rekey after 134217728 blocks debug1: SSH2_MSG_NEWKEYS sent debug1: expecting SSH2_MSG_NEWKEYS debug3: receive packet: type 21 debug1: SSH2_MSG_NEWKEYS received debug2: set_newkeys: mode 0 debug1: rekey after 134217728 blocks debug3: unable to connect to pipe \\\\.\\pipe\\openssh-ssh-agent, error: 2 debug1: pubkey_prepare: ssh_get_authentication_socket: No such file or directory debug2: key: ELKT2large2.pem (0000000000000000), explicit debug3: send packet: type 5 debug3: receive packet: type 7 debug1: SSH2_MSG_EXT_INFO received debug1: kex_input_ext_info: server-sig-algs=<rsa-sha2-256,rsa-sha2-512> debug3: receive packet: type 6 debug2: service_accept: ssh-userauth debug1: SSH2_MSG_SERVICE_ACCEPT received debug3: send packet: type 50 debug3: receive packet: type 51 debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic debug3: preferred publickey,keyboard-interactive,password debug3: authmethod_lookup publickey debug3: remaining preferred: keyboard-interactive,password debug3: authmethod_is_enabled publickey debug1: Next authentication method: publickey debug1: Trying private key: ELKT2large2.pem debug3: sign_and_send_pubkey: RSA SHA256:bsgexeAeKyutvuK71twVY3afA2hMEX7A/jSWzynasgk debug3: send packet: type 50 debug2: we sent a publickey packet, wait for reply debug3: receive packet: type 51 debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic debug2: we did not send a packet, disable method debug1: No more authentication methods to try. ec2-user@ec2-3-8-156-116.eu-west-2.compute.amazonaws.com: Permission denied (publickey,gssapi-keyex,gssapi-with-mic). PS C:\Users\rifat\Downloads> 

    submitted by /u/rifaterdemsahin
    [link] [comments]

    Mooqita - what is it?

    Posted: 03 Jan 2019 09:39 AM PST

    Hi, I'm nearing the end of LFS101 at edX. So far so good, I expect to pass. But now just sommer after doing the chapter tests, there's a link inviting me to a "challenge" set by Mooqita. The challenge relates to the contents of the course, but really is a challenge. It seems if I complete two of these challenges successfully, I become part of a team doing stuff for payment. Any info on this? What does it mean?

    submitted by /u/uilspieel
    [link] [comments]

    DE//Distro for old laptop

    Posted: 03 Jan 2019 02:04 AM PST

    Hello there! Would like some advice, which distro//de is optimal for older hardware. Obviously I want something lightweight. Specs: Core2Duo CPU, 4GB RAM I am by no means a guru, but I try to learn. Have a small experience with Ubuntu, mint. Nothing fancy, only day-to-day use. Web browsing, some media, office progs. Thanks in advance!

    submitted by /u/ktbr90
    [link] [comments]

    Cannot mount a drive when formatted to ext4 but same drive will mount if formatted to ntfs. I did adjust the fstab file after formatting.

    Posted: 02 Jan 2019 10:55 PM PST

    Hello I had a drive I was using for windows but now I am full on Linux. The drive was empty so I decided to format the drive to ext4.

    The drive auto mounted upon boot before formatting to ext4. I did adjust the fstab file to accommodate for the filesystem change after reformatting.

    fstab file:

    UUID=a4f4f8c4-4a87-448a-aad3-996d1a03e186 /media/user/SanDisk ext4 defaults,uid=user,gid=user 0 2 

    blkid results:

    /dev/sda1: LABEL="SanDisk" UUID="a4f4f8c4-4a87-448a-aad3-996d1a03e186" TYPE="ext4" PARTUUID="a6a188da-01" 

    When I type:

    sudo mount -a 

    it returns

    mount: /media/user/SanDisk: wrong fs type, bad option, bad superblock on /dev/sda1, missing codepage or helper program, or other error. 

    If I reformat the drive to NTFS and update the UUID and filesystem in the fstab file it will mount without problem.

    I am using Linux Mint 19.1

    Edit: I have created a new gpt partition table and issue persists.

    SOLVED Thanks to u/ang-p

    submitted by /u/Christiphis
    [link] [comments]

    Total noob wondering how to get a driver with no internet

    Posted: 02 Jan 2019 07:56 PM PST

    I'm brand new to linux (istalled today) so be patient with me...

    What I've done so far is successfully get Manjaro Linux to dual boot with Windows 7. (The fact that 7 won't be supported in a year is what pushed me to switch.)

    But in Manjaro I don't have any internet. It detects that I have an ASUS PCE-AC68 802.11ac wireless network adapter... but it doesn't have a driver ready to install for it.

    I googled the problem on my phone, and apparently there's some complicated thing I have to do where I "build" a "package" and so on that'll be frustrating and teach me a lot about linux. But that all seems predicated on my being able to download anything. (I ran "pacman" and all it said was, paraphrasing, 'nothing exists anywhere'--I'd copy and paste the output but I had to reboot into Windows to post this.)

    I don't have, and cannot practically have, a wired connection. This is a desktop pc, but I'd need to buy an ethernet cable and move my entire setup into a closet in order to connect that way.

    I can see all of my windows folders and such from Manjaro. (In fact, I played a movie--the fact that that worked right out of the box gave me a false sense of security maybe). I'm guessing that there's some way I can download what I need in windows, have it sitting in a folder, reboot into manjaro, and build what I downloaded?

    Thanks!

    edit: I discovered the package manager (pamac, IIRC) which has really sped up the trial and error process. At this point I think I've tried every plausible driver with no success. I've installed several things that come up when I type in "broadcom" or "BCM43", restarted, and no wifi networks have shown up in the network center. Is there a second step once I've "installed" the driver to actually get it to work? At some point while googling things I found a terminal command which listed the wireless card and some info about it, but it always says "driver: N/A" no matter which thing I've installed.

    edit2: Okay, I figured out the problem. I think. Using pamac I was downloading a version of the driver for the wrong kernel. Using pacman in the terminal I was prompted to pick a kernel version. Maybe that doesn't make sense... but either way I'm posting this from the wifi I was trying to connect to! Thanks everyone for your help!

    submitted by /u/InfanticideAquifer
    [link] [comments]

    Why Chrome browser didn’t remember my password and session when I change to another DE/WM

    Posted: 03 Jan 2019 04:37 AM PST

    I just noticed this a moment ago, when I change from GNOME de to i3wm, I will have to re-enter all the password on the website that I already did in GNOME DE and I also did click remember password previously.

    Surprising, I also get the notification "new sign in on my account" as some of the websites treat i3wm as another computer.

    OS: Fedora 29

    Thank you.

    submitted by /u/wembleyhoo
    [link] [comments]

    Help: Installing manjaro over Ubuntu in a windows 10 dual boot.

    Posted: 02 Jan 2019 04:24 PM PST

    I've been thinking about installing Manjaro. But I need to know how to properly remove Ubuntu and install Manjaro.

    How do I backup apps I installed in Ubuntu like wine or flowblade?

    How do I do the partitioning correctly?

    What are some other things I should know before installing?

    Manjaro xfce or Manjaro kde?

    How do I remove Ubuntu grub and boot from Manjaro grub?

    submitted by /u/Full_redditAlchemist
    [link] [comments]

    Is it worth getting the deepin desktop env?

    Posted: 02 Jan 2019 09:07 PM PST

    Um running fedora and im wondering if deepin is safe. Read rumors bout it being spyware. Is it safe and is it a good choice?

    submitted by /u/Derpstiny123
    [link] [comments]

    I need help compiling BEE2.4 (Portal 2 mod)

    Posted: 02 Jan 2019 08:31 PM PST

    https://github.com/BEEmod/BEE2.4

    It's a mod for Portal 2 I want to use. If the name sounds familiar, it could be because you saw my post yesterday when I was trying to use it. I thought it would be as simple as running it through wine, but I gave up when I couldn't install a Windows version of Python and the post I wrote here didn't really attract much help. I really didn't want to come to this, but I did try running it in a VM. No luck there.

    I now want to try and build it myself, the problem is I have no clue where to start. There aren't even instructions for Linux, so I attempted to start off with the Mac instructions. I Installed TK 8.5.18.0 no problem (I think). I got stuck on installing AVbin. The download I got looked like a shell script but for some reason I couldn't run it in the terminal. It would say "permission denied". When I tried sudo, it said "command not found".

    Sorry if the lack of Linux instructions means it's supposed to be obvious.

    submitted by /u/dy--dx
    [link] [comments]

    Net rpc shutdown issues

    Posted: 02 Jan 2019 08:48 PM PST

    Just got a raspberry pi for Christmas, so this is my first foray into Linux.

    I'm planning on using it as a steam link, so I am writing a few bash scripts to WOL my desktop and start steamlink after a delay and also remote shutdown the pc. However, I am having issues with the syntax for the net rpc shutdown command. It is working in terminal if I enter the command "net rpc shutdown -I 192.168.1.xx -U <username>" and then typing the password when prompted in terminal. However, the syntax for entering the username and password seems to not be working-if I enter "net rpc shutdown -I 192.168.1.xx -U <username>%<password>" I get a username or password is incorrect error. Is my syntax incorrect? Any help would be appreciated. Thanks!

    submitted by /u/DarkMythras
    [link] [comments]

    Pi- autostarting video with seamless looping?

    Posted: 02 Jan 2019 08:18 PM PST

    I have a Pi 3B+ with Raspbian that I'm using to loop a video. I've been playing the video from the desktop using VLC, setting VLC to continuously loop.

    I've run into two problems with this: the loop isn't seamless, and for some reason VLC occasionally freaks out (the video goes black or turns into junk artifacts, usually after many hours of looping).

    I'm wondering if I can get some guidance on getting the video to run on OMXPlayer instead of VLC to help make a more seamless loop, and how I'd go about getting the video to autoplay/autoloop when the Pi is powered on. I've done some reading on systemd but haven't really figured out how I make that autorun my video. Can someone please hand-hold me through this? I'd really appreciate this being dumbed down as much as possible.

    Thanks!

    submitted by /u/nelfichu
    [link] [comments]

    hard drive unable to mount/open

    Posted: 02 Jan 2019 08:13 PM PST

    I have laptop with 120gb ssd and 1tb hdd inside. i use the 120gb for the system and have partitioned the 1tb into 2, each 500gb. I am unable to open these partitions. when i click on it It just gives me the loading cursor icon and nothing happens. Any solutions? I am able mount my external 2TB hdd without any problem. I am on 0.4.1 Loki.

    A community member suggested me to install gnome disk utility to see if the disk is failing and I did, the disk is showing but when I try to mount it. It gives me this error;

    Error mounting /dev/sdb2 at /media/*****/3B3E259600697EC6: Command-line `mount -t "ntfs" -o "uhelper=udisks2,nodev,nosuid,uid=1000,gid=1000" "/dev/sdb2" "/media/*****/3B3E259600697EC6"' exited with non-zero exit status 14: The disk contains an unclean file system (0, 0).

    Metadata kept in Windows cache, refused to mount.

    Failed to mount '/dev/sdb2': Operation not permitted

    The NTFS partition is in an unsafe state. Please resume and shutdown

    Windows fully (no hibernation or fast restarting), or mount the volume

    read-only with the 'ro' mount option.

    (udisks-error-quark, 0)

    submitted by /u/aaronryder773
    [link] [comments]

    No comments:

    Post a Comment

    Fashion

    Beauty

    Travel