Ubuntu 17.04 GCP VM Instance startx do not work

Asked by Jay

Using Google Cloud Platform Ubuntu 17.04 VM instance startx from command line do not work. Tried the following.
sudo apt-get update
sudo apt-get install ubuntu-desktop also tried ubuntu-gnome desktop

    sudo nano /etc/default/grub.
    Change line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_LINUX_DEFAULT="text"
    Ctrl - X , press Y and then Enter to save and exit.
    sudo update-grub.

Stop instance, then start instance (basically rebooting)
I get back to command-line and type "startx"

****** Get this message **********
/usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console
What am doing wrong ?
I want to have some type of GUI on my server.

Question information

Language:
English Edit question
Status:
Expired
For:
Ubuntu xorg Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

What do you want to do on the system that needs a GUI?

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Needs information' state without activity for the last 15 days.

Revision history for this message
Jay (jaytxt) said :
#3

Because this is what I want to use.

On Wed, Aug 9, 2017 at 4:28 PM, actionparsnip <
<email address hidden>> wrote:

> Your question #655607 on xorg in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/xorg/+question/655607
>
> Status: Open => Needs information
>
> actionparsnip requested more information:
> What do you want to do on the system that needs a GUI?
>
> --
> To answer this request for more information, you can either reply to
> this email or enter your reply at the following page:
> https://answers.launchpad.net/ubuntu/+source/xorg/+question/655607
>
> You received this question notification because you asked the question.
>

Revision history for this message
Jay (jaytxt) said :
#4

On Sun, Aug 27, 2017 at 4:49 AM, Jay <email address hidden>
wrote:

> Your question #655607 on xorg in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/xorg/+question/655607
>
> Status: Expired => Open
>
> You are still having a problem:
> Because this is what I want to use.
>
> On Wed, Aug 9, 2017 at 4:28 PM, actionparsnip <
> <email address hidden>> wrote:
>
> > Your question #655607 on xorg in Ubuntu changed:
> > https://answers.launchpad.net/ubuntu/+source/xorg/+question/655607
> >
> > Status: Open => Needs information
> >
> > actionparsnip requested more information:
> > What do you want to do on the system that needs a GUI?
> >
> > --
> > To answer this request for more information, you can either reply to
> > this email or enter your reply at the following page:
> > https://answers.launchpad.net/ubuntu/+source/xorg/+question/655607
> >
> > You received this question notification because you asked the question.
> >
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Jay (jaytxt) said :
#5

Is using Google Cloud Platform VM Instances causing this problem ?
I notice most resolutions are on stand-alone systems.
Is Ubuntu 17.04 Zesty not compatible for GUI setting ?

On Sun, Aug 27, 2017 at 4:50 AM, Jay Txt <email address hidden> wrote:

>
>
> On Sun, Aug 27, 2017 at 4:49 AM, Jay <<email address hidden>
> > wrote:
>
>> Your question #655607 on xorg in Ubuntu changed:
>> https://answers.launchpad.net/ubuntu/+source/xorg/+question/655607
>>
>> Status: Expired => Open
>>
>> You are still having a problem:
>> Because this is what I want to use.
>>
>> On Wed, Aug 9, 2017 at 4:28 PM, actionparsnip <
>> <email address hidden>> wrote:
>>
>> > Your question #655607 on xorg in Ubuntu changed:
>> > https://answers.launchpad.net/ubuntu/+source/xorg/+question/655607
>> >
>> > Status: Open => Needs information
>> >
>> > actionparsnip requested more information:
>> > What do you want to do on the system that needs a GUI?
>> >
>> > --
>> > To answer this request for more information, you can either reply to
>> > this email or enter your reply at the following page:
>> > https://answers.launchpad.net/ubuntu/+source/xorg/+question/655607
>> >
>> > You received this question notification because you asked the question.
>> >
>>
>> --
>> You received this question notification because you asked the question.
>>
>
>

Revision history for this message
Jay (jaytxt) said :
#6

Using Google Cloud Platform Ubuntu 17.04 VM instance startx from command
line do not work. Tried the following.
sudo apt-get update
sudo apt-get install ubuntu-desktop also tried ubuntu-gnome desktop

    sudo nano /etc/default/grub.
    Change line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_
LINUX_DEFAULT="text"
    Ctrl - X , press Y and then Enter to save and exit.
    sudo update-grub.

Stop instance, then start instance (basically rebooting)
I get back to command-line and type "startx"

****** Get this message **********
/usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
xinit: giving up
xinit: unable to connect to X server: Connection refused
xinit: server error
Couldn't get a file descriptor referring to the console
What am doing wrong ?
I want to have some type of GUI on my server.

On Sun, Aug 27, 2017 at 4:54 AM, Jay Txt <email address hidden> wrote:

> Is using Google Cloud Platform VM Instances causing this problem ?
> I notice most resolutions are on stand-alone systems.
> Is Ubuntu 17.04 Zesty not compatible for GUI setting ?
>
> On Sun, Aug 27, 2017 at 4:50 AM, Jay Txt <email address hidden> wrote:
>
>>
>>
>> On Sun, Aug 27, 2017 at 4:49 AM, Jay <<email address hidden>
>> pad.net> wrote:
>>
>>> Your question #655607 on xorg in Ubuntu changed:
>>> https://answers.launchpad.net/ubuntu/+source/xorg/+question/655607
>>>
>>> Status: Expired => Open
>>>
>>> You are still having a problem:
>>> Because this is what I want to use.
>>>
>>> On Wed, Aug 9, 2017 at 4:28 PM, actionparsnip <
>>> <email address hidden>> wrote:
>>>
>>> > Your question #655607 on xorg in Ubuntu changed:
>>> > https://answers.launchpad.net/ubuntu/+source/xorg/+question/655607
>>> >
>>> > Status: Open => Needs information
>>> >
>>> > actionparsnip requested more information:
>>> > What do you want to do on the system that needs a GUI?
>>> >
>>> > --
>>> > To answer this request for more information, you can either reply to
>>> > this email or enter your reply at the following page:
>>> > https://answers.launchpad.net/ubuntu/+source/xorg/+question/655607
>>> >
>>> > You received this question notification because you asked the question.
>>> >
>>>
>>> --
>>> You received this question notification because you asked the question.
>>>
>>
>>
>

Revision history for this message
Jay (jaytxt) said :
#7

Tried that, this is the results.
jaytxt@ubuntu-1:~$ sudo apt-get install ubuntu-desktopReading package
lists... DoneBuilding dependency tree Reading state information...
Doneubuntu-desktop
is already the newest version (1.379).0 upgraded, 0 newly installed, 0 to
remove and 12 not upgraded.jaytxt@ubuntu-1:~$ ubuntu-gnome desktopubuntu-gnome:
command not foundjaytxt@ubuntu-1:~$ sudo ubuntu-gnome desktopsudo:
ubuntu-gnome: command not foundjaytxt@ubuntu-1:~$

On Sun, Aug 27, 2017 at 5:10 AM, Jay <email address hidden>
wrote:

> Your question #655607 on xorg in Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+source/xorg/+question/655607
>
> You gave more information on the question:
> Using Google Cloud Platform Ubuntu 17.04 VM instance startx from command
> line do not work. Tried the following.
> sudo apt-get update
> sudo apt-get install ubuntu-desktop also tried ubuntu-gnome desktop
>
> sudo nano /etc/default/grub.
> Change line GRUB_CMDLINE_LINUX_DEFAULT="quiet splash" to GRUB_CMDLINE_
> LINUX_DEFAULT="text"
> Ctrl - X , press Y and then Enter to save and exit.
> sudo update-grub.
>
> Stop instance, then start instance (basically rebooting)
> I get back to command-line and type "startx"
>
> ****** Get this message **********
> /usr/lib/xorg/Xorg.wrap: Only console users are allowed to run the X server
> xinit: giving up
> xinit: unable to connect to X server: Connection refused
> xinit: server error
> Couldn't get a file descriptor referring to the console
> What am doing wrong ?
> I want to have some type of GUI on my server.
>
> On Sun, Aug 27, 2017 at 4:54 AM, Jay Txt <email address hidden>
> wrote:
>
> > Is using Google Cloud Platform VM Instances causing this problem ?
> > I notice most resolutions are on stand-alone systems.
> > Is Ubuntu 17.04 Zesty not compatible for GUI setting ?
> >
> > On Sun, Aug 27, 2017 at 4:50 AM, Jay Txt <email address hidden>
> wrote:
> >
> >>
> >>
> >> On Sun, Aug 27, 2017 at 4:49 AM, Jay <<email address hidden>
> >> pad.net> wrote:
> >>
> >>> Your question #655607 on xorg in Ubuntu changed:
> >>> https://answers.launchpad.net/ubuntu/+source/xorg/+question/655607
> >>>
> >>> Status: Expired => Open
> >>>
> >>> You are still having a problem:
> >>> Because this is what I want to use.
> >>>
> >>> On Wed, Aug 9, 2017 at 4:28 PM, actionparsnip <
> >>> <email address hidden>> wrote:
> >>>
> >>> > Your question #655607 on xorg in Ubuntu changed:
> >>> > https://answers.launchpad.net/ubuntu/+source/xorg/+question/655607
> >>> >
> >>> > Status: Open => Needs information
> >>> >
> >>> > actionparsnip requested more information:
> >>> > What do you want to do on the system that needs a GUI?
> >>> >
> >>> > --
> >>> > To answer this request for more information, you can either reply to
> >>> > this email or enter your reply at the following page:
> >>> > https://answers.launchpad.net/ubuntu/+source/xorg/+question/655607
> >>> >
> >>> > You received this question notification because you asked the
> question.
> >>> >
> >>>
> >>> --
> >>> You received this question notification because you asked the question.
> >>>
> >>
> >>
> >
>
> --
> You received this question notification because you asked the question.
>

Revision history for this message
Launchpad Janitor (janitor) said :
#8

This question was expired because it remained in the 'Open' state without activity for the last 15 days.