Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • H HPCasCode
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 8
    • Issues 8
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 3
    • Merge requests 3
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • hpc-team
  • HPCasCode
  • Merge requests
  • !489

ubuntu20 desktop changes

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Andreas Hamacher requested to merge desktoponubuntu into master Jul 19, 2021
  • Overview 5
  • Commits 6
  • Pipelines 4
  • Changes 3

As proof-of-concept, we can now run Ubuntu 20.04 desktop on our cluster. We used the m3t000 machine for this, and the list of the changes that we need to do are below (reason for change in brackets):

  • 1. Remove python-is-python3
  • 2. Set default python to python2: sudo update-alternatives --install /usr/bin/python python /usr/bin/python2 1 (to get get-xorg.py to work on Ubuntu 20.04, only works with python2)
  • 3. Add source /etc/profile.d/modulecmd.sh to the top of the desktop.slurm or sbatch_vis_session (to get module to work in the slurm script)
  • 4. Edit /etc/X11/Xwrapper.config and change allowed_user variable to allowed_user=anybody (this is to get xinit to work, by default it is locked to console only so can't start xterm via ssh without changing this config)
  • 5. Run dpkg-reconfigure xserver-xorg-legacy to make sure /etc/X11/Xwrapper.config doesn't get overridden during update (see the conf file for more detail)
  • 6. Update /usr/local/desktop/desktop_start_arg to replace hard-coded lspci with which lspci (this is a legacy script from Paul Mac, all the GUI apps use this script to start - this is now done, changes merged)
  • 7. Install python-tk package (this is to get the Desktop Walltime script to work)
  • 8. Add the below code to /etc/bash.bashrc (this is to get module command to work from terminal on the desktop)
if [ -f /etc/profile.d/modulecmd.sh ]; then
 . /etc/profile.d/modulecmd.sh
fi

All except no. 6 needs to be put int ansible I am testing a couple of applications that aren't working (ChimeraX 0.91 seems to work on P4 but not T4, but ChimeraX 0.93 works on both) and if you want to play around, let me know. I tested this using Strudel Desktop, so I will still need to test this on Strudel 2.

Edited Jul 27, 2021 by Andreas Hamacher
Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: desktoponubuntu