![]() You can move between first and second virtual terminals by pressing CTRL+ ALT+ F7 or CTRL+ ALT+ F8. Otherwise, your RPi desktop will close immediately. You will bring to your new virtual terminal 8 the remote RPi desktop, as well as a small terminal launched from your active virtual terminal 7 (see picture below). Type pi user password when asked (see picture below). xinit - :1 &Īfter switching to virtual terminal 8, execute the following command to launch the RPi desktop remotely. You can switch back to the original virtual terminal 7 by pressing CTRL+ ALT+ F7. Note that you will be automatically switched to virtual terminal 8. Type the command below, which will activate xinit in virtual terminal 8. Open your konsole or terminal, and change to root user. Follow instructions below to get your RPi desktop to show up in your second virtual terminal. Your Linux desktop is running by default on the first virtual terminal, which is virtual terminal #7. Here I will show how to run the remote RPi desktop in the second virtual terminal (i.e., virtual terminal 8) via X11 forwarding. With X11+SSH forwarding, you can actually run the entire desktop of Raspberry Pi remotely, not just standalone GUI applications. Method #3: X11 Forwarding for Desktop over SSH UPDATE (20230411): Looks like this site is back up. The referenced pictures are, sadly, lost. Original work attributed to: Kristophorus Hadiono. A quirk: You must physically release CTRL+ ALT before hitting another function key when switching back and forth. I switch to Ubuntu using CTRL+ ALT+ F7, then back to RPi with CTRL+ ALT+ F2. You then have the entire desktop and can run the machine as if physically connected. Mind the spaces - they break this procedure frequently when I can't type. Of course you have to mod sshd_config to allow X11 forwarding on the remote machine (I'd say client/host, but I believe they are different in X11 from other uses and I may confuse myself). Works with my original RPi, RPi2 and RPi3. ![]() I've been using the below method from the (now suspended) Xmodulo site to remote into my entire Raspberry Pi desktop from any Ubuntu machine. VNC isn't what I'm looking for for a whole bunch of reasons, not least because it's not X11 forwarding but forwarding bitmaps.Xephyr isn't what I'm looking for because it tries to run the remote desktop in a window.I'm looking to understand a little of the the anatomy (of xwindows?, wayland?, gdm?) to understand how you'd go about doing this, OR why it's not possible. Searches online come up with a bunch of third party tools such as VNC and Xephyr, or they come up with the single window ssh commands and config. ![]() I've always thought that it should be possible to shut down the desktop environment on my laptop and then from the command line ssh into another machine and startup an desktop environment forwarded to my laptop. But there are times when I'd like to use my linux laptop as a dumb terminal for another linux machine. ![]() I'm very familiar with forwarding individual windows using ssh -X. How can you or why can't you forward an entire desktop over SSH ( ssh -X)? Something that's always bugged me and I've been unable to find good information on:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |