Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usability problem, running through SSH #188

Closed
ghost opened this issue Aug 12, 2014 · 3 comments
Closed

Usability problem, running through SSH #188

ghost opened this issue Aug 12, 2014 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 12, 2014

I'm talking about the main menu action "2: Take me to the swirl course repository!"

I run swirl accesing my server, accessing it with SSH. Everything works fine, except that swirl tries to "open my browser" and just does nothing! This won't work.

In this specific kind of situation, it may be easier to just give us the URL of the page, instead of trying to open it. Or even better: ask the user if he want the browser to be launched, but don't make it possible to hide the URL from us, no secrets expected. :)

Could this be improved? It may be very easy to fix, whatever option I described is chosen.

@WilCrofter
Copy link
Contributor

I'm sure we could do something along those lines.

I'm curious about your setup. I assume plots are appearing, so you are not just ssh'ing into a headless server and running R and swirl in a terminal. I assume the server is running X and you are exporting through the ssh tunnel?

@ncarchedi
Copy link
Member

Before a user has installed a course, we do give them the url, but we don't afterwards.

First time:

| To begin, you must install a course. I can install a course for you
| from the internet, or I can send you to a web page
| (https://github.com/swirldev/swirl_courses) which will provide course
| options and directions for installing courses yourself. (If you are
| not connected to the internet, type 0 to exit.)

1: R Programming: The basics of programming in R
2: Regression Models: The basics of regression modeling in R
3: Don't install anything for me. I'll do it myself.

Selection: 

Afterwards:

| Please choose a course, or type 0 to exit swirl.

1: R Programming
2: Take me to the swirl course repository!

Selection: 

I can add a little more info to the latter, so that the user doesn't find himself in your situation.

@ghost
Copy link
Author

ghost commented Aug 28, 2014

I'm curious about your setup. I assume plots are appearing, so you are not just
ssh'ing into a headless server and running R and swirl in a terminal. I assume the
server is running X and you are exporting through the ssh tunnel?

Yes, it is a headless server. And I use PNG output to see a plot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants