Justin Guitar Community

Tools of the Trade => Computer and OS => Topic started by: TB-AV on September 14, 2016, 03:25:25 am

Title: How to SSH with GUI
Post by: TB-AV on September 14, 2016, 03:25:25 am
OK, I just installed the full kali linux on the Pi Zero.

I SSH to it via Putty and actually used gparted that popped up a graphical window to resize the partition.

But how do I remote in and get the Kali GUI? so I can use it.

Also, I have two wireless adapters. and am not sure how to install / configure them. Based on this ... actually.

https://www.youtube.com/watch?annotation_id=annotation_3138311409&feature=iv&src_vid=NvX9Dmxixaw&v=aZGTxzmJeSI

I know I'll have to put the adapters on a hub, but will kali just automatically configure them? when it boots?
Title: Re: How to SSH with GUI
Post by: Dan Graves on September 14, 2016, 02:09:01 pm
Kali will have all the drivers for that USB dongle (or it should, i use the same ones at home), so that part should be easy.
Kali should also natively come with RDP (Remote Desktop).
The real question is, from what are you connecting to the Pi 0 ? Phone ? Tablet ? PC ?
If you do it from the video, he literally tells you what you need to do, simply follow his instructions to a T (provided you can understand him well enough, i had some trouble understanding him here and there).
I'd also note he's not using Kali in the video, the desktop shown on his phone is Rasbian.
Title: Re: How to SSH with GUI
Post by: TB-AV on September 14, 2016, 03:17:17 pm
Well, right now I'm using a laptop. I may try the phone later like he has.

Also, I was thinking, hoping, I can use this to grab a weak signal when I'm in my car. I was hoping the antenna will work better than just my laptop at pulling in a signal from a store or home that is broadcasting an Xfiinity signal.

But back to the gui, in SSH all I get on my laptop is a terminal window. When I try remote desktop or vnc viewer is says connection refused. Everyone else just seems to type the ip address, press go, and boom, they are in
Title: Re: How to SSH with GUI
Post by: Majik on September 14, 2016, 04:40:27 pm
SSH is a terminal access protocol, so all you should normally get is a terminal window. In fact the terminal window itself is created by putty which creates a terminal session to the remote system. Putty itself has no GUI capabilities.

It is possible to do some limited GUI work via ssh, but there's a list of dependencies for that which you probably don't meet.

tl;dr: ssh is probably not the tool you are looking for.

In case you are interested, those dependencies are:
- You must be running an X11 capable system on your client, typically a desktop Linux or other Un*x OS. Windows is not natively X11 capable, nor is Android
- The remote machine must have X11 libraries/utilities installed
- The remote machine must have X11 Forwarding enabled

If these dependencies are met, then it is possible to ssh into a remote system and launch individual GUI apps on that system which will then display on your local desktop. You cannot get the remote system's full desktop GUI, only individual applications, and those need to be launched by executing them from the terminal window.

VNC Viewer is definitely what you need, and what he is using in the video.

I'm not convinced VNC server is installed as standard on Kali Linux though. I think you may need to install if yourself using these instructions (http://elinux.org/RPi_VNC_Server).

Cheers,

Keith
Title: Re: How to SSH with GUI
Post by: TB-AV on September 14, 2016, 04:59:54 pm
Ok, yes, I see now everyone has been using Putty to get something going on the kali box. Then... using vnc or remote desktop to access.

I'm installing xrdp now as that is what everyone seesm to use on kali.


I can't get it to start..

It says var/run/xrdp has wrong permission

I'm doing ----- service xrdp start but it won't start.

service xrdp status shows that error above. Not sure why it have wrong permissions.. I'm logged in as root doing all this.

ETA:
update-rc.d xrdp enable   ok, I got it running and got a login screen bu t no login yet.. getting closer anyway.


ETA again:
Oh well, that didn't last long. Must have been a glitch that it opened for a second but it's back to refusing connection now.

Trying one more instruction I found

===============


    Apt-get remove gnome-core
    apt-get install lxde-core lxde kali-defaults kali-root-login desktop-base
    update-alternatives –config x-session-manager
        Choose /usr/bin/startlxde

