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.
Xnest -geometry 800x600 :1& DISPLAY=:1 ssh -Y