Cannot get X display to work in Ubuntu Jaunty. No Protocol Specified Error

933 views
Skip to first unread message

Eric

unread,
Oct 20, 2009, 10:53:54 AM10/20/09
to Beagle Board
Hello,
I am running Ubuntu Jaunty on the BeagleBoard Rev C3.
I followed the Ubuntu tutorial and also edited the xorg.conf file and
rebooted several times to make sure it installed. I verified through
nano that the contents of it are correct. When I do xvinfo I get an
error that there is no display.

Here are some debug messages I did:
http://pastebin.com/m580bf759

The contents of my xorg.conf file and the debug messages I should be
getting : http://elinux.org/BeagleBoardUbuntu#xorg.conf

Thanks,
Eric

Robert Nelson

unread,
Oct 20, 2009, 11:09:57 AM10/20/09
to beagl...@googlegroups.com

Hey Eric,

I tested this a couple different ways Sunday night..

It will not work, unless you have xorg running, and are actually
logged into gnome/xfce/lxde/etc.

Your /var/log/Xorg.0.log, shows it's enabled correctly..

One thing i wasn't sure about, are you typing xvinfo thru the serial
port, ssh connection, or thru the usb interface?

Regards,

--
Robert Nelson
http://www.rcn-ee.com/

Eric

unread,
Oct 20, 2009, 11:27:14 AM10/20/09
to Beagle Board
How do I know if I start and have Xorg running?

And I'm typing xvinfo through the serial port.
Thanks

On Oct 20, 11:09 am, Robert Nelson <robertcnel...@gmail.com> wrote:
> On Tue, Oct 20, 2009 at 9:53 AM, Eric <airma...@gmail.com> wrote:
>
> > Hello,
> > I am runningUbuntuJaunty on the BeagleBoard Rev C3.
> > I followed theUbuntututorial and also edited the xorg.conf file and

Eric Forkosh

unread,
Oct 20, 2009, 11:18:54 AM10/20/09
to beagl...@googlegroups.com

Siji Sunny

unread,
Oct 20, 2009, 11:31:07 AM10/20/09
to beagl...@googlegroups.com
On Tue, Oct 20, 2009 at 8:57 PM, Eric <airm...@gmail.com> wrote:
>
> How do I know if I start and have Xorg running?

HI Eric,
Try top command from root.
Hope u installed X properly.Also what's your X-client(is it LXDE)
--
Siji Sunny

Robert Nelson

unread,
Oct 20, 2009, 11:37:05 AM10/20/09
to beagl...@googlegroups.com
On Tue, Oct 20, 2009 at 10:27 AM, Eric <airm...@gmail.com> wrote:
>
> How do I know if I start and have Xorg running?
>
> And I'm typing xvinfo through the serial port.
> Thanks
>

Hi Eric,

The easiest way is just have an lcd connected to the hdmi port, but
here's what i found...

Startup -> lcd is displaying "gdm login screen"
typed from: serial, ssh and ctl-alt-f1..
xvinfo -display :0.0

No protocol specified

Startup -> login into gdm -> lxde is now running..
typed from: serial, ssh and lxterminal session
xvinfo -display :0.0

X-Video Extension version 2.2
screen #0
Adaptor #0: "OMAP XV adaptor"
number of ports: 1

Eric

unread,
Oct 20, 2009, 11:56:43 AM10/20/09
to Beagle Board
So I boot up the BeagleBoard and I see the console prompt through
serial port.
It asks for username and password and I enter it in correctly. Now I
see terminal through the serial port ( I'm using minicom). What
terminal commands should I enter to start up Xorg or GDM? Or is GDM or
Xorg running by default?

On Oct 20, 11:37 am, Robert Nelson <robertcnel...@gmail.com> wrote:

Robert Nelson

unread,
Oct 20, 2009, 12:15:20 PM10/20/09
to beagl...@googlegroups.com
On Tue, Oct 20, 2009 at 10:56 AM, Eric <airm...@gmail.com> wrote:
>
> So I boot up the BeagleBoard and I see the console prompt through
> serial port.
> It asks for username and password and I enter it in correctly. Now I
> see terminal through the serial port ( I'm using minicom). What
> terminal commands should I enter to start up Xorg or GDM? Or is GDM or
> Xorg running by default?

Based on that, your seeing the correct message from xvinfo...

if you installed xorg/gdm via, "sudo apt-get install gdm lxde" it
should be running by default on the next boot.. "top" would prove
it.. Your boot message should have a "starting gdm", "starting xorg"
or something... can't seem to grep the right syntax at the moment...

You will either have to setup automatic login...
Untested, first google result: http://www.perturb.org/display/entry/812/

Or connect an lcd screen, usb mouse & keyboard...

Eric

unread,
Oct 20, 2009, 7:50:55 PM10/20/09
to Beagle Board
Thanks that worked perfectly!

Here is step by step guide of what I did
On the BeagleBoard
Install GDM and LXDE : sudo apt-get install gdm lxde

Edited /etc/gdm/gdm.conf to have the following contents: ( note that
my username is airman00)
AutomaticLoginEnable=true
AutomaticLogin=airman00

TimedLoginEnable=true
TimedLogin=airman00
TimedLoginDelay=0

Installed XVNC server : sudo apt-get install x11vnc

Reboot

Setup the gateway over USB
Set IP Address: sudo ifconfig usb0 10.10.10.11
Add gateway : sudo route add default gw 10.10.10.10

Then on my host computer I did
Set IP address : sudo ifconfig usb0 10.10.10.10
Test connection, this should return succesful ping times: ping
10.10.10.11

Back to BeagleBoard I did:
Start X11 server: x11vnc -create
I looked at the x11vnc output and saw that my port was 5900

Back to host computer
sudo apt-get install xtightvncviewer
xtightvncviewer 10.10.10.11:5900

And all of a sudden the screen of the BeagelBoard popped up on my host
computer and I was able to do everything. Hoorah!

I'll probably post up a tutorial or a wiki detailing this all. Thanks
for all the assistance!
On Oct 20, 12:15 pm, Robert Nelson <robertcnel...@gmail.com> wrote:
Reply all
Reply to author
Forward
0 new messages