You are not logged in.
Pages: 1
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
Does your computer automatically log you in now (to the command line) at boot?
Offline
it logs me into the terminal, as then i input my non root surname and password.
Offline
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
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
fiHere is my bash profile is it wrong?
Offline
take a very close look at this line:
if [[ -z $DISPLAY ]] && $(tty) = /dev/tty1 ]]; then
Might something be missing? (Count the brackets ;-)
Offline
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
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
Pages: 1