Skip to content

Instantly share code, notes, and snippets.

@cartolari
Last active May 22, 2020 21:15
Show Gist options
  • Select an option

  • Save cartolari/95e2a0999434686dcd12df608f17845f to your computer and use it in GitHub Desktop.

Select an option

Save cartolari/95e2a0999434686dcd12df608f17845f to your computer and use it in GitHub Desktop.
Starts WebStorm in a TigerVNC session
#!/bin/bash
# Requirements
# - TigerVNC (Client and Server)
# - OpenBox
# - WebStorm
export DISPLAY=:10 # Change if display :10 is already in use
Xvnc -SecurityTypes=None +extension RANDR +extension GLX +extension COMPOSITE -SetPrimary=0 -SendPrimary=0 -depth 24 "$DISPLAY" &
disown
openbox &
disown
# Optional panel to show your running tasks, helps using multiple Windows
# tint2 &
# disown
# You may want to change the following command if you don't have a webstorm script in your path
webstorm &
disown
# After this you can start the VNC viewer and use localhost:10 as the server argument
# If you want to run directly from the command line use: vncviewer localhost:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment