You are not logged in.
Hi all,
today I installed my Samba server, point by point like the guide in the wiki. But instead of adding a new user to the group I added my current to the sambashare group. All was fine, my samba works great but after that i shutdown my laptop, and when came back home and start up my arch, it come with this error "xf860OpenConsole: Cannot open virtual console 2(permission denied)". I searched in google and tried some suggestion but without luck. At this point I tried
- usermod -a -G root
- usermod -a -G tty
- remove sambashare group
- chown root:root /etc/
- add chmod to /etx/X11 and /etc/
- pacman -Rsc xorg-server
- pacman -S xorg-server
- pacman -S gdm
I have no idea what to do next I checked like 10+ google results and no one fix it.
This is one screenshot from my phone and this is the Xorg.0.log .
My arch is up to date and use Xfce4.
p.s.: I tried to run startxfce4 in recovery mode (just select the option from the grub menu ) and when i run startxfce4 its run like a charm, but if i start arch normally and log in like root and startxfce4 it didn't start just a blank screen
Last edited by killvanrea (2015-03-23 09:41:44)
Offline
$ stat /usr/bin/Xorg
$ stat /usr/bin/X
Could you please post the output?
Last edited by Leopard (2015-03-22 10:22:18)
Offline
I had similar issue with xorg-xinit-1.3.4-2. Downgrading to 1.3.4-1 "solved" it.
Offline
@Leopard
File: '/usr/bin/Xorg'
Size: 281 Blocks: 8 IO Block: 4096 regular file
Device: 815h/2069d Inode: 320607 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2015-03-22 03:43:09.034000056 +0000
Modify: 2015-03-14 18:47:01.000000000 +0000
Change: 2015-03-22 03:42:41.797239724 +0000
Birth: -
File: '/usr/bin/X' -> 'Xorg'
Size: 4 Blocks: 0 IO Block: 4096 symbolic link
Device: 815h/2069d Inode: 316309 Links: 1
Access: (0777/lrwxrwxrwx) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2015-03-22 03:43:09.034000056 +0000
Modify: 2015-03-14 18:47:01.000000000 +0000
Change: 2015-03-22 03:42:41.797239724 +0000
Birth: -
@bart
okay i'll try it but why its work without any error under recovery mode ?
p.S. Thx @bart pacman -U xorg-init-1.3.4-1 solved the problem but i still doesnt understand why in recovery mode I log in without any problem ?
I think the problem came up form the upgrade last night after install samba server not from changeging my user account groups? Can someone tell me if i make again
# groupadd sambashare
# chown root:sambashare /var/lib/samba/usershare
# chmod 1770 /var/lib/samba/usershare
Set the following variables in smb.conf configuration file:
/etc/samba/smb.conf
...
[global]
usershare path = /var/lib/samba/usershare
usershare max shares = 100
usershare allow guests = yes
usershare owner only = yes
...
# usermod -a -G sambashare your_username
does it will break my X ?
Last edited by killvanrea (2015-03-22 10:52:08)
Offline
Looks like it has something to do with XFCE. I upgraded again to xorg-xinit-1.3.4-2.
Starting X with "startx" works okay, but "startxfce4" fails.
Then I edited /etc/X11/xinit/xserverrc and changed:
exec /usr/bin/X -nolisten tcp "$@"
into:
exec /usr/bin/X -nolisten tcp "$@" vt$XDG_VTNR
(like it was in 1.3.4-1)
So I think something in startxfce4 needs to be fixed...
Offline
Thank you very much! I was getting a similar error message; see my post on another thread (https://bbs.archlinux.org/viewtopic.php … 4#p1513594) for details on how your solution resolved my problem!
Offline