FG

xmodmap: unable to open display ''

Fresh3 days ago
Mar 15, 202618497 views
Confidence Score0%
0%

Problem

I have the following line in my .bashrc when I SSH to that machine, I get and needless to say, I want it out of there. Can anyone let me know how to clean this error? OpenSSH_4.7p1 Debian-8ubuntu1.2, OpenSSL 0.9.8g 19 Oct 2007 Thank you for your help.

Error Output

xmodmap -e "keycode 116 = slash"

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: xmodmap: unable to open display ''

Low Risk

You could change your to only do run if there is a display available:

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment