If you've eg. Xubuntu on your server with Xfce as the default desktop environment, then it's not trivial how you can connect with FreeNX and use this desktop environment. In the nxclient enter the session configuration screen, set the "desktop" to "Unix" and "Custom", enter "Settings" and choose the "Run the following command" for the "Application", and enter this into the textbox:
/usr/bin/xfce4-session
. In the "Options" select the "New virtual desktop". Press OK and select in the "Display" section "Full screen". Now you're all set.
Comments
Worked, thanks!
NXserver & Xubuntu
Works indeed.........
but not anymore if you go above kernel 2.6.28.15 ! So in .16 the file you mention is gone:(
I copied the missing files but that only leaves the message away about a wrong path and you end up in a dark Machine screen.
Hmm, will try further.
PB.
Re: NXserver & Xubuntu
/usr/bin/xfce4-session
file (which is part of thexfce4-session
package ... which does not conflict with any of thelinux-image-2.6.28-16-*
packages).Using startxfce4 command
xfce & nx
so that there are not run scripts from /etc/profile.d. My solution is command line:
/bin/bash -l /usr/bin/startxfce4
(or .... /usr/bin/xfce4-session if you wish).
Regards
pjo
Doesn't work here
It works better for me with /usr/bin/startxfce4 but there I only get the desktop in the middle of the window with a thick black frame surrounding it. So, the desktop is not spread over the whole size of the window.
Do you have a workaround for this?
Cheers, Thomas
Re: Doesn't work here
/usr/bin/xfce4-session
and/usr/bin/startxfce4
, the latter one should work. In current Ubuntu (I mean 10.10 Maverick) the Xfce session startup works like this:/usr/bin/startxfce4
is invoked, which calls .../etc/xdg/xfce4/xinitrc
, which starts a bunch of stuff and calls .../usr/bin/xfce4-session
works fine on Mythbuntu 12.04 LTS
just drop by to say that it works fine on Mythbuntu 12.04 LTS.
Thanks for the hint!
works not on xubuntu 12.04 LTS: applic. start on server-DISPLAY
thx very much for excellent help here. I reached to start XFCE4 with /usr/bin/startxfce4 , also with /usr/bin -l /usr/bin/startxfce4. But unfortunately all applications started from XFCE panel or menu or desktop icons start on the display of the 20.04 NX-server, not on the NX-client - except the terminal. Within the terminal I'm able to start firefox on the client, but not every application, e.g. google-chrome or LibreOffice, they start on the display of the server. How can I switch the DISPLAY variable to the right display?
the Client is Suse 11.1.
tia
Eckard
Re: works not on xubuntu 12.04 LTS: applic. start on ...
Unfortunately I've abandoned Xfce a long time ago and I've not used FreeNX with 12.04 yet. So I cannot help you at the moment. I'll use Ubuntu 12.04 with FreeNX in the foreseeable future (maybe a few months from now) and if I encounter any problems, I'll update this post with my findings.