LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris and OpenSolaris.
General Sun, SunOS and Sparc related questions also go here.

Notices

Reply
 
Search this Thread
Old 10-06-2007, 10:11 PM   #1
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Rep: Reputation: 35
Launching X application from a Brandz zone


Hi.

I just created a brandz zone and installed the centos tarball provided at http://www.opensolaris.org/.

Everything works well and I had no problem forwarding X applications to my linux laptop: just set DISPLAY accordingly.

The problem is when I login from my solaris box: the only way I can launch X application is ssh-ing to the zone: if I login with zlogin, I can't because the application cannot open the display. I tried setting DISPLAY, I tried setting it with the IP of my machine, I tried xhost +... Nothing works.

The questions is: why cannot I open my local display but I have no problem when I ssh to the zone or login from my slackware laptop?

Thanks,
Enrico.

Last edited by crisostomo_enrico; 10-07-2007 at 07:24 AM.
 
Old 10-07-2007, 01:59 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,499

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
My first guess would be the X11 server doesn't listen on TCP on the global zone.

What says:
Code:
svccfg -s svc:/application/x11/x11-server listprop options/tcp_listen
?
 
Old 10-07-2007, 07:23 AM   #3
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 35
Thanks jlliagre.

The command output is:
Quote:
options/tcp_listen boolean false
Bye,
Enrico.
 
Old 10-07-2007, 04:31 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris10, Solaris 11, Mint, OL
Posts: 9,499

Rep: Reputation: 355Reputation: 355Reputation: 355Reputation: 355
Which means a necessary condition for remote X11 to work isn't met.

You turn it on (if you don't care the security issues opening X11), restart the X server for the change to be applied and try again.
 
Old 10-08-2007, 05:01 AM   #5
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 35
Thanks jlliagre.

Now that I know the reason, I'll stick with ssh!

Bye,
Enrico.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to get network in Zone/Brandz? kebabbert Solaris / OpenSolaris 13 08-30-2007 11:34 AM
Launching application + variables in FVWM Peff Linux - Software 2 06-28-2005 08:36 AM
launching a program from a C++ application Error1312 Programming 7 02-25-2004 08:18 AM
Launching application when gnome startups appel Linux - Software 3 08-02-2003 10:06 PM
launching an application when X starts... DKnight Linux - Newbie 13 06-08-2003 07:43 AM


All times are GMT -5. The time now is 05:21 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration