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

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

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,

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

How do I know if I start and have Xorg running?

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

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)

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

Regards,

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...

Regards,

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!