LinHES Forums http://forum.linhes.org/ |
|
auto complete "display server name:" (putty/xlaunc http://forum.linhes.org/viewtopic.php?f=5&t=17350 |
Page 1 of 1 |
Author: | graysky [ Thu Nov 29, 2007 1:58 pm ] |
Post subject: | auto complete "display server name:" (putty/xlaunc |
I'm using putty and an xming on a win32 machine use some LINUX-based apps via an x-session to a LINUX box. I found some very helpful information at this URL which teaches how to use plink to auto login and run an application in one windows commandline string. I'm trying to use adapt this to log into a RH box that challenges users with an annoying "display server name: " question right after it prompts them for the username an password. One has to manually enter either the IP address or PCNAME of the windows machine, or else any x-sessions will not work properly. I can automate the login process via plink like this: Code: plink -ssh -X -pw <password> <user@computer> xcalc
But I can't figure out how to incorporate the response to the "display server name" question. Is there a way to have putty/plink enter this info automatically somehow? If not, can I somehow do this using XLaunch? Thanks all! |
Author: | alien [ Fri Nov 30, 2007 2:41 am ] |
Post subject: | |
A few ideas:
If it is just the app you want to run, you might want to check if cygwin includes it. You might be able to do this without the RH box. |
Author: | graysky [ Fri Nov 30, 2007 3:02 pm ] |
Post subject: | |
@alien: thanks for the suggestions. What worked was to edit the .login nuking the lines for it and replaing them with the following (which worked): setenv DISPLAY ${REMOTEHOST}:0.0 Now the "display server name" is assigned automatically. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |