papaschtroumpf Posted June 14, 2004 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? Link to comment Share on other sites More sharing options...
Hirogen2 Posted June 14, 2004 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? Link to comment Share on other sites More sharing options...
papaschtroumpf Posted June 14, 2004 Author 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 "") Link to comment Share on other sites More sharing options...
HJ Posted June 14, 2004 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 Link to comment Share on other sites More sharing options...
papaschtroumpf Posted June 14, 2004 Author Share Posted June 14, 2004 You're my hero!, yes the "DISPLAY=:0 " syntax did the trick! Thanks a bunch! Link to comment Share on other sites More sharing options...
Guest PavelMan Posted February 11, 2007 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? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now