LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat
User Name
Password
Red Hat This forum is for the discussion of Red Hat Linux.

Notices


Reply
  Search this Thread
Old 12-05-2014, 05:14 PM   #1
knowNothing23
LQ Newbie
 
Registered: Dec 2014
Posts: 5

Rep: Reputation: Disabled
startx doesn't start in server


I am ssh -X -i <INFO> to a server.
I have changed ssh config files to allow X11 forwarding in client and server.
My Redhat is version 7

If I type:
$startx

I get:
(EE) xf86OpenConsole: VT_ACTIVATE failed: No such device or address

Relevant output:
Code:
[971105.735] (II) Module glx: vendor="X.Org Foundation"
[971105.735]    compiled for 1.15.0, module version = 1.0.0
[971105.735]    ABI class: X.Org Server Extension, version 8.0
[971105.735] (==) AIGLX enabled
[971105.735] Loading extension GLX
[971105.735] (==) Matched cirrus as autoconfigured driver 0
[971105.735] (==) Matched modesetting as autoconfigured driver 1
[971105.735] (==) Matched fbdev as autoconfigured driver 2
[971105.735] (==) Matched vesa as autoconfigured driver 3
[971105.735] (==) Assigned the driver to the xf86ConfigLayout
[971105.735] (II) LoadModule: "cirrus"
[971105.735] (WW) Warning, couldn't open module cirrus
[971105.735] (II) UnloadModule: "cirrus"
[971105.735] (II) Unloading cirrus
[971105.735] (EE) Failed to load module "cirrus" (module does not exist, 0)
[971105.735] (II) LoadModule: "modesetting"
[971105.735] (II) Loading /usr/lib64/xorg/modules/drivers/modesetting_drv.so
[971105.735] (II) Module modesetting: vendor="X.Org Foundation"
[971105.735]    compiled for 1.15.0, module version = 0.8.0
[971105.735]    Module class: X.Org Video Driver
[971105.735]    ABI class: X.Org Video Driver, version 15.0
[971105.735] (II) LoadModule: "fbdev"
[971105.735] (II) Loading /usr/lib64/xorg/modules/drivers/fbdev_drv.so
[971105.735] (II) Module fbdev: vendor="X.Org Foundation"
[971105.735]    compiled for 1.15.0, module version = 0.4.3
[971105.735]    Module class: X.Org Video Driver
[971105.735]    ABI class: X.Org Video Driver, version 15.0
[971105.735] (II) LoadModule: "vesa"
[971105.735] (II) Loading /usr/lib64/xorg/modules/drivers/vesa_drv.so
[971105.735] (II) Module vesa: vendor="X.Org Foundation"
[971105.735]    compiled for 1.15.0, module version = 2.3.2
[971105.735]    Module class: X.Org Video Driver
[971105.735]    ABI class: X.Org Video Driver, version 15.0
[971105.735] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[971105.735] (II) FBDEV: driver for framebuffer: fbdev
[971105.735] (II) VESA: driver for VESA chipsets: vesa
[971105.735] (++) using VT number 0

[971105.737] (EE)
Fatal server error:
[971105.737] (EE) xf86OpenConsole: VT_ACTIVATE failed: No such device or address
[971105.737] (EE)
[971105.737] (EE)
Please consult the The X.Org Foundation support
         at http://wiki.x.org
 for help.
[971105.737] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[971105.737] (EE)


Also, when I call $X -configure
I get:
Code:
X.Org X Server 1.15.0
Release Date: 2013-12-27
X Protocol Version 11, Revision 0
Build Operating System:  2.6.32-431.5.1.el6.x86_64 
Current Operating System: Linux ip-172-31-60-13.ec2.internal 3.10.0-123.8.1.el7.x86_64 #1 SMP Mon Aug 11 13:37:49 EDT 2014 x86_64
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-3.10.0-123.8.1.el7.x86_64 root=UUID=668dbd02-c201-44bc-be76-f606fc9ab8db ro vconsole.keymap=us console=ttyS0,115200n8 console=tty0 crashkernel=auto vconsole.font=latarcyrheb-sun16 LANG=en_US.UTF-8
Build Date: 27 February 2014  02:03:18PM
Build ID: xorg-x11-server 1.15.0-7.el7 
Current version of pixman: 0.32.4
	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Fri Dec  5 18:13:30 2014
List of video drivers:
	vmware
	ati
	radeon
	modesetting
	qxl
	v4l
	intel
	nouveau
	dummy
	vesa
	fbdev
(++) Using config file: "/root/xorg.conf.new"
(==) Using config directory: "/etc/X11/xorg.conf.d"
(==) Using system config directory "/usr/share/X11/xorg.conf.d"
(EE) 
(EE) Backtrace:
(EE) 0: X (xorg_backtrace+0x55) [0x5917f5]
(EE) 1: X (0x400000+0x195899) [0x595899]
(EE) 2: /lib64/libc.so.6 (0x7f07dc7d4000+0x35640) [0x7f07dc809640]
(EE) 
(EE) Segmentation fault at address 0x0
(EE) 
Fatal server error:
(EE) Caught signal 11 (Segmentation fault). Server aborting
(EE) 
(EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
(EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
(EE) 
(EE) Server terminated with error (1). Closing log file.
Thank you for your help
 
Old 12-07-2014, 07:28 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Welcome to LinuxQuestions.

What Operating system/version is running on the client? Is it running x windows?

If yes then you can start any GUI application right from the command like xclock. If you want to start the gnome deskstop the you would run gnome-session.
 
Old 12-07-2014, 07:42 PM   #3
knowNothing23
LQ Newbie
 
Registered: Dec 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
I am ssh into the server from an arch linux machine.
startx is running in the client side.

Do you mean that I need to type 'xclock' once I have ssh into the server?
 
Old 12-07-2014, 07:55 PM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
That was just an example. What are you trying to accomplish?
 
Old 12-07-2014, 07:57 PM   #5
knowNothing23
LQ Newbie
 
Registered: Dec 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
I want to start the a basic gui for the server.
By gui, I mean just the regular graphic user interface that allows you to use the mouse and keyboard to do stuff rather than using the terminal.
 
Old 12-07-2014, 08:09 PM   #6
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Is a desktop running on the server? If not you need to run startx on the server itself.
 
Old 12-07-2014, 08:22 PM   #7
knowNothing23
LQ Newbie
 
Registered: Dec 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
I don't think I understand.
So, I have a server running in the cloud. It is an Red Hat instance running on Amazon Web Services.
I ssh into the instance and installed a bunch of software.

I use my latptop to ssh into the server. My laptop is running Arch linux and startx is running in it.

I want to ssh into the server and I want to open up the whole gui features from the server. I achieve this in my latptop when I type startx, so I assume that it would be the same in the server, but errors are thrown.

I have no access to the server other than through ssh.
I don't understand what you mean by "a desktop running on the server". Aren't all server ran by machines.
 
Old 12-07-2014, 09:35 PM   #8
notKlaatu
Senior Member
 
Registered: Sep 2010
Location: Lawrence, New Zealand
Distribution: Slackware
Posts: 1,077

Rep: Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732Reputation: 732
Why not try starting an application, without using startx?
Startx is a very specific command which looks at some config files that you probably do not have, and also will want services that you may not have permission for (or you might; I've never used Amazon cloud so I am not sure). So, as michaelk suggested, maybe just try running a simple application like xclock, xeyes, or xcalc first. If those fail, then we know it's not just startx that is failing.
 
Old 12-08-2014, 06:03 AM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Desktop is just another term for a GUI. Basically x windows will not run on AWS and can not be used as a desktop like your own computer running Arch.
 
Old 12-08-2014, 08:28 AM   #10
knowNothing23
LQ Newbie
 
Registered: Dec 2014
Posts: 5

Original Poster
Rep: Reputation: Disabled
Why can't it run?
I don't understand. Is this common knowledge?
 
Old 12-08-2014, 08:51 AM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,702

Rep: Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896Reputation: 5896
Sorry.

http://www.idevelopment.info/data/AW...t/AWS_12.shtml

Last edited by michaelk; 12-08-2014 at 08:53 AM.
 
Old 12-08-2014, 09:15 AM   #12
wpeckham
LQ Guru
 
Registered: Apr 2010
Location: Continental USA
Distribution: Debian, Ubuntu, RedHat, DSL, Puppy, CentOS, Knoppix, Mint-DE, Sparky, VSIDO, tinycore, Q4OS,Manjaro
Posts: 5,627

Rep: Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695Reputation: 2695
startx may not be your option

Have you considered running vncserver in local-only mode and vncviewer over ssh from the client?

There are how-to documents for this, and it is far more likley to give you a useful desktop than startx from remote.

Otherwise, as mentioned above, you can spawn individual applications on the server to display on the client desktop: that is what the ssh Xforward does best.
 
  


Reply



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
[SOLVED] Cannot start second X server with xinit -- :4; startx jsjones85 Linux - Newbie 2 11-01-2010 08:52 AM
[SOLVED] startx doesn't start after install slack 13 hua Slackware 7 08-28-2009 07:15 PM
NVIDIA Driver doesn't start automaticly with kdm but starts with startx zahikel Linux - Software 7 08-01-2008 12:49 PM
Changed monitors and now startx doesn't start. What to do? donJulio Slackware 14 07-01-2006 04:27 PM
StartX but KDE doesn't start swan2925 Linux - Software 1 05-03-2005 07:14 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Red Hat

All times are GMT -5. The time now is 05:49 AM.

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
Open Source Consulting | Domain Registration