Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-15-2004, 11:21 PM   #1
Registered: May 2003
Distribution: Debian GNU/Linux 3.0 Sid, OpenBSD 3.5
Posts: 190

Rep: Reputation: 30
Ugh, startx, how to get into X remotely with X Forwarding...?

Hello. I'm trying to get X Forwarding working between my laptop and my Linux PC. I can logon perfectly fine using ssh, but I've hit a snag. It seems that X is already running (runs at startup), and I don't have the privileges to run a startx. X Forwarding is on in ssh_config and sshd_config, I've enabled X Tunneling in PuTTy (also doesn't work with Cygwin). So how do I get into this crazy thing?

user@Box:~$ startx
X: user not authorized to run the X server, aborting.
Xlib: connection to ":0.0" refused by server
Xlib: Invalid MIT-MAGIC-COOKIE-1 key
giving up.
xinit: unable to connect to X server
xinit: No such process (errno 3): Server error.
Couldnt get a file descriptor referring to the console
user@Box:~$ kdm
Only root wants to run kdm.

Old 02-16-2004, 01:53 AM   #2
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,067
Blog Entries: 11

Rep: Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911Reputation: 911
I'd recommend a search for ssh and xdmcp ...
do you really NEED to get the entire desktop
from the other machine, rather than an individual



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
startx remotely houdelou Linux - General 2 04-20-2005 09:06 AM
Ugh, so frustrated with this... RoaCh Of DisCor Linux - Software 8 04-01-2005 01:47 PM
Kernel installation...ugh... eyebrowsoffire Linux - Newbie 9 09-28-2004 06:40 PM
Ugh...Can't mount CD tubatodd Slackware 21 07-09-2004 08:10 PM
UGH - RH 7.1 screwed up? Ronin Linux - General 3 05-07-2001 04:23 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 06:01 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration