LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 06-18-2012, 10:02 AM   #1
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 666

Rep: Reputation: 39
existing nx connection does not show up in


hello everyone,
I had started an nx session on friday and disconnected from it so i would log on again in the future. well the future is today and i wanted to connect to my existing session, but instead I got greeted by a freshly new session (that doesn't have my settings, wallpapers etcetc).
I check with ps and the former connection is still alive:
Quote:
nass 28202 0.1 0.6 123664 55100 ? S Jun15 6:34 /usr/lib64/NX/nxagent -persistent -D -name NX - nass@stargaze:1022 - stargaze (GPL Edition) -option /home/nass/.nx/C-stargaze-1022-BCC181885279AE18F98E649D95FD576C/options -keyboard pc102/en_US -geometry 1274x772 -nolisten tcp :1022
but this connection does not show up in nx-admin client window

any clues as to how to get that session back?

nass
 
Old 06-18-2012, 02:51 PM   #2
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,098

Rep: Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175Reputation: 4175
I think this can happen mainly for two reasons:
- the client from which you are tring to connect from is a different one and doesn't support the resolution of session;
- the session for some reason isn't active anymore.

you can check on the server using the command
Code:
nxserver --list nass
but I have also to warn you that here I'm not using persistent sessions, because I find them a little buggy.
 
Old 06-18-2012, 04:03 PM   #3
nass
Member
 
Registered: Apr 2006
Location: Athens, Greece
Distribution: slackware, debian, ubuntu
Posts: 666

Original Poster
Rep: Reputation: 39
i guess the answer lies in buggy, but sometimes it is needed....

the command actually returned some completely different session!
Quote:
root@stargaze:~# nxserver --list nass
NX> 100 NXSERVER - Version 3.2.0-73 OS (GPL, using backend: 3.5.0)
NX> 127 Sessions list of user 'nass'

Server Display Username Remote IP Session ID
------ ------- --------------- --------------- --------------------------------
127.0.0.1 1020 nass 192.168.112.164 133BEB4F1E5147164DD51EB0A68FA187
NX> 999 Bye
this is a completely different session (i was hoping to see the session with display 1022)...

the funny thing is I connect in a display # 1023 for the new sessions that i get, but when i try to start firefox , it complains that it is already running....
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NetworkManager doesn't show existing wireless networks Peterius Debian 12 01-16-2011 04:53 PM
installing ndiswrapper without pre-existing wired connection rybnik Linux - Newbie 8 08-28-2010 09:08 PM
internet connection my laptop to my existing desktop using ubuntu brucermcneill Linux - Wireless Networking 2 02-28-2010 11:27 AM
Share user's vnc connection w/ existing desktop session? enriquei Linux - Server 1 10-15-2009 02:23 PM
Files stored on "A" disks from Linux won't show up as existing on Win. File Manager jenifer_e_church Linux - Software 4 03-21-2006 05:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:33 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration