<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
x2go creates large files in /tmp/.x2go-username when a session is saved. This is causing us difficulty because /tmp is filling up and users cannot log in. Our /tmp directory is too small and I don't have access to increase it currently. We need to change the
default tmp directory from /tmp to /app.</div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<div><br>
</div>
<div>I have set TMPDIR in my .profile, /etc/profile and also in /etc/x2go/Xsession to /app</div>
<div><br>
</div>
<div>.profile </div>
<div><b>export TMPDIR=/app/</b></div>
<div><br>
</div>
<div>Xsession variables</div>
<div><br>
</div>
<div>initialize variables for use by all session scripts</div>
<div>OPTIONFILE=/etc/x2go/Xsession.options</div>
<div><br>
</div>
<div>SYSRESOURCES=/etc/x2go/Xresources</div>
<div><br>
</div>
<div>USRRESOURCES=$HOME/.Xresources-x2go</div>
<div><br>
</div>
<div>SYSSESSIONDIR=/etc/x2go/Xsession.d</div>
<div><br>
</div>
<div>USERXSESSION=$HOME/.xsession-x2go</div>
<div><br>
</div>
<div>USERXSESSIONRC=$HOME/.xsessionrc-x2go</div>
<div><br>
</div>
<div>ALTUSERXSESSION=$HOME/.Xsession-x2go</div>
<div><br>
</div>
<div>ERRFILE="${HOME}/.xsession-x2go-${cur_hostname}-errors"</div>
<div><br>
</div>
<div><b>TMPDIR=/app</b></div>
<div><br>
</div>
<div>The session still creates the tmp files in /tmp</div>
<div><br>
</div>
<div>The x2go process which is running:</div>
<div><br>
</div>
<div>leithner 16137 1 0 11:23 ? 00:00:00 sshfs -o idmap=user,uid=1007,gid=1001,default_permissions,ServerAliveInterval=300,IdentityFile=/home/leithner/.x2go/ssh/key.p14092,UserKnownHostsFile=/home/leithner/.x2go/ssh/key.p14092.ident SLeithne@127.0.0.1:/cygdrive/C/Users/SLeithne/X2GO~1/S-2E61~1/spool
/<b>tmp/.x2go-leithner/spool/C-leithner-50-1643045018_stDXFCE_dp32 -p 50660</b></div>
<div><br>
</div>
<div>leithner@entrada:/app$ echo $TMPDIR</div>
<div> /app</div>
<div><br>
</div>
<div>Where should I be changing this variable? Can it be changed?</div>
<div><br>
</div>
<span>Thank you for any help.</span><br>
</div>
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="Signature">
<div>
<div style="font-family: Calibri, Arial, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
</div>
<div></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Sincerely,</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family: "Lucida Handwriting", "Apple Chancery", cursive;">Sherry Leithner</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">Computer Systems Specialist</span><br>
Petroleum Abstracts</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
At The University of Tulsa<br>
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<span style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">918-631-3011
<br>
</span></div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
</div>
<div style="font-family:Calibri,Arial,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Cell: 918-691-1738 <br>
</div>
</div>
</div>
</div>
</body>
</html>