vnc on fc5 issues
David G. Miller
dave at davenjudy.org
Wed Nov 8 01:54:22 UTC 2006
tom poe <tompoe at fngi.net> wrote:
> which Xvnc
> /usr/bin/Xvnc
>
> So,
> $ /usr/bin/Xvnc
>
> Fatal server error:
> Server is already active for display 0
> If this server is no longer running, remove /tmp/.X0-lock
> and start again.
>
> I'm not familiar with using vnc. Can someone explain how it's installed
> in FC5 and how I can connect ./vnc2swf.py with localhost:5900 ? Any
> help appreciated.
> Tom
vncserver for starting the server and vncviewer for starting the client
provide a much more friendly UI. Check the man pages for both commands
for all the gory details but something like:
vncserver -geometry 1280x1024 -depth 24
and
vncviewer -geometry 1280x1024 -FullColor MyVNCbox:1
Work to start the server and then access it from a remote system. If
you want your full, pretty desktop to be available, you'll need to edit
~/.vnc/xstartup to look something like:
#!/bin/sh
# Uncomment the following two lines for normal desktop:
unset SESSION_MANAGER
exec /etc/X11/xinit/xinitrc
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
# xsetroot -solid grey
# vncconfig -iconic &
# xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
gnome-session
VNC uses port 590x (where x is the desktop number) In the above example
it would be 1 so you'd need to open port 5901 if there's a firewall
between the server and the client.
Cheers,
Dave
--
Politics, n. Strife of interests masquerading as a contest of principles.
-- Ambrose Bierce
More information about the fedora-list
mailing list