> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> 
> :: I have had VNC up and running for a few days now, and everything
> :: works great, except one problem.  I can't use a graphical file
> :: managing software like Nautilus.  VNCserver is running on a RedHat
> :: 7.3 system.  VCNclient is running on a Windows XP 
> workstation.  If I
> :: start Nautilus from the client, nothing happens.  However, on the
> :: physical machine (the Linux box), Nautilus opens.  Has anyone
> :: experienced this?  Is there a way I can get Nautilus to open on the
> :: client viewer? 
> 
> : I've just played a little with Nautilus. As far as I see, 
> Nautilus is NOT a
> : wellbehaved X11 application: It does not listen to the 
> $DISPLAY variable!
> 
> If it's hardcoded to open display :0 (eg, to try to prevent 
> people from
> using it across a network, or from using multiple copies, or for
> whatever other ill-conceived reason), I can see two ways to 
> work around the problem. 

It is definitly NOT hardcoded to :0. As my little investigation tells me, it
works in the setup as on
http://www.sourcecodecorner.com/articles/vnc/linux.asp.

I think it is somehow hooked to the users first started gnome session My
investigation:
UserA on :1
UserA on :2
UserB on :3

Nautilus started by UserA from :1 gives nautilus at :1
Nautilus started by UserB from :1 gives nautilus at :3
Nautilus started by UserA from :2 gives nautilus at :1
Nautilus started by UserB from :2 gives nautilus at :3
Nautilus started by UserA from :3 gives nautilus at :1
Nautilus started by UserB from :3 gives nautilus at :3

Where an xterm started by the same user comes up at the current display
hence the ${DISPLAY} settings are properly set. Even the
--display=${DISPLAY} options to nautilus are used.

> 
> You can configure your system to bring up the native X on :1 or some
> other display, leaving :0 free; then start Xvnc (eg, via vncserver)
> explicitly on :0.  This still has problems if multilple people want to
> access the offending app, and you'd have to use VNC or Xnest to run
> Nautilus on the actual display, but it ought to work. 

Before twiggling with the system setup, try not being logeed in at the
console (or logged in as an other user). Then start the session in an Xvnc
and see where nautilus comes.

> 
> Alternatively, use krfb or x4vnc to export the 
> already-running display. 
> Same problems with multiple people, and also if somebody else wants to
> use the main display.  But no problems running the offending 
> app on the  main display this time. 
> 
>     http://www.tjansen.de/krfb/
>     http://xf4vnc.sourceforge.net/


Success,

CBee
_______________________________________________
VNC-List mailing list
[EMAIL PROTECTED]
http://www.realvnc.com/mailman/listinfo/vnc-list

Reply via email to