View Single Post
Posts: 805 | Thanked: 1,605 times | Joined on Feb 2010 @ Gdynia, Poland
#42
Originally Posted by AapoRantalainen View Post
I'm using 'user' -account, and I can startx and then over ssh start e.g. DISPLAY=:0 xterm

When I try startx over ssh, it doesn't work:
Code:
X: user not authorized to run the X server, aborting.
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
I think I soon need this (when libmatchbox2 takes turn).
Did you try something like "DISPLAY=:0 startx" (or maybe even export the DISPLAY variable set to :0 before starting X)? I remember having similar problems on Raspberry Pi at some point with Raspbian (but either I changed something in config files permanently and don't remember or the newer version of Raspbian is configured differently, because I cannot reproduce it now).

edit: on my other machine (home server) I get similar output (unable to start X) unless I type on my home computer "ssh -X server_ip", but then it starts X remotely on the screen of my home computer. If I find a moment, I'll try debug that and give you more useful information, but just wanted to step in now and note that this may not be related to Debian/N900, but it might be either generic Debian problem (my server runs Debian) or generic Linux/X.org/ssh problem.

Last edited by misiak; 2014-06-04 at 09:09.
 

The Following 5 Users Say Thank You to misiak For This Useful Post: