LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 01-05-2009, 01:32 AM   #1
xc1024
Member
 
Registered: Dec 2008
Posts: 31

Rep: Reputation: 16
ssh with x-server through web browser


hi. i'm looking for anything that lets me use ssh with x-server through web browser. do you know anything like this? i would really need it.
 
Old 01-05-2009, 02:35 AM   #2
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
I'm not 100% sure I know what you're asking.

You can initiate an ssh connection with dynamic port forwarding, and then tunnel an X session over that. That's how I remotely access all the services on my box. All my services LISTEN on the localhost adapter only, except sshd. To get to any of these services from outside, I use ssh dynamic port forwarding (which provides a SOCKS-like interface to the client) and tunnel over that. ssh provides the authentication and encryption. I don't need a web browser for remote X sessions, but I do if I want to tunnel in to the webserver.
 
Old 01-05-2009, 07:05 AM   #3
xc1024
Member
 
Registered: Dec 2008
Posts: 31

Original Poster
Rep: Reputation: 16
let's imagine that i'm in the 'net cafe. i don't have access to any system controls, not even wallpaper changing, i can't run external apps. in this situation any portable ssh client app is useless. the only thing i can do is to browse internet and download things to my memory stick. the system running is windoze xp. it doesn't have anything that i can use to connect to my computer.
the program i'm looking for is supposed to give me an image of my gnome desktop and let me control it. it could be something that uses java or flash. i hope i described it clearer than the last time.
 
Old 01-05-2009, 07:18 AM   #4
pwc101
Senior Member
 
Registered: Oct 2005
Location: UK
Distribution: Slackware
Posts: 1,847

Rep: Reputation: 128Reputation: 128
Maybe VNC is more appropriate? I think it's possible the run a VNC client session from within a browser. You'll need to set up a VNC server on the machine you wish to access in order for this to work.

http://www.tightvnc.com/winst.html#start_java
http://www.realvnc.com/support/javavncviewer.html

Also, bear in mind if a computer has been locked down to the point where you can only access a browser, you may be falling foul of some rules about the usage of that machine.
 
Old 01-05-2009, 09:43 AM   #5
dbogdan
Member
 
Registered: Feb 2005
Location: Metro Detroit, US
Distribution: Suse/Slackware/Mepis
Posts: 174

Rep: Reputation: 31
IF you have the ability, and don't mind installing webmin, it has a nice ssh/http module available called "shell in a box"... works quite nicely on SLES (and provided that you setup webmin with ssl it's a bit more secure)

Oops!*** missed the bit about having access to the gnome desktop... my suggestion will only give you shell access thru a browser

Last edited by dbogdan; 01-05-2009 at 09:47 AM.
 
Old 01-05-2009, 12:04 PM   #6
haertig
Senior Member
 
Registered: Nov 2004
Distribution: Debian, Ubuntu, LinuxMint, Slackware, SysrescueCD, Raspbian, Arch
Posts: 2,331

Rep: Reputation: 357Reputation: 357Reputation: 357Reputation: 357
As pwc101 said, look into VNC. I have never used it from a web browser myself, but I seem to remember that this is supported somehow.

You should realize though, that anytime you use another computer (that you do not control) to access your "secure" server, then you are no longer secure. The risk is there - it may not be great, depending on who's computer you are using - but it is there. You can use YOUR computer and THEIR network fairly securely (if you know what you're doing authentication-wise and encryption-wise), but you can't use THEIR computer. Not telling what's installed on their computer (A keylogger? Trojan ssh client? You just don't know). If you can't use YOUR computer, second best would be to use THEIR computer booting into YOUR OS (boot off a thumbdrive or CD-ROM that YOU control). However, if the provider has any lick of brains they will have already blocked this path. Even if you can successfully boot off your OS, there are still ways they can get your data via hardware keyloggers, etc. Chances are a generic Internet Cafe wouldn't be doing this, but you never know.
 
Old 01-05-2009, 02:48 PM   #7
xc1024
Member
 
Registered: Dec 2008
Posts: 31

Original Poster
Rep: Reputation: 16
thanks people. vnc worked.
 
  


Reply



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
Web browser that works over SSH ??? FireRaven Linux - Software 6 12-31-2006 10:11 AM
vnc server with java for connecting with web browser fakie_flip Linux - Software 5 04-05-2006 09:18 PM
retrive DNS server info from web browser. bruse Linux - Newbie 3 01-19-2006 03:53 AM
Hi, I've got an apache server which keeps crashing when I hit it with a web browser. humbletech99 Linux - Networking 6 11-30-2005 03:06 AM
router, name server, web server, ssh, mailserver dilberim82 Linux - Security 9 07-26-2001 06:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

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

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
Open Source Consulting | Domain Registration