I'm running macos sierra and for some reason I can't get the following to work on sierra.
I want to ssh in to my macos machine from a linux desktop, export my display back, and run either chrome or safari on my linux display.
I have xquartz installed and sshd_config set up correctly. I successfully get a DISPLAY variable set which proves xauth is working, however, when I launch Chrome or Safari it is displayed on the macos desktop.
I've had this working on every version of macos until sierra.
Thanks for any help
You don't need to have xquartz installed for this direction of X forwarding. What you need however are applications that use the X protocol for displaying themselves. Your Mac's Chrome or Safari do not use it.
Mac does not use X server, and has its own API for dealing with windows and rendering on screen. Most applications you have installed (including Chrome and Safari) are using this API and know nothing about X11 and will ignore the DISPLAY variable. Only some special applications (typically those ported from Linux) use X11 on Mac and those render using xqartz (for example xterm or inkscape). Those are the only applications for which you can use X forwarding from Mac to Linux.
I doubt there is a working build of Chrome/Chromium for Mac that uses X11 and I am certain there is not one of Safari. I would recommend using VNC to get remote desktop from Mac to Linux.
Related
I'd like to install a Windows virtual machine on one of my Chrome OS devices, ideally my Google Pixel Slate tablet, as it's quite powerful and is not being used. Is it possible to run a Windows VM on a Pixel Slate tablet? If so, which virtualization platform should I use?
I also have a Lenovo ThinkPad X230 on which I've installed Chrome OS Flex. It's a bit slow, but is also an option. As a last resort, I could also use my ThinkPad Carbon X1, which is running Chrome OS Flex, but I'd rather not, as it's my main computer. It's my understanding that Chrome OS Flex does not currently support Windows virtual machines, although Google is planning this for the future.
I have Enthought Canopy installed on a machine running RedHat Enterprise Linux 5. I installed it successfully and can verify it runs.
I would like to be able to use it remotely from a windows computer, I have installed putty + xming for X11 forwarding. I can use regular applications like gedit and firefox fine. However when I try using canopy by launching ~/Canopy/canopy an empty gray box for the welcome screen appears, disappears after a few moments, and canopy exits with no return error without having started.
When I ssh with X forwarding from another linux computer, I can use canopy just fine.
There is no error code, I don't see any debug flags and I can't find any log files. I really have no idea why I cant access canopy with putty and xming.
I am trying this as a solution for interns so they can use a machine with access to our datafiles from their windows computers.
I highly appreciate any and all help.
Canopy needs some features not provided by XMing and a few other X server implementation on windows. See the following article for more details:
https://support.enthought.com/entries/21873380-Running-Canopy-Linux-via-remote-display-VNC-remote-X-display-
In short, use MobaXterm ( http://mobaxterm.mobatek.net/ ) or VcXSrv ( http://sourceforge.net/projects/vcxsrv/ )
EDIT: newer versions of Canopy have fixed this bug and should work fine with XMing
I am using OSX 10.7.5 from my MacBook Air to login to remote Linux workstation, running Suse (/etc/issue: SUSE Linux Enterprise Desktop 11 SP2 (x86_64) - Kernel \r (\l))
Everything was working fine until I started to play with macports latest X11, XQuartz XWindow System (XQuartz 2.7.4 (xorg-server 1.13.0)). By default OSX 10.7.5 comes with XQuartz 2.6.4 (xorg-server 1.10.6), however I've installed and made default XQuartz 2.7.4. I am now observing two issues:
(1) When logging to my remote Suse box (this is done via VPN tunnel btw, not sure if it matters), via 'user1> ssh -X user2#wks01' I am getting
Warning: untrusted X11 forwarding setup failed: xauth key data not generated
This (at least appears) to be traced to the fact that there's no 'Security' extension on the new Xquarts server. Traced via ssh -vvv option, and then due to the fact that xauth is failing, so running it separately on MacBox, or remote Suse gives:
user2#wks04:~> xauth generate "$DISPLAY" .
trustedxauth: (argv):1: couldn't query Security extension on display "localhost:10.0"
'ssh -Y' logs in without warning
(2) What is also interesting, that in both ssh modes -X and -Y I am able to open and forward to my display any X-application that I have checked, including xclock, xlogo, xcalc and even eclipse. However running simple 'xterm' results in a hanging job (i.e. appears running), but xterm never displays on my Mac.
While rolling back to will XQuartz 2.6.4 probably help with the issues above (as all the above operations worked smoothly before), but I am curious now to understand the root of the matter.
Thank you in advance for your help,
Dmitry
I am trying to ssh into a remote Linux server using x11. I found that Mountain Lion no longer supports x11 when I upgraded, so I installed Quartz. However, my terminal commands are not working anymore. Here are two important terminal commands that no longer work for me.
I did a Google search and looked elsewhere on Stack Overflow, but didn't find what I am looking for. Namely, I was hoping there are some new commands that work with Quartz in place of the standard x11 phrases I have been using. I tried these after I installed Quartz on my machine, and it didn't work. I just taught myself these x11 commands on 10.7 when 10.8 just came out. Here are a few examples.
1.
ssh -X username#serverlocation.com
2.
./configure -- this/is/an/example/directory --enable--gdb --with-x -with-x11 --with-term --with-nogui
If anyone could tell me how to get this working with Quartz on Mountain Lion, I would be grateful. Otherwise, I would have to run a VM on my Mac with either Windows and putty in, or try to figure out how to use x11 on my Ubuntu machine.
Have you logged out/in after installing XQuartz? XQuartz is just a distribution of X11 and is completely compatible with what was previously included with the OS X.
it seems that it's possible to run a web server on a USB stick using XAMPP, but would this work on Windows, Mac and Linux? I want to run a PHP/MySQL demo site which can be used cross platform. Any advice appreciated!
XAMPP is a windows compiled application
Unless you use an emulator you might struggle to get it working on linux or mac
Consider a diffrent portable webserver for each OS
XAMPP is a cross platform (hence the 'X'), Apache MySQL PHP and Perl application. While the application runs on Windows, Linux and Mac, each installation is a different set of binary files for the given platform. While there is a Windows version that can run a from a relative path on a USB stick; no such version exists for Mac or Linux at this time. The installation location for the later operating systems must be on the system's hard drive at /Applications/XAMPP on Mac.