You are not logged in.

#1 2008-04-09 01:16:39

snafle
Member
Registered: 2008-04-08
Posts: 41

FreeNX and Fluxbox

I'm having some problems getting fluxbox to work over FreeNX. FreeNX works perfectly using GNOME, and FluxBox works perfectly on the computer itself, it's just making them friends which is hard.
I can make the system work if I get a GNOME session running over NX, then do a custom one with the command "startfluxbox". Just using "startx" gives me a blank screen.

If I have x running on the machine to begin with and try to run startfluxbox, it errors out with a complaint that an X Server isn't running.

From this I suspect that what I need is an X11 server running that FreeNX can access (and that is shared to this machine? I've enabled ssh x11 forwarding), but I have no clue how to achieve that. I know I can make it work by starting gnome first, but that's just incredibly inelegant.

Thanks for any help smile

Offline

#2 2008-04-09 12:37:41

snafle
Member
Registered: 2008-04-08
Posts: 41

Re: FreeNX and Fluxbox

I've found the problem, it seems I needed to have a login manager (in my case, SLiM) running, before X would work. Now I can just run xfce4, fluxbox, whatever I choose. Bootiful.

Would it be suitable for me to edit the wiki to add this to the troubleshooting section?

Offline

#3 2008-04-09 13:08:17

Stoffi
Member
Registered: 2007-03-15
Posts: 107

Re: FreeNX and Fluxbox

Yes, please do smile

Offline

#4 2008-04-09 17:12:35

serrghi
Member
From: Bergen, NO
Registered: 2008-02-12
Posts: 100
Website

Re: FreeNX and Fluxbox

would also be nice to add a complete walkthrough for fluxbox, what you did step by step. Will def. help people who wants to do the same.


Unyttig.INFO - Your source to not so useless information
My github - Various configs, dotfiles and nifty scripts

Offline

#5 2008-04-09 23:36:56

snafle
Member
Registered: 2008-04-08
Posts: 41

Re: FreeNX and Fluxbox

Okay, I've added a section on using other windows managers. Sergghi, if that doesn't help copy/paste the error message you get, I'll see if it jogs a memory.

Strangely, I've disabled all the workarounds that I used and yet it still works perfectly- the downside of this is I've been unable to recreate the errors I had to start with, and had to go with vauge memories of the few hours I spent muddling away (tried so many things it could be any of them).

Anyway, hope it helps

Offline

#6 2008-04-10 11:07:30

serrghi
Member
From: Bergen, NO
Registered: 2008-02-12
Posts: 100
Website

Re: FreeNX and Fluxbox

Heres my error, dont know why the hell im getting it tongue

NX> 203 NXSSH running with pid: 408
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: 85.200.101.242 on port: 22
NX> 202 Authenticating user: nx
NX> 208 Using auth method: publickey
HELLO NXSERVER - Version 2.1.0-71 OS (GPL)
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: serrghi
NX> 102 Password: 
NX> 103 Welcome to: serrghi user: serrghi
NX> 105 listsession --user="serrghi" --status="suspended,running" --geometry="1280x1024x32+render" --type="unix-application"
NX> 127 Sessions list of user 'serrghi' for reconnect:

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


NX> 148 Server capacity: not reached for user: serrghi
NX> 105 startsession  --virtualdesktop="1" --application="openbox-session" --link="adsl" --backingstore="1" --encryption="1" --cache="16M" --images="64M" --shmem="1" --shpix="1" --strict="0" --composite="1" --media="0" --session="serrghi.homeunix.net" --type="unix-application" --geometry="1280x971" --client="winnt" --keyboard="pc102/no" --screeninfo="1280x971x32+render" 

NX> 1000 NXNODE - Version 2.1.0-71 OS (GPL)
NX> 700 Session id: serrghi-1000-6FE34FB2F891FC147B950230F755C45D
NX> 705 Session display: 1000
NX> 703 Session type: unix-application
NX> 701 Proxy cookie: ddbebab82dfb7d585ca3694b81450f00
NX> 702 Proxy IP: 127.0.0.1
NX> 706 Agent cookie: ddbebab82dfb7d585ca3694b81450f00
NX> 704 Session cache: unix-application
NX> 707 SSL tunneling: 1
NX> 105 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/serrghi/.nx/F-C-serrghi-1000-6FE34FB2F891FC147B950230F755C45D/session". You might also want to try: ssh -X myserver; /opt/NX/bin/nxnode --agent to test the basic functionality. Session log follows:
NX> 1006 Session status: closed
/opt/NX/bin/nxserver: line 1283: 11138 Terminated              sleep $AGENT_STARTUP_TIMEOUT
Can't open /opt/NX/var/db/running/sessionId{6FE34FB2F891FC147B950230F755C45D}: No such file or directory.
mv: cannot stat `/opt/NX/var/db/running/sessionId{6FE34FB2F891FC147B950230F755C45D}': No such file or directory
NX> 1001 Bye.
NX> 280 Exiting on signal: 15

This is what ive done so far:
installed freenx through pacman
did: nxsetup --install --setup-nomachine-key --clean

tried to connect through my client on windows comp. and get this error.
And i dont want to use any ssh keys, but password login.

Last edited by serrghi (2008-04-10 11:10:31)


Unyttig.INFO - Your source to not so useless information
My github - Various configs, dotfiles and nifty scripts

Offline

#7 2008-04-15 16:21:55

snafle
Member
Registered: 2008-04-08
Posts: 41

Re: FreeNX and Fluxbox

That's precisely the error I got and fixed with installing a login manager or starting X another way. If you haven't done that, try it.

Offline

#8 2008-04-16 09:40:05

serrghi
Member
From: Bergen, NO
Registered: 2008-02-12
Posts: 100
Website

Re: FreeNX and Fluxbox

ive done that, still get the error hmm


Unyttig.INFO - Your source to not so useless information
My github - Various configs, dotfiles and nifty scripts

Offline

#9 2008-04-16 10:48:32

snafle
Member
Registered: 2008-04-08
Posts: 41

Re: FreeNX and Fluxbox

I'll try break my system and go through it again, no promises tho.

Offline

#10 2008-04-16 11:28:26

serrghi
Member
From: Bergen, NO
Registered: 2008-02-12
Posts: 100
Website

Re: FreeNX and Fluxbox

Thanks smile i cant really figure out why i get this error, i to setup NX earlier, and did the same thing i did now. But i got no errors earlier. Wierd...


Unyttig.INFO - Your source to not so useless information
My github - Various configs, dotfiles and nifty scripts

Offline

#11 2008-04-16 18:04:06

snafle
Member
Registered: 2008-04-08
Posts: 41

Re: FreeNX and Fluxbox

It's really odd, I just tried again on a Arch install in a VM and it worked. I don't know what to say, just keep playing around with X?

Offline

#12 2008-04-16 19:43:33

serrghi
Member
From: Bergen, NO
Registered: 2008-02-12
Posts: 100
Website

Re: FreeNX and Fluxbox

hm weird sad maybe freenx just doesnt like me.


Unyttig.INFO - Your source to not so useless information
My github - Various configs, dotfiles and nifty scripts

Offline

Board footer

Powered by FluxBB