Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jul 02, 2011 1:17 am 
Offline
Senior Newbie

Joined: Sat Jul 02, 2011 1:11 am
Posts: 13
I'm running arch linux on my linode and I'm attempting to set up XServer.

Basically, what I did was

Code:
pacman -Syu xorg-server
pacman -S xorg-xinit
pacman -S xorg-twm xorg-xclock xterm
pacman -S xorg-utils xorg-server-utils
startx

When I ran startx, I got an error:
Code:
Fatal server error:
no screens found

About fifteen seconds later, I got another error:
Code:
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error

Xserver auto terminated at this point.

I'm fairly new to linux, but I understand a good amount of it. If anyone could clear up what causes these errors / how to fix them that would be greatly appreciated.


Top
   
 Post subject:
PostPosted: Sat Jul 02, 2011 3:09 am 
Offline
Junior Member

Joined: Thu May 05, 2011 9:50 am
Posts: 23
Linode instances do not have any video hardware in their virtual machine environment. It does not make sense to run an X server on a Linode. Why do you want to do this?


Top
   
 Post subject:
PostPosted: Sat Jul 02, 2011 7:17 am 
Offline
Senior Newbie

Joined: Sat Jul 02, 2011 1:11 am
Posts: 13
Zr40 wrote:
Linode instances do not have any video hardware in their virtual machine environment. It does not make sense to run an X server on a Linode. Why do you want to do this?

I'm planning on VNCing into it.


Top
   
 Post subject:
PostPosted: Sat Jul 02, 2011 9:19 am 
Offline
Senior Member

Joined: Mon Jul 05, 2010 5:13 pm
Posts: 392
Why?


Top
   
 Post subject:
PostPosted: Sat Jul 02, 2011 2:55 pm 
Offline
Senior Newbie

Joined: Sat Jul 02, 2011 1:11 am
Posts: 13
So that I can run a program that requires a window to be opened.


Top
   
 Post subject:
PostPosted: Sat Jul 02, 2011 3:14 pm 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
Sooo... instead of startx, just run vnc4server or something... it shouldf act as X11 display :1 or something siliar, and you should be able to connect to it...

_________________
rsk, providing useless advice on the Internet since 2005.


Top
   
 Post subject:
PostPosted: Sat Jul 02, 2011 3:19 pm 
Offline
Senior Newbie

Joined: Sat Jul 02, 2011 1:11 am
Posts: 13
rsk wrote:
Sooo... instead of startx, just run vnc4server or something... it shouldf act as X11 display :1 or something siliar, and you should be able to connect to it...

I get further errors when running a vnc program.

Code:
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
        LANGUAGE = (unset),
        LC_ALL = (unset),
        LANG = "en_US.utf8"
    are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").

New 'X' desktop is li224-139:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/li224-139:1.log


li224-139:1.log states:
Code:
Couldn't open RGB_DB '/usr/share/X11/rgb'
02/07/11 15:17:03 Xvnc version TightVNC-1.3.10
02/07/11 15:17:03 Copyright (C) 2000-2009 TightVNC Group
02/07/11 15:17:03 Copyright (C) 1999 AT&T Laboratories Cambridge
02/07/11 15:17:03 All Rights Reserved.
02/07/11 15:17:03 See http://www.tightvnc.com/ for information on TightVNC
02/07/11 15:17:03 Desktop name 'X' (li224-139:1)
02/07/11 15:17:03 Protocol versions supported: 3.3, 3.7, 3.8, 3.7t, 3.8t
02/07/11 15:17:03 Listening for VNC connections on TCP port 5901
02/07/11 15:17:03 Listening for HTTP connections on TCP port 5801
02/07/11 15:17:03   URL http://li224-139:5801
Font directory '/usr/share/fonts/Type1/' not found - ignoring
xrdb: No such file or directory
xrdb: can't open file '/root/.Xresources'
xsetroot:  unknown color "grey"
Warning: locale not supported by C library, locale unchanged
twm:  invalid color name "black"
twm:  invalid color name "white"
twm:  invalid color name "slategrey"
twm:  invalid color name "gray85"
twm:  invalid color name "gray85"
twm:  invalid color name "gray85"
twm:  invalid color name "slategrey"
twm:  invalid color name "gray70"
twm:  invalid color name "gray85"
twm:  invalid color name "gray85"
twm:  invalid color name "gray85"


Top
   
 Post subject:
PostPosted: Sat Jul 02, 2011 3:23 pm 
Offline
Senior Member
User avatar

Joined: Tue Nov 24, 2009 1:59 pm
Posts: 362
That's kinda normal, and you should be able to connect to it via VNC, to port... 5901 I think?
For the locale error, I have no idea how to build them in archlinux - I'd run 'dpkg-reconfigure locales' here. ;)

_________________
rsk, providing useless advice on the Internet since 2005.


Top
   
 Post subject:
PostPosted: Sat Jul 02, 2011 3:31 pm 
Offline
Senior Newbie

Joined: Sat Jul 02, 2011 1:11 am
Posts: 13
I am able to connect via vnc. Thank you for the help.


Top
   
 Post subject:
PostPosted: Sat Jul 02, 2011 4:56 pm 
Offline
Senior Member
User avatar

Joined: Sat Aug 30, 2008 1:55 pm
Posts: 1739
Location: Rochester, New York
If you have a local X server and just need to run particular applications remotely once in awhile, don't overlook the -X option to ssh:

Code:
rtucker@witte:~$ ssh -X framboise
...
rtucker@framboise:~$ xterm
(xterm appears!)


It requires the ssh session stay up, and it is noticeably slow, but it sure beats deploying an entire GUI stack just to do one thing.

_________________
Code:
/* TODO: need to add signature to posts */


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 8 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group