Welcome! Log In Create A New Profile

Advanced

Slic3r launch WLS Ubuntu howto

Posted by Mendel90 
Slic3r launch WLS Ubuntu howto
September 03, 2019 12:57PM
Hi,

I am trying to run Slic3r on WLS with Ubuntu 18 as the chosen package.
Installing everything went quick and without any errors.
I've installed slic3r with sudo apt-get slic3r and it installed right away but I have no idea where it has been installed, also freeglut and VcXsrv for viewing Slic3r in win10 has been installed and working.

I have located the .Slic3r folder and slic3r.ini file but where is the slic3r.exe file located? I can't find it and hence can't start slic3r from the bash terminal.
Are there hidden files? How can I launch Slic3r from the terminal?


Creality CR10/X Dual color/material
Creality CR10S
Ender3 Pro
Photon
Mendel90 (decommissioned)
Mamorubot Jupiter CoreXY
Re: Slic3r launch WLS Ubuntu howto
September 03, 2019 02:56PM
Ummm... on Linux you shouldn't be looking for a .exe file. The executable, or a link to it, should be in your path already, so just typing 'slic3r' (NB: all lower case) on the command line will run it.
Re: Slic3r launch WLS Ubuntu howto
September 03, 2019 03:12PM
I'm not an experienced linux user. I installed all this today because I need slic3r in linux to try out something new.
I'm in the home directory in Bash and typed 'slic3r' and I get the following error: Segmentation fault (core dumped)


Creality CR10/X Dual color/material
Creality CR10S
Ender3 Pro
Photon
Mendel90 (decommissioned)
Mamorubot Jupiter CoreXY
Re: Slic3r launch WLS Ubuntu howto
September 03, 2019 03:38PM
I've looked up the error and it's suppose to be some write permission's I have to enable but no idea how to do this.


Creality CR10/X Dual color/material
Creality CR10S
Ender3 Pro
Photon
Mendel90 (decommissioned)
Mamorubot Jupiter CoreXY
Re: Slic3r launch WLS Ubuntu howto
September 03, 2019 04:38PM
The problem is with the VcXsrv I'm using. It opens and then immediately closes.

error log:
Welcome to the VcXsrv X Server
Vendor: The VcXsrv Project
Release: 1.20.5.1

OS: Windows NT 6.2 build 9200 (64-bit)
Contact: marha@users.sourceforge.net

Cannot move old log file "C:\Users\Jim2\AppData\Local\Temp\VCXSrv.0.log" to "C:\Users\Jim2\AppData\Local\Temp\VCXSrv.0.log.old"
_XSERVTransSocketCreateListener: failed to bind listener
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for inet6
_XSERVTransSocketCreateListener: failed to bind listener
_XSERVTransSocketINETCreateListener: ...SocketCreateListener() failed
_XSERVTransMakeAllCOTSServerListeners: failed to create listener for inet
LoadPreferences: C:\Users\Jim2\AppData\Roaming\.XWinrc not found
LoadPreferences: Loading C:\Program Files\VcXsrv\system.XWinrc
Warning: Locale not supported by X, falling back to 'C' locale.
(EE) AIGLX: No native OpenGL in modes with a root window
(II) IGLX: Loaded and initialized swrast
(II) GLX: Initialized DRISWRAST GL provider for screen 0
winMultiWindowWMProc - Error code: 8 (Match), ID: 0x00200001, Major opcode: 12 (ConfigureWindow), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x0020001d, Major opcode: 18 (ChangeProperty), Minor opcode: 0 ((null))
winMultiWindowWMProc - Error code: 3 (Window), ID: 0x0020001d, Major opcode: 19 (DeleteProperty), Minor opcode: 0 ((null))
glxWinSetPixelFormat: having second thoughts: cColorbits 24, bppOveride 0; config->drawableType 5, drawableTypeOverride 1
wglChoosePixelFormat: chose pixelFormatIndex 50 (rather than 50 as originally planned)
ChoosePixelFormat: chose pixelFormatIndex 14 (rather than 50 as originally planned)
SetPixelFormat error: The pixel format is invalid. (000007d0)
Window changed handle from 0 to 2b0896


Creality CR10/X Dual color/material
Creality CR10S
Ender3 Pro
Photon
Mendel90 (decommissioned)
Mamorubot Jupiter CoreXY
Re: Slic3r launch WLS Ubuntu howto
September 03, 2019 11:44PM
Looks to me like the problem is more to do with the GUI environment than Slic3r. I'm thinking that for some reason sli3r has failed to connect to the X-server. Do you have an X-Windows session running? Can you get any GUI app running? You might need to create C:\Users\Jim2\AppData\Roaming\.XWinrc and put some settings in there. (In Unix, a .rc file is a text file that stores settings for an application).

Why not just install a Windows version of Slic3r?
Re: Slic3r launch WLS Ubuntu howto
September 04, 2019 05:56AM
I've tried the GUI with 'Xeyes' and it works.

It looks like the XWinrc file is indeed the issue and Slic3r will open in the X window but immediately close again.
Surely it's not the goal to start writing this RC file myself... I was thinking this file is maybe sitting in another folder but can not seem to find it.
There is a system.XWinrc file but I don't think it is alowed to use this file and copy it as I read I can't modify any Ubuntu files in Windows.


Creality CR10/X Dual color/material
Creality CR10S
Ender3 Pro
Photon
Mendel90 (decommissioned)
Mamorubot Jupiter CoreXY
Re: Slic3r launch WLS Ubuntu howto
September 04, 2019 10:58AM
Finally solved.

I used alot of different manuals to install this and ended up with

export DISPLAY=:0
DISPLAY=localhost:0.0
where I deleted the export DISPLAY=:0 in nano editor and it worked.
thnx for the assistance.


Creality CR10/X Dual color/material
Creality CR10S
Ender3 Pro
Photon
Mendel90 (decommissioned)
Mamorubot Jupiter CoreXY
Sorry, only registered users may post in this forum.

Click here to login