I'm playing around with the remote desktop thingy and I was wondering how I can connect to my house if I didn't set this up already at home? Is there a command I can do via ssh? Also, is this the same thing as vnc? -- Tom Nielsen Neuro Logic Systems, Inc. 1.805.389.5435 x18 www.neuro-logic.com
It's vnc based. You can configure the Remote Desktop to allways allow connections. I forget where since I only played with it, I use VNC to remote into servers, so I shutdown thier console GUI's Jerry On Mon, 2004-08-23 at 23:11, Tom Nielsen wrote:
I'm playing around with the remote desktop thingy and I was wondering how I can connect to my house if I didn't set this up already at home? Is there a command I can do via ssh? Also, is this the same thing as vnc? -- Tom Nielsen Neuro Logic Systems, Inc. 1.805.389.5435 x18 www.neuro-logic.com
Op maandag 23 augustus 2004 23:26, schreef Jerome R. Westrick:
You can configure the Remote Desktop to allways allow connections. I forget where since I only played with it, I use VNC to remote into servers, so I shutdown thier console GUI's
Jerry
On Mon, 2004-08-23 at 23:11, Tom Nielsen wrote:
I'm playing around with the remote desktop thingy and I was wondering how I can connect to my house if I didn't set this up already at home? Is there a command I can do via ssh? Also, is this the same thing as vnc?
Have a look at xf4vnc(.sourceforge.net) BTW: do you mean krdc? In this case you need to have Xvncserver (see above) running indeed. -- Richard Bos Without a home the journey is endless
On Monday 23 August 2004 23:11, Tom Nielsen wrote:
I'm playing around with the remote desktop thingy and I was wondering how I can connect to my house if I didn't set this up already at home? Is there a command I can do via ssh?
Yes, assuming kde is running at home. create a file /home/tom/.kde/share/config/krfbrc with the contents allowDesktopControl=true allowUninvited=true confirmUninvitedConnection=false disableBackground=false disableXShm=false enableSLP=true preferredPort=-1 [invitations] invitation_num=0 then as user tom, run dcop kded kinetd setEnabled krfb true in your router you then need to forward port 5900 to your desktop machine. Note that this will allow you to log in without a password, so you probably want to be restrictive about which IP addresses you allow in. You can also enable remote logins on your machine at work with a password and then copy krfbrc from your work machine to your home machine. That will get you the encrypted password in the config file You can then log in using either kde's remote desktop client or vncviewer
Also, is this the same thing as vnc?
at the moment, KDE's remote desktop is VNC. There is work going on to use nomachine's NX technology which looks pretty cool
On Monday 23 August 2004 2:32 pm, Anders Johansson wrote:
On Monday 23 August 2004 23:11, Tom Nielsen wrote:
I'm playing around with the remote desktop thingy and I was wondering how I can connect to my house if I didn't set this up already at home? Is there a command I can do via ssh?
Yes, assuming kde is running at home.
create a file /home/tom/.kde/share/config/krfbrc with the contents
allowDesktopControl=true allowUninvited=true confirmUninvitedConnection=false disableBackground=false disableXShm=false enableSLP=true preferredPort=-1
[invitations] invitation_num=0
then as user tom, run
dcop kded kinetd setEnabled krfb true
in your router you then need to forward port 5900 to your desktop machine. Note that this will allow you to log in without a password, so you probably want to be restrictive about which IP addresses you allow in. You can also enable remote logins on your machine at work with a password and then copy krfbrc from your work machine to your home machine. That will get you the encrypted password in the config file
You can then log in using either kde's remote desktop client or vncviewer
Also, is this the same thing as vnc?
at the moment, KDE's remote desktop is VNC. There is work going on to use nomachine's NX technology which looks pretty cool
Help me out here a second. Given I setup the ports correctly at home, and since this is vnc-based, couldn't I start my vncserver at home then use remote desktop from work and accomplish the same thing? I'm not questioning you, as I'm sure you're aware, but just wondering. Tom -- Tom Nielsen Neuro Logic Systems, Inc. 1.805.389.5435 x18 www.neuro-logic.com
On Monday 23 August 2004 23:46, Tom Nielsen wrote:
Help me out here a second. Given I setup the ports correctly at home, and since this is vnc-based, couldn't I start my vncserver at home then use remote desktop from work and accomplish the same thing? I'm not questioning you, as I'm sure you're aware, but just wondering.
Sure, your question was about the kde remote desktop, but of course the vncserver program could be used as well
On Monday 23 August 2004 2:32 pm, Anders Johansson wrote:
create a file /home/tom/.kde/share/config/krfbrc with the contents
allowDesktopControl=true allowUninvited=true confirmUninvitedConnection=false disableBackground=false disableXShm=false enableSLP=true preferredPort=-1
[invitations] invitation_num=0
then as user tom, run
dcop kded kinetd setEnabled krfb true Done! Here's what happened...
Tom@linux:~/.kde/share/config> dcop kded kinetd setEnabled krfb true ERROR: Couldn't attach to DCOP server! I don't even know what a DCOP server is. -- Tom Nielsen Neuro Logic Systems, Inc. 1.805.389.5435 x18 www.neuro-logic.com
On Monday 23 August 2004 23:55, Tom Nielsen wrote:
Tom@linux:~/.kde/share/config> dcop kded kinetd setEnabled krfb true ERROR: Couldn't attach to DCOP server!
I don't even know what a DCOP server is.
A server used by kde for interprocess communication The error basically says that KDE isn't running on the machine, at least not as user Tom
On Monday 23 August 2004 3:01 pm, Anders Johansson wrote:
On Monday 23 August 2004 23:55, Tom Nielsen wrote:
Tom@linux:~/.kde/share/config> dcop kded kinetd setEnabled krfb true ERROR: Couldn't attach to DCOP server!
I don't even know what a DCOP server is.
A server used by kde for interprocess communication
The error basically says that KDE isn't running on the machine, at least not as user Tom ya it is. I was using it this morning....and I only use kde. Could it have something to do with the way I'm logged in?
-- Tom Nielsen Neuro Logic Systems, Inc. 1.805.389.5435 x18 www.neuro-logic.com
On Tuesday 24 August 2004 00:01, Anders Johansson wrote:
On Monday 23 August 2004 23:55, Tom Nielsen wrote:
Tom@linux:~/.kde/share/config> dcop kded kinetd setEnabled krfb true ERROR: Couldn't attach to DCOP server!
I don't even know what a DCOP server is.
A server used by kde for interprocess communication
The error basically says that KDE isn't running on the machine, at least not as user Tom
oops, I forgot to mention that before you run the dcop command you need to run export DISPLAY=:0.0 if you get the error above while kde is really running, this might be a reason
On Monday 23 August 2004 3:09 pm, Anders Johansson wrote:
oops, I forgot to mention that before you run the dcop command you need to run
export DISPLAY=:0.0
if you get the error above while kde is really running, this might be a reason
Ahhh, now it comes out.....it's not my fault. Always blame the newbie. ;-) -- Tom Nielsen Neuro Logic Systems, Inc. 1.805.389.5435 x18 www.neuro-logic.com
On Monday 23 August 2004 3:09 pm, Anders Johansson wrote:
On Tuesday 24 August 2004 00:01, Anders Johansson wrote:
On Monday 23 August 2004 23:55, Tom Nielsen wrote:
Tom@linux:~/.kde/share/config> dcop kded kinetd setEnabled krfb true ERROR: Couldn't attach to DCOP server!
I don't even know what a DCOP server is.
A server used by kde for interprocess communication
The error basically says that KDE isn't running on the machine, at least not as user Tom
oops, I forgot to mention that before you run the dcop command you need to run
export DISPLAY=:0.0
if you get the error above while kde is really running, this might be a reason That worked! Gee your smart!
How do I get the background turned off? I tried disableBackground=true, but I guess that didn't work. -- Tom Nielsen Neuro Logic Systems, Inc. 1.805.389.5435 x18 www.neuro-logic.com
On Tuesday 24 August 2004 00:26, Tom Nielsen wrote:
How do I get the background turned off? I tried disableBackground=true, but I guess that didn't work.
It should. Did you restart krfb? dcop kded kinetd setEnabled krfb false dcop kded kinetd setEnabled krfb true
On Monday 23 August 2004 3:53 pm, Anders Johansson wrote:
On Tuesday 24 August 2004 00:26, Tom Nielsen wrote:
How do I get the background turned off? I tried disableBackground=true, but I guess that didn't work.
It should. Did you restart krfb?
dcop kded kinetd setEnabled krfb false dcop kded kinetd setEnabled krfb true
I did the above and it's still there. Do I have to run dcop.... every time I want to start this? -- Tom Nielsen Neuro Logic Systems, Inc. 1.805.389.5435 x18 www.neuro-logic.com
On Tuesday 24 August 2004 01:12, Tom Nielsen wrote:
On Monday 23 August 2004 3:53 pm, Anders Johansson wrote:
On Tuesday 24 August 2004 00:26, Tom Nielsen wrote:
How do I get the background turned off? I tried disableBackground=true, but I guess that didn't work.
It should. Did you restart krfb?
dcop kded kinetd setEnabled krfb false dcop kded kinetd setEnabled krfb true
I did the above and it's still there.
hm, ok, then I'm not sure
Do I have to run dcop.... every time I want to start this?
only if you turn it off in between. You do need to restart it every time you want to change some setting, but if you leave it running it will stay running as long as kde is running on the machine. The way I had it configured in my example file it will also launch automatically when kde starts
On Monday 23 August 2004 4:19 pm, Anders Johansson wrote: Anders - I guess I deleted the last couple posts regarding this topic so that's why they aren't included. I ran the local version of Remote Desktop configuration on my work machine then copied it to home. I then tried to connect and got a message saying connection failed, no service found. I then stopped and restarted the command you gave me and tried again. I got a message saying authenticating and then it timed out with the no service found message. I had to head home after that, but when I got home I found I had a request on my desktop asking me if I wanted to accept the incoming connection. I declined and moved on. Unfortunately I didn't set it up while I was at home. I tried again today and got the same issues. Any thoughts? -- Tom Nielsen Neuro Logic Systems, Inc. 1.805.389.5435 x18 www.neuro-logic.com
On Tuesday 24 August 2004 17:23, Tom Nielsen wrote:
On Monday 23 August 2004 4:19 pm, Anders Johansson wrote: Anders - I guess I deleted the last couple posts regarding this topic so that's why they aren't included.
I ran the local version of Remote Desktop configuration on my work machine then copied it to home. I then tried to connect and got a message saying connection failed, no service found. I then stopped and restarted the command you gave me and tried again. I got a message saying authenticating and then it timed out with the no service found message. I had to head home after that, but when I got home I found I had a request on my desktop asking me if I wanted to accept the incoming connection. I declined and moved on. Unfortunately I didn't set it up while I was at home. I tried again today and got the same issues.
Any thoughts?
Yes, when you set it up on your computer at work you didn't uncheck the option "Confirm uninvited connections before accepting". When that option is checked, a local user must be present to click "Accept" before the connection is established, and since there is no local user at home, that's not a very good idea
On Tuesday 24 August 2004 8:26 am, Anders Johansson wrote:
Yes, when you set it up on your computer at work you didn't uncheck the option "Confirm uninvited connections before accepting". When that option is checked, a local user must be present to click "Accept" before the connection is established, and since there is no local user at home, that's not a very good idea Ya, ya....I just noticed that after I sent the email. Darn it! I changed that, copied it over, restarted, and tried again. I think the problem is now that I have a window open at home asking me if I want to accept the connection because I can't connect now. I guess I'll wait until lunch to go home and cancel that. Nuts!
Thanks -- Tom Nielsen Neuro Logic Systems, Inc. 1.805.389.5435 x18 www.neuro-logic.com
On Monday 23 August 2004 2:32 pm, Anders Johansson wrote:
You can also enable remote logins on your machine at work with a password and then copy krfbrc from your work machine to your home machine. That will get you the encrypted password in the config file can you offer a step-by-step for this? Or, how do I setup a password at home for this?
BTW. I reduced the quality of the images (speed actually) and it works a lot faster. I'd still like to get rid of the background. -- Tom Nielsen Neuro Logic Systems, Inc. 1.805.389.5435 x18 www.neuro-logic.com
On Tuesday 24 August 2004 00:43, Tom Nielsen wrote:
On Monday 23 August 2004 2:32 pm, Anders Johansson wrote:
You can also enable remote logins on your machine at work with a password and then copy krfbrc from your work machine to your home machine. That will get you the encrypted password in the config file
can you offer a step-by-step for this?
On your machine at work, open kde's control center, go to Internet&Network->Desktop sharing and set up everything the way you like to have it at home, including password, then "Apply". That will get you a krfbrc file at work including encrypted password. Then just transfer it to your machine at home, using sftp or something, restart krfb, and you're done
Or, how do I setup a password at home for this?
I don't know what method they use for hashing or encrypting the password, so I couldn't say how to do it directly with the config file
On Monday 23 August 2004 3:56 pm, Anders Johansson wrote:
can you offer a step-by-step for this?
On your machine at work, open kde's control center, go to Internet&Network->Desktop sharing and set up everything the way you like to have it at home, including password, then "Apply". That will get you a krfbrc file at work including encrypted password. Then just transfer it to your machine at home, using sftp or something, restart krfb, and you're done Cool! Thanks! -- Tom Nielsen Neuro Logic Systems, Inc. 1.805.389.5435 x18 www.neuro-logic.com
participants (4)
-
Anders Johansson
-
Jerome R. Westrick
-
Richard Bos
-
Tom Nielsen