CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > ANSYS > CFX

CFX in UNIX

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 5, 2012, 13:29
Default CFX in UNIX
  #1
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 19
oj.bulmer will become famous soon enough
Hello

I am trying to remotely access a LINUX system at my university using secure shell access.

I try with cfx5 or fluent after logging in to system but I get following messages:
launcher1 : cannot connect to X server

Any ideas?
oj.bulmer is offline   Reply With Quote

Old   July 5, 2012, 19:29
Default
  #2
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
You will need a x-windows client on your PC. If you are using windows the most common x-win client is cygwin. You may also need to have certain ports open to connect.
ghorrocks is offline   Reply With Quote

Old   July 6, 2012, 06:14
Default
  #3
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 19
oj.bulmer will become famous soon enough
Glenn, thanks.

I am using MobaXterm utility that has free in built X-server.

Additionally, I downloaded and installed XMing and XWindowsdoc, since mobaxterm wasnt working.

I will try cygwin as well, but I believe I already have three X-server applications installed! Am I missing something here?

Cheers
OJ
oj.bulmer is offline   Reply With Quote

Old   July 6, 2012, 07:30
Default
  #4
Super Moderator
 
Glenn Horrocks
Join Date: Mar 2009
Location: Sydney, Australia
Posts: 17,665
Rep Power: 143
ghorrocks is just really niceghorrocks is just really niceghorrocks is just really niceghorrocks is just really nice
I have only a little experience in X servers so cannot help you. Hopefully somebody else can help you.
ghorrocks is offline   Reply With Quote

Old   July 12, 2012, 17:41
Default
  #5
Senior Member
 
OJ
Join Date: Apr 2012
Location: United Kindom
Posts: 473
Rep Power: 19
oj.bulmer will become famous soon enough
I solved my problem. Here is what I did, for anyone who may find this useful in future. All the bold words are the commands for UNIX.

1) Ideally you need to be in the network the UNIX machine is using, or should be connected through VPN.
2) If neither, and you are connected through normal internet, you should check what is the value of DISPLAY variable, by echo $DISPLAY
3) If it is something like localhost:12, you need to set display variable to your ip address as export DISPLAY=<your_ip_address>:0.0, by using your ip address in this command (excluding <> brackets)
4) Mobaxterm is extremely easy to use, but it is not robust. My problems got resolved when I tunnelled through Putty, enabled X11 forwarding in ssh options, and used cygwin xwin server. cygwin is more robust than XMing and beats Mobaxterm in stability. It can be found here : http://x.cygwin.com/docs/ug/setup-cy...nstalling.html
5) Make sure the Xwin server (cygwin) is running. You can check that by xeyes &, after which two eyes popup in X window, following the cursor. This is the indication that everything is going smooth.
6) If you wish to use multiple programmes, try konsole, wherein you can use as many shells (or tabs) to run the programs.
7) You may want to use WINSCP for easier file transfer within UNIX machine and your Windows.

Hope this helps someone who is stuck by UNIX chaos!

Cheers
oj.bulmer is offline   Reply With Quote

Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CFX Treatment of Laminar and Turbulent Flows Jade M CFX 18 September 15, 2022 08:08
ATTENTION! Reliability problems in CFX 5.7 Joseph CFX 14 April 20, 2010 16:45
CFX pressure in Simulations problem nasdak CFX 1 April 14, 2010 14:22
Different flow pattern between OpenFOAM and CFX AirS OpenFOAM 0 January 12, 2010 08:08
CFX 10's solutions differ from CFX 5.7's Atit Koonsrisuk CFX 4 July 26, 2006 12:59


All times are GMT -4. The time now is 09:39.