Got the first two lines to run.. the third line unknown argument -config

https://msitpros.com/?p=3209

OK, I see --config   2 "- "


Title: Re: How to SSH with GUI
Post by: TB-AV on September 14, 2016, 06:28:13 pm
Oh well,,,, none of that worked either.

Back to the drawing board. Maybe I can connect a monitor and do it through the GUI?
Title: Re: How to SSH with GUI
Post by: Majik on September 14, 2016, 07:11:04 pm
The second bunch of commands is just switching from using "Gnome" as the desktop environment to using "LXDE".

I'm not sure why you would want to do that (other than LXDE might be faster for remote desktops as it's a more lightweight environment), but it certainly shouldn't make xrdp work on it's own.

Have you tried restarting the xrdp server again? Does it give any errors?

You may also be able to see the status of the xrdp service with:
service xrdp status

Note if you are rebooting at all, the xrdp service as configured will not automatically start on boot.

Cheers,

Keith
Title: Re: How to SSH with GUI
Post by: TB-AV on September 15, 2016, 12:52:41 am
Yeah, that link said he had a problem with connecting when using gnome so after he tried lxde it worked fine. I figured what the hell. I'll try that.

Yes, I ran the command that makes xrdp run at boot. But I also got the service xrdp start to work.

The strange thing is I once again connected with windows remote desktop but it wont actually log in. It locks up, then all subsequent attempts, are rejected.... IOw, the best I have done is get the kali login screen twice but no further.

At the time of that the laptop is SSHd into the Pi in a terminal. The Win7 desktop is doing he remote desktop access. Not sure if two people trying to be root is an issue or not.
Title: Re: How to SSH with GUI
Post by: TB-AV on September 15, 2016, 12:54:48 am
[email protected]:~# service xdrp status
Unit xdrp.service could not be found.


This is really bizarre.
Title: Re: How to SSH with GUI
Post by: TB-AV on September 15, 2016, 12:59:13 am
Ok, typo....

