LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-19-2012, 01:06 AM   #1
MohammadAamir
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Rep: Reputation: Disabled
Question 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.
 
Old 10-19-2012, 01:54 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
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.
 
Old 10-19-2012, 03:50 AM   #3
rizzy
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 283

Rep: Reputation: 68
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.
 
Old 10-22-2012, 02:50 AM   #4
MohammadAamir
LQ Newbie
 
Registered: Oct 2012
Posts: 2

Original Poster
Rep: Reputation: Disabled
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.
 
Old 10-22-2012, 03:21 AM   #5
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
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?
 
Old 10-22-2012, 03:37 AM   #6
rizzy
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 283

Rep: Reputation: 68
Quote:
Originally Posted by meninvenus View Post
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
 
Old 10-22-2012, 03:50 AM   #7
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974Reputation: 1974
Quote:
Originally Posted by rizzy View Post
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.
 
Old 10-22-2012, 04:09 AM   #8
rizzy
Member
 
Registered: Mar 2004
Distribution: Debian
Posts: 283

Rep: Reputation: 68
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
 
Old 10-22-2012, 04:31 AM   #9
shivaa
Senior Member
 
Registered: Jul 2012
Location: Grenoble, Fr.
Distribution: Sun Solaris, RHEL, Ubuntu, Debian 6.0
Posts: 1,800
Blog Entries: 4

Rep: Reputation: 286Reputation: 286Reputation: 286
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.
 
Old 10-22-2012, 05:19 AM   #10
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.9, Centos 7.3
Posts: 17,357

Rep: Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367Reputation: 2367
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/
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to write a Putty screen in a browser Gideon1a Programming 5 07-07-2011 12:59 AM
Putty through Browser??? linuxshadow Linux - Server 1 06-10-2008 07:38 AM
Problem in accessing website nitaish Linux - Software 1 05-02-2007 02:59 PM
TightVNC, PuTTY and remotely accessing multiple computers Citizen Bleys Linux - Networking 3 04-15-2006 07:45 AM
Accessing pc with putty (ssh) Wozl Linux - Networking 1 10-10-2005 03:44 PM


All times are GMT -5. The time now is 01:23 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration