emacs crasches when typing "emacs" on command line. "sudo emacs" works fine. .emacs.d in user home folder is owned by user
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Terminal |
New
|
Undecided
|
Unassigned |
Bug Description
jonas@rhino:~$ emacs
X protocol error: BadMatch (invalid parameter attributes) on protocol request 139
When compiled with GTK, Emacs cannot recover from X disconnects.
This is a GTK bug: https:/
For details, see etc/PROBLEMS.
X protocol error: RenderBadPicture (invalid Picture parameter) on protocol request 139
When compiled with GTK, Emacs cannot recover from X disconnects.
This is a GTK bug: https:/
For details, see etc/PROBLEMS.
Fatal error 6: Aborted
Backtrace:
emacs[0x4f74cb]
emacs[0x4dcf3e]
emacs[0x4f7513]
emacs[0x4b219b]
emacs[0x4b420c]
emacs[0x4b426d]
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
/usr/lib/
...
Aborted (core dumped)
SUDO works fine
jonas@rhino:~$ sudo emacs
jonas@rhino:~$
ProblemType: Bug
DistroRelease: elementary OS 0.3
Package: elementary-desktop 1.350+394~
ProcVersionSign
Uname: Linux 3.13.0-34-generic x86_64
ApportVersion: 2.14.1-0ubuntu3.3
Architecture: amd64
CrashDB: elementary_meta
CurrentDesktop: Pantheon
Date: Thu Aug 28 22:26:15 2014
InstallationDate: Installed on 2014-08-25 (2 days ago)
InstallationMedia: elementary OS 0.3 "Freya" - Daily amd64 (20140810)
SourcePackage: elementary-meta
ThirdParty: True
UpgradeStatus: No upgrade log present (probably fresh install)
affects: | elementaryos → pantheon-terminal |
Has to do with XLIB_SKIP_ ARGB_VISUALS ("internet is full of it")
The temporary fix for me:
Create /usr/local/ bin/emacs- fix
export XLIB_SKIP_ ARGB_VISUALS= 1
emacs24-x
Open /usr/share/ applications/ emacs.desktop: local/bin/ emacs-fix %F
Change Exec=/usr/
Perhaps somebody here can help finding a good fix for it.