a mystery wrapped in an enigma running in a VNC session :-).

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I had previously noticed that when I ran emacs in a vnc server
on my home system, the Alt key seemed to disappear.

While racking my brains to figure out what to look for,
I happened to notice that if I started emacs by hand in
a terminal, the Alt key worked fine as a prefix, so
I started binary searching through various scripts, and
finally discovered this completely inexplicable tid-bit:

I have this little script that starts emacs with a different
title if it is running as root:

#!/bin/sh
if [ `whoami` = "root" ]
then
   exec emacs --title='ROOT emacs@zooty ROOT'
else
   exec emacs
fi

That script works fine in the normal X server, but when
the X server is vnc, the emacs that starts up cannot use
the Alt prefix key.

If I change /bin/sh on the first line to /bin/bash, then
the Alt key works perfectly!

Can anyone imagine any hypothesis for why execing
emacs from /bin/sh would act different than execing it
from /bin/bash, but only when in a vnc session?

This has gotta be the 2nd most mysterious thing I've
ever seen a computer do :-).

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux