You are not logged in.

#1 2017-01-24 16:18:03

eze_dje_ste
Member
From: Ireland
Registered: 2016-11-17
Posts: 17

Unable to boot directy to GNOME

I have full installed Arch LInux on a mid 2009 Macbook Pro. I have managed to get everything to work apart from starting GNOME at login with Wayland. Up untill now I have avoided my problem by manually typing this command each time I login:

 XDG_SESSION_TYPE=wayland dbus-run-session gnome-session 

however when i edit my

 .bash_profile 

to include

 if [[ -z $DISPLAY ]] && [[ $(tty) = /dev/tty1 ]]; then
  export QT_QPA_PLATFORM=wayland
  XDG_SESSION_TYPE=wayland dbus-run-session gnome-session
fi 

as per GNOME section of the wiki

I receive this error after login

 -bash: /dev/tty1: Permission denied 

The most similar problem I can see
https://bbs.archlinux.org/viewtopic.php?id=159019

when I type

 mount 
 sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)

most of the outputs have

 noexec 

as an output? is this the issue and what is the solution?

Thank you in advance

Offline

#2 2017-01-24 20:53:44

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: Unable to boot directy to GNOME

Does your computer automatically log you in now (to the command line) at boot?

Offline

#3 2017-01-24 20:57:07

eze_dje_ste
Member
From: Ireland
Registered: 2016-11-17
Posts: 17

Re: Unable to boot directy to GNOME

it logs me into the terminal, as then i input my non root surname and password.

Offline

#4 2017-01-24 21:44:39

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: Unable to boot directy to GNOME

try

[[ "$(tty)" = "/dev/tty1" ]]

but please also post your .bash_profile. The error says you're trying to execute /dev/tty1 while you should only be comparing a string.

Offline

#5 2017-01-25 09:28:18

eze_dje_ste
Member
From: Ireland
Registered: 2016-11-17
Posts: 17

Re: Unable to boot directy to GNOME

i tried that still get permissiom denied error.

 #
# ~/.bash_profile
#

[[ -f ~/.bashrc ]] && . ~/.bashrc

#trying to set up GNOME
if [[ -z $DISPLAY ]] && $(tty) = /dev/tty1 ]]; then
        export QT_QPA_PLATFORM=wayland
        XDG_SESSION_TYPE=wayland dbus-run-sessiion gnome-session
fi

Here is my bash profile is it wrong?

Offline

#6 2017-01-25 09:35:09

seth
Member
From: Won't reply 2 private help req
Registered: 2012-09-03
Posts: 79,182

Re: Unable to boot directy to GNOME

take a very close look at this line:

if [[ -z $DISPLAY ]] && $(tty) = /dev/tty1 ]]; then

Might something be missing? (Count the brackets ;-)

Offline

#7 2017-01-25 09:56:18

eze_dje_ste
Member
From: Ireland
Registered: 2016-11-17
Posts: 17

Re: Unable to boot directy to GNOME

Fixed it working nicely now :-) Thank you so much :-) I also misspelled

 session 

:-)

Last edited by eze_dje_ste (2017-01-25 09:57:01)

Offline

#8 2017-01-25 10:19:17

eze_dje_ste
Member
From: Ireland
Registered: 2016-11-17
Posts: 17

Re: Unable to boot directy to GNOME

I now have another problemm.

Every few logins I get an error before I can login

 [4.7571421] b43-phy0 ERROR: Fatal DMA error: 0x000004400, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 
 ..... It will be switched to PIO 


Thank you in advance

Last edited by eze_dje_ste (2017-01-29 09:57:50)

Offline

Board footer

Powered by FluxBB