1. livid_hen

    livid_hen Advanced Member
    Newcomer

    Joined:
    Jan 8, 2020
    Messages:
    57
    Country:
    United States
    Hmm...
    Just looked at it. You use "wget https://people.debian.org/~kov/gksu/libgksu-2.0.9.tar.gz" to download the file in wsl, then you can use "tar -xvf libgksu-2.0.9.tar.gz" to extract it, then cd into it. Then you run "./configure", and it will probaly ask you to install gtk, gconf, libstartup-notification, gnome-keyring, and libgtop. Then after that you should be able to run "make && make install".
    I don't know if it will go that smoothly though :unsure:

    Edit: OH! wait! didnt see V10lator'z thing! You should probably listen to him.
     
    Last edited by livid_hen, May 6, 2021
  2. godreborn

    godreborn GBAtemp Legend
    Member

    Joined:
    Oct 10, 2009
    Messages:
    18,309
    Country:
    United States
    problem with that .deb:

    upload_2021-5-5_18-35-5.png

    — Posts automatically merged - Please don't double post! —

    alright, that's the one I tried before, and it required dependency over dependency.

    — Posts automatically merged - Please don't double post! —

    @livid_hen , here's what that did:

    upload_2021-5-5_18-43-23.png
     
  3. godreborn

    godreborn GBAtemp Legend
    Member

    Joined:
    Oct 10, 2009
    Messages:
    18,309
    Country:
    United States
    I'm installing the dependencies. I think I've got it figured out. Several have been delisted, so I'm installing the deb files.
     
  4. godreborn

    godreborn GBAtemp Legend
    Member

    Joined:
    Oct 10, 2009
    Messages:
    18,309
    Country:
    United States
    damn, this is the most frustrating thing I've ever seen. for the second time, I get locked out of using sudo and for no reason. it just randomly happens. 3 failed login attempts whenever I try using it. I don't even have a chance to input my password. it just says that. I don't know what else to do, so I have to uninstall the whole thing, then lose all progress.
     
  5. V10lator

    V10lator GBAtemp Fan
    Member

    Joined:
    Apr 21, 2019
    Messages:
    386
    Country:
    Germany
    @godreborn Again: You won't get far with WSL nor cygwin. Both won't give low-level hardware access which is needed to communicate with the WiFi stick.

    So take a step back, breath deeply. Now think about your options:
    1) Make a dual-boot setup with Linux and Windows on your PC.
    2) Buy a Raspberry PI.
    3) Find some other space device which supports Linux.

    No matter what route you take do not use newest Debian release but Stretch (or maybe even Jessy) : https://www.debian.org/releases/stretch/debian-installer/index.html (for an RPI use http://downloads.raspberrypi.org/ra...19-04-09/2019-04-08-raspbian-stretch-lite.zip instead) that way you won't need to manually install .deb files.

    Now to your sudo issue: When using sudo you need to enter your own password, not the root one. Anyway, do this:
    Code:
    sudo su
    passwd
    Then set a password. This will be the root password as "sudo su" changes the user to root. That said: No need to use sudo again after "sudo su". Also after setting the pasword you're able to use "su" alone to switch to root. Keep in mind that su asks for the root password, not your own.

    It's locking the account (for 10 minutes?) after 3 failed attemps, that's what it's telling you. You're able to disable this behavior though. Can't find a way for Debian but: https://linux.die.net/man/8/faillog "Selecting MAX value of 0 has the effect of not placing a limit on the number of failed logins".

    //EDIT: Also it might be a good idea to set a user password. Use "passwd" without calling su or sudo first for that.

    //EDIT²: Yea, using Linux for the first time is pretty frustrating as you need to forget everything you learned from using Windows, for example. Anyway, it's worth to learn it as Linux is everywhere (on your TV, your phone, your router, GBATemp servers and so on). I didn't look if that's any good but maybe https://www.edx.org/course/introduction-to-linux is for you?

    //EDIT³: From the edX link:
     
    Last edited by V10lator, May 6, 2021
    godreborn likes this.
  6. mive

    mive GBAtemp Regular
    Member

    Joined:
    Jul 19, 2018
    Messages:
    160
    Country:
    Germany
    just some random notes after glancing over the thread:

    if you enter your password in linux you dont see * or similar, its just an empty line.

    also a rpi is probably not powerful enough to run the drc server (but I used it some time ago, maybe it got updated)

    as other said try to avoid using wget/curl for installing packages
    last but not least, as far as I remember there was an docker image available, this way its maybe easier
     
    Last edited by mive, May 6, 2021
    godreborn likes this.
  7. godreborn

    godreborn GBAtemp Legend
    Member

    Joined:
    Oct 10, 2009
    Messages:
    18,309
    Country:
    United States
    I managed to get a little further early this morning with that one command to install dependencies for something that has failed dependencies. however, it didn't work with gksu. too many of its dependencies seem to be delisted. that's when I started going through .deb files for gksu and libgsku. I think one of them caused the problem. I found a ppa for gksu, which I also tried after learning what they were, but I had two problems: 404 errors with the source only, which then caused uri source error when trying to compile gksu. gksu is the problem, because you seem to be locked in grabbing the files piece by piece. I think the file that caused the problem with subo is part of libgsku iirc. I think it was the third or fourth dependency down when that problem happened. it happened twice, so I'm not sure if it was the same file I downloaded or not. it was very frustrating, because I had no way to use sudo again. I looked up both this problem and the uri source problem via google, but nothing I found worked. I started to think that someone was locking me out, can they do that if they have my username? it's in those pics above. anyway, I uninstalled it after two failed attempts. I had a third failed attempt to where an install got stuck installing. I found out I needed perl installed first, so I had to start over there. I didn't get the error the second time, after installing perl. it just seems like there's so much to learn beforehand or you'll getting extremely frustrating. I bet gksu was still available when drc-sim was released, so it was probably much easier to install the app/script back then. I read that gksu is used for editing files, to now use gedit, but how do you replace the command? I think gksu allows higher privileges for all files at the same time, so I guess that's why they took it down, security risk? gedit seems to do one at a time, so I can see how it can be a pita.
     
  8. mive

    mive GBAtemp Regular
    Member

    Joined:
    Jul 19, 2018
    Messages:
    160
    Country:
    Germany
    pkexec

    but I dont understand why you need gksu/gksudo in the first place.

    if you really need to be root, you can always use su (in terminal) and manage all root things then (commands dont need sudo then)

    or again, try the docker image, it should have all needed packages included
     
    Last edited by mive, May 6, 2021
    godreborn likes this.
  9. livid_hen

    livid_hen Advanced Member
    Newcomer

    Joined:
    Jan 8, 2020
    Messages:
    57
    Country:
    United States
    You need linux anyway to use this docker image, so i think dual booting, or just live booting might be the best option...
    Edit: Oh wait! then theres the dependency thing... So, yeah, live booting / dual booting and using the docker image would probably be best, yeah :rofl:
     
    Last edited by livid_hen, May 6, 2021
    godreborn likes this.
  10. godreborn

    godreborn GBAtemp Legend
    Member

    Joined:
    Oct 10, 2009
    Messages:
    18,309
    Country:
    United States
    I know of pkexec, but I don't know how to replace gksu in the installation process with it. for the time being, I'm not going to post for a while in any scene.
     
  11. 6100m

    6100m Newbie
    Newcomer

    Joined:
    Oct 6, 2019
    Messages:
    5
    Country:
    United States
    What's this? You can get video out on the Wii U or something?
     
  12. godreborn

    godreborn GBAtemp Legend
    Member

    Joined:
    Oct 10, 2009
    Messages:
    18,309
    Country:
    United States
    while I think this is possible to compile with wsl version of debian, there's just too many dependencies. and, with a few of them, certain things have to be installed first or the deb install gets stuck with no way of installing anything else. I have no idea how to correct that problem, so I have to start over every time (only happens with a few deb files). I did use the sudo su command, and the password issue no longer happened. it wasn't that I was inputting the wrong password. the password would simply say 3 attempts had been made/failed with the sudo command through no action on my part. I think it might be overusing the sudo command, but why would it be programmed like that? anyway, I've given up. there are just too many dependencies. can't install missing or anything, because most of the dependencies have been delisted, and the ppa for gksu -- the source code has a 404 error with it now on launchpad, so there's no way to get dependencies from that. it also doesn't have a release file, so I used [trusted=yes] in the sources file, which made it go through. however, it can't download the dependencies if the source url no longer exists. it's a nightmare trying to compile gksu. I got that wifi stick yesterday, so I'll keep it in hopes that there's an easier way to compile it at some point or a way to override the need for gksu and use one of its replacements -- pkexxec or gedit.
     
  13. mive

    mive GBAtemp Regular
    Member

    Joined:
    Jul 19, 2018
    Messages:
    160
    Country:
    Germany
    another (simpler) way to try this:
    - download ubuntu 16.04
    - install to usb devive (burn ubuntu image to dvd/or use a usb device for the iso image and use this to install to another usb device [preferably a fast 3.0 hdd] *)
    - this way you can keep everything on a seperate usb device and wont install anything to your main hdd/sdd
    - forget about gksu/gksudo as you can use the python scipt with su/sudo in terminal, gksu/gksudo is only needed for gui (gui is optional/also if you install ubuntu this way your should either be able to use pkexec or maybe 16.04 package repository still has gksu pkg)
    - after installing 16.04 and booting you'll be asked if you want to upgrade to 18.04. dont do this


    (*)
    - you'll need at least a 8 gb device
    - use last option from installer (where you can specifiy partitions)
    - select usb device for installing grub bootloader (e.g. /dev/sdc), specifiy whole drive not a partition (e,g, not /dev/sdc1 )
    - select usb device, create one primary ex4 partition, use only 1 mountpoint ( / ) (dont use swap if the installler asks)
    - ensure to select correct device and dont delete your main os or second hdd or something like that
     
    Last edited by mive, May 8, 2021
Draft saved Draft deleted
Loading...

Hide similar threads Similar threads with keywords - Gamepad, video,