Results 1 to 4 of 4

Thread: Running issues with BadShmSeq after following FAQ

  1. #1
    Registered User
    Join Date
    Aug 2024
    Posts
    2

    Running issues with BadShmSeq after following FAQ

    Hi all,

    I am very new to this and followed this post to install seq. I started with installing Ubuntu 18.04.6 LTS (WSL) to windows 11 (as opposed to installing Linux Mint 19). Then went through all the steps in the post without any error until the launch of showeq. I got the BadShmSeg error. Did the trick from the FAQ as following but still the same error.
    Code:
    cd /usr/local/bin
    export QT_X11_NO_MITSHM=1
    sudo ./showeq
    I am running EQ using the build-in wifi from motherboard. There are 2 network interface "eth0" and "lo". Both gave me the same error.
    Hope anyone can shed some light on this. I think i am missing something here. Thanks!

    Code:
    ShowEQ 6.2.5, released under the GPL.
      SINS 0.5, released under the GPL.
    All ShowEQ source code is Copyright (C) 2000-2019 by the respective ShowEQ Developers
    ShowEQ comes with NO WARRANTY.
    
    
    You may redistribute copies of ShowEQ under the terms of
    The GNU General Public License.
    See: http://www.gnu.org/copyleft/gpl.html for more details...
    
    
    For updates and information, please visit http://seq.sourceforge.net/
    ShowEQ 6.2.5, Built from 'main.cpp' on Aug 10 2024 at 12:34:22
            CVS: @(#) $Id: main.cpp 1213 2021-11-30 14:43:44Z cn187 $ $Name$
                    Using GCC version: 7.5.0
                    Using glibc version: 2.27
                    Using Qt version: 4.8.7
            Running on Linux release 5.15.153.1-microsoft-standard-WSL2 for processor x86_64
    
    
    Using config file '/home/sseq/.showeq/showeq.xml'
    Loaded preferences file: /usr/local/share/showeq/seqdef.xml!
    Unable to open file: /home/sseq/.showeq/showeq.xml!
    Info: Listening for first client seen.
    Info: Initializing Packet Capture Thread:
    Info: Filtering packets on device eth0, searching for EQ client...
    Warning: Spells: Failed to open: '/usr/local/share/showeq/spells_us.txt'
    Warning: GuildMgr: Could not load guildsfile, /home/sseq/.showeq/tmp/guilds3.dat
    Info: Loading Filters from ''
    QFSFileEngine::open: No file name specified
    Info: Loading Zone Filter File:
    QFSFileEngine::open: No file name specified
    Info: Loading Zone Filter File:
    QFSFileEngine::open: No file name specified
    Info: Categories Reloaded
    Info: No Map found for zone 'unknown'!
    Info:     Checked for all variants of 'unknown.map', 'unknown.txt', and 'unknown_1.txt'
    Info:     in directories '/home/sseq/.showeq/maps' and '/usr/local/share/showeq/maps'!
    Warning: Could not restore dock/window geometry.  Rearrange windows as desired and then re-save preferences
    Warning: Could not restore dock/window state.  Rearrange windows as desired and then re-save prefrences
    Warning: EQStr: Failed to open '/usr/local/share/showeq/eqstr_us.txt'
    X Error: BadAccess (attempt to access private resource denied) 10
      Extension:    130 (MIT-SHM)
      Minor opcode: 1 (X_ShmAttach)
      Resource id:  0xf5
    X Error: BadShmSeg (invalid shared segment parameter) 128
      Extension:    130 (MIT-SHM)
      Minor opcode: 3 (X_ShmPutImage)
      Resource id:  0x60002a
    X Error: BadShmSeg (invalid shared segment parameter) 128
      Extension:    130 (MIT-SHM)
      Minor opcode: 3 (X_ShmPutImage)
      Resource id:  0x60002a
    X Error: BadShmSeg (invalid shared segment parameter) 128
      Extension:    130 (MIT-SHM)
      Minor opcode: 3 (X_ShmPutImage)
      Resource id:  0x60002a

  2. #2
    Administrator
    Join Date
    Oct 2019
    Posts
    582

    Re: Running issues with BadShmSeq after following FAQ

    I've never tried to run ShowEQ under WSL, so I have no idea how well it works in general. That said...

    You're doing your export as your user, and then doing sudo ./showeq to run as root. I don't know how 18.04 has its sudo configured off the top of my head, but it's very likely that your user's environment is not getting passed to root when you sudo to run showeq, meaning that env var isn't actually getting set in a way that SEQ can use it.

    If this is the case, then you'll either need to adjust your sudo config (see man 5 sudoers, particularly the parts on env_reset, env_check, env_keep) so that QT_X11_NO_MITSHM gets passed in, or you'll need to sudo/su to a shell, then as root do the export and run showeq.

    The latter should be as easy as

    Code:
    $ sudo -s
    # cd /usr/local/bin
    # export QT_X11_NO_MITSHM=1
    # ./showeq

  3. #3
    Registered User
    Join Date
    Aug 2024
    Posts
    2

    Re: Running issues with BadShmSeq after following FAQ

    thanks for insight! I think I got it working doing a sudo first
    Code:
    sudo QT_X11_NO_MITSHM=1 ./showeq

  4. #4
    Did you SEQ today? BlueAdept's Avatar
    Join Date
    Dec 2001
    Posts
    2,048

    Re: Running issues with BadShmSeq after following FAQ

    He beat me to it. I was going to say it looks like a permission problem. ShowEQ needs root access. Congrats on getting running.
    Filters for ShowEQ can now be found here. filters-5xx-06-20-05.tar.gz

    ShowEQ file section is here. https://sourceforge.net/project/show...roup_id=10131#

    Famous Quotes:

    Ratt: WTF you talkin' about BA? (Ok.. that sounds like a bad combo of Diffrent Strokes and A-Team)

    Razzle: I showeq my wife

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

You may post new threads
You may post replies
You may post attachments
You may edit your posts
HTML code is Off
vB code is On
Smilies are On
[IMG] code is On