You are not logged in.
Hi I am wondering how to remotely control my networked Arch box from my Arch box. I have SSH set up just fine, but if I want to control it fully like a fluxbox sessino or something (like Remote Desktop in XP for example) how to do that? For example currently I have my Arch, 2nd arch, and XP box on my home network. I have rdesktop set up to browse XP just fine, remembers user/pass and with one shortcut I can bring up the XP box. I would like this with the Arch box.
TIA
Offline
Give what you have. To someone, it may be better than you dare to think.
Offline
Thanks wonder, but I got very confused at this part:
Transferring nx keys to an other freenx server:
* /opt/NX/home/nx/.ssh contains the key files
-rw------- 1 nx root 697 9. Okt 12:55 authorized_keys
-rw------- 1 nx root 668 9. Okt 11:48 client.id_dsa.key
-rw------- 1 nx root 609 9. Okt 12:55 server.id_dsa.pub.key* Save those files.
* Add those files to your new server, they need the same permissions, names, group and directory!# cp authorized_keys client.id_dsa.key server.id_dsa.pub.key /opt/NX/home/nx/.ssh/
# chmod 600 /opt/NX/home/nx/.ssh/*
# chown nx /opt/NX/home/nx/.ssh/*
# chgrp root /opt/NX/home/nx/.ssh/** Recreate known_hosts file:
# echo -n 127.0.0.1 > /opt/NX/home/nx/.ssh/known_hosts
# cat /etc/ssh/ssh_host_rsa_key.pub >> /opt/NX/home/nx/.ssh/known_hosts
# chmod 633 /opt/NX/home/nx/.ssh/known_hosts
# chown nx /opt/NX/home/nx/.ssh/known_hosts
# chgrp root /opt/NX/home/nx/.ssh/known_hosts
When I tried to
cd /opt/NX/home/nx/.ssh
I have no folder. And trying to cd to /opt/NX/home/nx gives me permission denied, even as root. :?
Offline
VNC isn't secure at all. Use NX (ore remote X over SSH, but NX is faster). Dunno xpra, seems like screen
Offline
FreeNX is sweet! BUT so far as iknow you have to use KDE/Gnome, havent gotten it to work in *BOX yet, and have been unable to gather any tips og info from the community.
Unyttig.INFO - Your source to not so useless information
My github - Various configs, dotfiles and nifty scripts
Offline
Why isn't VNC secure? I'm worried because it's the one I use. To be precise I use:
x11vnc -usepw
on the server side, and vncviewer as a client.
Have you Syued today?
Free music for free people! | Earthlings
"Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away." -- A. de Saint-Exupery
Offline
FreeNX is sweet! BUT so far as iknow you have to use KDE/Gnome, havent gotten it to work in *BOX yet, and have been unable to gather any tips og info from the community.
This got me intrigued. I plan to install Arch for my mother-in-law, but since we live in different countries I thought of setting up FreeNX. Have you tested XFCE4? On what side does the problem arise? Server? Client? Both?
Offline
i havent been able to get a working picture. when establishing or trying to draw desktop the client crashes. So im guessing its mostly client side problem.
But if anyone have been able to setup freenx on *BOX let me know how.
Last edited by serrghi (2008-04-02 13:10:45)
Unyttig.INFO - Your source to not so useless information
My github - Various configs, dotfiles and nifty scripts
Offline
I tested successfully FreeNX on Gnome, XFCE4, FluxBox and E17. It works. You need to specify which command you want to use to initiate the window manager if it is not Gnome, KDE or CDE (for example for FluxBox, in the configuration window, General > Desktop choose Unix - Custom, then click on Settings..., Application > Run the following command "/usr/bin/startfluxbox", Options > Floating window - [ ] Disable X agent encoding).
Offline
Hey guys can anyone help with my post #3 above I can't get past that part, I really want to try FreeNX!!!
Offline
you don't need to make this step. skip it . this step is only when you want to transfer your keys to another freenx server
Give what you have. To someone, it may be better than you dare to think.
Offline
Thanks wonder
Okay I run nxclient from my box, the IP and everything is set, I get past the connecting dialog and then a quick flash of a window, disappears, can't even see what it's showing and nxclient closes. I run nxclient from terminal but it doesn't give any input.
I'm trying to connect to a fluxbox machine from my fluxbox machine. I did as kezar has posted above, but I can't get it to connect
Offline
Is there a log ? (error window from FreeNX with a details button, .xsessionerrors or something else ?)
Offline
you have configured your DE? under the client, configure, general tab and you'll see Desktop.
Give what you have. To someone, it may be better than you dare to think.
Offline
Hmm I'm trying to find a log of some kind. I went to ~/.nx/ and found a folder that appears to be a log folder of my session (or attempt at one). Here's some output:
~/.nx/S-mythbox-1000-0D84FC08943752D82304BCDA65225150 # cat errors
Loop: WARNING! Disabling NX delta compression.
Loop: WARNING! Disabling use of NX persistent cache.
Loop: WARNING! Unrecognized session type 'unix-desktop'. Assuming agent session.
~/.nx/S-mythbox-1000-0D84FC08943752D82304BCDA65225150 #
More
~/.nx/S-mythbox-1000-0D84FC08943752D82304BCDA65225150 # cat session
NXPROXY - Version 3.1.0
Copyright (C) 2001, 2007 NoMachine.
See http://www.nomachine.com/ for more information.
Info: Proxy running in client mode with pid '18130'.
Session: Starting session at 'Wed Apr 2 15:51:58 2008'.
Info: Connection with remote proxy completed.
Warning: Unrecognized session type 'unix-desktop'. Assuming agent session.
Info: Using LAN link parameters 1536/24/1/0.
Info: Using pack method 'adaptive-9' with session 'unix-desktop'.
Info: Not using NX delta compression.
Info: Not using ZLIB data compression.
Info: Not using ZLIB stream compression.
Info: Not using a persistent cache.
Info: Forwarding X11 connections to display ':0.0'.
Info: Listening to font server connections on port '11000'.
Session: Session started at 'Wed Apr 2 15:51:58 2008'.
Info: Established X server connection.
Info: Using shared memory parameters 1/2048K.
~/.nx/S-mythbox-1000-0D84FC08943752D82304BCDA65225150 #
Yes in the Configure General I have: Desktop>Unix-Custom, and in Settings I have: Run the following command: /usr/bin/startfluxbox, and Options I have Floating Window and Disable X agent encoding checked.
Offline
BTW, I have done no editing to the /opt/NX/etc/node.conf file on my server, there was no mention of adjustments in the Wiki. Mine is the default one.
Last edited by colbert (2008-04-02 19:59:58)
Offline
Why isn't VNC secure? I'm worried because it's the one I use. To be precise I use:
x11vnc -usepw
on the server side, and vncviewer as a client.
I believe it's because vnc isn't encrypted. Although, I think you can run it over ssh and be fine. I have no experience with the others though. I use vnc at work, and it's fine, not always the fastest, but works.
@all, If your that worried about your traffic being sniffed on a home network... I think you have other things to worry about first. Of course, I'd never run it over the interwebs.
Last edited by Sjoden (2008-04-02 20:59:18)
Offline
Hey guys I am quite lost now, I just came home and got a dialog box that said NX server connection lost, this is on my remote machine I want to connect to, not the server. I hit OK and now bring nxclient, try to connect and it says no route to host. I don't understand how to begin the freenx server on the server. I tried running /opt/NX/bin/nxserver but it just asks me to change password.
Sorry I'm really new at this aspect
P.S. Running the nxclient outputs this in shell:
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
Last edited by colbert (2008-04-03 19:21:49)
Offline
There is no need to start anything.
Read http://wiki.archlinux.org/index.php/FreeNX
You need to authorize hosts and open ports on your firewall.
Offline
I have ssh already in hosts.allow, and I don't have any firewalls running.
I am now getting this error when trying to connect with nxclient:
NX> 203 NXSSH running with pid: 7652
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 192.168.1.100 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
shell-init: error retrieving current directory: getcwd: cannot access parent directories: No such file or directory
NX> 280 Exiting on signal: 15
Offline
Seems that a directory is missing. Has your user a homedir ? Are you using a chroot ?
Offline
I'm not using chroot. It's a base arch install with one user, has a working home dir. I have tried a bunch of things now, even removed /opt/NX and reinstalled freenx on the server. I just can't get this to work
I keep getting this now from nxclient:
NX> 203 NXSSH running with pid: 10062
NX> 285 Enabling check on switch command
NX> 285 Enabling skip of SSH config files
NX> 285 Setting the preferred NX options
NX> 200 Connected to address: 192.168.1.100 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
NX> 204 Authentication failed.
With a dialog saying NX server not available or access disabled on host 192.168.1.100. But then I tried:
sudo /opt/NX/bin/nxserver --start
And it says the service is already running.
Last edited by colbert (2008-04-03 22:51:45)
Offline
Ack, now I'm getting this trying to nxclient
And no matter what I select (/opt/NX, /opt/NX/bin, etc.) it won't let me run it!
Offline
Are you in the nx group ?
Offline