External Email - Use Caution Hello JC, My bad with the first command, try $ cd /usr/local/freesurfer/bin ... try the next command w/o sudo first, $ ln -s /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms platforms ... if that works, then try running freeview again. ... if that fails with a permission denied error, then you do not have permission to modify anything under the freesurfer install. You can try running the command again with sudo but you may need to know the sudo password, e.g. it may prompt you for the password,
$ sudo ln -s /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms platforms[sudo] password for JC: If the sudo command does work, then try running freeview again. If you do not know the password, then try asking whoever setup the machine for the passowrd, or ask them to run the commands. You can also try running the script that Andrew sent you. But if the above “ln” command failed w/o sudo, then I think you will also need sudo privileges to run the script. - R. On Jul 13, 2019, at 19:40, Juan Rivas <jcr...@gmail.com> wrote: External Email - Use Caution Hello, this is the message I get:$ ls /usr/local/freesurfer/bin/platformsls: cannot access '/usr/local/freesurfer/bin/platforms': No such file or directory$ sudo cd /usr/local/freesurfer/bin[sudo] password for jcrn12: sudo: cd: command not found$ Thank you,JC.---------- Forwarded message ---------De: fsbuild <fsbu...@contbay.com>Date: mar., 16 jul. 2019 a las 16:25Subject: Re: [Freesurfer] Fwd: Fwd: FreeviewTo: <freesurfer@nmr.mgh.harvard.edu>Cc: <jcr...@gmail.com>OK, please check to see if this directory exists,$ ls /usr/local/freesurfer/bin/platformsIf it does exist, then please let us know what is there with a repply email.But I expect that it does not exist and ls will report there is no such platforms directory..If the directory does not exist, then go to the freesurfer bin directory and create a soft link to point to the Qt platforms subdirectory,$ sudo cd /usr/local/freesurfer/bin$ sudo ln -s /usr/lib/x86_64-linux-gnu/qt5/plugins/platforms platformsIf you create the link, then try running freeview again.- R.On Jul 13, 2019, at 03:33, Juan Rivas <jcr...@gmail.com> wrote: External Email - Use Caution That was the systemś answer:jcrn12@jcrn12-VirtualBox:~$ ls /usr/lib/x86_64-linux-gnu/qt5/plugins/platformslibqeglfs.so libqminimalegl.so libqoffscreen.so libqxcb.solibqlinuxfb.so libqminimal.so libqvnc.sojcrn12@jcrn12-VirtualBox:~$ export QT_DEBUG_PLUGINS=1jcrn12@jcrn12-VirtualBox:~$ freeviewQFactoryLoader::QFactoryLoader() checking directory path "/usr/local/freesurfer/bin/platforms" ...This application failed to start because it could not find or load the Qt platform plugin "xcb"in "".Reinstalling the application may fix this problem.Aborted (core dumped)---------- Forwarded message ---------De: fsbuild <fsbu...@contbay.com>Date: mar., 16 jul. 2019 a las 14:07Subject: Re: [Freesurfer] Fwd: FreeviewTo: <freesurfer@nmr.mgh.harvard.edu>Cc: <jcr...@gmail.com>See if you have the following directory with the plugins libraries,$ ls /usr/lib/x86_64-linux-gnu/qt5/plugins/platformsThere should be a libqxcb.so listed in that directory if you have them.Also try setting the following in your environment$ export QT_DEBUG_PLUGINS=1- then try running freeview again and see what it reports.- R.On Jul 16, 2019, at 11:55, Juan Rivas <jcr...@gmail.com> wrote: External Email - Use Caution Hello, I am working with Ubuntu 18.I did what you asked to me, but the results are the same:jcrn12@jcrn12-VirtualBox:~$ sudo apt-get install qt5-default qtcreatorReading package lists... DoneBuilding dependency tree Reading state information.... Doneqtcreator is already the newest version (4.5.2-3ubuntu2)..qt5-default is already the newest version (5.9.5+dfsg-0ubuntu2.1).0 upgraded, 0 newly installed, 0 to remove and 64 not upgraded.jcrn12@jcrn12-VirtualBox:~$ sudo apt-get install libqt5x11extras5-devReading package lists... DoneBuilding dependency tree Reading state information... Donelibqt5x11extras5-dev is already the newest version (5.9.5-0ubuntu1).0 upgraded, 0 newly installed, 0 to remove and 64 not upgraded.jcrn12@jcrn12-VirtualBox:~$ freeviewThis application failed to start because it could not find or load the Qt platform plugin "xcb"in "".Reinstalling the application may fix this problem.Aborted (core dumped)Then, I tried:jcrn12@jcrn12-VirtualBox:~$ libxcb.so.1 => /lib64/libxcb.so.1 bash: /lib64/libxcb.so.1: Permission deniedWhat could be the next step?Thanks a lot,JC.---------- Forwarded message ---------De: fsbuild <fsbu...@contbay.com>Date: mar., 16 jul. 2019 a las 10:38Subject: Re: [Freesurfer] FreeviewTo: <freesurfer@nmr.mgh.harvard.edu>Cc: <jcr...@gmail.com>Hello JC,You can try installing the following, $ sudo apt-get install qt5-default qtcreator $ sudo apt-get install libqt5x11extras5-devAre you working on Ubuntu 18 ?- R.On Jul 12, 2019, at 22:29, Juan Rivas <jcr...@gmail.com> wrote: External Email - Use Caution Hello, since yesterday i am trying to run freeview. I have followed the steps you asked to me, and today I updated freeview. I get this message again:jcrn12@jcrn12-VirtualBox:~$ freeviewThis application failed to start because it could not find or load the Qt platform plugin "xcb"in "".Reinstalling the application may fix this problem..Aborted (core dumped)I have installed fortran and update libx11, then I tried freeview and I get this message:jcrn12@jcrn12-VirtualBox:~$ sudo apt-get install libx11-xcb1[sudo] password for jcrn12: Reading package lists... DoneBuilding dependency tree Reading state information... Donelibx11-xcb1 is already the newest version (2:1.6.4-3ubuntu0.2).0 upgraded, 0 newly installed, 0 to remove and 64 not upgraded.jcrn12@jcrn12-VirtualBox:~$ freeviewThis application failed to start because it could not find or load the Qt platform plugin "xcb"in "".Reinstalling the application may fix this problem.Aborted (core dumped)Could you please help me?Thanks,JC._______________________________________________Freesurfer mailing listfreesur...@nmr.mgh.harvard.eduMailScanner has detected a possible fraud attempt from "mail.nmr.mgh.harvard.edu" claiming to be https://mail...nmr.mgh.harvard.edu/mailman/listinfo/freesurfer_______________________________________________Freesurfer mailing listfreesur...@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer_______________________________________________Freesurfer mailing listfreesur...@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer_______________________________________________Freesurfer mailing listfreesur...@nmr.mgh.harvard.eduhttps://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer
_______________________________________________ Freesurfer mailing list Freesurfer@nmr.mgh.harvard.edu https://mail.nmr.mgh.harvard.edu/mailman/listinfo/freesurfer