Remote Access of Raspberry pi using Xming and putty, Error [closed] - ssh

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I am trying to get started with raspberry pi, model B. As a way to avoid having to buy a monitor and hdmi cable and keyboard and mouse (no, I do not already have a tv, monitor, hdmi cable, usb keyboad and usb mouse), I am trying to use remote access through my laptop by connecting it to the router. I assigned fixed ip to raspberry pi by editing its cmdline.txt file. I can successfully ping it. (I am using raspbian). I can connect to it by using Xming and putty, well mostly. When I hit scratch, a program slowly loads, takes several seconds to fully draw the window. When I hit lxsession, I see a bunch of errors, but the raspbian desktop gets loaded but its empty. Why am I getting those errors? and Why is the desktop empty?
Basically all I did was:
burned the raspbian OS to sd card.
Edited the cmdline.txt to append ip=xxx.xxx.xx (to match the same group as my computer's ip; I can ping my pie)
Connect Rp to my home router using ethernet cable.
install Xming and putty in my laptop and start them.
Enable X-11 forwarding in putty, and login to raspberry pi's ip address from 2.
try to load 'lxsession'
Is there anything I am missing?
I have attached here the screen shot of the error:
PS: I accidentally posted this question into stackexchange instead. Sorry for double post.

i don't know about the xming....but u can use vncserver to load the screen on your laptop...it is very easy to install on the pi and very easy to access the desktop of your pi via your laptop.....
it is detailed shown on the this following link...
https://kushrami.wordpress.com/2015/01/26/how-to-load-raspberry-pis-desktop-on-your-laptop-screen/

Related

how to connect raspbian strech over SSH [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 4 years ago.
Improve this question
I just upgraded the ssd card to 2018-11-13-raspbian-stretch-lite. Hence, no screen, no keyboard, just headless. With the version before I used SSH to acess the raspberrypi 3. But now i have trouble. SSH is disabled by default. Could be overcome by writing an empty file named ssh into / . Fine, should be easy, but it isn't. I tried to mount the ssd-card in a card reader from a linux computer. This would allow to write the required empty file with cat /dev/null > /mnt/rasp/ssh , but it doesn't work, because the device is mounted read only indepent of how I try to mount for read-write!
Has anybody an Idea how to open the ssh, maybe over USB-Telnet, or what ever?
You have to create a file called ssh in the boot partition, not the root partition.
You can also create a file called wpa_supplicant in the same place and your RasPi will join your wifi network.
You'll probably be able to ssh into it with:
ssh pi#raspberrypi.local
If not, look in your router's "DHCP clients" table or use nmap to get its IP address. Or install the fing app in your smartphone and it'll tell you the IP addresses and host/OS of all your network clients.

Accessing Samba share through Raspberry Pi SSH [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 7 years ago.
Improve this question
I have a raspberry Pi at home that I can access over the internet using SSH (using only key authentication), which is behind a TP-Link router. This router has a hard drive attached to it, which I can access as a samba share locally using the router's IP address.
I would like to access this hard drive when I'm away from home, but I don't want to expose my samba share to the internet (needless to say why). Is there a way I can access it securely through my Raspberry Pi's SSH server ?
I am not 100% sure, if this is what you want. But what you can do:
Mount your router drive via samba to your RPi's mount point.
Access your PRi via sshfs.
http://en.wikipedia.org/wiki/SSHFS
Works for me like a charm. I found that using sshfs is much easier than nfs or samba under Linux. This solution definitely works when you access your RPi under Linux. Windows -> RPi, or Mac -> RPi.... perhaps, I don't know. I think there are sshfs solutions, but I don't know how stable or usable they are.

Broadband account getting locked if multiple machines used [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Closed 8 years ago.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
This question does not appear to be about programming within the scope defined in the help center.
Improve this question
I have subscribed to a broadband Internet connection provided by a local cable TV provider.
Normally, I use my laptop which has Windows 7 for light surfing. I have set up a Broadband connection(PPPoE) for the same as per the provider's instructions.
The issue arises when I remove the cable from my laptop and plug it into my desktop and try to use it by setting up a connection there,too. My account either gets locked immediately or even if it connects, when I connect the cable back to my laptop, it appears surely locked. Then I have to call up the provider to unlock it :(
I'm sure that the provider is storing something on each machine and disallowing use of multiple machines. This is a real disadvantage as I can't download overnight by using my desktop.
Please guide as to how I must get rid of this inconvenience.
Thanks and regards !
It could be because the connection is tied to the MAC Address of the network card. If the cable modem has a USB port you could try that option to connect to a USB port on the PC and laptop - you may have to install the drivers on the laptop and PC.
Another option you could try (if any of the systems have two network cards) is to setup ICS (Internet Connection Sharing). ICS can also be setup in the scenario of USB connected cable modem + single network card.

USB tethering for my mobile with PC? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I am using Wi-Fi connection for my android device. It is signal is very week and most of the time i am fed up with internet connection not available.
But i have a PC in my hand with which is in LAN connection.. Is there any way to use this internet connection my mobile using USB cable?
Just curious to know that this will solve my problem. If yes, please give me in detail.
PC LAN connection to Mobile is not at all possible. But, you can use the mobile connection in PC using USB tethering.
Yes it is possible. Look for "USB Reverse Tethering" in the google play store. It is not easy but it is possible.
There also another way to do this, with "Virtual WiFi Router", they use the of your computer as hotspot. But take care when you install it, always refuse all the program they try to install on your computer. It is possible to install without adware program.
Take a look at this. It is the ICS (Internet Connection Sharing) setup guide for Windows 7 on Microsoft's website: http://windows.microsoft.com/en-US/windows-vista/Using-...

How can I find a locked MAC address? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about a specific programming problem, a software algorithm, or software tools primarily used by programmers. If you believe the question would be on-topic on another Stack Exchange site, you can leave a comment to explain where the question may be able to be answered.
Closed 9 years ago.
Improve this question
I have 40 computers in my lab and I have locked each computer with MAC address so people won't be able to unplug the network cable and connect it to their laptops.
I was wondering, if a laptop is connected via one of those cables, can he do some actions and discover the locked MAC.
I know I can find the locked MAC by running ipconfig /all on the computer in the lab. but if it's locked by a password I can't.
I am searching for the commands that I can run on the laptop (while pluged via the network cable) that will give me the MAC address of the computer's lab (The locked address).
(BTW, I'm running windows 7)
Thank you very much!
Amihay
If the laptop is running Linux:
sudo tshark -n arp
should net a few valid MAC addresses.
Not sure if it'll help because its windows,
From a windows Shell
net view
nbtstat -a COMPUTER-NAME