Pavlin
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights New
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Note Insights Versions and GitHub Sync Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       Owned this note    Owned this note      
    Published Linked with GitHub
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    # Troubleshoot your MobaXterm X11 connection to UPPMAX ## Before connecting to Rackham Quite often, the problem is on the client side and it is not related to the remote computer or the connection to it. Please check the points below to establish that the local setup is working fine. 1. Make sure the MobaXterm X server is running. The icon in the top right should be colorful for running and grayed out when is not running. ![](https://i.imgur.com/k6qSpLj.png) 2. Check that the X11 server is enabled in the settings. ![](https://i.imgur.com/dbu6o3Y.png) 3. Check that you have `X11-Forwarding` option enabled. ![](https://i.imgur.com/1YePTDK.png) 4. Check that your local MobaXterm terminal can communicate with the MobaXterm X server. ![](https://i.imgur.com/usCBm8M.png) If you do not get output from `xhost` - You might be connected via LAN cable and WiFi simultaneously. Usually, this is not a problem but it some situations, especially after sleep/resume the initial session setup might get misconfigured. - If you use VPN, start MobXterm after you have established the VPN connection (*again, usually not a problem but the session setup might get confused*). - **Restart the computer and keep in mind the above**. - Try to run the portable version of MobaXterm - this will not affect the version you have installed or vice versa. 5. Ultimately, you can install `xclock` in MobaXterm with `apt-get install xclock`. When it is done with the installation, start `xclock` to confirm that your local X11 setup is working. If this is not working - the problem is in you computer setup and UPPMAX support can not help you. Please, contact your department computer support instead. ## Connect to UPPMAX (Rackham) 1. Use the terminal to establish connection to the Rackham login node. ``` bash $ ssh -Y user@rackham.uppmax.uu.se ``` 2. Test the X11 forwarding by running a small graphical program - `xclock`. ``` bash $ xclock ``` Make sure the windows is not hiding behind all other windows - check on the task bar for new program tab. If you do not get `xclock` on your screen - you have X11 forwarding problem. ![](https://i.imgur.com/8AG9urA.png) 3. Logout and login again to gather some information for the connection ``` bash $ ssh -v -Y user@rackham.uppmax.uu.se ``` 4. Copy the output and paste it in to a new support request submitted at https://supr.naiss.se/support/?problem_type=accessing&centre_resource=c4 (including OS version, MobaXterm or PuTTY etc.) or in the reply to your original support request. 5. Try to connect to another remote computer and test that it works there. If the X11 does not work again, there is a good chance that the problem is on the client side. 6. If you get the `xclock` window, but cannot start another graphical programs like Rstudio, VMD - your X11 forwarding is working but there is another problem - paste the error into the support request. - Some times changing/altering the `OpenGL acceleration` option in the X11 settings could resolve such problems - just test the other available options - they depend on MobaXterm ability to utilize your GPU hardware. ## Common errors and possible solutions :::danger **"X11 connection rejected because of wrong authentication."** ::: - Check your home folder space on Rackham ```bash $ uquota Your project Your File Area Unit Usage Quota Limit Over Quota --------------- --------------------- -------- ------- ----------- ---------- home /home/user GBytes 7.4 32.0 home /home/user Files 115831 300000 snic2022-22-739 /proj/introtouppmax GBytes 4.2 128 ``` If you are close below or above - you need to delete or move files from your home folder. - Check that `.Xauthority` file is not corrupted ``` bash $ xauth info Authority file: /home/user/.Xauthority File new: no File locked: no Number of entries: 10 Changes honored: yes Changes made: no Current input: (argv):1 ``` If you get errors, you need to create a new (keep the old as backup) ```bash $ mv .Xauthority .Xauthority.bak ``` Logout and login again. You will get a warning message `xauth: file /home/user/.Xauthority does not exist` and then new `.Xauthority` file will be created. Try again with `xclock`. ## Other usual suspects - Firewalls usually do not interfere with local connections and the remote are done via ssh (if you get working ssh connection, then the X11 forwarding will use this connection and the firewall software can't block it). - Sleep/resume some time might lead to assigning of new IP or mismatch with the computer name on the home router. - Windows (or the programs running under Windows) has improved their sleep/resume stability over the years but I still get occasionally strange behavior that disappears upon restart. # Contacts: - [Pavlin Mitev](https://katalog.uu.se/profile/?id=N3-1425) - [UPPMAX](https://www.uppmax.uu.se/) - [SNIC AE@UPPMAX - related documentation](/8sqXISVRRquPDSw9o1DizQ) ###### tags: `UPPMAX`, `SNIC`

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully