TightVNC Server

Armin Moradi amoradi at fedoraproject.org
Sat Aug 8 23:28:28 UTC 2009


On Sat, Aug 8, 2009 at 10:20 AM, Michael D. Setzer
II<mikes at kuentos.guam.net> wrote:
> On 8 Aug 2009 at 15:10, Philip Seeger wrote:
>
> From:                   "Philip Seeger" <philip at philip-seeger.de>
> To:                     "'Community assistance, encouragement,
>        and advice for using Fedora.'" <fedora-list at redhat.com>
> Date sent:              Sat, 8 Aug 2009 15:10:15 +0200
> Subject:                RE: TightVNC Server
> Send reply to:          "Community assistance, encouragement,
>        and advice for using Fedora." <fedora-list at redhat.com>
>        and advice for using Fedora." <fedora-list.redhat.com>
>        <mailto:fedora-list-
> request at redhat.com?subject=unsubscribe>
>        <mailto:fedora-list-
> request at redhat.com?subject=subscribe>
>
>> There is no file in /home/[USER]/.vnc ...?
>>
>> The Fedora VNC Server called "Desktop Sharing" doesn't work properly on this computer. I can connect, but the picture is so bad, it's not possible to work like that.
>
> The Desktop sharing was using something called VINO on Fedora 10,
> haven't looked at what Fedora 11 does with that. I use the regular vncserver.
> Logged in as the user I run vncserver :port   (colon port).
> Example: vncserver :50
> That would load a vncserver session using port 5950
> The first time it will prompt for a password for the vnc, and will create the .vnc
> directory and the xstartup file.
> Then I edit the xstartup file and uncomment the two lines.
> Then I have to kill the vncserver, and run it again to have the correct desktop
> connect.
> I then edit the /etc/sysconfig/vncservers file to start the vncserver session on
> startup for that user on that port..
> Also have to set the server to start under services.
>
> Then the session is automatcially started on boot up, and I can log into the
> machine using vncviewer IPaddress:port
> .
>
>>
>>
>> -----Original Message-----
>> From: fedora-list-bounces at redhat.com [mailto:fedora-list-bounces at redhat.com] On Behalf Of Michael D. Setzer II
>> Sent: Saturday, August 08, 2009 2:22 PM
>> To: Community assistance, encouragement, and advice for using Fedora.
>> Subject: Re: TightVNC Server
>> -----
>>
>> You probable need to look at the xstartup file in the .vnc (period vnc)
>> directory in the users home directory. The file has a statement that you need
>> to uncomment two lines to get the normal screen? Don't know why that isn't
>> the default.
>>
>> The Fedora has changed to another vnc program that can be loaded by yum
>> install vncserver, and that is what I  setup on my Fedora 11 systems.
>>
>>
>> >     What do I have to do to see a copy of the screen (as I would see it if I’d connect a
>> >     monitor to the Fedora machine)?
>> >
>> >     Please make it easy, I’m new to Linux… :D
>> >
>> >     Thanks for any help…
>> >
>>
>>
>> +----------------------------------------------------------+
>>   Michael D. Setzer II -  Computer Science Instructor
>>   Guam Community College  Computer Center
>>   mailto:mikes at kuentos.guam.net
>>   mailto:msetzerii at gmail.com
>>   http://www.guam.net/home/mikes
>>   Guam - Where America's Day Begins
>> +----------------------------------------------------------+
>>
>> http://setiathome.berkeley.edu (Original)
>> Number of Seti Units Returned:  19,471
>> Processing time:  32 years, 290 days, 12 hours, 58 minutes
>> (Total Hours: 287,489)
>>
>> BOINC at HOME CREDITS
>> SETI 8,314,905.8355 | EINSTEIN 2,806,514.5109 | ROSETTA
>> 1,087,077.1721
>>
>>
>> --
>> fedora-list mailing list
>> fedora-list at redhat.com
>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>>
>>
>> --
>> fedora-list mailing list
>> fedora-list at redhat.com
>> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
>> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>
>
> +----------------------------------------------------------+
>  Michael D. Setzer II -  Computer Science Instructor
>  Guam Community College  Computer Center
>  mailto:mikes at kuentos.guam.net
>  mailto:msetzerii at gmail.com
>  http://www.guam.net/home/mikes
>  Guam - Where America's Day Begins
> +----------------------------------------------------------+
>
> http://setiathome.berkeley.edu (Original)
> Number of Seti Units Returned:  19,471
> Processing time:  32 years, 290 days, 12 hours, 58 minutes
> (Total Hours: 287,489)
>
> BOINC at HOME CREDITS
> SETI 8,314,905.8355 | EINSTEIN 2,806,514.5109 | ROSETTA
> 1,087,077.1721
>
>
> --
> fedora-list mailing list
> fedora-list at redhat.com
> To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
> Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
>

What two lines are you talking about?  My .vnc/xstartup file looks
like this (after I run vncserver :50 and create the password)

#!/bin/sh

vncconfig -iconic &
unset SESSION_MANAGER
unset DBUS_SESSION_BUS_ADDRESS
OS=`uname -s`
if [ $OS = 'Linux' ]; then
  case "$WINDOWMANAGER" in
    *gnome*)
      if [ -e /etc/SuSE-release ]; then
        PATH=$PATH:/opt/gnome/bin
        export PATH
      fi
      ;;
  esac
fi
if [ -x /etc/X11/xinit/xinitrc ]; then
  exec /etc/X11/xinit/xinitrc
fi
if [ -f /etc/X11/xinit/xinitrc ]; then
  exec sh /etc/X11/xinit/xinitrc
fi
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

-- 
Armin Moradi




More information about the fedora-list mailing list