Networking Forums

Networking Forums > Computer Networking > Linux Networking > How do I start krfb (Desktop Sharing) from a terminal

Reply
Thread Tools Display Modes

How do I start krfb (Desktop Sharing) from a terminal

 
 
Gonzalo Torres
Guest
Posts: n/a

 
      09-16-2003, 04:26 PM
That's it, i log in through ssh but i don't know how to start krfb to share
my home desktop. I don't want to leave a listening port all the time...
Any ideas?

 
Reply With Quote
 
 
 
 
/dev/rob0
Guest
Posts: n/a

 
      09-16-2003, 04:50 PM
In article <BB8CB206.2236%(E-Mail Removed)>, Gonzalo Torres wrote:
> That's it, i log in through ssh but i don't know how to start krfb to share
> my home desktop. I don't want to leave a listening port all the time...


I asked for this. You can't. Look it up on bugs.kde.org.

I assume you're root on this machine, and if so, you could block 5900
with iptables. On mine I didn't care. Sure, I'd *like* to leave it
closed because that's The Right Thing To Do, but I'm behind a firewall
and not worried about inside attacks.
--
/dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
or put "not-spam" or "/dev/rob0" in Subject header to reply
 
Reply With Quote
 
Dennis Peere
Guest
Posts: n/a

 
      09-18-2003, 08:15 AM
Dear,

I solved this problem by using x0rfbserver.

You can connect to it by using a vnc client (on Windows & Linux)

Although Hexonet doesn't support it anymore you can still download the rpm's
on http://dag.wieers.com/packages/rfb/

Hope this works for you

Regards,

Dennis

"/dev/rob0" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> In article <BB8CB206.2236%(E-Mail Removed)>, Gonzalo Torres wrote:
> > That's it, i log in through ssh but i don't know how to start krfb to

share
> > my home desktop. I don't want to leave a listening port all the time...

>
> I asked for this. You can't. Look it up on bugs.kde.org.
>
> I assume you're root on this machine, and if so, you could block 5900
> with iptables. On mine I didn't care. Sure, I'd *like* to leave it
> closed because that's The Right Thing To Do, but I'm behind a firewall
> and not worried about inside attacks.
> --
> /dev/rob0 - preferred_email=i$((28*28+28))@softhome.net
> or put "not-spam" or "/dev/rob0" in Subject header to reply



 
Reply With Quote
 
Karl Runge
Guest
Posts: n/a

 
      10-13-2003, 12:07 AM
/dev/rob0 <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> In article <BB8CB206.2236%(E-Mail Removed)>, Gonzalo Torres wrote:
>
> > That's it, i log in through ssh but i don't know how to start krfb to share
> > my home desktop. I don't want to leave a listening port all the time...

>
> I asked for this. You can't. Look it up on bugs.kde.org.
>
> I assume you're root on this machine, and if so, you could block 5900
> with iptables. On mine I didn't care. Sure, I'd *like* to leave it
> closed because that's The Right Thing To Do, but I'm behind a firewall
> and not worried about inside attacks.


Hi, about a year ago I wrote an x0rfbserver/krfb clone (mainly because
of portability and performance problems). It is the x11vnc program in
the contrib section of the libvncserver project:

http://www.sourceforge.net/projects/libvncserver
http://www.karlrunge.com/x11vnc/index.html (additional x11vnc info)

It will allow you to login to a machine via ssh and then redirect the
X11 desktop back to where you happen to be sitting (I do this all the
time when I am on the road, and I also access desktops at work from home
this way).

To tunnel via ssh I type something like this on the local machine:

# ssh -L 5900:localhost:5900 remote-machine 'x11vnc -display :0'

and then type in another shell on the local machine:

# vncviewer -encodings "copyrect tight hextile zlib corre" localhost:0

The -encodings option is very important: vncviewer will default to
"raw" encoding if it thinks the connection is to the local machine.
vncviewer gets tricked this way by the ssh redir. "raw" encoding will
be extremely slow over a networked link, so you need to force the issue
with -encodings.

If you "know" port 5900 will be free on remote-machine, you can automate
the above two steps in a shell script by using the x11vnc option -bg
(forks into background after connection to display :0 is set up).

The most recent libvncserver source tarball is available at:

http://libvncserver.sourceforge.net/...-0.6pre.tar.gz

please use that one if you can. Feel free to ask me any questions
that come up.

Karl Runge
 
Reply With Quote
 
Karl Runge
Guest
Posts: n/a

 
      10-13-2003, 12:17 AM
/dev/rob0 <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> In article <BB8CB206.2236%(E-Mail Removed)>, Gonzalo Torres wrote:
>
> > That's it, i log in through ssh but i don't know how to start krfb to share
> > my home desktop. I don't want to leave a listening port all the time...

>
> I asked for this. You can't. Look it up on bugs.kde.org.
>
> I assume you're root on this machine, and if so, you could block 5900
> with iptables. On mine I didn't care. Sure, I'd *like* to leave it
> closed because that's The Right Thing To Do, but I'm behind a firewall
> and not worried about inside attacks.


Hi, about a year ago I wrote an x0rfbserver/krfb clone (mainly because
of portability and performance problems). It is the x11vnc program in
the contrib section of the libvncserver project:

http://www.sourceforge.net/projects/libvncserver
http://www.karlrunge.com/x11vnc/index.html (additional x11vnc info)

It will allow you to login to a machine via ssh and then redirect the
X11 desktop back to where you happen to be sitting (I do this all the
time when I am on the road, and I also access desktops at work from home
this way).

To tunnel via ssh I type something like this on the local machine:

# ssh -L 5900:localhost:5900 remote-machine 'x11vnc -display :0'

and then type in another shell on the local machine:

# vncviewer -encodings "copyrect tight hextile zlib corre" localhost:0

The -encodings option is very important: vncviewer will default to
"raw" encoding if it thinks the connection is to the local machine.
vncviewer gets tricked this way by the ssh redir. "raw" encoding will
be extremely slow over a networked link, so you need to force the issue
with -encodings.

If you "know" port 5900 will be free on remote-machine, you can automate
the above two steps in a shell script by using the x11vnc option -bg
(forks into background after connection to display :0 is set up).

The most recent libvncserver source tarball is available at:

http://libvncserver.sourceforge.net/...-0.6pre.tar.gz

please use that one if you can. Feel free to ask me any questions
that come up.

Karl Runge
 
Reply With Quote
 
Karl Runge
Guest
Posts: n/a

 
      10-13-2003, 01:15 AM
/dev/rob0 <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> In article <BB8CB206.2236%(E-Mail Removed)>, Gonzalo Torres wrote:
> > That's it, i log in through ssh but i don't know how to start krfb to share
> > my home desktop. I don't want to leave a listening port all the time...

>
> I asked for this. You can't. Look it up on bugs.kde.org.
>
> I assume you're root on this machine, and if so, you could block 5900
> with iptables. On mine I didn't care. Sure, I'd *like* to leave it
> closed because that's The Right Thing To Do, but I'm behind a firewall
> and not worried about inside attacks.


Hi, about a year ago I wrote an x0rfbserver/krfb clone (mainly because
of portability and performance problems). It is the x11vnc program in
the contrib section of the libvncserver project:

http://www.sourceforge.net/projects/libvncserver
http://www.karlrunge.com/x11vnc/index.html (additional x11vnc info)

It will allow you to login to a machine via ssh and then redirect the
X11 desktop back to where you happen to be sitting (I do this all the
time when I am on the road, and I also access desktops at work from home
this way).

To tunnel via ssh I type something like this on the local machine:

# ssh -L 5900:localhost:5900 remote-machine 'x11vnc -display :0'

and then type in another shell on the local machine:

# vncviewer -encodings "copyrect tight hextile zlib corre" localhost:0

The -encodings option is very important: vncviewer will default to
"raw" encoding if it thinks the connection is to the local machine.
vncviewer gets tricked this way by the ssh redir. "raw" encoding will
be extremely slow over a networked link, so you need to force the issue
with -encodings.

If you "know" port 5900 will be free on remote-machine, you can automate
the above two steps in a shell script by using the x11vnc option -bg
(forks into background after connection to display :0 is set up).

The most recent libvncserver source tarball is available at:

http://libvncserver.sourceforge.net/...-0.6pre.tar.gz

please use that one if you can. Feel free to ask me any questions
that come up.

Karl Runge
 
Reply With Quote
 
Karl Runge
Guest
Posts: n/a

 
      10-13-2003, 02:11 AM
/dev/rob0 <(E-Mail Removed)> wrote in message news:<(E-Mail Removed)>...
> In article <BB8CB206.2236%(E-Mail Removed)>, Gonzalo Torres wrote:
> > That's it, i log in through ssh but i don't know how to start krfb to share
> > my home desktop. I don't want to leave a listening port all the time...

>
> I asked for this. You can't. Look it up on bugs.kde.org.
>
> I assume you're root on this machine, and if so, you could block 5900
> with iptables. On mine I didn't care. Sure, I'd *like* to leave it
> closed because that's The Right Thing To Do, but I'm behind a firewall
> and not worried about inside attacks.


Hi, about a year ago I wrote an x0rfbserver/krfb clone (mainly because
of portability and performance problems). It is the x11vnc program in
the contrib section of the libvncserver project:

http://www.sourceforge.net/projects/libvncserver
http://www.karlrunge.com/x11vnc/index.html (additional x11vnc info)

It will allow you to login to a machine via ssh and then redirect the
X11 desktop back to where you happen to be sitting (I do this all the
time when I am on the road, and I also access desktops at work from home
this way).

To tunnel via ssh I type something like this on the local machine:

# ssh -L 5900:localhost:5900 remote-machine 'x11vnc -display :0'

and then type in another shell on the local machine:

# vncviewer -encodings "copyrect tight hextile zlib corre" localhost:0

The -encodings option is very important: vncviewer will default to
"raw" encoding if it thinks the connection is to the local machine.
vncviewer gets tricked this way by the ssh redir. "raw" encoding will
be extremely slow over a networked link, so you need to force the issue
with -encodings.

If you "know" port 5900 will be free on remote-machine, you can automate
the above two steps in a shell script by using the x11vnc option -bg
(forks into background after connection to display :0 is set up).

The most recent libvncserver source tarball is available at:

http://libvncserver.sourceforge.net/...-0.6pre.tar.gz

please use that one if you can. Feel free to ask me any questions
that come up.

Karl Runge
 
Reply With Quote
 
 
 
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
VPN tunnel ws. Remote Desktop (Terminal client) ck@vario-software.de Linux Networking 5 08-26-2005 01:01 PM
Terminal Service and Remote Desktop with Win XP, and Win Server 20 =?Utf-8?B?V2lsc29u?= Windows Networking 0 04-01-2005 07:59 PM
Desktop Connection to Terminal Server 2000 antonio Windows Networking 1 09-05-2004 11:29 PM
Problem with Remote desktop connections and terminal server Marco Boccalini Windows Networking 0 05-13-2004 02:43 PM
Terminal to Desktop Secman777 Windows Networking 2 12-29-2003 07:12 PM



1 2 3 4 5 6 7 8 9 10 11