Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
X2Go works with single apps but not with K Desktop Environme
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1488
Location: San Jose, CA

PostPosted: Fri Jan 17, 2014 7:29 pm    Post subject: X2Go works with single apps but not with K Desktop Environme Reply with quote

I've been using nxserver-freeedition for ever and its getting really crufty. If I detach from the session, when I go back in the graphics are all fowled up and mostly unusable.

So I've been looking for alternatives and found X2Go, which is really cool, but I can't quite get it to work.

It seems to fail when it launches startkde. I get absolutely no error messages, no clues as to what's going on.

But when I run a single application, like Chromium, it works fine.

I have recompiled openssh on the server with -hpn. I tried the latest libssh but that failed because scp couldn't write to my home directory on the server. I got an error message for that.

Has anyone seen anything like this or have any suggestions / things to try?

Thanks in advance.

Brian
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
muixeg
n00b
n00b


Joined: 07 Feb 2014
Posts: 1
Location: Russia

PostPosted: Fri Feb 07, 2014 5:04 am    Post subject: Reply with quote

I've had the same trouble. As workaround I would suggest you (re)move /etc/x2go/Xsession file.
Hope, it'll help you.
Back to top
View user's profile Send private message
JanSteen
n00b
n00b


Joined: 13 Feb 2005
Posts: 11
Location: Amsterdam/NL

PostPosted: Wed Feb 12, 2014 12:06 pm    Post subject: Reply with quote

Weird hint, muixeg, but it works well for me, thank you! After moving /etc/x2go/Xsession out of the way, I managed to start XFCE without problem, and also Gnome2.

Only Gnome3 doesn't work yet within x2go, but that seems to be an unrelated bug (?).
Back to top
View user's profile Send private message
RayDude
Veteran
Veteran


Joined: 29 May 2004
Posts: 1488
Location: San Jose, CA

PostPosted: Fri Feb 14, 2014 3:13 am    Post subject: Reply with quote

Thanks much Muixeg!

I also did this, although I don't know if it was necessary:

Code:
mkdir /etc/X11/Xresources


Its working now!
_________________
Some day there will only be free software.
Back to top
View user's profile Send private message
thoughtform
Guru
Guru


Joined: 24 May 2004
Posts: 594
Location: east coast USA

PostPosted: Fri Mar 27, 2015 3:02 am    Post subject: Reply with quote

muixeg wrote:
I've had the same trouble. As workaround I would suggest you (re)move /etc/x2go/Xsession file.
Hope, it'll help you.


THANKS!

That got my KDE session working.
Back to top
View user's profile Send private message
figueroa
Guru
Guru


Joined: 14 Aug 2005
Posts: 401
Location: GA-USA

PostPosted: Mon Apr 27, 2015 9:49 pm    Post subject: Reply with quote

I got the stable x2goclient and x2goserver running on my home network this morning and I've been running it all day. It was easy to get it going, and it seems stable.

I did need to follow advice here and remove /etc/x2go/Xsession from the x2go server installation (by renaming it to Xsession.not). What's that all about? I did not do anything with the broken link /etc/x2go/Xresources but what's that about? These are apparently left over or in-work developoment files, and seem hardly appropriate in a stable release.

Very little forum activity here about x2go. I'm very thankful for those who brought these to the regular repositories. I've been worried about the abandonment of freenx and the nomachine efforts.
_________________
Andy Figueroa
andy@andyfigueroa.net Working with Unix since 1983.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2858
Location: Bay Area, CA

PostPosted: Fri May 29, 2015 2:13 pm    Post subject: Reply with quote

If the folks can help, I am having a tough time with x2go. See: https://forums.gentoo.org/viewtopic-p-7755224.html

How can things change within a month to go from "easy to get going" to "tough time making x2go work"? What changed?
Back to top
View user's profile Send private message
mrbassie
Guru
Guru


Joined: 31 May 2013
Posts: 525

PostPosted: Sat Oct 03, 2015 4:31 pm    Post subject: Reply with quote

I'm also experiencing this, I can get firefox to launch and a kde session does start, a window opens but then the session is closed almost instantly. Removing Xsession didn't help me. :?
Back to top
View user's profile Send private message
Massimo B.
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1537
Location: Germany

PostPosted: Wed Oct 14, 2015 9:56 am    Post subject: Reply with quote

Same problem here, single applications are working, but I can't get Xfce or Fluxbox working.
Setup is both sides with Gentoo and net-misc/x2goserver-4.0.1.19 and net-misc/x2goclient-4.0.4.0 (the recent did not build).
The pam_mount stuff is working via ssh, anyway the home is already mounted for testing at x2go login.
I also tried removing the Xsession file and calling some /usr/bin/startfluxbox or /usr/bin/startxfce4 manually. Same issue, the session gets closed immediately.
Connecting via ssh -X works. Also starting an nxagent locally like this works:
Code:
nxagent :42 &
DISPLAY=:42 xfce4-session

Server-Log:
Code:
Oct 14 09:33:29 [sshd] Accepted password for mo from 94.79.149.... port 57338 ssh2
Oct 14 09:33:29 [sshd] pam_unix(sshd:session): session opened for user mo by (uid=0)
Oct 14 09:33:29 [sshd] (mount.c:68): Messages from underlying mount program:_
Oct 14 09:33:29 [sshd] (mount.c:72): crypt_activate_by_passphrase: File exists_
Oct 14 09:33:34 [sshd] (pam_mount.c:522): mount of /dev/disk/by-uuid/cfd4ec4b-d1ee-4257-98d5-d1d4536dba59 failed_
Oct 14 09:33:36 [kernel]  sdb: unknown partition table
                - Last output repeated twice -
Oct 14 09:33:39 [kernel] EXT4-fs (dm-2): mounted filesystem with journalled data mode. Opts: barrier,data=journal,journal_checksum
Oct 14 09:33:42 [/usr/bin/x2gostartagent] successfully started X2Go agent session with ID mo-55-1444808020_stDXFCE_dp24_
Oct 14 09:33:44 [/usr/bin/x2goruncommand] launching session with Xsession-x2go mechanism, using STARTUP="xfce4-session"_
Oct 14 09:33:46 [sshd] Received disconnect from 94.79.149....: 11: Bye Bye
Oct 14 09:33:46 [sshd] Disconnected from 94.79.149....
Oct 14 09:33:46 [sshd] pam_unix(sshd:session): session closed for user mo
Oct 14 09:33:46 [sshd] (mount.c:68): umount messages:_
Oct 14 09:33:46 [sshd] (mount.c:72): umount: /home.crypt: target is busy_
Oct 14 09:33:46 [sshd] (mount.c:72):         (In some cases useful info about processes that_
Oct 14 09:33:46 [sshd] (mount.c:72):          use the device is found by lsof(8) or fuser(1).)_
Oct 14 09:33:46 [sshd] (mount.c:888): unmount of /dev/disk/by-uuid/cfd4ec4b-d1ee-4257-98d5-d1d4536dba59 failed_

From the client debug log:
Code:
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:5718> Proxy wrote on stderr: "Info: Using ADSL link parameters 512/24/1/0.
Info: Using cache parameters 4/4096KB/8192KB/8192KB.
Info: Using pack method '16m-jpeg-9' with session 'unix-kde-depth_24'.
Info: Using ZLIB data compression 1/1/32.
Info: Using ZLIB stream compression 4/4.
Info: No suitable cache file found.
Info: Forwarding X11 connections to display ':0.0'.
Session: Session started at 'Wed Oct 14 09:43:06 2015'.
"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:10276> "Searching proxy window: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:11982> "Searching window with title: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:5718> Proxy wrote on stderr: "Info: Established X server connection.
"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:10276> "Searching proxy window: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:11982> "Searching window with title: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:5718> Proxy wrote on stderr: "Info: Using shared memory parameters 0/0K.
"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:10276> "Searching proxy window: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:11982> "Searching window with title: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:10276> "Searching proxy window: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:11982> "Searching window with title: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:10276> "Searching proxy window: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:11982> "Searching window with title: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:10276> "Searching proxy window: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:11982> "Searching window with title: X2GO-mo-59-1444809270_stDXFCE_dp24"
x2go-DEBUG-../x2goclient-4.0.4.0/src/onmainwindow.cpp:5718> Proxy wrote on stderr: "Session: Terminating session at 'Wed Oct 14 09:43:08 2015'.
Info: Your session was closed before reaching a usable state.
Info: This can be due to the local X server refusing access to the client.
Info: Please check authorization provided by the remote X application.
Session: Session terminated at 'Wed Oct 14 09:43:08 2015'.
"
x2go-DEBUG-../x2goclient-4.0.4.0/src/sshmasterconnection.cpp:1651> Socket 15 closed.

_________________
ppc:PowerBook5,8 15"(1440)-G4/1.67,2G|amd64:HP EliteBook 8560w,i7-2620M,16G|amd64:Acer Z5610 (Core2QuadQ8200),8G|amd64-prefix:OpenSuse
Lila-Theme
Back to top
View user's profile Send private message
Polynomial-C
Developer
Developer


Joined: 01 Jun 2003
Posts: 1422
Location: germany

PostPosted: Thu Feb 18, 2016 9:35 am    Post subject: Reply with quote

Most likely bug #575022.
_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum