KDE Desktop [plug] X forwarding SOLVED

Marc Wiriadisastra marc-w at smlintl.com.au
Thu Oct 14 13:23:17 WST 2004


Craig Ringer wrote:
> 
> Marc Wiriadisastra wrote:
> 
>> I tried that and it seemed to push the screen all the way to the top 
>> for some reason.  It loaded up but the screen shifted up the top for 
>> some reason so I'm thinking that there are issues with display or 
>> something not really sure though.
> 
> 
> I'm afraid I can't make head or tail of that, sorry.
> 
>>> startx /usr/bin/ssh -X $REMOTE_HOST_NAME startkde
>>
>>
>>> Fatal server error:
>>> PAM authentication failed, cannot start X server.
>>>         Perhaps you do not have console ownership?
> 
> 



> Aah. Now that makes sense. Your distro probably has X configured not to 
> be setuid root, and probably uses pam_console to control who can start 
> the X server. If you run the X server as root that should work, though 
> it will complicate access to your ssh keys. Make sure you can run X 
> first - just type "X :1" then enter (you can get out again with 
> CTl-ALT-Backspace). Once you have things set up so you can run the X 
> server, then look at using startx and ssh.
> 
>>> ssh -X $REMOTE_HOST_NAME startx -- /usr/X11R6/bin/Xnest
>>
>>
>> An with this command it said the same error as above PAM 
>> authentication failed.
> 
> 
> The remote host probably also uses pam_console, though why it would be 
> using it to control permission to run Xnest I don't know.
> 
> It would be very helpful if you could provide some more details, such as 
> the distros the local and remote machines are running and what versions 
> they are. Mentioning important information such as "I ran this command 
> from the console and ..." is also helpful. I prefer not to have to guess 
> what you're doing or what you mean in order to attempt to answer your 
> questions.
> 

The distro is fedora core 2 the local machine that I'm trying to get it 
working on is debian testing.  All running the 2.6.8 kernel I believe.




More information about the plug mailing list