Hardware Gamepad video out.

livid_hen

Well-Known Member
Member
Joined
Jan 8, 2020
Messages
109
Trophies
0
Age
24
XP
508
Country
United States
the problem is gksu. I don't know how to install it. I was able to download it from that site, but I don't know how to install it.
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,

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,136
Country
United States
problem with that .deb:

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


--------------------- MERGED ---------------------------

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

--------------------- MERGED ---------------------------

@livid_hen , here's what that did:

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

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,136
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.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,136
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.
 

V10lator

Well-Known Member
Member
Joined
Apr 21, 2019
Messages
2,631
Trophies
1
Age
36
XP
5,473
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.

3 failed login attempts whenever I try using it. I don't even have a chance to input my password. it just says that.
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:
Linux powers 100% of the world’s supercomputers, most of the servers powering the Internet, the majority of financial trades worldwide and over two billion Android devices. In short, Linux is everywhere. It appears in many different architectures, from mainframes to server to desktop to mobile and on a staggeringly wide variety of hardware.

Moreover, 80 percent of hiring managers reported that they will prioritize hiring Linux talent relative to other skills areas, and 47 percent of hiring managers say they’re more likely to hire a candidate with Linux certification.
 
Last edited by V10lator,
  • Like
Reactions: godreborn

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
252
Trophies
0
Age
40
XP
598
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,
  • Like
Reactions: godreborn

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,136
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.
 

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
252
Trophies
0
Age
40
XP
598
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,
  • Like
Reactions: godreborn

livid_hen

Well-Known Member
Member
Joined
Jan 8, 2020
Messages
109
Trophies
0
Age
24
XP
508
Country
United States
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
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,
  • Like
Reactions: godreborn

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,136
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.
 

godreborn

Welcome to the Machine
Member
Joined
Oct 10, 2009
Messages
38,471
Trophies
3
XP
29,136
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.
 

mive

Well-Known Member
Member
Joined
Jul 19, 2018
Messages
252
Trophies
0
Age
40
XP
598
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,

Site & Scene News

Popular threads in this forum

General chit-chat
Help Users
  • K3Nv2 @ K3Nv2:
    Or buy frozen pizza
  • ZeroT21 @ ZeroT21:
    I buy the regular kind, not the frozen stuff
  • ZeroT21 @ ZeroT21:
    supermarket pizza is ass
  • K3Nv2 @ K3Nv2:
    x65 would just yell at me
  • ZeroT21 @ ZeroT21:
    sounds ok, he didn't pull a gun out ,so...
  • K3Nv2 @ K3Nv2:
    $12 large any style pizza deal
  • K3Nv2 @ K3Nv2:
    Each bite is a $1 well spent
  • SylverReZ @ SylverReZ:
    @ZeroT21, Agreed. I hate oven pizza, only from pizza place.
    +1
  • K3Nv2 @ K3Nv2:
    Nah I can still go for totinos
  • RedColoredStars @ RedColoredStars:
    i like totinos party pizzas. lol.
  • RedColoredStars @ RedColoredStars:
    the cracker-like crust is great on those
  • RedColoredStars @ RedColoredStars:
    My neighbor and I are going to make this next month....
  • SylverReZ @ SylverReZ:
    Tiger crust is great.
  • K3Nv2 @ K3Nv2:
    I'm beefing with a neighbor currently each time I ask him for help with something he makes bs excuses then ignores my calls text but seems to randomly speak when I'm done with the project after doing things to help him
  • RedColoredStars @ RedColoredStars:
    DiGiorno Crispy Pan Pizza tasted pretty dang close to Pizza hut pan pizza, but Im not sure if theyve been discontinued or not. Havent seen them locally for a couple of months now.
  • RedColoredStars @ RedColoredStars:
    The croissant crust is still available though, but not quite as good imo.
  • RedColoredStars @ RedColoredStars:
    @SylverReZ Never heard of tiger crust. What is it?
  • SylverReZ @ SylverReZ:
    @RedColoredStars, Its known as tiger bread, also known as dutch crust.
  • Maximumbeans @ Maximumbeans:
    It's fuggin gooooood
    +1
  • RedColoredStars @ RedColoredStars:
    I mean. Whats different about it?
  • RedColoredStars @ RedColoredStars:
    Never even seen a tiger crust pizza in any stores around here. Walmart, Cub, or otherwise.
  • RedColoredStars @ RedColoredStars:
    Must be a regional thing.
  • RedColoredStars @ RedColoredStars:
    Gonna smoke this bowl then go get kitties ashes. <3
  • RedColoredStars @ RedColoredStars:
    Last thing I told her is how much I love her, and that Im not leaving her there forever and I promise to come back and take her back home with me.
    RedColoredStars @ RedColoredStars: Last thing I told her is how much I love her, and that Im not leaving her there forever and I...