[ASULUG] Running X on a virtual dedicated server
Bryan O'Neal
BONeal at cornerstonehome.com
Fri Nov 16 22:21:07 MST 2007
... The file for sshd is /etc/ssh/sshd_config...
Rookie Mistake!
Thank you very much!
<smacks forehead like an idiot from a cheep comedy>
Funny what changing the correct config file does for you ;)
Now on to installing Oracle :)
-----Original Message-----
From: Arizona State University Linux Users Group [mailto:ASULUG at asu.edu] On Behalf Of Bryce Chidester
Sent: Friday, November 16, 2007 10:02 PM
To: ASULUG at ASU.EDU
Subject: Re: [ASULUG] Running X on a virtual dedicated server
Bryan,
The file for sshd is /etc/ssh/sshd_config. You can restart it because you're simply restarting the listening process and not killing your own connection's process.
-Bryce Chidester
Bryce.Chidester at asu.edu
On Nov 16, 2007, at 21:16 , Bryan O'Neal wrote:
> Yha, I sort of get it, however I edited /etc/ssh/ssh_config and
> uncommented and changed the lines ForwardX11 yes and ForwardX11Trusted
> yes. I pondered why PasswordAuthentication yes
> was commented but ignored this saved the file and restarted sshd.
> Logged out and logged back in. I also wounded why I could restart
> sshd without being logged out, but again ignored this. However when I
> try to launch konqueror I get "cannot connect to X server" That is
> when I started trying to start X
>
> I am connecting using ssh -X user at ip
>
> -----Original Message-----
> From: Arizona State University Linux Users Group
> [mailto:ASULUG at asu.edu ] On Behalf Of Bryce Chidester
> Sent: Friday, November 16, 2007 9:12 PM
> To: ASULUG at ASU.EDU
> Subject: Re: [ASULUG] Running X on a virtual dedicated server
>
> Bryan,
> I think you're a little mis-directed as to how X servers work across
> networks. The X server doesn't actually run on your virtual machine,
> unless your virtual machine has a virtual terminal. See, the server
> component in X is whatever/wherever the graphics end up, and the
> origination of all input. In this case, the X server is your local
> terminal. When you fire up applications like Firefox or KDE, they
> connect as clients to the server, feeding their graphics and receiving
> user input.
> All that said, you don't need to run a server, just have the libraries
> installed on your remote machine. You should be able to simply "ssh -
> X" (-X ensures that SSH will automatically forward your X11 session)
> to your remote host and fire up whatever applications you wish to see
> (my personal favourite has always been xlogo, but it's not installed
> on every system) and voilà it should appear (slowly) on your local
> terminal.
> If you're looking to preserve sessions ala remote desktop or VNC, well
> then you'll need to run a VNC server and connect that way instead.
>
> Make sense?
>
> -Bryce Chidester
> Bryce.Chidester at asu.edu
>
> On Nov 16, 2007, at 18:57 , Bryan O'Neal wrote:
>
>> I decided to reinstall X and now I get (amongst other things) Fatal
>> server error:
>> xfa86OpenConsole: Cannot open /dev/tty0 (no such file or directory)
>>
>> XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
>> after 0 requests (0 known processed) with 0 events remaining.
>> Couldn't get a file descriptor referring to the console
>>
>> Still at a loss my friends... Any suggestions?
>>
>> -----Original Message-----
>> From: plug-discuss-bounces at lists.plug.phoenix.az.us
>> [mailto:plug-discuss-bounces at lists.plug.phoenix.az.us] On Behalf Of
>> Bryan O'Neal
>> Sent: Friday, November 16, 2007 6:37 PM
>> To: Arizona State University Linux Users Group; Main PLUG discussion
>> list
>> Subject: Running X on a virtual dedicated server
>>
>> As many of you know, I like my GUI tools. And I just purchased a
>> virtual server from GoDaddy, but when I try to run an X app I get the
>> generic error of cannot connect to X server. If I look at ps -A I
>> see xinted running. If I try to startx I get
>> xauth: creating new authority file /root/.serverauth.5195 (or some
>> randum number)
>> xinit: No such file or directory (errno 2): no server "X" in PATH
>>
>> Use the -- option, or make sure that /usr/bin is in your path and
>> that "X" is a program or link to the right type of server for your
>> display.
>> Possible server names include:
>>
>> Xorg X.Org displays
>>
>> xinit: Server error.
>> Couldnt get a file descriptor referring to the console
>>
>> Any suggestions on how I can get my GUI up?
>> ---------------------------------------------------
>> PLUG-discuss mailing list - PLUG-discuss at lists.plug.phoenix.az.us
>> To subscribe, unsubscribe, or to change your mail settings:
>> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
More information about the PLUG-discuss
mailing list