Sorry for sending mail in a mess. (There is some problem with my
evolution. It encode characters use us_ascii and after the mail is
sending out, it is in a mess. Sorry.)

"#xhost +" should be useful.
But you need to run this command on that device not in a remote
terminal. Because xhost is also a X client.

The log "cannot connect to X server :0" means you have set
DISPLAY=:0.You can't connect to X because X do not allow you to connect.
The xhost program is used to add and delete host names or user names to
the list allowed to make connections to the X server. 

On Fri, 2010-11-19 at 09:39 +0800, Chen, Zhang Z wrote:
> Please try using “meego” instead of “root” to start your program
> 
>  
> 
> From: [email protected] [mailto:[email protected]]
> On Behalf Of Pain Chung
> Sent: Friday, November 19, 2010 6:25 AM
> To: Nimika Keshri
> Cc: [email protected]
> Subject: Re: [MeeGo-dev] cannot connect to X server
> 
> 
>  
> 
> If you are root, you can try below
> 
> 
>  
> 
> 
> # export DISPLAY=:0
> 
> # xhost +
> 
> 
> # /usr/bin/meego-handset-calendar
> 
> 
>  
> 
> On Thu, Nov 18, 2010 at 5:11 AM, Nimika Keshri
> <[email protected]> wrote:
> 
> Hi,
> 
> I flashed the image meego-handset-armv7l-n900-1.1.80.6.20101112.1.. in
> my N900. I was trying to launch some applications from the
> command-line but I am getting the following error even though I have
> exported the Display.
> 
> #/usr/bin/meego-handset-calendar 
> 
> No protocol specified
> meego-handset-calendar: cannot connect to X server :0
> 
> 
> Any clues? What am I missing here.
> 
> Thanks,
> Nimika
> 
> 
> 
> _______________________________________________
> MeeGo-dev mailing list
> [email protected]
> http://lists.meego.com/listinfo/meego-dev
> 
> 
> 
> 
> 
> -- 
> Pain Chung
> 
> 

-- 
*^_^*
Many thanks & Best Regards
SSD-OTC Meego Middleware & TV Team
Zhao Juan
_______________________________________________
MeeGo-dev mailing list
[email protected]
http://lists.meego.com/listinfo/meego-dev

Reply via email to