Re: remote desktop

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sat, 28 Jun 2008 19:59:18 -0700, Craig White wrote:

> On Sun, 2008-06-29 at 02:41 +0000, Amadeus W.M. wrote:
>> What's the standard way of viewing my desktop remotely using a secure/
>> encrypted connection? I imagine I have to use vnc, but is that
>> encrypted? Do I use a ssh tunnel or something? VPN? I need a little
>> direction to get started.
> ----
> I would heavily recommend freenx.
> 
> yum install freenx-server
> 
> the client for Mac/Windows/Linux can be downloaded from nomachine.org
> 
> does everything you want and more.
> 
> Craig

Thanks! I installed the freenx-server on my wife's CentOS 5.1 and 
nxclient on my F9. All works well, even running ssh on a non-standard 
port.

The other way does not work, i.e. with freenx-server on my F9, trying to 
connect from anywhere else. I configure the connection (correctly, as far 
as I can tell), I try to log in, it connects but then gives me an error 
message. I click on details and this is what I see:

NX> 203 NXSSH running with pid: 12720
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.10 on port: 22966
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 2.1.0-72 OS (GPL, using backend: 3.2.0)
NX> 105 hello NXCLIENT - Version 2.1.0
NX> 134 Accepted protocol: 2.1.0
NX> 105 SET SHELL_MODE SHELL
NX> 105 SET AUTH_MODE PASSWORD
NX> 105 login
NX> 101 User: amadeus
NX> 102 Password: 
NX> 103 Welcome to: phoenix user: amadeus
NX> 105 listsession --user="amadeus" --status="suspended,running" --
geometry="1280x1024x24+render" --type="unix-gnome"
NX> 127 Sessions list of user 'amadeus' for reconnect:

Display Type             Session ID                       Options  Depth 
Screen         Status      Session Name
------- ---------------- -------------------------------- -------- ----- 
-------------- ----------- ------------------------------


NX> 148 Server capacity: not reached for user: amadeus

NX> 105 startsession  --link="lan" --backingstore="1" --encryption="1" --
cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --
composite="1" --media="0" --session="phoenix" --type="unix-gnome" --
geometry="1280x999" --client="linux" --keyboard="pc105/us" --
screeninfo="1280x999x24+render" 

