Welcome to the most active Linux Forum on the web.
Go Back > Forums > Other *NIX Forums > Solaris / OpenSolaris
User Name
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.


  Search this Thread
Old 03-03-2008, 07:20 AM   #1
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Rep: Reputation: 15
XDMCP from global zone to Brandz zone

Hello masters,

System is Solaris Nevada, Build 82, x86 laptop.

I have made a Brandz Zone with the Centos package from This works as expected.
Now I try to establish an XDMCP-connection from the global zone to the Brandz zone. I therefore did some config stuff to /etc/X11/gdm/gdm.conf in Centos.
This works partially: when I login as root to the desktop environment, open a terminal, do "#Xnest -query centos :1", I get a nice Centos desktop inside the terminal window.
But I don't want to work in a root desktop environment for obvious reasons.

So when I logon into the Sun Java Desktop as a normal user, and do the same thing: $Xnest -query centos :1
I don't get an XDMCP-connection.

This error appears:

X_mkdir: Not owner

Fatal server error:
Failed to establish all listening sockets

When I trace down the "X_mkdir" call through 'truss', it shows:

$truss Xnest -query centos :1

uname(0x080469D8) = 1
getrlimit(RLIMIT_NOFILE, 0x08046FE8) = 0
so_socket(PF_UNIX, SOCK_STREAM, 0, 0x00000000, SOV_DEFAULT) = 7
umask(0) = 022
umask(02) = 0
mkdir("/tmp/.X11-unix", 0775) Err#17 EEXIST
umask(0) = 02
lxstat(2, "/tmp/.X11-unix", 0x08046EB0) = 0
open("/tmp/.X11-unix", O_RDONLY) = 8
fxstat(2, 8, 0x08046F38) = 0
fchmod(8, 0775) Err#1 EPERM [ALL]
close(8) = 0
X_mkdirwrite(2, " X _ m k d i r", 7) = 7
: write(2, " : ", 2) = 2
Not ownerwrite(2, " N o t o w n e r", 9) = 9

The /tmp directory shows like this:

$ls -al /tmp
drwxrwxrwt 2 root root 139 Mar 3 12:33 .X11-unix
drwxrwxr-x 2 root root 104 Mar 3 11:19 .X11-pipe

$cd .X11-unix
$ls -al
total 16
drwxrwxrwt 2 root root 139 Mar 3 12:33 .
drwxrwxrwt 12 root sys 693 Mar 3 12:16 ..
srwxrwxrwx 1 root root 0 Mar 3 11:19 X0
srwxrwxrwx 1 coolster staff 0 Mar 3 12:33 X1

This rights issue is probably also the reason why an XDMCP-connection fails from the dt-login manager.
At this moment I've been fiddling too long with this issue; I don't see how to get on.
Any suggestions what further steps to take?

Thanks, C
Old 03-03-2008, 08:10 AM   #2
Registered: Feb 2004
Location: Outside Paris
Distribution: Solaris 11.3, Oracle Linux, Mint, Tribblix
Posts: 9,731

Rep: Reputation: 448Reputation: 448Reputation: 448Reputation: 448Reputation: 448
You can try that workaround:
chmod 04755 /usr/openwin/bin/Xnest
Old 03-03-2008, 08:15 AM   #3
Registered: Nov 2007
Distribution: Solaris 10, Solaris Nevada
Posts: 112

Original Poster
Rep: Reputation: 15
Originally Posted by jlliagre View Post
You can try that workaround:
chmod 04755 /usr/openwin/bin/Xnest
jlliagre, thanks!
(so deadly simple..... :-)


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 share a ZFS file system between a global zone and a non global zone? crisostomo_enrico Solaris / OpenSolaris 7 11-28-2007 09:20 AM
Launching X application from a Brandz zone crisostomo_enrico Solaris / OpenSolaris 4 10-08-2007 06:01 AM
How to get network in Zone/Brandz? kebabbert Solaris / OpenSolaris 13 08-30-2007 12:34 PM
DNS Zone x-fer - From one zone to another / Debian 3.1 + BIND9 kenwoodgt Linux - Software 0 11-01-2006 11:28 AM
linux firewall with internet zone, dmz and trusted zone ikhwan98 Linux - Security 1 11-27-2001 05:45 AM > Forums > Other *NIX Forums > Solaris / OpenSolaris

All times are GMT -5. The time now is 11:00 PM.

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