papaschtroumpf Posted June 14, 2004 Report Share Posted June 14, 2004 I'd like to start x0rfbserver (similar to vnc server but works with the current X display display 0. it's basically what rfbdrake does) from a command line over ssh. Is it possible? Quote Link to comment Share on other sites More sharing options...
Hirogen2 Posted June 14, 2004 Report Share Posted June 14, 2004 I'd like to start x0rfbserver (similar to vnc server but works with the current X display display 0. it's basically what rfbdrake does) from a command line over ssh.Is it possible? ssh user@host x0rfbserver maybe? Quote Link to comment Share on other sites More sharing options...
papaschtroumpf Posted June 14, 2004 Author Report Share Posted June 14, 2004 the problem is that x0rfb server runs on X (or "with X") so if I try to start it from the ssh command line I get "Fatal error, can't open display "") Quote Link to comment Share on other sites More sharing options...
HJ Posted June 14, 2004 Report Share Posted June 14, 2004 Well, if X is already running on the machin you're ssh'n into, you could probably do... DISPLAY=:0 x0rfbserver Quote Link to comment Share on other sites More sharing options...
papaschtroumpf Posted June 14, 2004 Author Report Share Posted June 14, 2004 You're my hero!, yes the "DISPLAY=:0 " syntax did the trick! Thanks a bunch! Quote Link to comment Share on other sites More sharing options...
Guest PavelMan Posted February 11, 2007 Report Share Posted February 11, 2007 Well, if X is already running on the machin you're ssh'n into, you could probably do...DISPLAY=:0 x0rfbserver I am not as lucky, I get # DISPLAY=:0 x0rfbserver Xlib: connection to ":0.0" refused by server Xlib: No protocol specified Fatal error: Can't open display ":0" # Any suggestions? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.