how to use laptop keyboard, mouse and screen?

Hello:
how to configure RPi to use laptop keyboard, mouse and screen instead of
separate ones?
thank you
Reply to
Maurice SAAB
Loading thread data ...
Use SSH to connect to the Pi over the network from the Laptop. If the laptop is running Linux you can use ssh -Y to enable X forwarding and then start whichever apps you want. I believe "lxsession" starts a desktop, but I don't run a GUI on any of my Pi.
There are Windows clients which support X, like xming.
Otherwise you could use a VNC or RDP server on the Pi and suitable client on the laptop.
Reply to
Dom
I see that you're using Windows 7. I've not used Windows in years but I can suggest some Google search terms.
Raspbian (the preferred Pi OS) has an SSH server so that's the first thing to try. Google something like "ssh tutorial for windows" and looks for suggestions of well-regarded but free SSH clients for Windows. For connecting to the Pi, Google for something like "Raspberry Pi SSH tutorial". Note that this will only give you a text terminal.
Setting up a remote graphics desktop is also possible, but you only want to do that if you're really familiar with Linux. If it *is* the desktop that you want, then I suggest that getting a monitor, keyboard and mouse for the Pi would be far less trouble. Keyboards and mice are cheap, and you can usually find a non-widescreen monitor with a DVI interface very cheaply if you search a few second-hand shops, for which you buy a DVI to HDMI adaptor cable.
Reply to
Dave Farrance
Connect your Pi to your router with the RJ45 socket (preferably not wireless at this stage).
Download Putty SSH client to your Windows machine.
formatting link

Raspbian has an SSH server enabled by default. You need the IP address of you Pi which you can get by
a. connecting a TV to the Pi and watching what IP it says when it boots
Or, better,
b. bring up the web page of your modem router in your browser. I don't know what router you have but you can Google the IP address of the router. Try 192.168.1.254 for starters. You should then be able to find the IP of your Pi without the need to connect a TV.
Type the IP of your Pi into Putty and it should give you a User/Password prompt.
Once (if?) you've connected you can download a VNC server to the Pi by typing
sudo apt-get install tightvncserver
run it by typing
vncserver :1 -geometry 1280x800 -depth 16 -pixelformat rgb565
On Windows download UltraVNC
formatting link

Run it and type PiIPaddress:1
into the box. PiIPaddress is the address of the Pi you got from the router previously. You should, after a short (10 secs) pause get the GUI on your windows machine'
Bonne chance
Another Dave
--
Change nospam to gmx
Reply to
Another Dave
An easy way is to use mobaxterm
formatting link

This provides a Cygwin environment that includes SSH without needing to know the gory details and also allows for remote graphic desktop setups - taking care of the X server setups without requiring any Linux magic knowledge.
The free version is sufficient.
Chris K
Reply to
ChrisK
ITYF Putty is the client of choice.
Reply to
Rob Morley
I installed TightVNC on my Pi and although I could connect to it from a Windows PC also running TightVNC I found I couldn't close down the Pi and a forced close down or power off corrupted the SD card.
All a bit of a pain, because TightVNC works well between Windows PCs and seemed an ideal solution.
Cheers
Dave R
--
Windows 8.1 on PCSpecialist box
Reply to
David
I usually have both VNC and Putty working at the same time. I use
sudo halt (either in Putty or a terminal in the GUI) to close down.
Another Dave
--
Change nospam to gmx
Reply to
Another Dave
Could you not shutdown -h now ?
Reply to
Rob Morley
Op Sun, 19 Jul 2015 20:37:40 +0100 schreef Rob Morley:
From a terminal window within TightVNC, yes. Of course, a terminal with putty (windows) or ssh (e.g. cygwin) simply does the job too.
groet Coos
Reply to
Coos Haak
Unfortunately it is the shutdown command which doesn't seem to complete when issued from a TightVNC window.
A while since I tried this so I don't know if it was a passing problem.
I will try using putty as well when my tuit is sufficiently round.
Cheers
Dave R
--
Windows 8.1 on PCSpecialist box
Reply to
David
Op 20 Jul 2015 10:42:55 GMT schreef David:
With 2015-05-05-raspbian-wheezy I installed TightNVC by using
formatting link
But I found it disturbing that I was root when logging in with TightVNC.
I reverted to 2015-02-16-raspbian-wheezy using the install for TightVNC as described by
formatting link
Now I was a normal user in TightVNC.
I don't know if this helps to solve your problem.
groet Coos
Reply to
Coos Haak
I regularly shut down and reboot a Pi from a terminal in a Windows TightVNC Pi terminal. Nearly all the problems I have had with Pi's have been to do with cheap power supplies and cheap SD cards.
Some clients have reported that the Linux insistence on writing log files to the SD card causes problems, especially on the older units with full-size SD slots. Since the clients moved to a custom Linux running in RAM, their reliability issues have gone away.
Stephen
--
Stephen Pelc, stephenXXX@mpeforth.com 
MicroProcessor Engineering Ltd - More Real, Less Time 
 Click to see the full signature
Reply to
Stephen Pelc
Where you write log files and what you put in them is configurable.
--
New Socialism consists essentially in being seen to have your heart in  
the right place whilst your head is in the clouds and your hand is in  
 Click to see the full signature
Reply to
The Natural Philosopher
Now you're using it as a normal user, I assume you're using 'sudo halt' to stop the RPi?
If you are using sudo and it still goes wrong, what is displayed and what gets written to /var/log/message when it fails?
--
martin@   | Martin Gregorie 
gregorie. | Essex, UK 
 Click to see the full signature
Reply to
Martin Gregorie
IIRC being able to shutdown the Raspbian LXDE desktop from the shutdown button stopped when I installed TightVNC, either when using VNC or logged on directly. That annoyance remained even after I replaced TightVNC with X11vnc so I could use XRDP (which I recommend over VNC).
I didn't managed to solve it, but I then changed to the MATE desktop, and that shuts down OK from the menu. I've since upgraded from Wheezy to Jessie, and MATE on that works even better.
---druck
Reply to
druck
Op Mon, 20 Jul 2015 14:49:45 +0000 (UTC) schreef Martin Gregorie:
Yes
It never did go wrong. TightVNC says: Connection has been gracefully closed There is no /var/log/message so I can't tell you ;(
groet Coos
Reply to
Coos Haak
Thanks - useful information. Nice to read that it isn't only me having issues.
As I hinted, there is currently an arse/alligators interaction but I hope to get back to it soon.
Cheers
Dave R
--
Windows 8.1 on PCSpecialist box
Reply to
David
Sorry: that question was really meant D wibble, but in any case I have a supplementary question: was there no /var/log/message output because its disabled or because of AS corruption? If the latter, does your host system let you open a separate SSH console and use it to monitor /var/log/ message when you shut down?
--
martin@   | Martin Gregorie 
gregorie. | Essex, UK 
 Click to see the full signature
Reply to
Martin Gregorie
Go on then, be useful and tell me how to change that in one place.
Stephen
Capitalism is the extraordinary belief that the nastiest of men for the nastiest of motives will somehow work for the benefit of all. attributed to John Maynard Keynes
--
Stephen Pelc, stephenXXX@mpeforth.com 
MicroProcessor Engineering Ltd - More Real, Less Time 
 Click to see the full signature
Reply to
Stephen Pelc

ElectronDepot website is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.