octave-maintainers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Building Octave on a server with(out) xvfb-run


From: Orion Poplawski
Subject: Re: Building Octave on a server with(out) xvfb-run
Date: Wed, 5 Feb 2020 07:09:15 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1

On 2/3/20 10:51 PM, Kai Torben Ohlhus wrote:
On 2/4/20 2:04 PM, Orion Poplawski wrote:

FWIW - In Fedora I've moved away from xvfb-run and to using the dummy
driver because of better graphics support.  You might want to take a
look at:

https://src.fedoraproject.org/rpms/octave/tree/master


Thanks for sharing wisdom.  I really need a solution without "xvfb-run"
for my current setup.  Unfortunately, I cannot open the link for more
than 30 Minutes.

Kai


More details:

you need a xorg.conf file, such as:

 https://src.fedoraproject.org/rpms/octave/blob/master/f/xorg.conf
 https://src.fedoraproject.org/rpms/octave/raw/master/f/xorg.conf

You want to run the non-setuid Xorg executable, on Fedora this is /usr/libexec/Xorg.

Then I do:

/usr/libexec/Xorg -noreset +extension GLX +extension RANDR +extension RENDER -logfile ./xorg.log -config ./xorg.conf :99 &
        
sleep 2
        
export DISPLAY=:99
        
the sleep is to give the server time to initialize.

HTH,

   Orion

--
Orion Poplawski
Manager of NWRA Technical Systems          720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       address@hidden
Boulder, CO 80301                 https://www.nwra.com/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]