https://bugzilla.xfce.org/show_bug.cgi?id=7502

Alexis Huxley <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #6 from Alexis Huxley <[email protected]> ---
For those interested, you can see the code that was introduced at
http://git.xfce.org/xfce/xfce4-session/tree/xfce4-session/manager.c?id=b0eec65b45fe4417351ca86f85095232df6d2f95.

In addition, I found a nice workaround, which was to strip the enviromnent
in ~/.vnc/xstartup before calling xfce4-session. The code in this the
above-mentioned change suggested it would be enough to strip SESSION_MANAGER, 
but this did not prove to be enough, so I stripped everything apart from what I
knew I needed. This gave me the following xstartup script, which worked for me:

guest@mandala:~$ cat ~/.vnc/xstartup 
#!/bin/bash

env -i /bin/sh -c "export PATH=$PATH;
                   export XAUTHORITY=$XAUTHORITY;
                   export DISPLAY=$DISPLAY;
                   export HOME=$HOME;
                   export LOGNAME=$LOGNAME;
                   export USER=$USER;
                   /usr/bin/xfce4-session"
guest@mandala:~$ 

I hope that helps somebody!

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Xfce-bugs mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce-bugs

Reply via email to