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

[Other] in the installation, the "gedit" step failed

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

Like Tree1Likes
  • 1 Post By JoshuaB-L

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   March 21, 2017, 02:49
Default in the installation, the "gedit" step failed
  #1
New Member
 
Yang Zhengnan
Join Date: Mar 2017
Posts: 1
Rep Power: 0
YoungZN is on a distinguished road
hello everyone

i firstly installed OpenFOAM, and there is a problem.

i have installed the OpenFOAM document and the Thirdparty document.

and next i need to use
Code:
gedit $HOME/.bashrc
to set the environment.

but i failed, and there are tips on screen
Code:
error: XDG_RUNTIME_DIR not set in the environment.

(gedit:2858): Gtk-WARNING **: cannot open display:
i don't know much about the Linux system, so i need help!
YoungZN is offline   Reply With Quote

Old   March 25, 2017, 14:11
Default
  #2
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Greetings YoungZN and welcome to the forum!

A few questions, so that we are able to diagnose the problem:
  1. Which Linux Distribution are you using?
  2. Which installation instructions did you follow?
  3. Are you logged in directly in the workstation where OpenFOAM has been installed or are you accessing remotely?
    1. If you are accessing remotely, which protocol are you using? SSH or VNC?
Best regards,
Bruno
__________________
wyldckat is offline   Reply With Quote

Old   September 10, 2019, 12:03
Default Problem with user configuration on OpenFOAM v7 Ubuntu
  #3
New Member
 
Joshua
Join Date: Mar 2019
Location: Berlin
Posts: 2
Rep Power: 0
JoshuaB-L is on a distinguished road
Hello I had the same issue. It would be great to know how to problem solve.

I'm installing OpenFOAM v7 for Windows 10 (win64)

On Ubuntu following these installation instructions:

https://openfoam.org/download/7-ubuntu/

I successfully installed OpenFOAM but when I came to User Configuration

I typed:

gedit ~/.bashrc

Which returned:

~$ gedit ~/.bashrc
Unable to init server: Could not connect: Connection refused

(gedit:14): Gtk-WARNING **: 17:56:52.440: cannot open display:

I'm not sure what the issue is.

Please can you help?

Best,

Josh
Vinay94 likes this.
JoshuaB-L is offline   Reply With Quote

Old   October 9, 2019, 19:01
Default
  #4
Retired Super Moderator
 
Bruno Santos
Join Date: Mar 2009
Location: Lisbon, Portugal
Posts: 10,974
Blog Entries: 45
Rep Power: 128
wyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to allwyldckat is a name known to all
Quick answer @Josh: Follow the instructions at https://openfoam.org/download/windows-10/ - namely section "Enabling Graphical Applications"
__________________
wyldckat 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
pimpleDyMFoam computation randomly stops babapeti OpenFOAM Running, Solving & CFD 5 January 24, 2018 05:28
[foam-extend.org] 3.2 Installation in Debian 8.5 jsm OpenFOAM Installation 2 June 19, 2016 10:53
Stuck in a Rut- interDyMFoam! xoitx OpenFOAM Running, Solving & CFD 14 March 25, 2016 07:09
Initial conditions for uniform flow andreas OpenFOAM 5 November 16, 2012 15:00
IcoFoam parallel woes msrinath80 OpenFOAM Running, Solving & CFD 9 July 22, 2007 02:58


All times are GMT -4. The time now is 22:02.