Brad,

Are you sure that the SunOS clause is being run?

Why are you not simply running dtsession directly:  /usr/dt/bin/dtsession?

What happens if you run it directly from within your window-managerless VNC
desktop?

Regards,

Wez @ RealVNC Ltd.
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Brad Keefer
> Sent: 08 September 2005 13:33
> To: [email protected]
> Subject: Multiple Window managers in xstartup?
> 
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> I'm faced with the following situation... I have to access 
> some Solaris
> boxen
> and Linux boxen, but my home directory is in shared storage that is
> nfs-mounted to them all... So regardless of which server I'm 
> on, I have the
> same .vnc directory, with one xstartup file. I figured that I 
> could get
> around
> this by using a simple conditional in the xstartup to figure 
> out if it was
> on
> a Solaris box or Linux box. My Linux boxen seem to work fine, 
> but trying to
> use dtwm for my Solaris boxen doesn't seem to work. I just 
> get the rootweave
> desktop. Here is my xstartup file:
>  
> #!/bin/sh
> os=`uname -s`
>  
> # Red Hat Linux VNC session startup script
>  
> if [ "$os" -eq "Linux" ]
> then
>    exec /etc/X11/xinit/xinitrc
>    gnome-session
> elif [ "$os" -eq "SunOS" ]
> then
>    exec /usrs/bkeefer/.vnc/xinitrc
>    xrdb $HOME/.Xresources
>  
>    DTXSERVERLOCATION="remote"
>    SESIONTYPE="altDt"
>    SDT_ALT_SESSION="/usr/dt/bin/dtsession"
>    SDT_ALT_HELLO="/usr/dt/bin/dthello &"
>  
>    export DTXSERVERLOCATION SESIONTYPE SDT_ALT_SESSION SDT_ALT_HELLO
>  
>    /usr/dt/bin/Xsession
>  
> else
>    fvwm
> fi
> 
>  
> Has anyone been able to make two or more window managers 
> peacefully co-exist
> in the xstartup file? Or do your fresh eyes see something 
> that I'm just
> overlooking? Just asking
>  
> - --
> Brad Keefer -- TEKSystems Consultant 
> [EMAIL PROTECTED]
> Build Environment Support                     (919)392-1101
> ==========================================
> "Don't bother just to be better than your contemporaries or 
> predecessors.
> Try
> to be better than yourself." -- William Faulkner
>  
> 
> -----BEGIN PGP SIGNATURE-----
> Version: PGP 8.1
> 
> iQA/AwUBQyAvY6JgqKjOu96LEQLxOACg+wDeFGhQbwLzyjm3BCpzvtsEM5AAoO/z
> NhjCrJzEoDaw5Vm9sYrOCH8x
> =WKYR
> -----END PGP SIGNATURE-----
> _______________________________________________
> VNC-List mailing list
> [email protected]
> To remove yourself from the list visit:
> http://www.realvnc.com/mailman/listinfo/vnc-list
_______________________________________________
VNC-List mailing list
[email protected]
To remove yourself from the list visit:
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to