Jump to content

Chunchunmaru_

Member
  • Posts

    452
  • Joined

  • Last visited

Posts posted by Chunchunmaru_

  1. On 4/10/2022 at 8:06 AM, TheToastyBoio said:

    I have a small problem. Every debian-based distro (ex: Kali Linux, Ubuntu, Debian itself, Pop!_OS, etc) just crashes (freezes) on my laptop and i do not know why. On Live USB? It crashes when opening the web browser. On my HDD? Crashes when opening the web browser. I have 20GB of RAM so i dont think RAM is an issue. Every Arch-Based distro works just fine (Manjaro, Arch). How could I get the distros working on an Live USB?

    The only difference between Debian based distros and Arch is certainly the drivers date.

    What if you try the experimental Ubuntu 22.04 distro? It should come stable after some weeks at the moment, try it here.

    It should be very close to Arch based distributions.

     

    https://releases.ubuntu.com/22.04/
     

  2. On 4/11/2022 at 8:52 AM, Glitchy Guy said:

    Yesterday when i restarted my pc i got this message and even after 12+ hours it dosent boot its just stuck on this i searched and tried solutions but they didnt help. How can i fix this? Pretty new to linux

    Edit: i dont have any Graphics card installed on the PC and before getting this message when i could use linux it showed a update error dont exactly remember wht it said tho

    541385408_WhatsAppImage2022-04-11at9_45_08AM.thumb.jpeg.c57ca43679517dbb5e082b71b657d29d.jpeg


    This is completely normal, what probably doesn't work is the graphics driver.

     

    Press CTRL+ALT+F5 and check if you have a shell there.

     

    Also try to run the distribution by modifying the kernel boot options, remove "quiet" and "splash" by pressing E in the grub boot menu entry

  3. 23 hours ago, idh1oi12jkl31jk2bgve3jk12b said:

    Hi. 

     

    I have a good Xiaomi phone which I no longer need. 

     

    Can I connect it to my 1080p monitor and run native linux from it? 

     

    is this even possible? 

     

    Thank you!

    Possible with running a chroot inside it, there are some apps avaiable for that purpose, but unlikely if you mean running a native linux distribution which is not running android underlying

  4.  

    On 3/28/2022 at 7:34 PM, starry said:

     

    Sorry, the specs in my description is outdated. This is for my lenovo y700 laptop that has hybrid intel/nvidia graphics (GTX 960m/Intel® HD Graphics 530. Using the video-hybrid-intel-nvidia-470xx-prime driver with x11 windowing system. The laptop's display is 1920x1080 60hz and i am running it in extended mode with my 120hz 2560x1080 monitor. I have confirmed that this same exact configuration works in windows on the same machine.

    Here are screenshots of my display configuration:

      Reveal hidden contents

    image.png.9a254250e613bc87c047bab1490823e6.png

    image.png.fe5c5f1ff5e8ff7bbda6d773268e4ee7.png

    image.png.ff5185250419370fe8dc0245c7f3825a.png

    image.png.9341ba56a92a9be145f6d0a2b80adef3.png

    Output of xrandr:

    Screen 0: minimum 320 x 200, current 4480 x 1080, maximum 16384 x 16384
    eDP-1 connected 1920x1080+2560+0 (normal left inverted right x axis y axis) 344mm x 194mm
       1920x1080     60.01*+  60.01    59.97    59.96    59.93  
       1680x1050     59.95    59.88  
       1400x1050     59.98  
       1600x900      59.99    59.94    59.95    59.82  
       1280x1024     60.02  
       1400x900      59.96    59.88  
       1280x960      60.00  
       1440x810      60.00    59.97  
       1368x768      59.88    59.85  
       1280x800      59.99    59.97    59.81    59.91  
       1280x720      60.00    59.99    59.86    59.74  
       1024x768      60.04    60.00  
       960x720       60.00  
       928x696       60.05  
       896x672       60.01  
       1024x576      59.95    59.96    59.90    59.82  
       960x600       59.93    60.00  
       960x540       59.96    59.99    59.63    59.82  
       800x600       60.00    60.32    56.25  
       840x525       60.01    59.88  
       864x486       59.92    59.57  
       700x525       59.98  
       800x450       59.95    59.82  
       640x512       60.02  
       700x450       59.96    59.88  
       640x480       60.00    59.94  
       720x405       59.51    58.99  
       684x384       59.88    59.85  
       640x400       59.88    59.98  
       640x360       59.86    59.83    59.84    59.32  
       512x384       60.00  
       512x288       60.00    59.92  
       480x270       59.63    59.82  
       400x300       60.32    56.34  
       432x243       59.92    59.57  
       320x240       60.05  
       360x202       59.51    59.13  
       320x180       59.84    59.32  
    HDMI-1 connected primary 2560x1080+0+0 (normal left inverted right x axis y axis) 680mm x 288mm
       2560x1080     60.00*+
       1920x1080     60.00    50.00    59.94  
       1680x1050     59.88  
       1280x1080     60.00  
       1280x1024     75.02    60.02  
       1440x900      59.90  
       1152x864      75.00  
       1280x720      60.00    50.00    59.94  
       1024x768      75.03    60.00  
       800x600       75.00    60.32  
       720x576       50.00  
       720x480       60.00    59.94  
       640x480       75.00    60.00    59.94  
       720x400       70.08  
    

    Interestingly xrandr doesnt think 120hz is supported even though i know for an absolute fact the hardware supports it, as ive confirmed this configuration working in windows.

    Ok, now I get it


    I don't use Manjaro since ages, and I am not entirely sure about what they mean by nvidia-prime, can you open the NVIDIA control panel?
    Do you see this?
    immagine.thumb.png.a781e0bfc58a0f5d1d78fdcc60c1d0e6.png

     

    Also, that driver looks VERY outdated for a 9xx GPU.

    Anyway, before connecting the external monitor, try that on the laptop monitor first

     

  5. NVIDIA support is NOT bad, it just requires you to install non-free drivers which need to be installed afterwards, as for the software support, NVIDIA is just a bit behind when speaking about Optimus support, GSYNC/Freesync (not anymore in the future releases) and Wayland support (still, not anymore in future releases)

    AMD support on the other hand, is all open source and then integrated in the kernel and there is no need to fuss with anything at all

  6. 7 hours ago, Adam94 said:

     

    It is not the same, for a few reasons. First, there isn't a hard permission check occurring at the kernel level - although it is possible in linux with selinux, but usually has to be a really high level distribution like Android for that to be the case in a desktop scenario.

     

    Second, the executable bit can be set without you knowing it, for example when you extract files out of an archive, many archive formats support the executable bit.

     

     

    If you are downloading a .tar.gz (which one of those which support the executable bit inside) with an executable inside, it's a really strange circumstance

    To be functional it must be statically linked and the ABI must be compatible, otherwise using it on other or older distros will just break

    I'm just saying that Linux distributions are based on package managers and containment systems apps (snap, flatpaks, appimages) and just the fact you are doing something else is a non-standard thing, and even if this is the case, there are still other prompts as I said before

    And even not considering SELinux, which anyway is meant for very very specific purposes, Apparmor is the default on Debian based distributions (Selinux is on red-hat based ones)


     

  7. 9 hours ago, Adam94 said:

    In Linux/macOS/Windows there is a vast infrastructure there to keep you safe - to the credit of macOS and Windows, at least you get pop-ups telling you that your executing some unsigned app or permission-over-reaching activity. Linux doesn't implement safety is a hard mana like that - it has an assumption that you know how to keep safe. That aspect is not obvious for an average user coming into Linux.

     

    Actually is not the truth

    Most desktop environments actually warn you before running an .sh script or another program, first you must mark them as an executable, gnome by default opens them with a text editor, etc and KDE warns you are running a program

    Also when running .exe from wine you are prompted to make it executable
    Make Executable (Skip Executable Bit) - KDE Store
    And most of the software is supposed to be downloaded and installed via the package management system, which basically is always secure and there would be no need to more security measures

    If only people would understand that and think about maintain packages instead of crappy other methods (yes VMWare, I'm talking about your "windows-like" installer)



  8.  

    On 11/20/2021 at 9:30 PM, Aasifa11 said:

    Now it's supposedly installed but when I restart bios never shows the boot for Ubuntu... Someone can tell me what's going on now? I did try to find ubuntu on settings but I couldn't..

    16374401945586944418847020938868.jpg

    Doesn't look happy

    Is secure boot disabled?
    You may need to re-create the EFI entry manually, even through windows with some utilities

    Have you tried rebooting windows in safe mode, then choosing "boot to another device" or something similar, an entire boot selection should appear

  9. 3 minutes ago, Alexeygridnev1993 said:

    I do use the same linux-surface kernel. Still, only one-finger touch is detected on my Surface Pro 7, and most gestures require multi-touch. Plus the issues with a third-party keyboard. Plus that Firefox issue. I tried Ubuntu 18 and 20; what are you running?

    20.04

    I have also an issue with the keyboard touchpad sensitivity (the original microsoft one) which by time to time requires to be re-plugged

    Mind that I update the graphics drivers and xorg to the cutting edge releases

  10. 20 hours ago, Alexeygridnev1993 said:

    I tried to use Microsoft Surface with Linux (touch-screen only). Long story short, it's just atrocious.

     

    Touch gestures (like swipe up for an on-screen keyboard, two-finger swipe to change the workspace, etc.) are only available on GNOME running on Wayland. And Wayland has some additional problems which Xorg doesn't have (i.e. a Firefox window couldn't be moved with a finger; a 3rd-party on-screen keyboard refuses to work and hangs the system, etc).

     

    One recommendation I could give is to try to use this software - https://github.com/PeterCxy/evdev-right-click-emulation

     

    This allows to use long press as right click, which is something. Pay attention to this issue when you compile it - https://github.com/PeterCxy/evdev-right-click-emulation/issues/14#issue-994028061

    - and set it as a systemd service to make sure it starts at boot. I also had to specify

    Restart = on-failure

    - in a systemd unit to get it to work. I cannot guarantee that to work in your case though.


    I use a surface go 2 with Linux too, while I can confirm that gestures work better on Wayland (which on an intel GPU is not a bad thing) I can move firefox with one finger. Also the 3rd party on screen keyboard works nicely

    The only things I have noticed are gestures with more than 2 fingers do not work

    I have to say I am running a custom kernel, which I would recommend install (https://github.com/linux-surface/linux-surface)

    But the main issue here is you are using AnyDesk, which does't care if you install drivers for a real touchscreen devices, because anydesk is another thing

    TL;DR you should try to change program, try TeamViewer

    Other crazy alternatives would be:

    VNC or RDP (xrdp)

  11. 21 hours ago, cj09beira said:

    linux's dependencies, really are their main problem, 9 of 10 times i have had an issue is due to some dependency not being there anymore.

    PS: cute avatar (^ just an excuse to say this)

    Actually this also happens on macos too, but there is not a package manager with dependency management like on Linux, so most of the programs are pretty much all bundled with the required libraries (the downside is that programs are bigger)

    Linux shares the libraries with all the programs on the computer, if you notice when you download things from apt you just download the executable that is then placed on the /usr/bin folder (assuming you already have another program that uses the same libraries, otherwise they are installed)


     

     

    16 hours ago, Forbidden Wafer said:

    AppImages are magical. Just tried the LibreOffice one and it just works. Beautiful.

     


    Yeah it's cool, and there also is a launcher for desktop integration, which basically makes it very similar to MacOS

    https://github.com/TheAssassin/AppImageLauncher

  12. 18 minutes ago, Kisai said:

    MacOS has the best direct way of installing software because the programs as distributed are equivilent to just downloading a zip file.

     

    So on MacOS it goes

    1. Click on the thing you want to download from the website

    it downloads

    2. double-click it, or click it from the download list

    it opens a window with the "click and drag to install"

    the "target" in those packages are always the "user" applications, never the OS. It's basically impossible to screw up

    3. look in the MacOS applications folder and there it is. 

     

    Now if you open up a command line and go to the applications folder, you will find out that that application is in fact a directory itself, and EVERYTHING for the program is inside it. None of this "user directory"/"/usr/home/bin" hell that cli packages deal with.

     

    Basically it's not "installed", it's a "pre-installed package" and all you're doing is opening the envelope when you install it. This is also why you can delete programs cleanly from MacOS, because everything is packaged this way. Don't want it, drag the icon to the trash, and everything is gone. No need to hunt down the user settings left behind.

     

     

    That said... This method is not how the App store, MacPorts or Homebrew work. The equivalent of Apt/Yum on MacOS is Homebrew.

     

     

    Actually if you extract those packages you pretty much see the logic behind it, as it is an Unix-Based operating systems, pkg files is pretty much something that it brings up from BSD's

    In Linux the closest things are .appimages, followed by .snaps and .flatpaks

    It is just not widely used

  13. 50 minutes ago, Arika S said:

    This thread is a good example of what i've been saying for a while:

     

    Linux users don't want new people to come to Linux, they want to keep it as complex as possible so any new user problems can just be blamed on them being stupid and not understanding Linux.

     

    Not sure why people are against a change that makes things BETTER for new/inexperienced users unless they wish to keep the air of elitism and don't want things "dumbed-down" to keep out the "normies".

    Actually your reasoning is why everyone just misunderstoods each other without getting into a point.

    You are not different from them and this obviously ends up in the usual rant, it's something that is being pushed by both sides because one is obviously just biased and the other do not have knowledge enough to explain properly, and is a linux fanboy without actual understanding

    Everything has been explained plently, at least I did, people just do not have asked for questions, including you

    We are not fussing about getting things easier for the user, at least me, this is something that should not happen in the first place, and getting a warning for something a dumb package does it's not the solution and not even complies in most of linux software guidelines

     

  14. 8 hours ago, Eaglerino said:

    the fact Linux types believe it's acceptable for the option to delete your desktop exists at the end of an everyday app install is exactly why you're staying in 1-3%

    judging from my past experiences with open-source devs, I guarantee this got brought up earlier. it took a video from a big channel and relentless mocking to get it changed. hilarious

    "you're staying in 1-3%"
    You say that like you are arguing with someone and Linux is my wife or my entire reason for a living.
    Does it make you mad that someone has different opinions from yours probably because you do not even understand what is means?

    If a package follows the debian guidelines (the one you find on the Debian repository, no on ppa's or other websites) there is absolutely no need to do that, I can easily create a debian package that deletes your entire system and making it avaiable to everyone, by putting it on some shady website, then it is the user responsibility to do harm to their system.
    Reminder that debian packages can run scripts and do all sort of things.

    The entire progamming guidelines on software in linux (KISS, etc) does not even consider hacky workarounds like that, every software must be avaiable in the official repositories,  without it probably it would end up like a mess, and at this point it would be just more convenient to stick in Windows.

    Probably if someone can't get their package accepted to the official repositories, either they should just use .snaps or .flatpaks which are already in a protected environment

    The ideal solution would just be to hire more package maintainers and developers and put everything in the official Debian/Ubuntu repository
     

  15. Obviously, yes. There are a lot of Linux applications on sd cards, but most of them don't change data very often, on the other hand an entire desktop distribution is not recommended since as others already said will wear the card quickly

    On my surface I bought a 128GB class 10 and it runs decently, but still the ideal would be to move the /home and /tmp directories outside the sd card to minimize writing on it

  16. 1 hour ago, Khoomn said:

    So I'm trying to open a port for a program on my server.

     

    I feel like I've tried everything and nothing works.

    I'm just using port 58585 for the hell of it.

    I did ufw allow 58585, ufw allow 58585/tcp, ufw allow 58585/udp, ive done iptables and all that. I did "nc -l 58585" and that works 100%, only until the port gets checked then it stops

     

    What other things could I try or do to open the port?

    First of all, that is not a port that can be used, that range is used by the operating system for opening connection, you can try any number before 49151

    Second, what program are you using that is listening to that port ?

  17. 45 minutes ago, Fasauceome said:

    I don't know the syntax for that, I have tried a few variations on this but it's not a familiar process for me

     find -type f -name ".efi"
    

     

    If you are on Windows you need to mount the EFI partition first with diskpart, assign a letter then go with the terminal using administrative privileges, on Linux you can go with just a file manager into /boot/efi (which is an automatic mount in most distros)

  18. On 11/7/2021 at 1:19 AM, 5Beans6 said:

    I recently installed Manjaro on my computer (inspired by the linux challenge) and I am having an issue that is consistant across other distros as well (previously tried Ubuntu and Fedora).

     

    Two of my three monitors are working and being detected, but the third, which is usually my primary display will not even be detected by the system, and this was a problem on every other distro as well. I know this is a problem with linux because the motherboard splash screen shows up on this primary display after post.

     

    I have an XFX RX590 and a Ryzen 2600. I think I have the correct drivers installed (video-linux) based on the fact that others said nobody should have to download the proprietary AMD drivers. 

     

    That may look like a dumb question, but...

    What does the "display" section of your desktop environment show? I'm assuming you are using XFCE, right?

  19. 21 hours ago, emosun said:

    Well looks like its time for me to duck out again. 

     

    Im always amazed when the real thought process comes out in these "discussions". It basically reminds me to not bother having them when you actually get the root of someones thinking to come to the surface. It draws a lot of parallels to other more controversial topics and reminds me not to even try and engage becuase I inow exactly where its gonna go.

    What it actually seems to me is you actually care more about what people say than the product itself, and what it really is, and this translates in a "rant" against every community

    Please just don't.

  20. This once reminds me how I dealt with my Surface Go tablet, ubuntu just would not be the primary boot option in any way possible.

    I ended up replacing the bootmgr.efi executable with the grub one, BUT you can also edit the Windows boot manager to load grub instead of bootmgr.efi by just changing the efi executable location from Windows

    bcdedit /set {bootmgr} path \EFI\ubuntu\grubx64.efi

    But change the \EFI\ubuntu\grubx64.efi to your grub bootloader location

    This means the "Windows boot manager" entry from the UEFI bios actually loads GRUB everytime

    Anyway It's a bit risky unless you know what you do, brace yourself in any case.

×