NX> 1000 NXNODE - Version 2.1.0-72 OS (GPL, using backend: 3.2.0)
NX> 700 Session id: phoenix-2000-F714BE672D5C932734321B9881A1FB5F
NX> 705 Session display: 2000
NX> 703 Session type: unix-gnome
NX> 701 Proxy cookie: 4dc3e20d9b9422a645165cb91648b6f9
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: 4dc3e20d9b9422a645165cb91648b6f9
NX> 704 Session cache: unix-gnome
NX> 707 SSL tunneling: 1
NX> 1009 Session status: starting
NX> 105 /usr/libexec/nx/nxserver: line 1368: 11567 
Terminated              sleep $AGENT_STARTUP_TIMEOUT
NX> 596 Session startup failed.
NX> 1004 Error: NX Agent exited with exit status 1. To troubleshoot set 
SESSION_LOG_CLEAN=0 in node.conf and investigate "/home/amadeus/.nx/F-C-
phoenix-2000-F714BE672D5C932734321B9881A1FB5F/session". You might also 
want to try: ssh -X myserver; /usr/libexec/nx/nxnode --agent to test the 
basic functionality. Session log follows:
Can't open /var/lib/nxserver/db/running/sessionId
{F714BE672D5C932734321B9881A1FB5F}: No such file or directory.
mv: cannot stat `/var/lib/nxserver/db/running/sessionId
{F714BE672D5C932734321B9881A1FB5F}': No such file or directory
NX> 1006 Session status: closed
NX> 1001 Bye.
NX> 280 Exiting on signal: 15


The session file it's looking for is, as one might guess, in failed:

[root@phoenix ~]# ls /var/lib/nxserver/db/failed/           
sessionId{822CC75021BF3D82F4D48C749AEFEE90}
sessionId{F714BE672D5C932734321B9881A1FB5F}




I'm not running selinux on F9 or any of my machines. I've looked at at 
~/.nx/temp/12707/runlog and I have no idea what might be wrong. It's 
rather long, but I'll post it in case someone is willing to take a look 
at it. Thanks for any help.


[Sun Jun 29 20:47:41 2008]: LoginDialog: login setupGui 1
[Sun Jun 29 20:47:41 2008]: Setting environment variable 'NX_HOME' to '/
home/amadeus'
[Sun Jun 29 20:47:41 2008]: Setting environment variable 'NX_ROOT' to '/
home/amadeus/.nx'
[Sun Jun 29 20:47:41 2008]: Setting environment variable 'NX_SYSTEM' to '/
usr/NX'
[Sun Jun 29 20:47:41 2008]: Setting environment variable 'NX_CLIENT' to '/
usr/NX/bin/nxclient'
[Sun Jun 29 20:47:41 2008]: Trying the XAUTHORITY environment variable 
with value [/home/amadeus/.Xauthority].
[Sun Jun 29 20:47:41 2008]: Utility::getXAuthorityFilePath: /home/
amadeus/.Xauthority
[Sun Jun 29 20:47:41 2008]: Setting environment variable 'XAUTHORITY' to 
'/home/amadeus/.Xauthority'
[Sun Jun 29 20:47:41 2008]: Setting environment variable 
'LD_LIBRARY_PATH' to '/usr/NX/lib:/usr/NX/lib'
[Sun Jun 29 20:47:41 2008]: Setting environment variable 'HOME' to '/home/
amadeus'
[Sun Jun 29 20:47:41 2008]: Setting environment variable 'PATH' to '/usr/
kerberos/bin:/usr/local/bin:/bin:/usr/bin:/usr/NX/bin:/home/amadeus/bin:/
usr/NX/bin:/usr/X/bin:/usr/NX/bin:/usr/X/bin'
[Sun Jun 29 20:47:41 2008]: Setting environment variable 'NX_TEMP' to '/
tmp'
[Sun Jun 29 20:47:41 2008]: Setting environment variable 'TEMP' to '/tmp'
[Sun Jun 29 20:47:41 2008]: Setting environment variable 'NX_VERSION' to 
'3.2.0'
[Sun Jun 29 20:47:41 2008]: Trying to write the ssh key into [/home/
amadeus/.nx/temp/12707/keylog]
[Sun Jun 29 20:47:41 2008]: SSH key file path [/home/amadeus/.nx/
temp/12707/keylog]
[Sun Jun 29 20:47:41 2008]: Running nxssh protocol with version [3.2.0]
[Sun Jun 29 20:47:41 2008]: LoginDialog: startProgressTimer
[Sun Jun 29 20:47:41 2008]: LoginDialog::ShowConnectionStatus code=[240] 
str=[Setting up the environment] error=[0]
[Sun Jun 29 20:47:41 2008]: ProgressDialog::printNxStatus: [Setting up 
the environment]
[Sun Jun 29 20:47:41 2008]: LoginDialog: startProgressTimer
[Sun Jun 29 20:47:41 2008]: Showing progress dialog: Setting up the 
environment
[Sun Jun 29 20:47:41 2008]: Going to get the X authorization cookie on 
display.
[Sun Jun 29 20:47:41 2008]: Trying the XAUTHORITY environment variable 
with value [/home/amadeus/.Xauthority].
[Sun Jun 29 20:47:41 2008]: Running command [xauth -f /home/
amadeus/.Xauthority nextract - :0.0 | cut -f 9 -d ' ' 1>"/home/
amadeus/.nx/temp/12707/authlog" 2>/dev/null].
[Sun Jun 29 20:47:41 2008]: Command run.
[Sun Jun 29 20:47:41 2008]: Got or created the X authorization cookie.
[Sun Jun 29 20:47:41 2008]: Setting environment variable 
'LD_LIBRARY_PATH' to ''
[Sun Jun 29 20:47:41 2008]: Setting environment variable 
'LD_LIBRARY_PATH' to '/usr/NX/lib:/usr/NX/lib'
[Sun Jun 29 20:47:41 2008]: LoginDialog::ShowConnectionStatus code=[241] 
str=[Connecting to 192.168.1.10] error=[0]
[Sun Jun 29 20:47:41 2008]: ProgressDialog::printNxStatus: [Connecting to 
192.168.1.10]
[Sun Jun 29 20:47:41 2008]: LoginDialog::connectHost() nxsshline=/usr/NX/
bin/nxssh -nx -p 22966 -i /home/amadeus/.nx/temp/12707/keylog 
nx@xxxxxxxxxxxx -x -2 -o RhostsAuthentication no -o 
PasswordAuthentication no -o RSAAuthentication no -o 
RhostsRSAAuthentication no -o PubkeyAuthentication yes -B -E
[Sun Jun 29 20:47:41 2008]: Using NX_STDIN flag redirection for [nxssh] 
process
[Sun Jun 29 20:47:41 2008]: Using NX_STDOUT flag redirection for [nxssh] 
process
[Sun Jun 29 20:47:41 2008]: Using NX_STDERR flag redirection for [nxssh] 
process
[Sun Jun 29 20:47:41 2008]: SpawnProcess method has returned [1]
[Sun Jun 29 20:47:41 2008]: Process [nxssh] running with pid [12720]
[Sun Jun 29 20:47:41 2008]: Received line from nxssh process [NX> 203 
NXSSH running with pid: 12720] with code [203]
[Sun Jun 29 20:47:41 2008]: Received code[203]
[Sun Jun 29 20:47:41 2008]: NXProtocol: trying to read ssh pid from 
'12720' - read '12720'
[Sun Jun 29 20:47:41 2008]: Received line from nxssh process [NX> 285 
Enabling check on switch command] with code [285]
[Sun Jun 29 20:47:41 2008]: Received code[285]
[Sun Jun 29 20:47:41 2008]: Received line from nxssh process [NX> 285 
Enabling skip of SSH config files] with code [285]
[Sun Jun 29 20:47:41 2008]: Received code[285]
[Sun Jun 29 20:47:41 2008]: Received line from nxssh process [NX> 285 
Setting the preferred NX options] with code [285]
[Sun Jun 29 20:47:41 2008]: Received code[285]
[Sun Jun 29 20:47:41 2008]: Received line from nxssh process [NX> 200 
Connected to address: 192.168.1.10 on port: 22966] with code [200]
[Sun Jun 29 20:47:41 2008]: Received code[200]
[Sun Jun 29 20:47:41 2008]: Received line from nxssh process [NX> 202 
Authenticating user: nx] with code [202]
[Sun Jun 29 20:47:41 2008]: Received code[202]
[Sun Jun 29 20:47:41 2008]: LoginDialog::ShowConnectionStatus code=[242] 
str=[Connected to 192.168.1.10] error=[0]
[Sun Jun 29 20:47:41 2008]: ProgressDialog::printNxStatus: [Connected to 
192.168.1.10]
[Sun Jun 29 20:47:41 2008]: Received line from nxssh process [NX> 208 
Using auth method: publickey] with code [208]
[Sun Jun 29 20:47:41 2008]: Received code[208]
[Sun Jun 29 20:47:42 2008]: Received line from nxssh process [HELLO 
NXSERVER - Version 2.1.0-72 OS (GPL, using backend: 3.2.0)] with code 
[1000]
[Sun Jun 29 20:47:42 2008]: Received code[1000]
[Sun Jun 29 20:47:42 2008]: Received line from nxssh process [NX> 105] 
with code [105]
[Sun Jun 29 20:47:42 2008]: Received code[105]
[Sun Jun 29 20:47:42 2008]: Received line from nxssh process [hello 
NXCLIENT - Version 2.1.0] with code [-1]
[Sun Jun 29 20:47:42 2008]: Received code[-1]
[Sun Jun 29 20:47:42 2008]: Received line from nxssh process [NX> 134 
Accepted protocol: 2.1.0] with code [134]
[Sun Jun 29 20:47:42 2008]: Received code[134]
[Sun Jun 29 20:47:42 2008]: Received line from nxssh process [NX> 105 SET 
SHELL_MODE SHELL] with code [105]
[Sun Jun 29 20:47:42 2008]: Received code[105]
[Sun Jun 29 20:47:42 2008]: Received line from nxssh process [NX> 105 SET 
AUTH_MODE PASSWORD] with code [105]
[Sun Jun 29 20:47:42 2008]: Received code[105]
[Sun Jun 29 20:47:42 2008]: Received line from nxssh process [NX> 105 
login] with code [105]
[Sun Jun 29 20:47:42 2008]: Received code[105]
[Sun Jun 29 20:47:42 2008]: Received line from nxssh process [NX> 101 
User:] with code [101]
[Sun Jun 29 20:47:42 2008]: Received code[101]
[Sun Jun 29 20:47:42 2008]: LoginDialog::ShowConnectionStatus code=[243] 
str=[Waiting authentication] error=[0]
[Sun Jun 29 20:47:42 2008]: ProgressDialog::printNxStatus: [Waiting 
authentication]
[Sun Jun 29 20:47:42 2008]: Received line from nxssh process [amadeus] 
with code [-1]
[Sun Jun 29 20:47:42 2008]: Received code[-1]
[Sun Jun 29 20:47:42 2008]: Received line from nxssh process [NX> 102 
Password:] with code [102]
[Sun Jun 29 20:47:42 2008]: Received code[102]
[Sun Jun 29 20:47:42 2008]: Received line from nxssh process [] with code 
[-1]
[Sun Jun 29 20:47:42 2008]: Received code[-1]
[Sun Jun 29 20:47:43 2008]: Received line from nxssh process [NX> 103 
Welcome to: phoenix user: amadeus] with code [103]
[Sun Jun 29 20:47:43 2008]: Received code[103]
[Sun Jun 29 20:47:43 2008]: LoginDialog::ShowConnectionStatus code=[244] 
str=[Authentication completed] error=[0]
[Sun Jun 29 20:47:43 2008]: ProgressDialog::printNxStatus: 
[Authentication completed]
[Sun Jun 29 20:47:43 2008]: Settings::flush
[Sun Jun 29 20:47:43 2008]: Settings::flush
[Sun Jun 29 20:47:43 2008]: LoginDialog: runningInExistingProxy called
[Sun Jun 29 20:47:43 2008]: LoginDialog: customUnixSession is [0], 
virtualDesktop is [0]
[Sun Jun 29 20:47:43 2008]: LoginDialog: runningInExistingProxy returns 
sessionID = []
[Sun Jun 29 20:47:43 2008]: Received line from nxssh process [NX> 105] 
with code [105]
[Sun Jun 29 20:47:43 2008]: Received code[105]
[Sun Jun 29 20:47:43 2008]: Received line from nxssh process [listsession 
--user="amadeus" --status="suspended,running" --geometry="1280x1024x24
+render" --type="unix-gnome"] with code [-1]
[Sun Jun 29 20:47:43 2008]: Received code[-1]
[Sun Jun 29 20:47:43 2008]: Received line from nxssh process [NX> 127 
Sessions list of user 'amadeus' for reconnect:] with code [127]
[Sun Jun 29 20:47:43 2008]: Received code[127]
[Sun Jun 29 20:47:43 2008]: LoginDialog::ShowConnectionStatus code=[285] 
str=[Downloading the session information] error=[0]
[Sun Jun 29 20:47:43 2008]: ProgressDialog::printNxStatus: [Downloading 
the session information]
[Sun Jun 29 20:47:43 2008]: Received line from nxssh process [] with code 
[-1]
[Sun Jun 29 20:47:43 2008]: Received code[-1]
[Sun Jun 29 20:47:43 2008]: Received line from nxssh process [Display 
Type             Session ID                       Options  Depth 
Screen         Status      Session Name] with code [-1]
[Sun Jun 29 20:47:43 2008]: Received code[-1]
[Sun Jun 29 20:47:43 2008]: Received line from nxssh process [------- 
---------------- -------------------------------- -------- ----- 
-------------- ----------- ------------------------------] with code [-1]
[Sun Jun 29 20:47:43 2008]: Received code[-1]
[Sun Jun 29 20:47:43 2008]: Received line from nxssh process [] with code 
[-1]
[Sun Jun 29 20:47:43 2008]: Received code[-1]
[Sun Jun 29 20:47:43 2008]: Received line from nxssh process [] with code 
[-1]
[Sun Jun 29 20:47:43 2008]: Received code[-1]
[Sun Jun 29 20:47:43 2008]: Received line from nxssh process [NX> 148 
Server capacity: not reached for user: amadeus] with code [148]
[Sun Jun 29 20:47:43 2008]: Received code[148]
[Sun Jun 29 20:47:43 2008]: LoginDialog: runningInExistingProxy called
[Sun Jun 29 20:47:43 2008]: LoginDialog: customUnixSession is [0], 
virtualDesktop is [0]
[Sun Jun 29 20:47:43 2008]: LoginDialog: runningInExistingProxy returns 
sessionID = []
[Sun Jun 29 20:47:43 2008]: LoginDialog: SlotListSessionMode: 
autoReconnect[0] settings->isAutomaticReconnect[1]
[Sun Jun 29 20:47:43 2008]: LoginDialog::createNewSession
[Sun Jun 29 20:47:43 2008]: Session name passed to 
LoginDialog::createStartSessionString is []
[Sun Jun 29 20:47:43 2008]: Parameters passed to NX server [  --
link="lan" --backingstore="1" --encryption="1" --cache="16M" --
images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --
media="0" --session="phoenix" --type="unix-gnome" --geometry="1280x999" --
client="linux" --keyboard="pc105/us"
]
[Sun Jun 29 20:47:43 2008]: Start automatically the session with the 
parameters [startsession  --link="lan" --backingstore="1" --
encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --
strict="0" --composite="1" --media="0" --session="phoenix" --type="unix-
gnome" --geometry="1280x999" --client="linux" --keyboard="pc105/us" --
screeninfo="1280x999x24+render"
]
[Sun Jun 29 20:47:43 2008]: Received line from nxssh process [NX> 105] 
with code [105]
[Sun Jun 29 20:47:43 2008]: Received code[105]
[Sun Jun 29 20:47:45 2008]: Received line from nxssh process 
[startsession  --link="lan" --backingstore="1" --encryption="1" --
cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --
composite="1" --media="0" --session="phoenix" --type="unix-gnome" --
geometry="1280x999" --client="linux" --keyboard="pc105/us" --
screeninfo="1280x999x24+render"] with code [-1]
[Sun Jun 29 20:47:45 2008]: Received code[-1]
[Sun Jun 29 20:47:45 2008]: Received line from nxssh process [] with code 
[-1]
[Sun Jun 29 20:47:45 2008]: Received code[-1]
[Sun Jun 29 20:47:46 2008]: Received line from nxssh process [NX> 1000 
NXNODE - Version 2.1.0-72 OS (GPL, using backend: 3.2.0)] with code [1000]
[Sun Jun 29 20:47:46 2008]: Received code[1000]
[Sun Jun 29 20:47:46 2008]: Received line from nxssh process [NX> 700 
Session id: phoenix-2000-F714BE672D5C932734321B9881A1FB5F] with code [700]
[Sun Jun 29 20:47:46 2008]: Received code[700]
[Sun Jun 29 20:47:46 2008]: Cleaning the all protocol flags
[Sun Jun 29 20:47:46 2008]: Received line from nxssh process [NX> 705 
Session display: 2000] with code [705]
[Sun Jun 29 20:47:46 2008]: Received code[705]
[Sun Jun 29 20:47:46 2008]: Received line from nxssh process [NX> 703 
Session type: unix-gnome] with code [703]
[Sun Jun 29 20:47:46 2008]: Received code[703]
[Sun Jun 29 20:47:46 2008]: Received line from nxssh process [NX> 701 
Proxy cookie: 4dc3e20d9b9422a645165cb91648b6f9] with code [701]
[Sun Jun 29 20:47:46 2008]: Received code[701]
[Sun Jun 29 20:47:46 2008]: Received line from nxssh process [NX> 702 
Proxy IP: 127.0.0.1] with code [702]
[Sun Jun 29 20:47:46 2008]: Received code[702]
[Sun Jun 29 20:47:46 2008]: Received line from nxssh process [NX> 706 
Agent cookie: 4dc3e20d9b9422a645165cb91648b6f9] with code [706]
[Sun Jun 29 20:47:46 2008]: Received code[706]
[Sun Jun 29 20:47:46 2008]: Received line from nxssh process [NX> 704 
Session cache: unix-gnome] with code [704]
[Sun Jun 29 20:47:46 2008]: Received code[704]
[Sun Jun 29 20:47:46 2008]: Received line from nxssh process [NX> 707 SSL 
tunneling: 1] with code [707]
[Sun Jun 29 20:47:46 2008]: Received code[707]
[Sun Jun 29 20:47:46 2008]: Received line from nxssh process [NX> 1009 
Session status: starting] with code [1009]
[Sun Jun 29 20:47:46 2008]: Received code[1009]
[Sun Jun 29 20:47:47 2008]: Received line from nxssh process [NX> 105 /
usr/libexec/nx/nxserver: line 1368: 11567 Terminated              sleep 
$AGENT_STARTUP_TIMEOUT] with code [105]
[Sun Jun 29 20:47:47 2008]: Received code[105]
[Sun Jun 29 20:47:47 2008]: Received line from nxssh process [NX> 596 
Session startup failed.] with code [596]
[Sun Jun 29 20:47:47 2008]: Received code[596]
[Sun Jun 29 20:47:47 2008]: Error is [Session startup failed]
[Sun Jun 29 20:47:47 2008]: messageError: [Session startup failed]
[Sun Jun 29 20:47:47 2008]: printFatalError [Session startup failed]
[Sun Jun 29 20:47:47 2008]: KillAllComponents 0xa29d5c0
[Sun Jun 29 20:47:47 2008]: LoginDialog: stopAllTimers
[Sun Jun 29 20:47:47 2008]: LoginDialog: stopProgressTimer
[Sun Jun 29 20:47:47 2008]: LoginDialog::killAllComponents() stopping 
NXProtoSSH
[Sun Jun 29 20:47:47 2008]: StopConnection called
[Sun Jun 29 20:47:47 2008]: nxssh closing
[Sun Jun 29 20:47:47 2008]: StopConnection called
[Sun Jun 29 20:47:47 2008]: NXProcessUnix::StopProcess process [nxssh] 
with pid [12720]
[Sun Jun 29 20:47:47 2008]: end of killAllComponents
[Sun Jun 29 20:47:47 2008]: LoginDialog::ShowConnectionStatus code=[268] 
str=[Session startup failed] error=[1]
[Sun Jun 29 20:47:47 2008]: ProgressDialog::printNxStatus: [Session 
startup failed]
[Sun Jun 29 20:47:47 2008]: Logfile path [/home/amadeus/.nx/temp/12707/
sshlog] exists.
[Sun Jun 29 20:47:47 2008]: StopConnection called
[Sun Jun 29 20:47:47 2008]: nxssh closing
[Sun Jun 29 20:47:47 2008]: StopConnection called






-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux