Linux Help
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsOperating SystemsLinux Help

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
1200+ fellow developers rate and compare features of the top IDEs, like Visual Studio, Eclipse, RAD, Delphi and others, across 13 categories. Enjoy this FREE Download of the IDE User Satisfaction Study by Evans Data Corporation. Download Now!
  #1  
Old December 13th, 2002, 12:24 AM
shleda's Avatar
shleda shleda is offline
Born Looser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: /root
Posts: 175 shleda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 57 m 3 sec
Reputation Power: 7
Send a message via Yahoo to shleda
Running X from telnet?

I am now used to linux and Telnet a UNIX Server. A question is how I will be able to run X on my windows machine through telnet? Is this really possible to run X server from windows Telnet or even any telnet? If yes then How?


__________________
Kumar Chetan
-----
7+ Yrs of PHP/MySQL/JS/CSS/HTML/XHTML
_SelfProcclaimedGuru
To err is human. To blame your computer for your mistakes is even more human, it is downright natural.

Reply With Quote
  #2  
Old December 13th, 2002, 12:46 AM
Strike Strike is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Dec 2001
Location: Houston, TX
Posts: 383 Strike User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 1 h 41 m 27 sec
Reputation Power: 7
Send a message via ICQ to Strike Send a message via AIM to Strike Send a message via Yahoo to Strike
First things first: telnet is awful. Use ssh. If the servers you are connecting to don't have it, I'd honestly bitch and moan heavily until they put that on there instead and disabled telnet. Passwords are transmitted in plaintext across insecure network connections with telnet. Telnet bad, ssh good.

Now, with that out of the way, here's your answer. To display any X application on your current screen you need some sort of X server, even if the application you are running is on a machine with one anyway. The X server must be running on the machine you are displaying things on. The other machine may or may not have X, it doesn't matter. X-Win32 from Starnet is one such X server for windows environments. It has a 30-day free trial you can grab fairly easily, and it's quite functional (it's nagware for the 30 days). With ssh, setting things up to do remote X stuff is quite easy: ssh -X hostname and you are good to run things once you are connected. Telnet is more complicated. With telnet you have to first make sure that the X server accepts outside connections from whatever machine you will be running X apps on (in Linux, xhost + othermachinehostname, with X-win32 ... I forget how). Then, you log in to the other server and you'll have to set your DISPLAY environment variable to <the-client-IP>:0 assuming you are running it on the first server (quite likely). You do this by (say, for example, we are sitting at the machine with the IP 192.168.2.1): export DISPLAY=192.168.2.1:0 (or in *csh shells, setenv DISPLAY 192.168.2.1:0. Now you can run remote X apps.
__________________
Debian - because life's too short for worrying.
Best. (Python.) IRC bot. ever.

Reply With Quote
  #3  
Old December 13th, 2002, 05:06 AM
pabloj's Avatar
pabloj pabloj is offline
Modding: Oracle MsSQL Firebird
Dev Shed God 6th Plane (7500 - 7999 posts)
 
Join Date: Jun 2001
Location: Outside US
Posts: 7,711 pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level)pabloj User rank is Captain (20000 - 30000 Reputation Level) 
Time spent in forums: 2 Months 2 Weeks 6 Days 5 h 36 m 11 sec
Reputation Power: 259
Much easier, use VNC.
1. On linux server you have to install VNC server.
2. Connect through telnet or ssh to server and "startx" + start vnc server (or simply let them run always)
3. On any pc start VNC client and connect to server.

VNC servers and clients are available for many platforms (at least: Windows, Linux, Solaris, OSX), one of the best is TightVNC.

Reply With Quote
  #4  
Old December 13th, 2002, 09:21 PM
MRK's Avatar
MRK MRK is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2001
Posts: 191 MRK User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 m 36 sec
Reputation Power: 8
I've always had problems getting my kde setup to work over vnc. So i gave up on vnc for linux awhile ago.

-Mr.K

Reply With Quote
  #5  
Old December 16th, 2002, 01:59 AM
shleda's Avatar
shleda shleda is offline
Born Looser
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Mar 2002
Location: /root
Posts: 175 shleda User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 2 h 57 m 3 sec
Reputation Power: 7
Send a message via Yahoo to shleda
X Servers...

OK, I got it.
First I need X running, which incidently is running always.
The things are complicated after this.
Look below
1. I Have a Linux 7.2 Machine (Smart ***!)
2. I add a user to this machine.
3. Now This user can login to my mcahine by telnet from Win98 machine.
Here is my question to Strike Is there any thing else than Telnet (SSH???) which I can use to logon to Linux Machine. Then There is the concept of Dumb terminals. Can I run X from Dumb terminals also?I can't get why we need specail setupon Host machine to run X? My teacher said we need to have something which can "Serve" X to host machine. I am confused.
HEEEELLLLPPPPPP

Reply With Quote
  #6  
Old December 16th, 2002, 03:59 AM
NoXcuz's Avatar
NoXcuz NoXcuz is offline
Wiking
Dev Shed Expert (3500 - 3999 posts)
 
Join Date: Sep 2000
Location: Sweden
Posts: 3,608 NoXcuz User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 7 h 49 m 27 sec
Reputation Power: 11
This place should provide all the information you need, so just start reading -> http://www.x.org/X11.htm

//NoXcuz
__________________
UN*X is sexy!
who | grep -i blonde | date; cd ~; unzip; touch; strip; finger; mount; gasp; yes; uptime; umount; sleep

Reply With Quote
Reply

Viewing: Dev Shed ForumsOperating SystemsLinux Help > Running X from telnet?


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 5 hosted by Hostway