on desktop computer I have Ubuntu 8.04 configured as headless server. On laptop I have Ubuntu 8.04.
Desktop is by default running without "X server". If I need graphics I start it by command "startx". X-server starts successfully without any error.
But if I try to do the same using remote laptop:
1. ssh -X userid@ip_of_desktop
and second command returns error:
I can't quite understand if running commands within desktop using the same password as from remote laptop why I am not authorized to startx?
X: user not authorized to run the X server, aborting.
xinit: Server error.
But if I start X on local desktop I can execute any graphic application on remote laptop (e.g. firefox).
The only problem is I can't start-up X-server remotely.
Directory .Xauthority on desktop has my userid privileges (read/write)