mirror of
https://github.com/KDE/krfb
synced 2026-07-01 07:31:16 -07:00
release 0.5.1
svn path=/trunk/kdenetwork/krfb/; revision=129619
This commit is contained in:
10
ChangeLog
10
ChangeLog
@@ -0,0 +1,10 @@
|
||||
2002-01-03 Tim Jansen <tim@tjansen.de>
|
||||
|
||||
* Released 0.5.1
|
||||
|
||||
* replaced kapplication.h with kapp.h for KDE versions < 2.2.2
|
||||
|
||||
2002-01-02 Tim Jansen <tim@tjansen.de>
|
||||
|
||||
* First release
|
||||
|
||||
|
||||
29
NOTES
Normal file
29
NOTES
Normal file
@@ -0,0 +1,29 @@
|
||||
Some comments on various aspects of KRfb:
|
||||
|
||||
- KRfb has been designed for three use cases:
|
||||
* a user who wants to show something to a friend, so he lets his friend
|
||||
connect to his computer
|
||||
* a user who needs help from an administrator. The adminstrator can connect
|
||||
to the user and change settings and so on while both are talking
|
||||
on the telephone or using VoIP.
|
||||
* (advanced use case) somebody with several computers that are running
|
||||
GUIs want to control them without going to them.
|
||||
- cases 1&2 are probably more mainstream and more important for novice users,
|
||||
so KRfb is pre-configured for them. Case 3 is for advanced users and
|
||||
therefore a little bit more difficult to configure.
|
||||
- by offering the connection-confirmation dialog KRfb avoids configuration
|
||||
issues like setting a password
|
||||
- design goal of KRfb is to make it as easy to use as possible. I tried to
|
||||
limit functionality whereever possible.
|
||||
- the original x0rfbserver has a features for selecting the port number
|
||||
automatically. I skipped that because it is too complicated on the client
|
||||
side, but I may change my opinion when KDE supports SLP or a similar
|
||||
auto-discovery mechanism.
|
||||
- the command line args are intended for starting KRfb from a system like
|
||||
Jabber, thats the reason why there is no preferences dialog when
|
||||
command line args have been used and it's also the reason
|
||||
for --one-connection
|
||||
- the newconnection-dialog is extra large and has the pixmap on the left
|
||||
side to capture the attention of the user before allowing a connection.
|
||||
|
||||
tim@tjansen.de
|
||||
8
README
8
README
@@ -1,10 +1,12 @@
|
||||
KRfb
|
||||
====
|
||||
|
||||
KRfb is a small server for the RFB protocol, better known as VNC. It is based
|
||||
on x0rfbserver, available from http://www.hexonet.de/software/x0rfbserver/.
|
||||
Unlike most other Unix/Linux RFB servers, KRfb (and x0rfbserver) allows you
|
||||
KRfb is a small server for the RFB protocol, better known as VNC. Unlike most
|
||||
other Unix/Linux RFB servers, KRfb (and x0rfbserver) allows you
|
||||
to share your X11 session instead of creating a new X11 session.
|
||||
It is based on x0rfbserver, available from
|
||||
http://www.hexonet.de/software/x0rfbserver/.
|
||||
|
||||
|
||||
For more information about KRfb visit http://www.tjansen.de/krfb
|
||||
|
||||
|
||||
15
README_KDE_3.0
Normal file
15
README_KDE_3.0
Normal file
@@ -0,0 +1,15 @@
|
||||
For KDE 3.0, you need to do the following:
|
||||
|
||||
* the .ui files must be recompiled, you can enforce this by deleting
|
||||
the following files before you build:
|
||||
|
||||
krfb/configurationdialog.moc
|
||||
krfb/configurationdialog.h
|
||||
krfb/configurationdialog.cc
|
||||
krfb/newconnectiondialog.moc
|
||||
krfb/newconnectiondialog.h
|
||||
krfb/newconnectiondialog.cc
|
||||
|
||||
* main.cpp and trayicon.cpp include the file kapp.h. It has been renamed in
|
||||
KDE 3.0 to kapplication.h, so you must change the sources accordingly.
|
||||
|
||||
6
TODO
6
TODO
@@ -1,8 +1,10 @@
|
||||
Todo:
|
||||
- a pixmap for the connection dialog
|
||||
- a better name for KRfb...
|
||||
- i18n
|
||||
- docs
|
||||
- encrypted connections (ssh, OpenSSL?)
|
||||
- do something against potential denial-of-service attacks by repeatedly
|
||||
trying to connect to users until they agree. Maybe a message box
|
||||
after the third attempt offering the user to stop KRfb, block the IP or
|
||||
something like this
|
||||
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#MIN_CONFIG
|
||||
|
||||
AM_INIT_AUTOMAKE(krfb,0.1)
|
||||
AM_INIT_AUTOMAKE(krfb,0.5.1)
|
||||
|
||||
AC_CHECK_HEADER(X11/extensions/XTest.h,
|
||||
[],
|
||||
|
||||
16
krfb.lsm
16
krfb.lsm
@@ -1,14 +1,16 @@
|
||||
Begin3
|
||||
Title: Krfb
|
||||
Version: 0.1
|
||||
Title: KRfb
|
||||
Version: 0.5.1
|
||||
Entered-date:
|
||||
Description:
|
||||
Description: KRfb is a RFB (VNC) server that allows sharing a local
|
||||
X11 session.
|
||||
Keywords:
|
||||
Author: Tim Jansen <tim@tjansen.de>
|
||||
Maintained-by: Tim Jansen <tim@tjansen.de>
|
||||
Primary-site:
|
||||
Home-page: http://
|
||||
Original-site:
|
||||
Primary-site: http://www.tjansen.de/krfb
|
||||
Home-page: http://www.tjansen.de/krfb
|
||||
Original-site: http://www.tjansen.de/krfb
|
||||
Platforms: Linux and other Unices
|
||||
Copying-policy: GNU Public License
|
||||
KDE 2.2 or higher
|
||||
Copying-policy: GOK
|
||||
End
|
||||
|
||||
@@ -40,9 +40,7 @@ KDE_ICON = krfb
|
||||
INCLUDES= $(all_includes) -I../include
|
||||
|
||||
# the library search path.
|
||||
krfb_LDFLAGS = $(all_libraries) $(KDE_RPATH) -lXtst -lz
|
||||
|
||||
CXXFLAGS = -DUSE_ZLIB_WARREN
|
||||
krfb_LDFLAGS = $(all_libraries) $(KDE_RPATH) -lXtst
|
||||
|
||||
# Uncomment the following two lines if you add a ui.rc file for your application to make use of
|
||||
# KDE´s XML GUI builing
|
||||
|
||||
@@ -17,7 +17,11 @@
|
||||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
||||
* USA.
|
||||
*/
|
||||
|
||||
/*
|
||||
* December 15th 2001: removed coments, mouse pointer options and some
|
||||
* other stuff
|
||||
* Tim Jansen <tim@tjansen.de>
|
||||
*/
|
||||
|
||||
#include <sys/ipc.h>
|
||||
#include <sys/shm.h>
|
||||
|
||||
@@ -26,6 +26,10 @@
|
||||
<name>caption</name>
|
||||
<string>KRfb: Configuration</string>
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>icon</name>
|
||||
<pixmap>image0</pixmap>
|
||||
</property>
|
||||
<vbox>
|
||||
<property stdset="1">
|
||||
<name>margin</name>
|
||||
@@ -76,7 +80,7 @@
|
||||
</property>
|
||||
<property stdset="1">
|
||||
<name>text</name>
|
||||
<string>Ask &before remote client connects</string>
|
||||
<string>Confirm connection &before accepting</string>
|
||||
</property>
|
||||
<property>
|
||||
<name>whatsThis</name>
|
||||
@@ -355,4 +359,10 @@ Regular RFB/VNC port numbers are between 0 and 99. If you enter a higher number
|
||||
</widget>
|
||||
</vbox>
|
||||
</widget>
|
||||
<images>
|
||||
<image>
|
||||
<name>image0</name>
|
||||
<data format="XPM.GZ" length="1377">789cad93cf4ac4301087ef7d8ad0dc8aec468bb0203e82e251100f339336dbc22ae87a10f1ddcd2f6960dbedbf05671a9a8f7c2413926c0bf5fcf4a08a6df679a463234af6f4a10afb75387cbfbcdeff647979a3fc77edbffc2acb374ad4e3fb5b85fedef7b5313b630cb08e281d5611eb3aa206960609b4c0db1d1228c09d4102094806096c8098374ec5014b24b005629938ea222242c10bb1d6d10b111c9a8d4b9ce9854e9ca97ac71cee72d26121cb96656337c23ce6308b77c88a6f2450cf1c160e424c6898aaef108652843ec9c061c258da71f42cf71d0a46154fba8e9e50df116fb8a4d495730e56dff18683b3f7d1494ecbc0498ad69082e3f4b8834afec3395d4b0f1c48d856ac3929c3f33adbfbe8b9fb523a05554dde9f741873776ccd3d9c7356dc7922597c3b4d2bd43650fd7d2534f4c2ff8237b8e2bd4fed2945fe7b97fd01050651f8</data>
|
||||
</image>
|
||||
</images>
|
||||
</UI>
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
# KDE Config File
|
||||
[Desktop Entry]
|
||||
Type=Application
|
||||
Exec=krfb -caption "%c" %i %m
|
||||
Exec=krfb -caption "%c" %i %m
|
||||
Icon=krfb.png
|
||||
MiniIcon=krfb.png
|
||||
DocPath=krfb/index.html
|
||||
Comment=
|
||||
Comment[de]=
|
||||
Terminal=0
|
||||
Name=Krfb
|
||||
Name[de]=Krfb
|
||||
Name=KRfb Server
|
||||
Name[de]=KRfb Server
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
main.cpp
|
||||
-------------------
|
||||
begin : Sat Dec 8 03:23:02 CET 2001
|
||||
copyright : (C) 2001 by Tim Jansen
|
||||
copyright : (C) 2001-2002 by Tim Jansen
|
||||
email : tim@tjansen.de
|
||||
***************************************************************************/
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
#include <kpixmap.h>
|
||||
#include <kaction.h>
|
||||
#include <kdebug.h>
|
||||
#include <kapplication.h>
|
||||
#include <kapp.h>
|
||||
#include <ksystemtray.h>
|
||||
#include <kcmdlineargs.h>
|
||||
#include <kaboutdata.h>
|
||||
@@ -32,7 +32,7 @@
|
||||
#include <qobject.h>
|
||||
#include <qwindowdefs.h>
|
||||
|
||||
#define VERSION "0.1"
|
||||
#define VERSION "0.5.1"
|
||||
|
||||
static const char *description = I18N_NOOP("RFB (VNC) Server to share "
|
||||
"KDE sessions");
|
||||
@@ -84,7 +84,7 @@ int main(int argc, char *argv[])
|
||||
KAboutData aboutData( "krfb", I18N_NOOP("KRfb"),
|
||||
VERSION, description, KAboutData::License_GPL,
|
||||
"(c) 2000, heXoNet Support GmbH, D-66424 Homburg\n"
|
||||
"(c) 2001, Tim Jansen", 0, "http://www.tjansen.de/krfb",
|
||||
"(c) 2001-2002, Tim Jansen", 0, "http://www.tjansen.de/krfb",
|
||||
"ml@tjansen.de");
|
||||
aboutData.addAuthor("Tim Jansen", "KDE Port", "tim@tjansen.de");
|
||||
aboutData.addAuthor("Jens Wagner (heXoNet Support GmbH)",
|
||||
|
||||
File diff suppressed because one or more lines are too long
@@ -37,6 +37,10 @@
|
||||
#include <qglobal.h>
|
||||
#include <qlabel.h>
|
||||
|
||||
#ifndef ASSERT
|
||||
#define ASSERT(x) Q_ASSERT(x)
|
||||
#endif
|
||||
|
||||
RFBController::RFBController(Configuration *c) :
|
||||
configuration(c),
|
||||
socket(0),
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
|
||||
#include "trayicon.h"
|
||||
#include <kstdaction.h>
|
||||
#include <kapplication.h>
|
||||
#include <kapp.h>
|
||||
#include <klocale.h>
|
||||
#include <kdialog.h>
|
||||
#include <kglobal.h>
|
||||
|
||||
Reference in New Issue
Block a user