9a346b3c9c5b6c6e4d95da5abfb12e6f24a56fd6
faq-remote-X11-beta.md
... | ... | @@ -1,6 +1,6 @@ |
1 | 1 | # New ways for remote X11 (SBGrid beta) featuring x2go and xpra |
2 | 2 | |
3 | -In general x2go is easier to use and sufficient for most seneriaos. Xpra has more features and generally better performance. Both clients connect through ssh and run faster than ssh -Y. Support for these is beta, x2go is more familiar to the staff. Most linux systems do not have these tools installed, so you may need to request them. |
|
3 | +In general x2go is easier to use and sufficient for most scenarios. Xpra has more features and generally better performance. Both clients connect through ssh and run faster than ssh -Y. Support for these is beta, x2go is more familiar to the staff. Most linux systems do not have these tools installed, so you may need to request them. |
|
4 | 4 | |
5 | 5 | # x2go |
6 | 6 | It relies on a gui and can connect to new sessions over ssh. |
... | ... | @@ -11,7 +11,7 @@ x2go can be downloaded from this page. |
11 | 11 | https://wiki.x2go.org/doku.php/download:start |
12 | 12 | |
13 | 13 | ## Additional Steps |
14 | -You will need to open System Preferences - Security - General - Temporarilty 'Allow from anywhere' open the application, make sure you can reopen it. Then change your security setting back to 'App Store and Identified Developers' |
|
14 | +You will need to open System Preferences - Security - General - Temporarily 'Allow from anywhere' open the application, make sure you can reopen it. Then change your security setting back to 'App Store and Identified Developers' |
|
15 | 15 | |
16 | 16 | Off the sbgrid network it will be easiest if you use the [vpn](faq-connecting-to-cmcd-vpn.md). |
17 | 17 | |
... | ... | @@ -45,15 +45,15 @@ The other version is built around a gui that we are not covering for now. |
45 | 45 | On your local Mac OSX system open a terminal window and run |
46 | 46 | `xpra start ssh/oconnor@sch-boltzmann/42 --start-child=xterm` |
47 | 47 | |
48 | -With this one command you should have a remote xterm window come up. From there you can launch what ever application you need to run on the other system, including applications that need GLX extensions such as coot. |
|
48 | +With this one command you should have a remote xterm window come up. From there you can launch whatever application you need to run on the other system, including applications that need GLX extensions such as coot. |
|
49 | 49 | |
50 | -To disconnect, just ^c from the origional terminal window(not the xterm that you connected to), or if you connect from another system it will automatically detach. |
|
50 | +To disconnect, just ^c from the original terminal window(not the xterm that you connected to), or if you connect from another system it will automatically detach. |
|
51 | 51 | |
52 | 52 | So to reattach to attach - |
53 | 53 | |
54 | 54 | `xpra attach ssh/oconnor@sch-boltzmann/42` |
55 | 55 | |
56 | -Note the number 42. You need to pick a number that someone else on the system is not using. So definitly do not use 0 or 1, instead pick a higher number up to 999. |
|
56 | +Note the number 42. You need to pick a number that someone else on the system is not using. Do not use a low number that could be inuse by the system like 0 - 5, instead pick a higher number up to 999. |
|
57 | 57 | |
58 | 58 | Note, if you simply close all the windows, including xterm, the remote server is still running |
59 | 59 | `ssh oconnor@sch-boltzmann` |
... | ... | @@ -66,7 +66,7 @@ xpra at :666 has exited. |
66 | 66 | |
67 | 67 | Or one might have run |
68 | 68 | `xpra start ssh/oconnor@sch-boltzmann/42 --start-child=xterm --window-close=shutdown` |
69 | -,but if you accidently close the wondow everything will close. |
|
69 | +,but if you accidentally close the window everything will close. |
|
70 | 70 | |
71 | 71 | In summary, If I am off site and want to create a new session on one of our systems - |
72 | 72 | |
... | ... | @@ -78,14 +78,14 @@ open a new terminal and then - |
78 | 78 | |
79 | 79 | Ideally you would have already set up [password-less ssh](faq-setting-up-passwordless-ssh.md). |
80 | 80 | |
81 | -Make sure you can ssh to the host with out error. You should not need to type 'yes' for ssh keys, etc. |
|
81 | +Make sure you can ssh to the host without error. You should not need to type 'yes' for ssh keys, etc. |
|
82 | 82 | |
83 | 83 | Press enter one time - is it waiting for password input? |
84 | 84 | |
85 | 85 | connect to the remote host and type - |
86 | 86 | `xpra list` |
87 | 87 | |
88 | -If there is an active session you can connect to it via `xpra attach ssh/user@host/42'i from your client. |
|
88 | +If there is an active session you can connect to it via `xpra attach ssh/user@host/42' from your client. |
|
89 | 89 | |
90 | 90 | There could be an active session with no windows open. Stop the session and start again. |
91 | 91 | 'xpra stop :42` |
... | ... | @@ -95,7 +95,7 @@ Lastly try to launch a session from the host in a tmux or screen session on the |
95 | 95 | `tmux` |
96 | 96 | `xpra start :617 --daemon=no --start-child=xterm` |
97 | 97 | You should see a line that that contains `xpra is ready.` |
98 | -Detach with CTRL-b d keys and then you can attach from your own system like so |
|
98 | +Detach with CTRL-b - d keys and then you can attach from your own system like so |
|
99 | 99 | `xpra attach ssh/oconnor@sch-boltzmann/617` |
100 | 100 | |
101 | 101 | The launching from within a tmux or screen session might be easier to experiment with other flags like "start-desktop" |