LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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!

Notices


Reply
  Search this Thread
Old 04-06-2009, 09:51 AM   #1
fedder22
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Rep: Reputation: 0
x11vnc failing


the error code thats comes up is here

currently I'm trying to start my vnc server so I can vnc into it so I can change my routers config (which I can only do from inside of my network)

so I'm trying to start my x11vnc (it doesnt need to be the X interface i just need any interface so i can use a browser because ssh access isnt setup)


below is the error coming up after trying to start x11vnc

X connection to localhost:11.0 broken (explicit kill or server shutdown).


... so i can ssh fine but no matter what i do with starting vnc it doesnt seem to work, i did some google and there doesnt appear to be a striaght forward solution... any thoughts?
 
Old 04-06-2009, 01:09 PM   #2
fedder22
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
I may have deleted alot of my X configurations

it appears that
Xsession: no "/etc/X11/Xsession.d" directory found;

when i run startx i get this too

X: unable to open wrapper config file /etc/X11/Xwrapper.config


can someone let me know hwo to repair it? i tried re-installing x11vnc but i realize thats only a piece of it I really need the root of 'X' and to re-install or re-download all of the 'X' files. is there a quick way to do this or my installation SNAFU'd ?

Last edited by fedder22; 04-06-2009 at 01:13 PM.
 
Old 04-06-2009, 04:07 PM   #3
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
Maybe if you provided us with info about what distro you're using ...



Cheers,
Tink
 
Old 04-06-2009, 04:46 PM   #4
fedder22
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
wow sorry,

I'm using debian etch.

After doing a little research I think i may have found its related to xinit (but my knowledge is really limited... I'm really just googling and hoping i find something relevant to what my issue is)
 
Old 04-06-2009, 08:24 PM   #5
krunge
Member
 
Registered: Mar 2007
Posts: 39

Rep: Reputation: 18
Quote:
X connection to localhost:11.0 broken (explicit kill or server shutdown).

... so i can ssh fine but no matter what i do with starting vnc it doesnt seem to work
"localhost:11.0" as your $DISPLAY variable sounds like a ssh X redirection, not the display of the machine you want to connect to. Type "echo $DISPLAY" in the shell, you will see localhost:11.0 See the ssh(1) man page for more information on how this works.

If you don't tell x11vnc explicitly which X display to connect to, it will use your $DISPLAY setting (like all X clients do.)

To tell it, use this:
Code:
x11vnc -display :0 <anything-else-you-need>
Where DISPLAY :0 is the X session you are already logged into on the machine and you wish to view it.

BTW, if localhost:11 did redirect to the local X session you are sitting at, then you could probably just type "firefox" in that shell and the app would (slowly) appear on it. But since x11vnc couldn't connect to it, something else must be not working.
 
Old 04-07-2009, 08:04 AM   #6
fedder22
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
thanks for your knowledge krunge,

Last night I fiddled with it and just blew away the gui haha.. well your solution may work but I wont know, This may be the best way for me to learn about it (I currently am in no rush to have a gui) but thanks again for your help I will definitely write down that note and keep it in mind when i have my gui back.

thanks again
 
Old 04-07-2009, 11:27 PM   #7
krunge
Member
 
Registered: Mar 2007
Posts: 39

Rep: Reputation: 18
Quote:
Originally Posted by fedder22 View Post
thanks for your knowledge krunge,

Last night I fiddled with it and just blew away the gui haha.. well your solution may work but I wont know, This may be the best way for me to learn about it (I currently am in no rush to have a gui) but thanks again for your help I will definitely write down that note and keep it in mind when i have my gui back.
Hmmm.....
 
Old 04-08-2009, 08:12 AM   #8
fedder22
LQ Newbie
 
Registered: Jan 2009
Posts: 9

Original Poster
Rep: Reputation: 0
hmmm???

explanation of need:

I needed access to the gui for that day in order to change a configuration on my router (through browser).... due to the fact i couldnt do it from over the wan the only port that was still forwarding to through was one that was open and to my linux box. after i got home it wasnt needed anymore and I just did it from another box.....

the gui isntneeded and the only reason i needed to change my router config was because i had hard reset it due to a corruption in the router which is now fixed....maybe in a week or two when i ahve some more time I'll have to read up on re-installing from scratch since most of the files in my /etc/X11/* are all deleted/not configured correctly even after running a dpkg-reconfigure x11-common
 
  


Reply


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
compiz failing, GLcore.so failing to load Schrambo Linux - Desktop 4 02-23-2008 07:13 PM
help with x11vnc gtludwig Linux - Networking 5 10-08-2006 05:53 PM
eth1 failing on boot, IEEE firewire card driver failing, help jackuss_169 Linux - Laptop and Netbook 5 03-05-2005 08:34 AM
LILO install failing, Boot failing, but Installation fine. sramelyk Slackware 9 08-23-2003 03:37 PM
X failing to load; AddScreen/InitScreen failing for driver 0 weblion Linux - Software 1 08-01-2002 07:14 AM


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

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