LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to open a website in browser while accessing server through Putty (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-open-a-website-in-browser-while-accessing-server-through-putty-4175433007/)

MohammadAamir 10-19-2012 01:06 AM

How to open a website in browser while accessing server through Putty
 
Hi,
I am new to Linux. Currently my company has purchased a Dedicated server for hosting one of my portal. The server is linux based and I have its access through Putty. So, I need some basic command that I can execute there so I can know how to work in Command Line environment.
When I am loging into the server through putty I want to open a website in a browser, I want to check log files etc.
So, please help me.

acid_kewpie 10-19-2012 01:54 AM

how does putty relate to opening a website? Where is this website? Maybe you want to know about ssh tunneling? I doubt it really, but that's all that could realistically connect the two unrelated technologies.

Executing a command will not teach you to work on a CLI (other than the man command), reading and learning about it will.

rizzy 10-19-2012 03:50 AM

if i understand correctly you'd like to use web browser on remote machine while connected with Putty. There are several options:
1.install a text web browser like elinks and browse in the terminal
2. Set X forwarding in Putty and install Xming http://en.wikipedia.org/wiki/Xming on windows client. This way it is possible to run linux GUI apps on windows.

MohammadAamir 10-22-2012 02:50 AM

Thanks Rizzy. Actually I am new in Linux and started handling Linux server(remotely). So want to execute some commands that can enhance my confidence as working in command mode is always a difficult task that GUI mode.

shivaa 10-22-2012 03:21 AM

1. Putty is a command-line tool, and any application that work in GUI only, cannot be open via putty.
2. For learning of Linux commands, lot of stuff is available on internet as well as in this forum's knowledge base, so just go thourgh Linux basic commands section.
3. If you want to access/manage your Linux server using GUI, then you can install VNC application on your server ( http://www.realvnc.com/ ). After installation, create a simple user account on that server and a VNC port for yourself (using vncserver command).
4. Install VNC client on your Windows PC and then instead of using putty, you can access your server through VNC, which offer a GUI based desktop of your server. You can use Mozilla or firefox to open any website on that server, in same way like you do in Windows.
One more thing, what's relation b/w reading server logs and opening a webite?

rizzy 10-22-2012 03:37 AM

Quote:

Originally Posted by meninvenus (Post 4811946)
1. Putty is a command-line tool, and any application that work in GUI only, cannot be open via putty.

I must've been doing the impossible for last 5 years running linux GUI apps via putty

http://come-david.developpez.com/tut...ming-putty.png

acid_kewpie 10-22-2012 03:50 AM

Quote:

Originally Posted by rizzy (Post 4811958)
I must've been doing the impossible for last 5 years running linux GUI apps via putty

http://come-david.developpez.com/tut...ming-putty.png

way to confuse them! You might want to explain in a suitable level of detail what you're actually doing here to avoid confusing the OP further.

rizzy 10-22-2012 04:09 AM

Sorry, you are right, complete guide to how to set up X11 forwarding with putty is here:
https://wiki.utdallas.edu/wiki/displ...ming+and+PuTTY

shivaa 10-22-2012 04:31 AM

Quote:

I must've been doing the impossible for last 5 years running linux GUI apps via putty

http://come-david.developpez.com/tut...ming-putty.png
Rizzy, I think you didn't read properly what I wrote over there:
Quote:

1. Putty is a command-line tool, and any application that work in GUI only, cannot be open via putty.
What you're doing in the screenshot that you've shared, is not a big task. Anyone can launch any GUI supported application via any command-line tool by setting the display variable of the local system. But user has asked to open a website on CLI.. Can you do this?
In this case, as far as I have understood, user isn't much familier with CLI, and want something in GUI that make his tasks easy. Although there're lot of such applications available to do so like VNC, Citrix, Nx etc. But I suggested to use VNC, because it's more easy, convenient, and simple to use. It will definitely solve user's purpose.

chrism01 10-22-2012 05:19 AM

Here are some cmd line guides
http://rute.2038bug.com/index.html.gz
http://tldp.org/LDP/Bash-Beginners-G...tml/index.html
http://www.tldp.org/LDP/abs/html/

If you want a GUI system management tool, consider Webmin http://www.webmin.com/


All times are GMT -5. The time now is 11:56 PM.