-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 6/29/2013 4:59 PM, shedmeister wrote:
> I've been using linux for years and never tried to do this. Does
> anyone know if it is possible, and if so how? I have a display
> connected to HDMI and the gnome desktop comes up fine (latest
> Angstrom image, Beaglebone Black). I'd rather not hassle with a USB
> hub and connect a keyboard and mouse (I already have a webcam
> connected via USB). I interface to the BBB with a serial console
> login. Is there a way to launch X applications from the serial
> console and get them to display on the HDMI monitor? I've tried:
>
> <launch X application> (Raw:616): Gtk-WARNING **: cannot open
> display: export DISPLAY=localhost:0.0 <launch X application>
> (Raw:602): Gtk-WARNING **: cannot open display: localhost:0.0 bbb>
> echo `hostname` beaglebone bbb> export DISPLAY=beaglebone:0.0
> <launch X application> (Raw:602): Gtk-WARNING **: cannot open
> display: beaglebone:0.0
I've run into that as well, and haven't figured it out. I saw
something that implied I should "export DISPLAY=:0", but I haven't
tried it yet. I did pretty much everything you list above and had the
same results.
> Also, since I never plan to wiggle a mouse, how do I disable the
> screensaver function (display goes to sleep)?
If you hook up a mouse once, you can disable the display power
management in gnome and it will 'stick'. There's probably some
magical command line incantation that would make this work without
doing it through the gui, but I'm not familiar enough with gnome to
know how. :(
Alternately, you can "echo 0 > /sys/class/graphics/fb0/blank" to
'kick' the display every once in a while and get it to turn back on.
Note that if you haven't turned off blanking and you don't have a
mouse or keyboard plugged into the 'Bone, it will go into blanking
IMMEDIATELY after boot and it will generally look like HDMI is broken.
- --
Charles Steinkuehler
cha...@steinkuehler.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
Comment: Using GnuPG with Thunderbird -
http://www.enigmail.net/
iEYEARECAAYFAlHPW3wACgkQLywbqEHdNFyZiwCfVOqaWwdefPUi0TJrh5LVkRwD
J0gAoMufmAfvBUaRmkM0HDYGgVL1AJl9
=TGmW
-----END PGP SIGNATURE-----