X11 Forwarding-X11 Applications Works but startx Not Works
HI
I have one laptop and one desktop which are both Ubuntu 14.04 LTS I have installed openssh-server on my desktop and I'm able to launch X11 via ssh from my laptop XServer of the laptop displays applications of my desktop with no problem But When I try to execute startx X window starts not at laptop but at desktop Of course I connected ssh with -XYv options I also tried set $DISPLAY variable like: Code:
DISPLAY="192.168.0.3:0" Code:
X.Org X Server 1.15.1 Although It seems so,that's not working |
I had the same question a month or 2 ago...
Short answer: X11 fowarding only forwards applications, but not the whole desktop. |
As stated, X forwarding is for applications. You are already running an X server, so there is no inherent need to run another.
You CAN run an X server as an application (look for the Xnest server - it uses the X protocol to simulate a display (and that can be forwarded), then any applications started will display within the window the Xnest X server uses for display. The last time I did this, cut and paste between applications running on the native X server cannot be pasted into windows displayed in the Xnest window. It has been a while, so that may have been added, but I doubt it: http://fixunix.com/xwindows/91014-selection-xnest.html |
I think you mixed two different things: open an app on an X windows display and start a new X windows environment. ssh will allow to open a remote app on your local display, but not able to start new X desktop (yes, it was stated already). startx will run a new local X server for you. If you want to have a remote X session you need to look for xdmcp.
|
Thanks all of you !
|
All times are GMT -5. The time now is 10:35 PM. |