01-20-2011
Help with exporting DISPLAY from Linux to Windows XP
Hi Experts,
I am using Cygwin and Xming server to bring back the display from Linux to a Windows machine.
I am following the below steps :-
1. Close down all X Servers
2. Run XMing – XLaunch
3. Select Multiple
4. Select Start no clients
5. Tick No Access Control box
6. Click Finish
7. X Server starts and you should see icon in tray
8. Run Putty/SSH in Cygwin
9. SSH to server you want to connect to
10. Enter: export DISPLAY=192.168.0.1:0.0 (replace 192.168.0.1 with your IP)
11. Run dbca.
On using similar steps i can bring back the display from some Linux servers, but not from others, can you please let me know what the problem is and what things i need to verify.
I am not getting any error, some of the last lines from the message in the log states :-
winProcEstablishConnection - winInitClipboard returned.
winMultiWindowXMsgProc - XOpenDisplay () returned and successfully opened the display.
winClipboardProc - Hello
DetectUnicodeSupport - Windows XP
winClipboardProc - DISPLAY=127.0.0.1:0.0
winInitMultiWindowWM - XOpenDisplay () returned and successfully opened the display.
winClipboardProc - XOpenDisplay () returned and successfully opened the display.
I did a grep X11 /etc/ssh/* the result is as following :-
/etc/ssh/ssh_config:ForwardX11 yes
grep: can't open /etc/ssh/ssh_host_dsa_key
grep: can't open /etc/ssh/ssh_host_rsa_key
/etc/ssh/sshd_config:# X11 tunneling options
/etc/ssh/sshd_config:X11Forwarding yes
/etc/ssh/sshd_config:X11DisplayOffset 10
/etc/ssh/sshd_config:X11UseLocalhost yes
Your help wud be highly appreciated...
9 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
how do I export my display from my unix box to my pc
basically what is the syntax for export DISPLAY (2 Replies)
Discussion started by: csaunders
2 Replies
2. UNIX for Advanced & Expert Users
How can I telnet from my windows XP machine to my Ultra 60 and run firefox? I am unable to open the display using /usr/openwin/bin/xhost like I do from one Sun machine to another? Thanks (2 Replies)
Discussion started by: ridgeback00
2 Replies
3. Solaris
I have a sun box i can connect to using exceed in broadcast or query mode.
I have been using passive mode to call up just a few apps, xcalc for example.
How do i get the solaris 9 user login screen using passive mode? is it dtlogin or something that im should run frmo the shell? (0 Replies)
Discussion started by: BG_JrAdmin
0 Replies
4. UNIX for Dummies Questions & Answers
I was able to convert my csv file in Unix to xls. I would like to export the converted xls file to a windows environment. I have to manually connect using the following below:
ftp: 192.x.x.x -> username/pass -> cd -> mget *.xls and then confirm.
Could I automate this process into a shell... (4 Replies)
Discussion started by: ravzter
4 Replies
5. Linux
What are the differences, advantages, and disadvantages? (1 Reply)
Discussion started by: Advice Pro
1 Replies
6. UNIX for Advanced & Expert Users
Hello Folks,
Have X-Win 32 installed on my desktop.
Earlier when it used to be XP, ran the following commands on unix system:
export DISPLAY=<desktop ip>:0.0
xterm
Above used to work like charm
Now it got upgraded to Windows 7
Setting the display & triggering xterm doesn't work. It... (8 Replies)
Discussion started by: vibhor_agarwali
8 Replies
7. Solaris
hello all,
I have been googling alot about my problem and finally thought to post a question.
server: SunOS 5.1 64bit pn Sun Netra 240
i need to run an application which shows a gui tool but i believe SunOS cant show the GUI so i need to export the display to my system which is running... (3 Replies)
Discussion started by: wonderwall
3 Replies
8. Solaris
Hi,
I have a Solaris 10 server and I want to export a filesystem to a linux client and give the client's root user root priviliges on the filesystem.
The client is an ubuntu 14.04 LTS server.
the dfstab on the server looks lik this:
/usr/sbin/share -F nfs -o ... (1 Reply)
Discussion started by: nvanvliet
1 Replies
9. UNIX for Beginners Questions & Answers
Hi, totally new to linux base using windows when started learning and using computers.
but i remember that one pc was there , look alike windows desktop, but could not do the task as windows just click and open and view edit etc. But, you could do a little differently even saving in and opening... (8 Replies)
Discussion started by: jraju
8 Replies
LEARN ABOUT DEBIAN
ssh-copy-id
SSH-COPY-ID(1) General Commands Manual SSH-COPY-ID(1)
NAME
ssh-copy-id - install your public key in a remote machine's authorized_keys
SYNOPSIS
ssh-copy-id [-i [identity_file]] [user@]machine
DESCRIPTION
ssh-copy-id is a script that uses ssh to log into a remote machine and append the indicated identity file to that machine's ~/.ssh/autho-
rized_keys file.
If the -i option is given then the identity file (defaults to ~/.ssh/id_rsa.pub) is used, regardless of whether there are any keys in your
ssh-agent. Otherwise, if this:
ssh-add -L
provides any output, it uses that in preference to the identity file.
If the -i option is used, or the ssh-add produced no output, then it uses the contents of the identity file. Once it has one or more fin-
gerprints (by whatever means) it uses ssh to append them to ~/.ssh/authorized_keys on the remote machine (creating the file, and directory,
if necessary.)
NOTES
This program does not modify the permissions of any pre-existing files or directories. Therefore, if the remote sshd has StrictModes set in
its configuration, then the user's home, ~/.ssh folder, and ~/.ssh/authorized_keys file may need to have group writability disabled manu-
ally, e.g. via
chmod go-w ~ ~/.ssh ~/.ssh/authorized_keys
on the remote machine.
SEE ALSO
ssh(1), ssh-agent(1), sshd(8)
OpenSSH 14 November 1999 SSH-COPY-ID(1)