|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
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
|
||||
|
||||
|
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. |
|
#2
|
|||
|
|||
|
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. |
|
#3
|
||||
|
||||
|
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.
__________________
My blog about OpenSource Databases PDF tutorials about OSS databases, DBMonster ... Please contribute to Open Source Development, fill bug reports!!! Developer Shed eSupport Commented my.ini/my.cnf (PLEASE ADD YOUR OWN CONFIG TRICK) An introduction to database normalization Natural or Surrogate key Custom ordering for your results Correlated and uncorrelated subqueries Don't turn your outer joins into inner joins |
|
#4
|
||||
|
||||
|
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 |
|
#5
|
||||
|
||||
|
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 |
|
#6
|
||||
|
||||
|
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 |
![]() |
| Viewing: Dev Shed Forums > Operating Systems > Linux Help > Running X from telnet? |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|