Link to home
Start Free TrialLog in
Avatar of nayanpatel
nayanpatel

asked on

running dbca remotely on Linux

Hi Experts,
I am tring to remotely create the database using dbca . I am logging into Linux ver 3 via SecureCRT running on win XP and invoking dbca. I get error message "Set DISPLAY enviornment and then re-run". I find the location of xhost and but command xhost + gives me error: "can't open display".   Please sugest a way of running dbca.........
Thanks

<
changed title and added Linux zone
angelIII, zone advisor
>
Avatar of rbrooker
rbrooker
Flag of New Zealand image

Hi,

you will need to have an x server running on your xp box.  once the x server in running, open a local xterm, type

xhost +<ip of database server>

at this point, your x server ( on your xp box ) will accept x sessions from the ip address of the database server.
login to the database server from youre xp box using xterm and type

DISPLAY=<ip of your local machine>:0.0
export DISPLAY

now start dbca.

if you do not have a x server handy, you can download cygwin ( http://www.cygwin.com ) and use that.

good luck :)
Avatar of nayanpatel
nayanpatel

ASKER

Thanks
I have downloaded cygwin, but  xhost + <ipaddress> of database server gives bash xhost command not found. please help
ASKER CERTIFIED SOLUTION
Avatar of rbrooker
rbrooker
Flag of New Zealand image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
You can also use a X program, called XMING. Its a small app that simulates the X part of cygwin.  and its much easer too.  http://sourceforge.net/projects/xming.

Use putty with this, and make sure you turn on X11 fwding.

WIth this, you dont have to set any DISPLAY varbiles.