Connecting to a linux server to Xfce using FreeNX

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. Smiling

Comments

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Worked, thanks!

This worked great on Xubuntu 8.04. Thanks!

NXserver & Xubuntu

Hi,

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

I don't see how the kernel version could be related to the Xfce session initializer binary? Shocked I've not used Xubuntu for quite some time, but I'm pretty sure that a kernel upgrade will not remove the /usr/bin/xfce4-session file (which is part of the xfce4-session package ... which does not conflict with any of the linux-image-2.6.28-16-* packages).

Using startxfce4 command

In command line : I'm using startxfce4. And it worked also.

xfce & nx

I think it's not enough. I found that nxclient does not run any login shell
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

Hi, when do this with /usr/bin/xfce4-session then I get a window of given size which is black and is closing after a second or so.
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

I'm sorry, but I've not been using Xfce for years now. Looking at the executables /usr/bin/xfce4-session and /usr/bin/startxfce4, the latter one should work. Shocked In current Ubuntu (I mean 10.10 Maverick) the Xfce session startup works like this:
  1. First /usr/bin/startxfce4 is invoked, which calls ...
  2. /etc/xdg/xfce4/xinitrc, which starts a bunch of stuff and calls ...
  3. /usr/bin/xfce4-session
Syndicate content