LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
Password
Solaris / OpenSolaris This forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.

Notices


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

Rep: Reputation: 36
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 08:24 AM.
 
Old 10-07-2007, 02:59 AM   #2
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,793

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
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, 08:23 AM   #3
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
Thanks jlliagre.

The command output is:
Quote:
options/tcp_listen boolean false
Bye,
Enrico.
 
Old 10-07-2007, 05:31 PM   #4
jlliagre
Moderator
 
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.4, Oracle Linux, Mint, Debian/WSL
Posts: 9,793

Rep: Reputation: 496Reputation: 496Reputation: 496Reputation: 496Reputation: 496
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, 06:01 AM   #5
crisostomo_enrico
Member
 
Registered: Dec 2005
Location: Madrid
Distribution: Solaris 10, Solaris Express Community Edition
Posts: 547

Original Poster
Rep: Reputation: 36
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 12:34 PM
Launching application + variables in FVWM Peff Linux - Software 2 06-28-2005 09:36 AM
launching a program from a C++ application Error1312 Programming 7 02-25-2004 09:18 AM
Launching application when gnome startups appel Linux - Software 3 08-02-2003 11:06 PM
launching an application when X starts... DKnight Linux - Newbie 13 06-08-2003 08:43 AM

LinuxQuestions.org > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 03:51 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration