I used to log into a remote server on our corporate network using Xephyr and ssh using the following command

Xephyr :0 -ac -br -screen 950x540 | xterm -bg black -fg white -display :0 -e ssh -Yf jidicula@lxsim gnome-session &

where :0 is the display from ENV. This used to work for me, however I got upgraded to a new mac pro machine and this no longer works for me. Would someone be able to help me with this. I understand what this is doing and I made sure to have Xephyr and XQuartz on my new machine so I am kinda baffled as to why this no longer works.

  • Exactly what did change? Were you using a Mac too before the Pro one? – Braiam May 7 '14 at 19:27
  • yes I was..I had the older mac pro and the os x was 10.6 and the one I have now is 10.9 ("mavericks"). My old machine had an xquartz from 2 years ago. those are the only obvious ones I can think of. I went into my ssh config file and turned on X11 forwarding – jti107 May 7 '14 at 20:01
  • this command works but it crashes half of the time and i dont trust it to run stuff that takes days on the cluster Xnest -geometry 800x600 :1& DISPLAY=:1 ssh -Y – jti107 May 7 '14 at 20:10
  • I'm not totally sure what you are trying to achieve... You are running a nested X server (Xephyr) locally and forwarding X11 from the (network) server into it? – peterph May 7 '14 at 22:07
  • i dont know all the right terminology but I am essentially trying to remote desktop into a linux server using an xserver. i think this guy might be able to explain it a little bit better. dedoimedo.com/computers/xephyr.html – jti107 May 8 '14 at 16:50

so it turns out the issue was due to Xquartz 2.7.5. As soon as I went back to Xquartz 2.7.4 all the old commands started working. So if you are interested in X11 forwarding on a Mac and want to use Xephyr...make sure you are using 2.7.4

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.