vnc

Jerry McBride mcbrides9 at comcast.net
Wed Jan 23 09:51:04 PST 2008


On Wednesday 23 January 2008 09:15:34 am vu pham wrote:
> Jerry McBride wrote:
> > On Tuesday 22 January 2008 10:15:27 am Lonni J Friedman wrote:
> >> On Jan 21, 2008 9:26 AM, Vu Pham <vu at sivell.com> wrote:
> >>> Is it possible to get the whole desktop screen of a remote Linux
> >>> desktop ?
> >>>
> >>> I tried VNC but I just got a remote X window, not the whole desktop.
> >>
> >> What's a "remote X window"?
> >
> > It's a grey screen with an "X" on it...
> >
> > Vu... on server end... in ~/.vnc (or where ever you have it)  alter
> > xstartup to look like...
> >
> > #!/bin/sh
> > startkde
> >
> > #comment above and uncomment below to turn off kde and enable twm
> >
> > #xsetroot -solid grey
> > #xterm -geometry 80x24+10+10 -ls -title "VNC Desktop" &
> > #twm &
> >
> >
> > Shutdown vncserver and restart... Your clients will probably work now....
>
> Jerry,
>
> Thanks for your email. I looked into my ~/.vnc and its original conetent
> is :
> # Uncomment the following two lines for normal desktop:
> #unset SESSION_MANAGER
> #exec /etc/X11/xinit/xinitrc
>
> [ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
> [ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
>
> xsetroot -solid grey
> vncconfig -iconic &
> xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
> twm &
>
> So I commented out the last four lines and add startkde and the log
> showed startkde could not find. I use Fedora's Gnome.
>
> Then I looked at the comment at the begginging of the file and
> uncommented out the first two commands unset and exec, then I get the
> real desktop.
>
>
> The remote desktop is a little bit small, so I went into
> /etc/sysconfig/vncserver and change the geometry there.
>
> Now it works great.
>
> Thanks everybody. I could fix my vnc, and I learned about freenx.

Most excellent! 


-- 


>From the Desk of: Jerome D. McBride




More information about the Linux-users mailing list