[email protected]:~# service xrdp status
● xrdp.service - xrdp (X Remote Desktop Protocol) protocol server
   Loaded: loaded (/lib/systemd/system/xrdp.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2016-09-14 17:33:59 UTC; 6h ago
     Docs: man:xrdp(8)
           man:xrdp.ini(5)
 Main PID: 718 (xrdp)
   CGroup: /system.slice/xrdp.service
           └─718 /usr/sbin/xrdp

Sep 14 17:37:42 kali xrdp[776]: (776)(-1225518576)[WARN ] local keymap file for 0x0409 found and doesn't match built in keymap, using local keymap file
Sep 14 17:37:56 kali xrdp[776]: (776)(-1225518576)[INFO ] An established connection closed to endpoint: NULL:NULL - socket: 16
Sep 14 17:38:00 kali xrdp[776]: (776)(-1225518576)[INFO ] An established connection closed to endpoint: NULL:NULL - socket: 16
Sep 14 17:38:04 kali xrdp[776]: (776)(-1225518576)[INFO ] An established connection closed to endpoint: NULL:NULL - socket: 16
Sep 14 17:38:09 kali xrdp[776]: (776)(-1225518576)[ERROR] Failure to connect to sesman: 127.0.0.1 port: 3350
Sep 14 17:38:09 kali xrdp[776]: (776)(-1225518576)[INFO ] An established connection closed to endpoint: NULL:NULL - socket: 16
Sep 14 17:38:09 kali xrdp[776]: (776)(-1225518576)[DEBUG] return value from xrdp_mm_connect 1
Sep 14 17:38:09 kali xrdp[776]: (776)(-1225518576)[INFO ] An established connection closed to endpoint: 0.0.0.0:60829 - socket: 11
Sep 14 17:38:09 kali xrdp[776]: (776)(-1225518576)[DEBUG] xrdp_mm_module_cleanup
Sep 14 17:38:09 kali xrdp[776]: (776)(-1225518576)[ERROR] Listening socket is in wrong state we terminate listener
[email protected]:~#



ETA:
[globals]
# xrdp.ini file version number
ini_version=1

bitmap_cache=yes
bitmap_compression=yes
port=3389
allow_channels=true
max_bpp=32
fork=yes
# minimum security level allowed for client
# can be 'none', 'low', 'medium', 'high', 'fips'
crypt_level=high
# security layer can be 'tls', 'rdp' or 'negotiate'
# for client compatible layer
security_layer=rdp
# X.509 certificate and private key
# openssl req -x509 -newkey rsa:2048 -nodes -keyout key.pem -out cert.pem -days$
certificate=



I changed the ini file to 3350 but it still didn't work
Title: Re: How to SSH with GUI
Post by: Majik on September 16, 2016, 09:26:20 am
"sesman" is a session manager service which handles the login IDs, passwords etc.
It's a separate daemon from xrdp itself, but xrdp is dependent on it and will try to connect to it when it starts. Sesman should be installed as part of the xrdp package and should be started when the xrdp service starts (it doesn't have it's own "service" command).

It seems you don't have sesman running, which is why you get the " Failure to connect to sesman: 127.0.0.1 port: 3350" error.

Changing xrdp to use port 3350 is not the right thing to do. You should change that back to port 3389.

Sesman not starting would explain why the login doesn't work, but I'm afraid I can't really help you with why that's not running. It may also be that sesman is started, but something (such as selinux) is blocking xrdp from connecting to it.

Maybe looking in the sesman logs (possibly at /var/log/xrdp-sesman.log) would give some clues.

Cheers,

Keith
Title: Re: How to SSH with GUI
Post by: TB-AV on September 16, 2016, 05:24:08 pm
I'm convinced I'm cursed when it come to Linux.

So I canned the idea of Kali on the Pi Zero. It was so slow.

Grabbed a new Pi 3.

Installed the image.
Ran apt-get update && upgrade -y

ran gparted to use all 16G.

Everything is fine. Logout, restart... Boom... it looks to reboot then I'm just stuck with a mouse cursor on black screen. AND... that's the second time.... I thought maybe I did something wrong the first time as I was unplugging the monitor, so I reburned the image.. .same result......

I'm going to let it sit a couple hours and see if anything magically happens but i have my doubts.

On the Pi Zero I'm going to try OSMC/Kodi as that actually seems to be working. I just can't think of anything else to do with a zero.

Really frustrating.

Honestly the only thing I've even been able to get working on a Pi is either the very basic Raspbian or Openelec Kodi.

I don't know what the deal is with Kali... no errors, I mean I got logged in, set the router access password, ran updates, no problem. Reboot and it's all for nothing.

--- I think you were right btw, about that sesman... it seemed like to be it was not doing what it was supposed to, but I have no idea how to go about fixing that. All the video I watch, it's like bang, bang, bang, and everything works...... not for me though.
Title: Re: How to SSH with GUI
Post by: TB-AV on September 17, 2016, 06:39:16 am
Well for anyone that bought the board game and are playing along at home.

I was able to to get kali-linux-top10 installed.

what I noticed was happening with full was that when it tried to boot to gui there would be 1 pixel and the mouse pointer would be touching it. that is where it would hang. I could press the key just left of the right hand Ctrl. and a little menu would pop up with cut, paste, copy, etc...  So it was like an EDIT drop menu. I found that by accident.

So the Kali forum has some reasonably similar problems.

I'm going to try kali-linux-wireless next and see if that will work.

I think it's a bug although me being a Linux idiot doesn't help.
Title: Re: How to SSH with GUI
Post by: Dan Graves on September 19, 2016, 08:54:04 pm
I have a question : why Kali ?
I'd like to point out that while Kali is a security toolkit, it is NOT secure in the slightest.
It even tells you that in it's manual/FAQ.

I'm also wondering what you mean with wanting to 'grab a weak signal when in my car'.
Are you going Wardriving ? (if so, you need to ask in the Kali forums, or you need to get me on Skype)

Title: Re: How to SSH with GUI
Post by: TB-AV on September 19, 2016, 09:30:29 pm
No special reason on Kali. It just seemed like something cool to do.

Also I'm starting to add quite a few automation devices to my home. Right now it's mostly lights and sensors, but I was doing something the other day and up pops a "new thermostat" ... well, I don;t have a new thermostat..... although some of the open/close sensors do have a temp sensor built in but I don;t think that's it.

So, as far as Kali, I just thought what the hell, it would be kinda cool to have if I could learn to use it a bit. At this point, I can't even break into my own computer much less someone elses.

So, I'm not married to it, but as I understand it you can also install Metaslpoit and learn to compromise it with Kali... or protect from Kali for that matter...

So anyway... not married to the Kali idea, just thought it might be interesting. I would like some network observation tools though... better than what I have now which is damn near nothing.

Wardriving... kinda... I thought the little dual antenna setup that guy had I might could add a stronger antenna to pull signal in. Like I said, Xfinity is everywhere and they are even doing this thing of broadcasting an open connection off a subscribers box. It gives others a connection to xfinity outside that customers network. Or, there are simply many xfiity hotspots... BUT... they are not 'hot enough' I can see them but signal is too weak. Like I can be in a parking lot. I know the signal is here. I see it on the xfinity app on my phone but it's gps is not exactly accurate... So I drive around the building looking for exactly where it is.... then maybe no parking even if I find it OR.. maybe no matter what the signal stays weak unless I go inside.

Oh... by the way... sidebar:
If I tether a laptop to my phone, can AT&T tell that I am tethering? The reason I ask is because I have an old AT&T unlimited data plan.... BUT... it also disallows tethering. Technically, now, I can do on my phone things I could not used to do, but there are a couple things I would need to tether. I wouldn't be eating up data, so usage wouldn't matter but I wondered if they would see a mac address or such connecting to the phone... I haven't been able to find an answer to that and don;t want to ask them of course.

That would be helpful to me in certain areas.

So not wardriving per se.... but simply an access point that pulls in weak Xfinity signals so I can log into my account.

Oh, I got that Pi 0 running KODI and it is surprisingly fast. It's kinda slow moving between menus but the actually playing sees ok.

So what I really want is a network observation box and a weak signal AP. If I could make the weak signal device on a Pi 0, that would be great too as it would live in my vehicle. Then the other one be something I can use anywhere and learn over time.

Extra Credit: He's another one for you.
Pi 0 - mini usb connector. I bought a cable that changes that to standard usb size. Tried 2 USB3 hubs to no avail. Used an old usb2 and it worked. All powered hubs.

I just got a couple of these little adapter things that have exposed pins and stick inside a usb plug to convert to that mini style. Have not tried them yet.



Title: Re: How to SSH with GUI
Post by: Majik on September 20, 2016, 11:33:14 am
I'm with Dan: Kali is cool for what it does, but it's not great as a general purpose OS.

You may be better with something more generic for some of the things you are doing, especially as the setup and repos might be better for the apps you want to use.

Remember, the nice thing about the Raspberry Pi is that you can have several OS's on different memory cards, and just swap them as you wish, so you can have Kali on one card for security testing tools, Raspbian on another for more generic apps, maybe a third for something else specific, etc. and just reboot/swap memory card as you like.

Cheers,

Keith
Title: Re: How to SSH with GUI
Post by: TB-AV on September 20, 2016, 02:51:12 pm
Actually, I keep forgetting I can swap those cards.

I need to learn how to save an image after I get something working. I've had to reburn from start quite a few times.

About the only thing I've actually gotten to work is KODI. That seems to work fine now that I realize I need to install all those other repositories.

But even the basic Raspbian, I'm lost beyond the GUI and the only thing in it I have any interest in is the browser. So every install just becomes a browser. I mean I see open office and a game but have no interest in that. So I thought Kali would be at least somewhat accessible via the GUI, but apparently not.







Title: Re: How to SSH with GUI
Post by: Dan Graves on September 20, 2016, 08:29:14 pm
On Kali : it is not for beginners at all, and a lot of tools don't even have a proper GUI, or they work as plugins for other tools.
Beyond that, toying with Metasploit and Armitage can get you in trouble if you're not using a testlab setup.
Not to mention they aren't easy to use, new user proof tools : they often break, and require extensive knowledge to get them going, and then keep them going.
This is why a lot of colleagues in the Pentest field would rather pay out the ass for a professional license for Canvas, Core Impact, Metasploit Pro and/or Cobalt Strike.

On to Xfinity : CANTENNA.
And i don't mean buy some overpriced POS, i mean build one, get a large soupcan, a Pringles tin, whatever, and build one.
Then if you get a weak signal, pull the cantenna out, and point it around until you get a better signal.

On Raspberry Pi's in general : don't buy any more of them unless you start finding uses for them, for FSM's sake !
Find uses for the ones you have via Google, Lifehacker, Twitter, Hackaday etc.

As an example : my last Pi 0 has just been put to use as a Pi-Hole (dedicated advertising blocker) and as a partially open WiFi hotspot (with Tor).
The other 3 have been incorporated in a Birdfeeder project for my daughter, a small weather/polution measuring system and a plant monitoring system.
I have one RPi 3 serving as a dedicated OSMC system, one RPi 2 serving as a Usenet/Torrent downloader, sort-of-NAS and Owncloud storage (as we've discussed via mail at some point), and another RPi2 as a Radio (for which i still need a broken classic radio as a case/interface).
Title: Re: How to SSH with GUI
Post by: TB-AV on September 20, 2016, 09:22:56 pm
Ok, I'll say goodbye to Kali.

As to the PIs. I only have two new ones.

I bought a 3 and put Plex on it. Plex and NAS. That works fine. So that one is a done deal.

The new P3 I bought was to do the Kali thing with or now as my main... do something with it.

The Pi0 I actually put OSMC KODI on and that works... a bit slow but it works. I want to actually give that to my cousin. He lives in the sticks and is ripping all his CDs but really doesn't have any Internet... or well he does but it's through his phone service and needs to limit his use.

So I need to figure a way after he rips all this stuff to be able to use it. He has an old Samsung phone that has been turned off for service and I think use that as an MP3 player. But I'm trying to figure how to get his rips back and forth to some sort of MP3 player.

So I figure at least get him set up with KODI on a Pi0.  Honestly I've never used an MP3 player and not really sure how to transfer FLAC files back and forth. He has next to zero computer knowledge. I put together a PC and put the stuff on it to rip the CD's he went nuts with that... he's ripped hundreds upon hundreds of CDs so far. So I need to figure some way for him to easily use that hard drive full of music and make transfers to a MP3 player.

I'm not even sure KODI will help with that but at least he can connect it to his TV. If you have suggestions on that, I'm all ears.

Hard drive full of music
Needs - Listen to any music on PAD type device or MP3 player.
Needs - Easily transfer big chunks of much off the drive so pad can just play random songs.

We understand the MP3 player can only hold so much and maybe transfers will take over night or some such. But he want to listen in his truck and also in headphones while he's mowing the the fields etc.

I just can't think how to do it for someone with no network. I think I need to get him a router and put KODI on a PI connected to Router and he connects to that to transfer playlists back and forth?

I honestly don;t even know, I've never done it. I've listen to maybe 5 songs on a phone and again I had a network.

Then the other two older Pis I have were subject to the lightening strike and I just have them as spare. I don;t want to be learning on something with potentially screwed up parts. I'll deal with them later.


OK, Cantenna -- Yes, I can built any sort of antenna needed. My issue is this.
Laptop - No place to plug an antenna. Now I can connect a USB wifi adapter on a wire, but sitting in the truck, it's really cramped and easy to break stuff that way. So I figured, put a little AP in the truck. Let it have a full time Cantenna, and my laptop connects wirelessly to it via it's normal internal wifi.

I'm just not totally clear how to do that. I need an AP that is constantly looking for it's WAN access via that Cantenna.  Then also have it give my laptop an dhcp client address.

Don't I need two antennas for that?

Laptop(wifi ant built in)>>>>>>>>>(wif-ant1)AP(wifi-ant2)>>>>>XFINITY WIFI BROADCAST

Doesn't AP have to give me a 192.168.1.10 type address on one antenna and get it's WAN address on the other?
Title: Re: How to SSH with GUI
Post by: Majik on September 21, 2016, 09:18:11 am
Kodi can provide an easy way to rip CDs, but it's designed as a standalone media station, not as a hub that can stream/transfer to other devices.

Hard drive full of music
Needs - Listen to any music on PAD type device or MP3 player.

Do you actually mean listen to on that player, or to be controlled by it? For home use, if the system running Kodi is connected to a hifi then a tablet or phone can be used to control that system's playback, but not to stream or transfer to that device from the system running Kodi.

Quote
Needs - Easily transfer big chunks of much off the drive so pad can just play random songs.

That's not something Kodi does itself. You need to look elsewhere.

That doesn't necessarily mean you need to replace Kodi completely if it suits other needs, even if that is just as an easy way to rip CDs. Once the music is on the hard drive, other applications can access it.

To transfer to a portable player, you could either do via network (yes, the easiest way is to stick a cheap router in) or via USB for supported devices. The tricky bit is the software.

There are plenty of music manager apps (similar to iTunes) which will allow him to select which tracks he wants to transfer and which will then do it. Something like Banshee (http://banshee.fm/) should do the trick.

Unfortunately most of these apps are designed for Linux desktop systems (more like Raspbian) and may be tricky to get working usefully in an environment designed for Kodi.  If the only thing you are using Kodi for is CD ripping and Banshee looks like a good option, it may be best to abandon Kodi and use Banshee for ripping too. With Banshee and a compatible device he can do transfer via USB, with no need for any network.

(Note that all CD ripping apps use Internet to fetch track information, album art, etc. as these are not encoded onto the CD. Without Internet access he will have to manually enter this information).

A network based approach could be trickier; there are lots of options but they are typically DIY heavy. One approach which may work is if you can install an Owncloud server on the Kodi box, and have it manage the folders containing the music. It may then be possible to use something like an Android phone with the Owncloud client to sync specific folders to the phone over the network, and then use VLC player to play them. It may be possible to make this fairly slick, but it will always require him to manage the music using folders and files, rather than by albums and tracks.

The other option is to copy the music onto a memory card and put that into a portable device with memory card capability, which some Android phones have.

Regardless, I would recommend he rips in MP3 format for maximum compatibility and portability. If he rips in FLAC then he will need to transcode it to be compatible with most portal MP3 players. Also, hard drives on PCs are cheap, but storage on mobile devices is not, so you will want to use something like MP3 to maximise the number of tracks he can use at once.

Cheers,

Keith
Title: Re: How to SSH with GUI
Post by: Dan Graves on September 21, 2016, 01:15:24 pm
TB, you have those USB WiFi dongles...
The Antennas can be taken off and replaced with whatever antenna you have that has the same connector.
Cantenna + cable + RP-SMA connector = done deal.

Add a Pi Zero with Raspbian or DietPi, connect both USB dongles, bridge the connection (you'll need hostapd, bridge-utils, dnsmasq OR isc-dhcp-server), have the one dongle connected with the Cantenna serve as the main connection, use the second dongle as the AP.
Takes a bit of work, but it can be done without much extra cash (making a cantenna can't be more than a few dollars worth of materials these days).

[edit] this may be of use : https://www.pi-point.co.uk/ [/edit]
Title: Re: How to SSH with GUI
Post by: TB-AV on September 21, 2016, 03:47:35 pm
@ Dan, yeah, the more I thought about it I could just use a usb extender cable and mount the cantenna and dongle perm. In fact, one of the best cantenna designs actually mounts the wifi adapter to the can so there is no cable loss. It has like 1" of co-ax. I could then just have the cable for easy access.

That Pi-Pont article is the one I found too that seemed like it was all wireless. I looked for hours for something and almost all of them were Etho to Wlan0 bridging. so they all were based on a wired connection too. Someone even said in one thing I read that Wlan0 to Wlan1 bridging was not even possible... that didn't make sense to me but what do I know.

I'll sit down and read that whole project and see what it says.


@Keith, let me clarify..

I bought a refurbed Dell PC and had some old keyboard/mouse/monitor etc, and put MediaMonkey on it and also got him an external hard drive. So that's doing all the ripping and he is tethering to his Tablet(part of phone service) for pulling down CD info. that is not stressing his bandwidth. However that was not intended to be permanent fixture. It's can be, but we really didn't intend that.

So let's say ripping is over and on a hard drive.

Now is where the issue comes in. I need to figure how he can transfer easily. His device does have an SD card. I did find that out. ... and I had told him that would probably be the very easiest way. Just make several SD cards and have it all. Especially since he mostly just want random playback.

As to FLAC and MP3, I figured when he got done, I would just batch convert things to MP3 as well. Just so they are in FLAC for other uses.

Another thing is he said that if just had a player and speaker in the truck that would be fine as well. So I thought ok, another cheap hard drive, and Pi0 with Koidi and he's got the whole ordeal in his truck.... and a power inverter.

He's got this set of hearing protectors with a radio built in and an aux input and he wants to connect the MP3 player to that.

Also like I said KODI on Pi0 in his house with the main drive connected would cover that need.

So it all boils down to easy transfer back and forth to an mp3 player and I'm still leaning to the SD card deal. He's actually pretty good about opening windows and doing file copies but it seems like something that could be done in bulk as pre-configured playlists would be great.

I've never made a playlist in my life but I would imagine I could sit down and choose all manner of songs then press GO and it copies them all to the MP3 player. Make a new playlist and press GO and it overwrites the first one. I assume that's how it works.... and he's the type that would sit around an make lists.

Also, I think his wife and apparently some of the kids have smartphones, so it would be nice if they had access via that method as well.

I was going to use that computer later but if I have to leave it, it's no big deal, but I'm not certain they really want it either.... whereas a Pi or two can hide behind the TV.
Title: Re: How to SSH with GUI
Post by: Dan Graves on September 22, 2016, 06:04:08 pm
@ Dan, yeah, the more I thought about it I could just use a usb extender cable and mount the cantenna and dongle perm. In fact, one of the best cantenna designs actually mounts the wifi adapter to the can so there is no cable loss. It has like 1" of co-ax. I could then just have the cable for easy access.

That Pi-Pont article is the one I found too that seemed like it was all wireless. I looked for hours for something and almost all of them were Etho to Wlan0 bridging. so they all were based on a wired connection too. Someone even said in one thing I read that Wlan0 to Wlan1 bridging was not even possible... that didn't make sense to me but what do I know.

I'll sit down and read that whole project and see what it says.


I linked the Pi-Point project to give you a starting point, but in the meanwhile i've been digging around, and i think this may be more relevant : http://superuser.com/questions/520172/wired-to-wireless-bridge-in-linux.
Do note point 3 in the first relevant answer.
Title: Re: How to SSH with GUI
Post by: TB-AV on September 22, 2016, 10:05:26 pm
Do you mean about the promiscious mode?   I think... -thought-- those TP link dongles did work in all modes.

I know they monitor mode. Not sure how to tell if they do promi.


BTW... have you guys seen this???

https://www.parrotsec.org/

I downloaded it last night but haven't burned an image or read much.

Not sure if this is a secure deal with kali like tools or unsecure.

My cousin dropped by today and has a new truck with bluetooth, usb, line in, etc,,, so at least that part got easier. Also got his Samsung phone to see if I can convert it to mp3 player. It has a sd card slot.
Title: Re: How to SSH with GUI
Post by: old-and-in-the-way on December 06, 2017, 11:14:53 pm

If these dependencies are met, then it is possible to ssh into a remote system and launch individual GUI apps on that system which will then display on your local desktop. You cannot get the remote system's full desktop GUI, only individual applications, and those need to be launched by executing them from the terminal window.[/color]


Except ... except, you can run X within X, using Xnest, and if your local endpoint is in the Xnest Xserver, then you can start up a full desktop in there.

You wouldn't want to, though.  That's a totally crazy thing to do (but it does work)
Title: Re: How to SSH with GUI
Post by: Majik on December 07, 2017, 09:27:42 am
Yeah, xnest (and xmove, etc.) are all good fun, and can lead to interesting rabbit holes.

Cheers,

Keith

Sent from my Nexus 5X using JustinGuitar Community mobile app (http://r.tapatalk.com/byo?rid=93296)