You are not logged in.
I don't want just access to files, I want to be able to actually control this computer from another machine. Thanks.
(From a windows pc)
Last edited by playdafunkimuzic (2009-02-27 21:09:20)
Offline
ssh
There's a page in the wiki. If you want something else, there's a thread somewhere on the forum about remote desktop applications. You can find it with the forum search.
My Arch Linux Stuff • Forum Etiquette • Community Ethos - Arch is not for everyone
Offline
Hm, i mean actually get my desktop to pull up and be able to control it, from even a windows pc
Offline
VNC
It's not very fast, especially over the internet, but it works.
Also if you install an X server on the windows pc, you can forward graphical applications from your arch box to the windows pc over ssh. It's a bit more complicated, but definitely technically superior.
Offline
i do just this, maybe i'll write a wiki when i've got time... here's the main points.
in arch:
install and setup openssh
install x11vnc
in windows:
install putty
under Connection > SSH > Tunnels, tunnel Source: 5900 to Destination: 127.0.0.1:5900
install TightVNC Viewer
use putty to ssh into your arch box and issue this:
x11vnc -nopw -ncache 10 -display :0 -localhost
Open TightVNC and connect to 127.0.0.1
now your tunnelling your vnc traffic through the secure ssh tunnel (secure!) and your vnc server only accepts connection from the local machine (doubly secure!!).
have fun
Last edited by brisbin33 (2009-02-27 21:21:18)
//github/
Offline
x11vnc does the trick. thanks
Offline
Offline
Out of interest, have you lot tried freeNX?
Always found it to be extremely responsive, similar to sitting in front of your pc even via a slow connection (18kbit upstream).
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Does anyone know of a TightVNC equivalent for macosx?
Offline
i use "chicken of the vnc" on my mac; goofie name but it's about the same as Tight and i enjoy it. the default leopard screenshare app used to connect to my x11vnc service but it stopped working and after i got chicken [sweet sentence...] i gave up on trying to fix it.
//github/
Offline
I dislike VNC. I just use X forwarding in SSL. All you need for it to work in Windoze and Mac is an X server (there are some guides out there). For Windows, I use Xming. I see XQuartz is an open-source X server for the Mac. It's a flexible approach, too (have a virtual desktop of the remote machine, or all the remote machine's windows as native windows, etc.).
Last edited by Ranguvar (2009-02-28 22:50:59)
Offline
I'd tunnel X over SSH for this, using a rootless server (programs appear on the desktop rather than in a "X server" window). More integrated with your desktop than some alternatives.
Offline
ssh -X is unbearably slow for me What kind of upstream speed do you need for it to function properly?
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
i have a NAS (running FTP)(internal ip 192.168.0.11) >>ROUTER (internet gateway ip 192.168.0.1)>>my arch machine in external network
how can i access my NAS?
I can never really understand tunneling, is it necessary to forward port in the router or is it not etc etc...just confused
can i ssh into it even though the NAS just runs normal ftp?
Last edited by venky80 (2009-03-01 07:20:20)
Acer Aspire V5-573P Antergos KDE
Offline
can i ssh into it even though the NAS just runs normal ftp?
No. Also, it may be unwise to expose ftp to the world. If, however, you want to do that, you need to forward any port you like on the router to port 21 at 192.168.0.11. Then you just need to connect to your public IP at the specified port.
What kind of NAS is that? I personally run Debian on my NAS and I use SCP to transfer files and an opendns daemon so I do not have to worry about public IP.
Offline
Out of interest, have you lot tried freeNX?
I have used freeNX a few times. Not for any serious work mind you, but only for testing to see if it is any good... Worked for me like a charm though, and was enough fast even with my slow home connection.
Duettaeánn aef cirrán Cáerme Gláeddyv. Yn á esseáth.
Offline
ssh -X is unbearably slow for me What kind of upstream speed do you need for it to function properly?
try
ssh -XC
it enables compression in both ways
Offline
Thanks for the feedback on freeNX - I believe there is a wiki page for it as well so might give it a go.
I tried ssh -XC. On calling up firefox I get "Error: no display specified" and on konqueror I get "konqueror: cannot connect to X server" - meaning I've got some reading to do
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
Thanks for the feedback on freeNX - I believe there is a wiki page for it as well so might give it a go.
I tried ssh -XC. On calling up firefox I get "Error: no display specified" and on konqueror I get "konqueror: cannot connect to X server" - meaning I've got some reading to do
can you forward anything throughssh?
try running xclock over ssh:
xclock
anyways, make sure that there are no xauth errors. (used to be my problem with X and ssh).
if you receive an error wining about locking an authority file. just delete the .Xauthority file in your home directory (on the server). or better yet, rename it:
mv /home/username/.Xauthority /home/username/.Xauthority_backup
then try logging into X over ssh. the .Xauthority file should be automatically written and you should be able to forward X.
of course if that didn't work, you could rename the backup file to it's original name
SIGTERMer
Last edited by SIGTERMer (2009-03-01 11:15:56)
Offline
Thanks for the feedback on freeNX - I believe there is a wiki page for it as well so might give it a go.
I tried ssh -XC. On calling up firefox I get "Error: no display specified" and on konqueror I get "konqueror: cannot connect to X server" - meaning I've got some reading to do
If you can't forward anything , try ssh -XYC .
English is not my native language .
Offline
"ssh -XYC" will do the trick as will doing "xhost +" on the local machine although this is very insecure I guess.
R00KIE
Tm90aGluZyB0byBzZWUgaGVyZSwgbW92ZSBhbG9uZy4K
Offline
No such luck with ssh -XYC
I haven't checked my sshd_config and ssh_config yet - I'll trawl the wiki and start from scratch (you KNOW it makes sense).
I've had nomachineNX working sometime before - wicked, but a pain to set up. So things to look into:
ssh
freeNX
And what in the world is NAS?
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
And what in the world is NAS?
Network Attached Storage. Generally a single-purpose small computer connected to a network that provides storage for other computers on the network. Some hard-drives even have Ethernet functionality built-in.
Bob
Offline
Ta Hrod beraht, wikipedia gave two possible disambiguations...
Got ssh to work, it was my sshd_config file. I must say, the C flag does to wonders to the speed...
Am now attempting freeNX but am having trouble with authentication (using my own keys). Posted here:
http://bbs.archlinux.org/viewtopic.php?id=66415
for all those able/willing to point me and the OP in the right direction
EDIT:
I suppose the holy grail is now how to turn the computer on via the internet. Then you can go off on holiday with the box turned off and switch it on from half way round the world (or your mate's). I've never been able to do that...
Last edited by toad (2009-03-01 21:29:11)
never trust a toad...
::Grateful ArchDonor::
::Grateful Wikipedia Donor::
Offline
I suppose the holy grail is now how to turn the computer on via the internet. Then you can go off on holiday with the box turned off and switch it on from half way round the world (or your mate's). I've never been able to do that...
Ha! That is indeed a very interesting problem. It's actually possible to achieve with WakeOnLan but there are several conditions which have to be met (mostly regarding your router/gateway).
In a nutshell, your router has to be able to forward the "magic packet" to your powered down PC. Some routers can't do that at all (they just drop external broadcast packets), some will mangle it rendering it useless, some have a configuration option for enabling it (hidden in obscure telnet interfaces ) while some just work.
If you have a dynamic IP you also need to know it. Again, some routers can be configured to use services like dyndns.com and bind your dynamic IP to a domain name. Alternatively, you can set one of your computers in the network with a dyndns client and hope you can "catch" the domain in the window of time between the last dyndns update (before the pc is turned off) and the IP change.
And everything is google-able Good luck.
Offline